Getting the patient_id from the patient program