@Override
 public void updateEncounterList() {
   mVisitEncounters.clear();
   mExpandableListAdapter.notifyDataSetChanged();
   mVisit.setEncounters(new EncounterDAO().findEncountersByVisitID(mVisit.getId()));
   mVisitEncounters.addAll(mVisit.getEncounters());
   mExpandableListAdapter.notifyDataSetChanged();
 }
 public void endVisit() {
   mVisitsManager.endVisitByUUID(
       VisitsHelper.createEndVisitsByUUIDListener(
           mVisit.getUuid(), mPatient.getId(), mVisit.getId(), this));
 }