Details
-
Bug
-
Status: Closed
-
Should
-
Resolution: Fixed
-
None
-
None
-
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 dkayiwa mseaton?
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?