export in patientController fixed