Uploaded image for project: 'FHIR module'
  1. FHIR module
  2. FM-270

Fix search function for Observation resource to allow search by patient and code

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Could
    • Resolution: Fixed
    • None
    • 1.20.0
    • None

    Description

      Per the FHIR Api, it should be possible to query the Observation resource for all observations with a particular code for a particular patient. Here's an example request: https://openmrs-spa.org/openmrs/ws/fhir/Observation?subject=100EHD&code=5089

      Presently this is return a valid response but with no results . You can run this request: https://openmrs-spa.org/openmrs/ws/fhir/Observation?patient.identifier=100EHD to see that this patient (100EHD) in fact does have an observation with code 5089 (weight)

       

      Gliffy Diagrams

        Attachments

          Activity

            People

              corneliouzbett Bett Kipchumba
              jdick Jonathan Dick
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: