How can a doctor or therapist who works with patients or clients of the opposite gender handle the issue of physical contact? They can avoid it unless absolutely necessary, but when it is necessary does that constitute a sin?
Islamic rules forbidding seeing or touching other gender (Non Mahram) are very clear but exceptions come if there is a real necessity to save life. Necessity must be assessed and the exception should meet no more than the necessity. Any act more than the real necessity is not permissible.
Wassalam.