As I understand, every action (save a version of Composition) is combined with a save of a contribution. Also more version-saves can be combined with only one contribution.
De documentation says following:
•
In a typical application situation, one or more of the above changes may be committed to a repository as a Contribution. For example during a patient encounter, the following might occur:
- addition: a new Composition is created recording the Observations (e.g. physical examination), etc that are made during the Encounter;
- modification: the Composition containing the current medications list is updated, due to a prescription being given during the encounter.
These two changes together constitute a logical ‘change-set’, and would typically be included in the one Contribution. In general, there might be any combination of the logical change types in a single commit by an application, corresponding to a single real-world business event.......
Now my problem, if for instance both actions have taken place in one contribution: addition and modification, both are in a VERSION-object with commitAudit, and those commitAudits have a different changetype.
But both share one contribution, with also a ChangeType. What should this changeType be? Until know, I put it on "unknown"
Is that the best thing to do?
Bert
_______________________________________________
openEHR-implementers mailing list
openEHR-implementers@...
http://lists.chime.ucl.ac.uk/mailman/listinfo/openehr-implementers