Added getPatient api call