Public Operations Index

OperationClassDescription
addDV_ABSOLUTE_QUANTITYAddition of a differential amount to this quantity.
addDV_DATEAdd a time period to this date.
addDV_DATE_TIMEAdd a time period to this date_time.
addDV_TIMEAdd a time period to this time.
all_codesCODE_SET_ACCESSReturn all codes known in this code set.
all_codesTERMINOLOGY_ACCESSReturn all codes known in this terminology.
all_version_idsVERSIONED_OBJECTReturn a list of ids of all versions in this object.
all_versionsVERSIONED_OBJECTReturn a list of all versions in this object.
alternativesC_SINGLE_ATTRIBUTEList of alternative constraints for the single
child of this attribute within the data.
any_allowedC_DEFINED_OBJECTTrue if any value (i.e. instance) of the reference model type would be allowed.
Redefined in descendants.
ARCHETYPE_IDARCHETYPE_IDConstructor passing in atomic identifier components. Beware of specialisation
and version_id semantics.
ARCHETYPE_IDARCHETYPE_ID
as_hierarchyDATA_STRUCTUREHierarchical equivalent of the physical representation of each subtype,
compatible with CEN EN 13606 structures.
as_hierarchyITEM_LISTGenerate a CEN EN13606-compatible hierarchy consisting of a single CLUSTER
containing the ELEMENTs of this list.
as_hierarchyITEM_SINGLEGenerate a CEN EN13606-compatible hierarchy consisting of a single
ELEMENT.
as_hierarchyITEM_TABLEGenerate a CEN EN13606-compatible hierarchy consisting of a single
CLUSTER containing the CLUSTERs representing the columns of this
table.
as_hierarchyITEM_TREEGenerate a CEN EN13606-compatible hierarchy, which is the same as the
tree's physical representation.
as_uriLOCATABLE_REFA URI form of the reference, created by concatenating the following:
ehr:// + id.value + / + path
assumed_valueC_PRIMITIVEValue to be assumed if none sent in data.
branch_numberVERSION_TREE_IDNumber of branch from the trunk point; numbering starts at 1.
branch_versionVERSION_TREE_IDVersion of the branch; numbering starts at 1.
calendar_alignmentDV_GENERAL_TIME_SPECIFICATIONCalendar alignment extracted from value.
calendar_alignmentDV_PERIODIC_TIME_SPECIFICATIONCalendar alignment extracted from value.
calendar_alignmentDV_TIME_SPECIFICATIONIndicates what prototypical point in the calendar the specification is
aligned to, e.g. 5th of the month . Empty if not aligned. Extracted from
the value' attribute.
canonical_formVERSIONCanonical form of Version object, created by serialising all attributes except
signature.
code_setTERMINOLOGY_SERVICEReturn an interface to the code_set identified by the external identifier name
(e.g. ISO_639-1 ).
code_set_for_idTERMINOLOGY_SERVICEReturn an interface to the code_set identified internally in openEHR by id.
code_set_identifiersTERMINOLOGY_SERVICESet of all code sets identifiers for which there is an internal openEHR name;
returned as a Map of ids keyed by internal name.
codes_for_group_idTERMINOLOGY_ACCESSReturn all codes under grouper group_id' from this terminology.
codes_for_group_nameTERMINOLOGY_ACCESSReturn all codes under grouper whose name in lang' is name' from this terminology.
commit_attestationVERSIONED_OBJECTAdd a new attestation to a specified original version. Attestations can only be
added to Original versions.
commit_imported_versionVERSIONED_OBJECTAdd a new imported version. Details of version id etc come from the
ORIGINAL_VERSION being committed.
commit_original_merged_versionVERSIONED_OBJECTAdd a new original merged version. This commit function adds a parameter
containing the ids of other versions merged into the current one.
commit_original_versionVERSIONED_OBJECTAdd a new original version.
conceptLOCATABLEClinical concept of the archetype as a whole (= derived from the
archetype_node_id' of the root node)
concept_nameARCHETYPE
The concept name of the archetype in language a_lang; corresponds to the term
definition of the concept attribute in the archetype ontology.
constraint_bindingARCHETYPE_ONTOLOGY
constraint_definitionARCHETYPE_ONTOLOGY
constraint_references_validARCHETYPE
True if every CONSTRAINT_REF.reference found on a C_OBJECT node in the archetype
definition is found in ontology.constraint_codes.
creating_system_idOBJECT_VERSION_IDIdentifier of the system that created the Version corresponding to this
Object version id.
current_revisionAUTHORED_RESOURCEMost recent revision in revision_history if is_controlled else (uncontrolled) .
dataIMPORTED_VERSIONData of wrapped ORIGINAL_VERSION.
dataVERSIONOriginal content of this Version.
default_valueC_DEFINED_OBJECTGenerate a default value from this constraint object.
default_valueC_PRIMITIVEGenerate a default value from this constraint object.
diffDV_ABSOLUTE_QUANTITYDifference of two quantities.
diffDV_DATEDifference of two temporal quantities.
diffDV_TEMPORALDifference of two temporal quantities.
domain_conceptARCHETYPE_IDName of the concept represented by this archetype, including specialisation, e.g.
Biochemistry_result-cholesterol .
DV_PROPORTIONDV_PROPORTIONcopy constructor
DV_PROPORTIONDV_PROPORTIONClass constructor
element_at_pathITEM_TREEReturn the leaf element at the path a_path'.
event_alignmentDV_GENERAL_TIME_SPECIFICATIONEvent alignment extracted from value.
event_alignmentDV_PERIODIC_TIME_SPECIFICATIONEvent alignment extracted from value.
event_alignmentDV_TIME_SPECIFICATIONIndicates what real-world event the specification is aligned to if any.
Extracted from the value' attribute.
extensionUID_BASED_IDOptional local identifier of the object within
the context of the root identifier.
Returns the part to the right of the first ::'
separator if any, or else any empty String.
fragment_idDV_URIA part of, a fragment or a sub-function within an object.
Allows references to sub-parts of objects, such as a certain line and
character position in a text object. The syntax and semantics are
defined by the application responsible for the object.
hasIntervalTrue if (lower_unbounded or
((lower_included and v >= lower) or
v > lower)) and
(upper_unbounded or
((upper_included and v <= upper or v
< upper)))
has_assumed_valueC_DEFINED_OBJECTTrue if there is an assumed value.
has_assumed_valueC_PRIMITIVETrue if there is an assumed value.
has_codeCODE_SET_ACCESSTrue if code set knows about a_code'.
has_code_for_group_idTERMINOLOGY_ACCESSTrue if a_code' is known in group group_id' in the openEHR terminology.
has_code_setTERMINOLOGY_SERVICETrue if code_set linked to internal name (e.g. languages ) is available.
has_constraint_codeARCHETYPE_ONTOLOGY
has_element_pathITEM_TREETrue if path a_path' is a valid leaf path.
has_extensionUID_BASED_IDTrue if extension /= Void
has_integrity_checkDV_MULTIMEDIAComputed from the value of the integrity_check_algorithm attribute:
True if an integrity check has been computed.
has_keyHashTest for membership of a key
has_langCODE_SET_ACCESSTrue if code set knows about a_lang' .
has_languageARCHETYPE_ONTOLOGY
has_pathARCHETYPE_CONSTRAINTTrue if the relative path a_path exists at this node.
has_term_codeARCHETYPE_ONTOLOGY
has_terminologyARCHETYPE_ONTOLOGY
has_terminologyTERMINOLOGY_SERVICETrue if terminology named name known by this service. Allowable names include:-
* openehr
* centc251
* any name from are taken from the US NLM UMLS meta-data list at
http://www.nlm.nih.gov/research/umls/metaa1.html
has_version_at_timeVERSIONED_OBJECTTrue if a version for time a_time' exists.
has_version_idVERSIONED_OBJECTTrue if a version with an_id exists.
idCODE_SET_ACCESSExternal identifier of this code set.

idTERMINOLOGY_ACCESSIdentification of this Terminology.
institution_specifiedDV_GENERAL_TIME_SPECIFICATIONExtracted from value.
institution_specifiedDV_PERIODIC_TIME_SPECIFICATIONExtracted from value.
institution_specifiedDV_TIME_SPECIFICATIONIndicates if the specification is aligned with institution schedules,
e.g. a hospital nursing changeover or meal serving times. Extracted from
the value' attribute.
internal_references_validARCHETYPE
True if every ARCHETYPE_INTERNAL_REF.
target_path refers to a legitimate node in the
archetype definition.
interval_start_timeINTERVAL_EVENTStart time of the interval of this event.
is_archetype_rootLOCATABLETrue if this node is the root of an archetyped structure.
is_bagCARDINALITYTrue if the semantics of this cardinality represent a set, i.e. unordered, unique membership.
is_branchOBJECT_VERSION_IDTrue if this version identifier represents a branch.
is_branchVERSIONTrue if this Version represents a branch. Derived from uid attribute.
is_branchVERSION_TREE_IDTrue if this version identifier represents a branch,
i.e. has branch_number and branch_version parts.
is_compressedDV_MULTIMEDIAComputed from the value of the compression_algorithm attribute:
True if the data is stored in compressed form.
is_externalDV_MULTIMEDIAComputed from the value of the uri attribute: True if the data is stored externally to the record, as
indicated by `uri'. A copy may also be stored internally, in which case `is_expanded' is also true.
is_in_rangeREFERENCE_RANGEIndicates if the value val' is inside the range.
is_inlineDV_MULTIMEDIAComputed from the value of the data attribute.
True if the data is stored in expanded form, ie within the EHR itself.
is_integralDV_PROPORTIONTrue if the numerator and denominator values are integers, i.e. if the
precision is 0.
is_integralDV_QUANTITY
is_listCARDINALITYTrue if the semantics of this cardinality represent a list, i.e. ordered, non-unique membership.
is_mergedORIGINAL_VERSIONTrue if this Version was created from more than
just the preceding (checked out) version.
is_normalDV_ORDERED
Value is in the normal range, determined by comparison of the value to the
normal_range if present, or by the normal_status marker if present.
is_nullELEMENTTrue if value logically not known, e.g. if indeterminate, not asked etc.
is_original_versionVERSIONED_OBJECTTrue if version with an_id is an ORIGINAL_VERSION.
is_periodicHISTORYIndicates whether history is periodic.
is_persistentCOMPOSITIONTrue if category is a persistent type, False otherwise. Useful for finding
Compositions in an EHR which are guaranteed to be of interest to most users.
is_persistentVERSIONED_COMPOSITIONIndicates whether this composition set is persistent; derived from
first version.
is_setCARDINALITYTrue if the semantics of this cardinality represent a bag, i.e. unordered, non-unique membership.
is_simpleDV_ORDEREDTrue if this quantity has no reference ranges.
is_specialisedARCHETYPE
True if this archetype is a specialisation of another.
is_strictly_comparable_toDV_DATETest if two instances are strictly comparable.
is_strictly_comparable_toDV_DATE_TIMETest if two instances are strictly comparable.
is_strictly_comparable_toDV_ORDEREDTest if two instances are strictly comparable.
is_strictly_comparable_toDV_TIMETest if two instances are strictly comparable.
is_subset_ofARCHETYPE_CONSTRAINTTrue if constraints represented by other are narrower than this node.
Note: not easily evaluatable for CONSTRAINT_REF nodes.
is_validARCHETYPE
True if the archetype is valid overall; various tests should be used, including
checks on node_ids, internal references, and constraint references.
is_validARCHETYPE_CONSTRAINTTrue 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.
is_valid_units_stringMEASUREMENT_SERVICETrue if the units string units' is a valid string according to the HL7 UCUM
specification.
itemHashReturn item for key a_key'. Equivalent to ISO 11404 fetch operation.
item_at_pathPATHABLEThe item at a path (relative to this item); only valid for unique paths, i.e. paths
that resolve to a single item.
item_countITEM_LIST
items_at_pathPATHABLEList of items corresponding to a non-unique path.
languages_availableAUTHORED_RESOURCETotal list of languages available in this resource, derived from original_language
and translations.
latest_trunk_versionVERSIONED_OBJECTReturn the most recently added trunk version.
latest_versionVERSIONED_OBJECTReturn the most recently added version (i.e. on trunk or any branch).
lifecycle_stateIMPORTED_VERSIONLifecycle state of the content item in wrapped ORIGINAL_VERSION, derived as
item.lifecycle_state.
lifecycle_stateVERSIONLifecycle state of this version; coded by openEHR vocabulary
version lifecycle state .
limitsDV_ORDINALLimits of the ordinal enumeration, to allow comparison of an ordinal
value to its limits.
logical_pathsARCHETYPE
Set of language-dependent paths extracted from archetype. Paths obey the same
syntax as physical_paths, but with node_ids replaced by their meanings from the
ontology.
magnitudeDV_DATENumeric value of the date as days since the calendar origin point 1/1/0000.
magnitudeDV_DATE_TIMEnumeric value of the date/time as seconds since the calendar origin point.
magnitudeDV_PROPORTIONEffective magnitude represented by ratio.
magnitudeDV_TIMENumeric value of the time as seconds since the start of day.
membersC_MULTIPLE_ATTRIBUTEList of constraints representing members of the container value of this attribute within the
data. Semantics of the uniqueness and ordering of items in the container are given by the
cardinality.
most_recent_versionREVISION_HISTORYThe version id of the most recent item, as a String.
most_recent_version_time_committedREVISION_HISTORYThe commit date/time of the most recent item, as a String.
nameTERMINOLOGY_IDReturn the terminology id (which includes the version in some cases).
Distinct names correspond to distinct (i.e. non-compatible) terminologies.
Thus the names ICD10AM and ICD10 refer to distinct terminologies.
namesITEM_LIST
node_ids_validARCHETYPE
True if every node_id found on a C_OBJECT node is found in
ontology.term_codes.
object_idOBJECT_VERSION_IDUnique identifier for logical object of which this identifier identifies one version;
normally the object_id will be the unique identifier of the version container
containing the version referred to by this OBJECT_VERSION_ID instance.
offsetEVENTOffset of this event from origin, computed as time.diff(parent.origin)
openehr_code_setsTERMINOLOGY_SERVICESet of all code set identifiers known in the terminology service.
operator+DV_AMOUNTSum of this quantity and another whose formal type must be the
difference type of this quantity.
operator-DV_AMOUNTNegated version of current object, such as used for representing a
difference, e.g. a weight loss.
operator<DV_DATETests if this date is earlier than the cited date.
operator<DV_ORDEREDTests if this item is less than other, which must be of the same concrete type.
operator=DV_AMOUNT
operator=DV_PROPORTIONassignment operator
owner_idVERSIONUnique identifier of the owning VERSIONED_OBJECT.
parentPATHABLEParent of this node in a compositional hierarchy.
pathARCHETYPE_CONSTRAINTPath of this node relative to root of archetype.
pathDV_URIA string whose format is a function of the scheme. Identifies the location in <scheme>-space of an information entity.
Typical values include hierarchical directory paths for any machine. For example, with scheme = "ftp", path might be
/pub/images/image_01. The strings "." and ".." are reserved for use in the path. Paths may include internet/intranet location identifiers of the form:
sub_domain...domain, e.g. "info.cern.ch"
path_existsPATHABLETrue if the path exists in the data with respect to the current item.
path_of_itemPATHABLEThe path to an item relative to the root of this archetyped structure.
path_uniquePATHABLETrue if the path corresponds to a single item in the data.
periodDV_PERIODIC_TIME_SPECIFICATIONThe period of the repetition, computationally derived from the syntax
representation. Extracted from the value' attribute.
physical_pathsARCHETYPE
Set of language-independent paths extracted from archetype. Paths obey Xpath-like
syntax and are formed from alternations of C_OBJECT.node_id and
C_ATTRIBUTE.rm_attribute_name values.
preceding_version_uidIMPORTED_VERSIONComputed version of inheritance precursor, derived as item.preceding_version_uid.
preceding_version_uidVERSIONUnique identifier of the version of which this version is a modification;
Void if this is the first version.
previous_versionARCHETYPE
Version of predecessor archetype of this archetype, if any.
qualified_rm_entityARCHETYPE_IDGlobally qualified reference model entity,
e.g. openehr-composition-OBSERVATION .
queryDV_URIQuery string to send to application implied by scheme and path.
Enables queries to applications, including databases to be included
in the URI. Supports any query meaningful to the server, including SQL.
revision_historyVERSIONED_OBJECTHistory of all audits and attestations in this versioned repository.
rm_entityARCHETYPE_IDName of the ontological level within the reference model to which this archetype
is targeted, e.g. for openEHR, folder , composition , section , entry .
rm_nameARCHETYPE_IDName of the reference model, e.g. rim , ehr_rm , en13606 .
rm_originatorARCHETYPE_IDOrganisation originating the reference model on which this archetype is based, e.g.
openehr , cen , hl7 .
rootUID_BASED_IDThe identifier of the conceptual namespace in which the object exists, within the
identification scheme.
Returns the part to the left of the first ::' separator, if any, or else the whole string.
rubric_for_codeTERMINOLOGY_ACCESSReturn all rubric of code code' in language lang'.
schemeDV_URIA distributed information "space" in which information objects exist.
The scheme simultaneously specifies an information space and a mechanism for
accessing objects in that space. For example if scheme = "ftp", it identifies
the information space in which all ftpable objects exist, and also the
application - ftp - which can be used to access them.
Values may include: "ftp", "telnet", "mailto", "gopher" and many others.
Refer to WWW URI RFC for a full list.
New information spaces can be accommodated within the URI specification.
schemeEHR_ACCESSThe name of the access control scheme in use; corresponds to the
concrete instance of the settings attribute.
short_concept_nameARCHETYPE
The short concept name of the archetype extracted from the archetype_id.
sizeDV_ENCAPSULATEDOriginal size in bytes of unencoded encapsulated data. I.e. encodings such as base64,
hexadecimal etc. do not change the value of this attribute.
sizeDV_MULTIMEDIAOriginal size in bytes of unencoded encapsulated data. I.e. encodings such
as base64, hexadecimal etc do not change the value of this attribute.
sizeDV_PARSABLESize in bytes of value.
sourceTEMPLATE_NODE_SPEC
specialisationARCHETYPE_IDName of specialisation of concept, if this archetype is a specialisation of
another archetype, e.g. cholesterol .
specialisation_depthARCHETYPE
Specialisation depth of this archetype; larger
than 0 if this archetype has a parent. Derived
from ontology.specialisation_depth.
subject_is_selfENTRYReturns True if this Entry is about the subject of the EHR, in which
case the subject attribute is of type PARTY_SELF.
subtractDV_ABSOLUTE_QUANTITYResult of subtracting a differential amount from this quantity.
subtractDV_DATESubtract a time period from this date.
subtractDV_DATE_TIMESubtract a time period from this date_time.
subtractDV_TIMESubtract a duration from this time.
targetTEMPLATE_NODE_SPEC
term_bindingARCHETYPE_ONTOLOGY
term_definitionARCHETYPE_ONTOLOGY
terminologyTERMINOLOGY_SERVICEReturn an interface to the terminology named name. Allowable names include:-
openehr
centc251
any name from are taken from the US NLM UMLS meta-data list at
http://www.nlm.nih.gov/research/umls/metaa1.html
terminology_identifiersTERMINOLOGY_SERVICESet of all terminology identifiers known in the terminology service. Values from
the US NLM UMLS meta-data list at:-
http://www.nlm.nih.gov/research/umls/metaa1.html
trunk_lifecycle_stateVERSIONED_OBJECTReturn the lifecycle state from the latest trunk version. Useful for determining
if the version container is logically deleted.
trunk_versionVERSION_TREE_IDTrunk version number; numbering starts at 1.
uidIMPORTED_VERSIONComputed version of inheritance precursor, derived as item.uid.
uidVERSIONUnique identifier of this version, containing owner_id, version_tree_id and
creating_system_id.
units_equivalentMEASUREMENT_SERVICETrue if two units strings correspond to the same measured property.
valid_code_set_idOPENEHR_CODE_SET_IDENTIFIERSValidity function to test if an identifier is in the set defined by this class.
valid_magnitude_statusDV_QUANTIFIED
Test whether a string value is one of the valid
values for the magnitude_status attribute.
valid_percentageDV_AMOUNT
Test whether a number is a valid percentage,
i.e. between 0 and 100.
valid_proportion_kindPROPORTION_KINDTrue if n is one of the defined types.
valid_terminology_group_idOPENEHR_TERMINOLOGY_GROUP_IDENTIFIERSValidity function to test if an identifier is in the set defined by
this class.
valid_valueC_DEFINED_OBJECTTrue if a_value is valid with respect to constraint expressed in concrete instance of this
type.
valid_valueC_PRIMITIVETrue if a_value is valid with respect to constraint expressed in concrete
instance of this type.
validity_is_rangeC_DATE
validity_is_rangeC_DATE_TIME
validity_is_rangeC_TIMETrue if validity is in the form of a range; useful for developers to check
which kind of constraint has been set.
versionARCHETYPE
Version of this archetype, extracted from id.
version_at_timeVERSIONED_OBJECTReturn the version for time a_time'.
version_countVERSIONED_OBJECTReturn the total number of versions in this object.
version_idARCHETYPE_IDVersion of this archetype.
version_idTERMINOLOGY_IDVersion of this terminology, if versioning supported, else the empty string.
version_tree_idOBJECT_VERSION_IDTree identifier of this version with respect to other versions in the same version tree,
as either 1 or 3 part dot-separated numbers, e.g. 1 , 2.1.4 .
version_with_idVERSIONED_OBJECTReturn the version with id = a_ver_id'.
~DV_ENCAPSULATEDDV_ENCAPSULATED
~DV_MULTIMEDIADV_MULTIMEDIA
~DV_ORDEREDDV_ORDERED
~DV_TIME_SPECIFICATIONDV_TIME_SPECIFICATIONDestructor
~PATHABLEPATHABLE