Class PATHABLE

The PATHABLE class defines the pathing capabilities used by nearly all classes in the openEHR reference
model, mostly via inheritance of LOCATABLE. The defining characteristics of PATHABLE objects
are that they can locate child objects using paths, and they know their parent object in a compositional
hierarchy. The parent feature is defined as abstract in the model, and may be implemented in
any way convenient.

Declaration :

Directly inherited by : EVENT_CONTEXT INSTRUCTION_DETAILS ISM_TRANSITION LOCATABLE

Artifact : PATHABLE

Operation parent

Parent of this node in a compositional hierarchy.

Declaration :

Operation item_at_path

The item at a path (relative to this item)

Declaration :

Operation items_at_path

List of items corresponding to a non-unique path.

Declaration :

Stereotype: List

Operation path_exists

True if the path exists in the data with respect to the current item.

Declaration :

Operation path_unique

True if the path corresponds to a single item in the data.

Declaration :

Operation path_of_item

The path to an item relative to the root of this archetyped structure.

Declaration :

Operation ~PATHABLE

Declaration :

All public operations : item_at_path , items_at_path , parent , path_exists , path_of_item , path_unique