EA-14: Add getMostRecentConsultEncounter() and hasConsultEncounter() to visit domain wrappe