Archetype equivalent to LOCATABLE class in openEHR Common reference model.
Defines common constraints for any inheritor of LOCATABLE in any reference model.
Declaration :
Directly inherited by : C_ATTRIBUTE C_OBJECT
Artifact : ARCHETYPE_CONSTRAINT
Operation is_valid |
True if this node (and all its sub-nodes) is a valid archetype node for its type. This function should
be implemented by each subtype to perform semantic validation of itself, and then call the is_valid
function in any subparts, and generate the result appropriately.
Declaration :
Operation has_path |
True if the relative path a_path exists at this node.
Declaration :
Operation path |
Path of this node relative to root of archetype.
Declaration :
Operation is_subset_of |
True if constraints represented by other are narrower than this node.
Note: not easily evaluatable for CONSTRAINT_REF nodes.
Declaration :
All public operations : has_path , is_subset_of , is_valid , path