Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Should
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: Platform 2.2.0, Platform 2.0.8, Platform 2.1.5
-
Component/s: None
-
Labels:None
Description
When updating an Obs, the Order property is not copied over from the old obs (which will be voided) to the newly-created Obs.
I assume this is a bug and not intentional Burke Mamlin Daniel Kayiwa Mike Seaton?
Our obs functionality is a little brittle, because all properties need to be manually copied over, see:
https://github.com/openmrs/openmrs-core/blob/master/api/src/main/java/org/openmrs/Obs.java#L217
We probably should have a more automated way of copying an obs, with a means to exclude certain properties?