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

getConceptsByConceptSet doesn't return set members that are also concept sets

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: TBD
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: OpenMRS 1.7.0
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Low

      Description

      When you call the getConceptsByConceptSet(Concept) method with a concept set that has other concept sets among it's children, it looks like the method returns all the children and sub-children, but excludes any concepts that are sets themselves (i.e., it returns all the leaves, but not the branches).

      The method should return all branches and leaves.

      I've attached a patch to fix this.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: