The doctor allowed the patient to have sex in the hospital