Uploaded image for project: 'OpenMRS Dictionary Manager'
  1. OpenMRS Dictionary Manager
  2. OCLOMRS-923

API2: Concept counts for dictionary not displayed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Must
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      When run against OCL API v2, the OCL Client does not display concept counts as expected when viewing the summary page for a dictionary (collection); counts within the "Concepts (HEAD version)" panel of dictionary details show as "0" even if concepts exist in the collection. This is because OCL API v2 requires ?includeReferences=true to get references for a collection (see here).

      To fix this, when requesting the collection, the OCL Client needs to include not only the parameter verbose=true, but also includeReferences=true (I'm guessing within concepts/api.ts).

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              ibacher Ian Bacher
              Reporter:
              burke Burke Mamlin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: