Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Should
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.29.0
-
Labels:None
-
Complexity:Low
-
Development:
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