Refactored encounter build into PatientService manager.