setting a patient