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

Create new getConceptsByMapping API method that returned retired concept

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: TBD
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: OpenMRS 1.8.0, OpenMRS 1.9.0
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Low

      Description

      The new getConceptsByMapping(String code, String sourceName) API method added as of 1.8, by default only returns non-retired concepts. We need to a new method getConceptsByMapping(String code, String sourceName, boolean includeRetired) that returns both retired and non-retired concepts if includeRetired=true.

      The existing getConceptsByMapping(String code, String sourceName) can then simply call getConceptsByMapping(code, sourceName, false)

        Attachments

          Activity

            People

            Assignee:
            mogoodrich Mark Goodrich
            Reporter:
            mogoodrich Mark Goodrich
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: