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

Add causeOfDeathNonCoded as the updatable Property in REST

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Should
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.29.0
    • Labels:
      None
    • Complexity:
      Low

      Description

      Expectation Behaviour:

      When we use the free text property namely causeofDeathNonCoded to mark the patient deceased, we should be able to mark him deceased.

      Observed Behaviour:

      An internal server error comes up which is because the causeofDeathNonCoded is not defined as an updatable property in DelegatingResourceDescription.

      Solution:

      We need to add the causeOfDeathNonCoded as an updatable property in DelegatingResourceDescription

      Resource Links:

      1. Code to be added - https://pastebin.com/xe5Hq831

      2. Talks thread - https://talk.openmrs.org/t/error-while-marking-patient-deceased/28826/32

      3. Sample JSON - https://pastebin.com/qEX7p7x4

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                rishabh997 Rishabh Agarwal
                Reporter:
                rishabh997 Rishabh Agarwal
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: