Uploaded image for project: 'Webservices REST Module'
  1. Webservices REST Module
  2. RESTWS-900

Get conditions or patient-diagnosis by patient

    XMLWordPrintable

Details

    • Enhancement
    • Status: Closed
    • Should
    • Resolution: Fixed
    • None
    • 2.39.0
    • None
    • Low

    Description

      The REST API does not currently support searching for the conditions of a patient, nor the diagnoses of a patient. See https://talk.openmrs.org/t/search-condition-or-patient-diagnosis-via-rest-api/37571.

      Implement the following...

      Conditions

      • Resource: `/condition`
      • Parameter `patient`: UUID of patient
      • Parameter `includeInactive` (optional): If true, return all conditions of patient; if absent or false, return only active ones.

      Patient diagnoses

      • Resource: `/patientdiagnoses`
      • Parameter `patient`: UUID of patient
      • Not sure if we should allow filtering on certainty?

      Gliffy Diagrams

        Attachments

          1. conditions table.png
            conditions table.png
            20 kB
          2. conditions table-1.png
            conditions table-1.png
            20 kB

          Activity

            People

              wikumc Wikum Weerakutti
              cornelmasson Cornel Masson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: