Implemented getPatientByPatientId