add getPatient for viewing action