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

Add Version lifecycle state machine to RM

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

Assignee

Thomas Beale

Reporter

Thomas Beale

Raised By

Pablo Pazos

Impact Analysis

No impact to implementations.

Analyst

Thomas Beale

Change Description

Add a new state machine RM-version_lifecycle to the UML model. Include this diagram in section 6.3.1 of the text of the Common IM; improve the text slightly.

Acceptance

Shinji KOBAYASHI
Sebastian Iancu
Ian McNicoll
Erik Sundvall
Diego Bosca
Boštjan Lah
Bjørn Næss

Time estimate

2h

Components

Fix versions

Affects versions

Release 1.0.3

Due date

2018/04/30

Priority

Minor