#503 adding java doc for method in EncounterDomainWrapper