Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-3891

New method to return EncounterRole objects by their name ?

    XMLWordPrintable

    Details

    • Complexity:
      Low

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            surangak Suranga Kasthurirathne
            Reporter:
            surangak Suranga Kasthurirathne
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: