We're updating the issue view to help you get more done. 

Add Version lifecycle state machine to RM

Description

ORIGINAL_VERSIONs of COMPOSITIONS are committed as part of a CONTRIBUTION. Each ORIGINAL_VERSION has a lifecycle_state attribute that indicates the state of the added, modified or deleted ORIGINAL_VERSION.

REF http://www.openehr.org/releases/RM/latest/docs/common/common.html#_change_control_package

So an ORIGINAL_VERSION can be created, modified, deleted, etc. but that has a specific order, for instance a modification can't come before a creation. Also I asked on the lists if a modification can come after a delete, if I recall correctly the answer was "no".

This CR is to add a diagram to the specs, with the valid state machine (states and transitions) which an ORIGINAL_VERSION should comply with.

Add a lifecycle state machine to the UML; add with description to EHR IM spec.

Status

Reporter

Thomas Beale

Raised By

Pablo Pazos

Components

Affects versions

Release 1.0.3