fixed naming error (patient -->  patient_map)