Uploaded image for project: 'OpenMRS 3.x Frontend'
  1. OpenMRS 3.x Frontend
  2. O3-1081

New endpoint to serve concept based hierarchy of obs

    XMLWordPrintable

Details

    • Task
    • Status: Done
    • Should
    • Resolution: Fixed
    • None
    • None
    • None
    • None
    • Medium

    Description

      This endpoint will support the completion of https://issues.openmrs.org/browse/O3-1060

      Concepts can have nested child concepts that contain Tests (or LabSets). It would be useful to have an endpoint to serve patient obs when provided a concept as a parameter. For example in this example (https://app.zeplin.io/project/60d59321e8100b0324762e05/screen/60d5ea5bf120a6089c660a68) Infectious diseases has sub-concept 'Bodily Fluid' which has sub-concept 'sputum' which has two tests, 'AFP Blood Smear' and 'Respiratory culture'. If the API is requested with concept 'Sputum', the response would be only the two tests for sputum associated with the patient. If the request to API was for concept 'Bodily Fluid' response would contain subconcepts nasal, sputum, and ascites, with all of the tests under each of those concepts.

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                zacbutko Zac Butko
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: