It is usually done
As an outpatient and depending on the patient and the joint involved, can be done under general, spinal, regional or even local anesthesia with some IV or conscious sedation.
Again, depending on the joint, a tourniquet may or may not be used as well. It is done in a sterile or setting using video observation. There are usually several small cuts made for tools used & water flow through the site.