Rewritten encoutner retrieval during /patient calls (more in line with gatheringother patient details)