Problems with paths to ISM_TRANSITION, need of archetype_node_id

Description

In the spec, ISM_TRANSITION is PATHABLE, so it can't have a nodeId (needs to be LOCATABLE).

When creating an ACTION archetype, sibling ISM_TRANSITION nodes need to be differentiated.

The AE is using nodeIds on ISM_TRANSITIONS to differentiate between siblings, which I think is correct, but violates the IM spec.

The solution is the make ISM_TRANSITION inherit from LOCATABLE.

In current working baseline specs, this is also an issue: ISM_TRANSITION still inherits from PATHABLE.

Ref: http://openehr.org/releases/RM/latest/docs/ehr/ehr.html#_entry_and_its_subtypes

Also the XSD need to be corrected since it doesn't allow archetype_node_id on ISM_TRANSITION

Sample ACTION archetype generated by the AE:

ACTION[at0000] matches { – Sdf
ism_transition matches {
ISM_TRANSITION[at0003] matches { – Scheduled
current_state matches {
DV_CODED_TEXT matches {
defining_code matches {[openehr::529]}
}
}
careflow_step matches {
DV_CODED_TEXT matches {
defining_code matches {[local::at0003]} – Scheduled
}
}
}
ISM_TRANSITION[at0002] matches { – Active
current_state matches {
DV_CODED_TEXT matches {
defining_code matches {[openehr::245]}
}
}
careflow_step matches {
DV_CODED_TEXT matches {
defining_code matches {[local::at0002]} – Active
}
}
}
ISM_TRANSITION[at0004] matches { – Active2
current_state matches {
DV_CODED_TEXT matches {
defining_code matches {[openehr::245]}
}
}
careflow_step matches {
DV_CODED_TEXT matches {
defining_code matches {[local::at0004]} – Active2
}
}
}
ISM_TRANSITION[at0006] matches { – ActiveSuspended
current_state matches {
DV_CODED_TEXT matches {
defining_code matches {[openehr::530]}
}
}
careflow_step matches {
DV_CODED_TEXT matches {
defining_code matches {[local::at0006]} – ActiveSuspended
}
}
}
ISM_TRANSITION[at0005] matches { – Completed
current_state matches {
DV_CODED_TEXT matches {
defining_code matches {[openehr::532]}
}
}
careflow_step matches {
DV_CODED_TEXT matches {
defining_code matches {[local::at0005]} – Completed
}
}
}
}
description matches {
ITEM_TREE[at0001] matches {*}
}
}

Environment

None

Reporter

Pablo Pazos

Labels

Components

Affects versions

Priority

Major
Configure