removed reliance on incorrect getPatientDetails() method