Looking through EncounterServiceImpl.java, it occures to me that there are only three methods to retrive EncounterRole objects. They are,
List<EncounterRole> getAllEncounterRoles(boolean includeRetired)
EncounterRole getEncounterRole(Integer encounterRoleId)
EncounterRole getEncounterRoleByUuid(String uuid)
Shouldnt we have a method to retrieve EncounterRole objects by their name as well ? In my particular scenario, Im facing a situation where I would like to retrive one or many EncounterRole objects for a given name.