Demographic package
Overview
The demographic model illustrated in the UML diagram below is a generalised model of the facts one might expect to see in a demographic server. The purpose of the model is as a specification of a demographic service, either standalone, or a "wrapper" service for an existing system such as a patient master index (PMI). In the latter situation, it is used to add the required openEHR semantics, particularly versioning, to an existing service.
The general design is based on the scheme of party and accountability described by [1], and is influenced by clinical adaptations including work done in Australia and HL7v3 (itself influenced by the Fowler models).
One of the main design criteria of the model is that it expresses attributes and relationships of demographic entities which exist regardless of particular clinical involvements or participations in particular events. Participations are meaningful only within the context of the health record or other relevant model where they record context-specific relationships between demographic entities and events in the real world.
Another criterion is that instances of the classes in the model must be serialisable into an EHR Extract in an unambgiuous way. This requires that each PARTY be a self-contained hierarchy of data, in the same way as distinct COMPOSITIONs in the EHR model are distinct hierarchies in an Extract. In order to ensure this condition, PARTY_RELATIONSHIPs must be implemented correctly, so as to prevent endless traversal of all PARTY objects through their relationships, when serialising. See Party Relationships below for details.
Archetyping
The model is designed to be used with archetypes, hence the generic nature of all entities. Every class containing an attribute of the form details:STRUCTURE is a completely archetypable structure. As a result, archetypes can be defined for concepts such as particular kinds of PERSON, ORGANISATION; for actual ROLEs such as "health care practitioner", and for party identities and addresses.
Names and Addresses
Classes have been included for PARTY_IDENTITY and ADDRESS, even though they contain only a link to details, in the form of the generic STRUCTURE class. This is not strictly necessary - it could have been done simply using appropriately named attributes in the classes PARTY and CONTACT - but is done to provide a place to add specific semantics in future releases of the model. It is also expected to make software development easier, since it provides explicit classes to which behaviour and other implementation attributes can be added. Lastly, it allows the notions of PARTY_IDENTITY and ADDRESS to be explicitly used in archetype-authoring tools.
Instances of PARTY_IDENTITY, linked to PARTY by the attribute identities are intended to express the names of people, organisations, and other actors - that is names which are "owned" by the party, e.g. self-declared (in the case of institutions and companies) or by virtue of social relations (names given by parents, tribes etc). Identifiers of Parties given by other organisations, or the state are not represented in this way, and should be recorded in the PARTY.details structure instead (see below).
Party Identification
Identifiers of Parties given by organisations or the state are treated as any other attribute of a Party, i.e. recorded as part of the data in the PARTY.details structure. Identifiers of Party instances in the system are provided in the same way as identifiers of Compositions in the EHR: via the uid attribute (type OBJECT_VERSION_ID) of the containing VERSION. These identifiers are used in all cross-references between Parties, and between Parties and Party_relationships.
Party Relationships
Relationships between parties in the real world may be expressed using PARTY_RELATIONSHIP objects, as illustrated below.
Relationships are considered directional, hence the use of the attribute names source and target, however, these names are otherwise neutral, and give no indication as to the meaning of the relationships, such as which party is responsible and which accountable (for comparison, see the demographic models of Fowler [1]). Accordingly, each Party involved in a relationship includes it in its relationships list, if it is at the source end, or in the reverse_relationships list, if at the target end.
The usual way to determine the directionality of a relationship between two Parties is usually by which Party’s actions caused the relationship to come into being. For example, a relationship representing the concept "patient", between a health consumer and a health care organisation would have the consumer as source and the organisation as target.
PARTY_RELATIONSHIPs are stored as part of the data of the PARTY designated as the source. This means that the relationships attribute is by value, while reverse_relationships is by references, as are PARTY_RELATIONSHIP.source and target. The actual kind of reference is via the use of OBJECT_REFs containing HIER_OBJECT_IDs to denote the Version container of a Party, rather than OBJECT_VERSION_IDs, which would denote particular versions. Logically this implements the semantic that such relationships in the real world are between continuants, i.e. the real Parties, not just one of their version instances in a demographic system.
Versioning Semantics
The class PARTY and its descendants ACTOR and ROLE are all potentially versioned in a demographic system. A Version of a PARTY includes all the compositional parts, such as identities, contacts, Party relationships of which it is the source. Every Party is stored in its own Version container.
Class Definitions
PARTY Class
-
Definition
-
Effective
-
BMM
-
UML
Class |
PARTY (abstract) |
|||
|---|---|---|---|---|
Description |
Ancestor of all Party types, including real world entities and their roles. A Party is any entity which can participate in an activity. The
|
|||
Inherit |
||||
Attributes |
Signature |
Meaning |
||
1..1 |
identities: |
Identities used by the party to identify itself, such as legal name, stage names, aliases, nicknames and so on. |
||
0..1 |
Contacts for this party. |
|||
0..1 |
details: |
All other details for this Party. |
||
0..1 |
reverse_relationships: |
References to relationships in which this Party takes part as target. |
||
0..1 |
relationships: |
Relationships in which this Party takes part as source. |
||
Functions |
Signature |
Meaning |
||
1..1 |
type (): |
Type of party, such as |
||
Invariants |
Type_valid: |
|||
Identities_valid: |
||||
Contacts_valid: |
||||
Relationships_validity: |
||||
Reverse_relationships_validity: |
||||
Is_archetype_root: |
||||
Uid_mandatory: |
||||
| PARTY (abstract) | |||
|---|---|---|---|
Ancestor of all Party types, including real world entities and their roles. A Party is any entity which can participate in an activity. The
|
|||
Attributes |
|||
Runtime name of this fragment, used to build runtime paths. This is the term provided via a clinical application or batch process to name this EHR construct: its retention in the EHR faithfully preserves the original label by which this entry was known to end users. |
|||
Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths. Always in the form of an at-code, e.g. At an archetype root point, the value of this attribute is always the stringified form of the |
|||
LOCATABLE.uid: |
Optional globally unique object identifier for root points of archetyped structures. |
||
Links to other archetyped structures (data whose root object inherits from |
|||
LOCATABLE.archetype_details: |
Details of archetyping used on this node. |
||
LOCATABLE.feeder_audit: |
Audit trail from non-openEHR system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node. |
||
identities: |
Identities used by the party to identify itself, such as legal name, stage names, aliases, nicknames and so on. |
||
Contacts for this party. |
|||
details: |
All other details for this Party. |
||
reverse_relationships: |
References to relationships in which this Party takes part as target. |
||
relationships: |
Relationships in which this Party takes part as source. |
||
Functions |
|||
Value equality: return True if Parameters
|
|||
Reference equality for reference types, value equality for value types. Parameters
|
|||
Create new instance of a type. |
|||
Type name of an object as a string. May include generic parameters, as in |
|||
Any.not_equal alias "!=", "≠" ( |
True if current object not equal to |
||
Parent of this node in a compositional hierarchy. |
|||
PATHABLE.item_at_path ( |
The item at a path (relative to this item); only valid for unique paths, i.e. paths that resolve to a single item. |
||
PATHABLE.items_at_path ( |
List of items corresponding to a non-unique path. |
||
PATHABLE.path_exists ( |
True if the path exists in the data with respect to the current item. |
||
PATHABLE.path_unique ( |
True if the path corresponds to a single item in the data. |
||
The path to an item relative to the root of this archetyped structure. |
|||
Clinical concept of the archetype as a whole (= derived from the archetype_node_id' of the root node) |
|||
True if this node is the root of an archetyped structure. |
|||
type (): |
Type of party, such as |
||
Invariants |
|||
LOCATABLE.Links_valid: |
|||
LOCATABLE.Archetyped_valid: |
|||
LOCATABLE.Archetype_node_id_valid: |
|||
Type_valid: |
|||
Identities_valid: |
|||
Contacts_valid: |
|||
Relationships_validity: |
|||
Reverse_relationships_validity: |
|||
Is_archetype_root: |
|||
Uid_mandatory: |
|||
{
"name": "PARTY",
"documentation": "Ancestor of all Party types, including real world entities and their roles. A Party is any entity which can participate in an activity. The `_name_` attribute inherited from `LOCATABLE` is used to indicate the actual type of party (note that the actual names, i.e. identities of parties are indicated in the `_identities_` attribute, not the `_name_` attribute).\n\nNOTE: It is strongly recommended that the inherited attribute `_uid_` be populated in `PARTY` objects, using the UID copied from the `_object_id()_` of the `_uid_` field of the enclosing `VERSION` object. +\nFor example, the `ORIGINAL_VERSION.uid` `87284370-2D4B-4e3d-A3F3-F303D2F4F34B::uk.nhs.ehr1::2` would be copied to the `_uid_` field of the `PARTY` object.",
"is_abstract": true,
"ancestors": [
"LOCATABLE"
],
"properties": {
"identities": {
"_type": "P_BMM_CONTAINER_PROPERTY",
"name": "identities",
"documentation": "Identities used by the party to identify itself, such as legal name, stage names, aliases, nicknames and so on.",
"is_mandatory": true,
"type_def": {
"container_type": "List",
"type": "PARTY_IDENTITY"
},
"cardinality": {
"lower": 1,
"upper_unbounded": true
}
},
"contacts": {
"_type": "P_BMM_CONTAINER_PROPERTY",
"name": "contacts",
"documentation": "Contacts for this party.",
"type_def": {
"container_type": "List",
"type": "CONTACT"
},
"cardinality": {
"lower": 0,
"upper_unbounded": true
}
},
"details": {
"_type": "P_BMM_SINGLE_PROPERTY",
"name": "details",
"documentation": "All other details for this Party.",
"type": "ITEM_STRUCTURE"
},
"reverse_relationships": {
"_type": "P_BMM_CONTAINER_PROPERTY",
"name": "reverse_relationships",
"documentation": "References to relationships in which this Party takes part as target.",
"type_def": {
"container_type": "List",
"type": "LOCATABLE_REF"
},
"cardinality": {
"lower": 0,
"upper_unbounded": true
}
},
"relationships": {
"_type": "P_BMM_CONTAINER_PROPERTY",
"name": "relationships",
"documentation": "Relationships in which this Party takes part as source.",
"type_def": {
"container_type": "List",
"type": "PARTY_RELATIONSHIP"
},
"cardinality": {
"lower": 0,
"upper_unbounded": true
}
}
},
"functions": {
"type": {
"name": "type",
"documentation": "Type of party, such as `PERSON`, `ORGANISATION`, etc. Role name, e.g. general practitioner , nurse , private citizen . Taken from inherited `_name_` attribute.",
"result": {
"_type": "P_BMM_SIMPLE_TYPE",
"type": "DV_TEXT"
}
}
},
"invariants": {
"Type_valid": "type = name",
"Identities_valid": "not identities.is_empty",
"Contacts_valid": "contacts /= Void implies not contacts.is_empty",
"Relationships_validity": "relationships /= Void implies (not relationships.is_empty and then relationships.for_all (r | r.source = self)",
"Reverse_relationships_validity": "reverse_relationships /= Void implies (not reverse_relationships.empty and then reverse_relationships.for_all (item | repository (\"demographics\").all_party_relationships.has_object (item) and then repository(\"demographics\").all_party_relationships.object (item).target = self))",
"Is_archetype_root": "is_archetype_root",
"Uid_mandatory": "uid /= Void"
}
}
VERSIONED_PARTY Class
-
Definition
-
Effective
-
BMM
-
UML
Class |
VERSIONED_PARTY |
|
|---|---|---|
Description |
Static type formed by binding generic parameter of |
|
Inherit |
||
| VERSIONED_PARTY | |
|---|---|
Static type formed by binding generic parameter of |
|
Inherits: VERSIONED_OBJECT |
|
Attributes |
|
VERSIONED_OBJECT.uid: |
Unique identifier of this version container in the form of a UID with no extension. This id will be the same in all instances of the same container in a distributed environment, meaning that it can be understood as the uid of the virtual version tree. |
VERSIONED_OBJECT.owner_id: |
Reference to object to which this version container belongs, e.g. the id of the containing EHR or other relevant owning entity. |
VERSIONED_OBJECT.time_created: |
Time of initial creation of this versioned object. |
Functions |
|
VERSIONED_OBJECT.version_count (): |
Return the total number of versions in this object. |
VERSIONED_OBJECT.all_version_ids (): |
Return a list of ids of all versions in this object. |
VERSIONED_OBJECT.all_versions (): |
Return a list of all versions in this object. |
VERSIONED_OBJECT.has_version_at_time ( |
True if a version for time |
VERSIONED_OBJECT.has_version_id ( |
True if a version with |
VERSIONED_OBJECT.version_with_id ( |
Return the version with |
VERSIONED_OBJECT.is_original_version ( |
True if version with |
VERSIONED_OBJECT.version_at_time ( |
Return the version for time |
VERSIONED_OBJECT.revision_history (): |
History of all audits and attestations in this versioned repository. |
VERSIONED_OBJECT.latest_version (): |
Return the most recently added version (i.e. on trunk or any branch). |
VERSIONED_OBJECT.latest_trunk_version (): |
Return the most recently added trunk version. |
VERSIONED_OBJECT.trunk_lifecycle_state (): |
Return the lifecycle state from the latest trunk version. Useful for determining if the version container is logically deleted. |
VERSIONED_OBJECT.commit_original_version ( |
Add a new original version. |
VERSIONED_OBJECT.commit_original_merged_version ( |
Add a new original merged version. This commit function adds a parameter containing the ids of other versions merged into the current one. |
VERSIONED_OBJECT.commit_imported_version ( |
Add a new imported version. Details of version id etc come from the |
VERSIONED_OBJECT.commit_attestation ( |
Add a new attestation to a specified original version. Attestations can only be added to Original versions. |
Invariants |
|
VERSIONED_OBJECT.Version_count_valid: |
|
VERSIONED_OBJECT.All_version_ids_valid: |
|
VERSIONED_OBJECT.All_versions_valid: |
|
VERSIONED_OBJECT.Latest_version_valid: |
|
VERSIONED_OBJECT.Uid_validity: |
|
{
"name": "VERSIONED_PARTY",
"documentation": "Static type formed by binding generic parameter of `VERSIONED_OBJECT<T>` to `PARTY`. ",
"ancestors": [
"VERSIONED_OBJECT"
]
}
ROLE Class
-
Definition
-
Effective
-
BMM
-
UML
Class |
ROLE |
|
|---|---|---|
Description |
Generic description of a role performed by an Actor. The role corresponds to a competency of the Party. Roles are used to define the responsibilities undertaken by a Party for a purpose. Roles should have credentials qualifying the performer to perform the role. |
|
Inherit |
||
Attributes |
Signature |
Meaning |
0..1 |
time_validity: |
Valid time interval for this role. |
1..1 |
performer: |
Reference to Version container of Actor playing the role. |
0..1 |
capabilities: |
The capabilities of this role. |
Invariants |
Capabilities_valid: |
|
| ROLE | |||
|---|---|---|---|
Generic description of a role performed by an Actor. The role corresponds to a competency of the Party. Roles are used to define the responsibilities undertaken by a Party for a purpose. Roles should have credentials qualifying the performer to perform the role. |
|||
Attributes |
|||
Runtime name of this fragment, used to build runtime paths. This is the term provided via a clinical application or batch process to name this EHR construct: its retention in the EHR faithfully preserves the original label by which this entry was known to end users. |
|||
Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths. Always in the form of an at-code, e.g. At an archetype root point, the value of this attribute is always the stringified form of the |
|||
LOCATABLE.uid: |
Optional globally unique object identifier for root points of archetyped structures. |
||
Links to other archetyped structures (data whose root object inherits from |
|||
LOCATABLE.archetype_details: |
Details of archetyping used on this node. |
||
LOCATABLE.feeder_audit: |
Audit trail from non-openEHR system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node. |
||
PARTY.identities: |
Identities used by the party to identify itself, such as legal name, stage names, aliases, nicknames and so on. |
||
Contacts for this party. |
|||
PARTY.details: |
All other details for this Party. |
||
PARTY.reverse_relationships: |
References to relationships in which this Party takes part as target. |
||
PARTY.relationships: |
Relationships in which this Party takes part as source. |
||
time_validity: |
Valid time interval for this role. |
||
performer: |
Reference to Version container of Actor playing the role. |
||
capabilities: |
The capabilities of this role. |
||
Functions |
|||
Value equality: return True if Parameters
|
|||
Reference equality for reference types, value equality for value types. Parameters
|
|||
Create new instance of a type. |
|||
Type name of an object as a string. May include generic parameters, as in |
|||
Any.not_equal alias "!=", "≠" ( |
True if current object not equal to |
||
Parent of this node in a compositional hierarchy. |
|||
PATHABLE.item_at_path ( |
The item at a path (relative to this item); only valid for unique paths, i.e. paths that resolve to a single item. |
||
PATHABLE.items_at_path ( |
List of items corresponding to a non-unique path. |
||
PATHABLE.path_exists ( |
True if the path exists in the data with respect to the current item. |
||
PATHABLE.path_unique ( |
True if the path corresponds to a single item in the data. |
||
The path to an item relative to the root of this archetyped structure. |
|||
Clinical concept of the archetype as a whole (= derived from the archetype_node_id' of the root node) |
|||
True if this node is the root of an archetyped structure. |
|||
Type of party, such as |
|||
Invariants |
|||
LOCATABLE.Links_valid: |
|||
LOCATABLE.Archetyped_valid: |
|||
LOCATABLE.Archetype_node_id_valid: |
|||
PARTY.Type_valid: |
|||
PARTY.Identities_valid: |
|||
PARTY.Contacts_valid: |
|||
PARTY.Relationships_validity: |
|||
PARTY.Reverse_relationships_validity: |
|||
PARTY.Is_archetype_root: |
|||
PARTY.Uid_mandatory: |
|||
Capabilities_valid: |
|||
{
"name": "ROLE",
"documentation": "Generic description of a role performed by an Actor. The role corresponds to a competency of the Party. Roles are used to define the responsibilities undertaken by a Party for a purpose. Roles should have credentials qualifying the performer to perform the role.",
"ancestors": [
"PARTY"
],
"properties": {
"time_validity": {
"_type": "P_BMM_GENERIC_PROPERTY",
"name": "time_validity",
"documentation": "Valid time interval for this role.",
"type_def": {
"root_type": "DV_INTERVAL",
"generic_parameters": [
"DV_DATE"
]
}
},
"performer": {
"_type": "P_BMM_SINGLE_PROPERTY",
"name": "performer",
"documentation": "Reference to Version container of Actor playing the role.",
"is_mandatory": true,
"type": "PARTY_REF"
},
"capabilities": {
"_type": "P_BMM_CONTAINER_PROPERTY",
"name": "capabilities",
"documentation": "The capabilities of this role.",
"type_def": {
"container_type": "List",
"type": "CAPABILITY"
},
"cardinality": {
"lower": 0,
"upper_unbounded": true
}
}
},
"invariants": {
"Capabilities_valid": "capabilities /= Void implies not capabilities.empty"
}
}
PARTY_RELATIONSHIP Class
-
Definition
-
Effective
-
BMM
-
UML
Class |
PARTY_RELATIONSHIP |
|
|---|---|---|
Description |
Generic description of a relationship between parties. |
|
Inherit |
||
Attributes |
Signature |
Meaning |
0..1 |
details: |
The detailed description of the relationship. |
1..1 |
target: |
Target of relationship. |
0..1 |
time_validity: |
Valid time interval for this relationship. |
1..1 |
source: |
Source of relationship. |
Functions |
Signature |
Meaning |
1..1 |
type (): |
Type of relationship, such as employment, authority, health provision |
Invariants |
Source_valid: |
|
Target_valid: |
||
Type_validity: |
||
| PARTY_RELATIONSHIP | |||
|---|---|---|---|
Generic description of a relationship between parties. |
|||
Attributes |
|||
Runtime name of this fragment, used to build runtime paths. This is the term provided via a clinical application or batch process to name this EHR construct: its retention in the EHR faithfully preserves the original label by which this entry was known to end users. |
|||
Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths. Always in the form of an at-code, e.g. At an archetype root point, the value of this attribute is always the stringified form of the |
|||
LOCATABLE.uid: |
Optional globally unique object identifier for root points of archetyped structures. |
||
Links to other archetyped structures (data whose root object inherits from |
|||
LOCATABLE.archetype_details: |
Details of archetyping used on this node. |
||
LOCATABLE.feeder_audit: |
Audit trail from non-openEHR system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node. |
||
details: |
The detailed description of the relationship. |
||
target: |
Target of relationship. |
||
time_validity: |
Valid time interval for this relationship. |
||
source: |
Source of relationship. |
||
Functions |
|||
Value equality: return True if Parameters
|
|||
Reference equality for reference types, value equality for value types. Parameters
|
|||
Create new instance of a type. |
|||
Type name of an object as a string. May include generic parameters, as in |
|||
Any.not_equal alias "!=", "≠" ( |
True if current object not equal to |
||
Parent of this node in a compositional hierarchy. |
|||
PATHABLE.item_at_path ( |
The item at a path (relative to this item); only valid for unique paths, i.e. paths that resolve to a single item. |
||
PATHABLE.items_at_path ( |
List of items corresponding to a non-unique path. |
||
PATHABLE.path_exists ( |
True if the path exists in the data with respect to the current item. |
||
PATHABLE.path_unique ( |
True if the path corresponds to a single item in the data. |
||
The path to an item relative to the root of this archetyped structure. |
|||
Clinical concept of the archetype as a whole (= derived from the archetype_node_id' of the root node) |
|||
True if this node is the root of an archetyped structure. |
|||
type (): |
Type of relationship, such as employment, authority, health provision |
||
Invariants |
|||
LOCATABLE.Links_valid: |
|||
LOCATABLE.Archetyped_valid: |
|||
LOCATABLE.Archetype_node_id_valid: |
|||
Source_valid: |
|||
Target_valid: |
|||
Type_validity: |
|||
{
"name": "PARTY_RELATIONSHIP",
"documentation": "Generic description of a relationship between parties.",
"ancestors": [
"LOCATABLE"
],
"properties": {
"details": {
"_type": "P_BMM_SINGLE_PROPERTY",
"name": "details",
"documentation": "The detailed description of the relationship.",
"type": "ITEM_STRUCTURE"
},
"target": {
"_type": "P_BMM_SINGLE_PROPERTY",
"name": "target",
"documentation": "Target of relationship.",
"is_mandatory": true,
"type": "PARTY_REF"
},
"time_validity": {
"_type": "P_BMM_GENERIC_PROPERTY",
"name": "time_validity",
"documentation": "Valid time interval for this relationship.",
"type_def": {
"root_type": "DV_INTERVAL",
"generic_parameters": [
"DV_DATE"
]
}
},
"source": {
"_type": "P_BMM_SINGLE_PROPERTY",
"name": "source",
"documentation": "Source of relationship.",
"is_mandatory": true,
"type": "PARTY_REF"
}
},
"functions": {
"type": {
"name": "type",
"documentation": "Type of relationship, such as employment, authority, health provision ",
"result": {
"_type": "P_BMM_SIMPLE_TYPE",
"type": "DV_TEXT"
}
}
},
"invariants": {
"Source_valid": "source /= Void and then source.relationships.has (self)",
"Target_valid": "target /= Void and then not target.reverse_relationships.has (self)",
"Type_validity": "type = name"
}
}
PARTY_IDENTITY Class
-
Definition
-
Effective
-
BMM
-
UML
Class |
PARTY_IDENTITY |
|
|---|---|---|
Description |
An identity owned by a Party, such as a person name or company name, and which is used by the Party to identify itself. Actual structure is archetyped. |
|
Inherit |
||
Attributes |
Signature |
Meaning |
1..1 |
details: |
The value of the identity. This will often taken the form of a parseable string or a small structure of strings. |
Functions |
Signature |
Meaning |
1..1 |
purpose (): |
Purpose of identity, e.g. legal , stagename, nickname, tribal name, trading name. Taken from value of inherited |
Invariants |
Purpose_valid: |
|
| PARTY_IDENTITY | |||
|---|---|---|---|
An identity owned by a Party, such as a person name or company name, and which is used by the Party to identify itself. Actual structure is archetyped. |
|||
Attributes |
|||
Runtime name of this fragment, used to build runtime paths. This is the term provided via a clinical application or batch process to name this EHR construct: its retention in the EHR faithfully preserves the original label by which this entry was known to end users. |
|||
Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths. Always in the form of an at-code, e.g. At an archetype root point, the value of this attribute is always the stringified form of the |
|||
LOCATABLE.uid: |
Optional globally unique object identifier for root points of archetyped structures. |
||
Links to other archetyped structures (data whose root object inherits from |
|||
LOCATABLE.archetype_details: |
Details of archetyping used on this node. |
||
LOCATABLE.feeder_audit: |
Audit trail from non-openEHR system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node. |
||
details: |
The value of the identity. This will often taken the form of a parseable string or a small structure of strings. |
||
Functions |
|||
Value equality: return True if Parameters
|
|||
Reference equality for reference types, value equality for value types. Parameters
|
|||
Create new instance of a type. |
|||
Type name of an object as a string. May include generic parameters, as in |
|||
Any.not_equal alias "!=", "≠" ( |
True if current object not equal to |
||
Parent of this node in a compositional hierarchy. |
|||
PATHABLE.item_at_path ( |
The item at a path (relative to this item); only valid for unique paths, i.e. paths that resolve to a single item. |
||
PATHABLE.items_at_path ( |
List of items corresponding to a non-unique path. |
||
PATHABLE.path_exists ( |
True if the path exists in the data with respect to the current item. |
||
PATHABLE.path_unique ( |
True if the path corresponds to a single item in the data. |
||
The path to an item relative to the root of this archetyped structure. |
|||
Clinical concept of the archetype as a whole (= derived from the archetype_node_id' of the root node) |
|||
True if this node is the root of an archetyped structure. |
|||
purpose (): |
Purpose of identity, e.g. legal , stagename, nickname, tribal name, trading name. Taken from value of inherited |
||
Invariants |
|||
LOCATABLE.Links_valid: |
|||
LOCATABLE.Archetyped_valid: |
|||
LOCATABLE.Archetype_node_id_valid: |
|||
Purpose_valid: |
|||
{
"name": "PARTY_IDENTITY",
"documentation": "An identity owned by a Party, such as a person name or company name, and which is used by the Party to identify itself. Actual structure is archetyped.",
"ancestors": [
"LOCATABLE"
],
"properties": {
"details": {
"_type": "P_BMM_SINGLE_PROPERTY",
"name": "details",
"documentation": "The value of the identity. This will often taken the form of a parseable string or a small structure of strings.",
"is_mandatory": true,
"type": "ITEM_STRUCTURE"
}
},
"functions": {
"purpose": {
"name": "purpose",
"documentation": "Purpose of identity, e.g. legal , stagename, nickname, tribal name, trading name. Taken from value of inherited `_name_` attribute.",
"result": {
"_type": "P_BMM_SIMPLE_TYPE",
"type": "DV_TEXT"
}
}
},
"invariants": {
"Purpose_valid": "purpose = name"
}
}
CONTACT Class
-
Definition
-
Effective
-
BMM
-
UML
Class |
CONTACT |
|
|---|---|---|
Description |
Description of a means of contact of a Party. Actual structure is archetyped. |
|
Inherit |
||
Attributes |
Signature |
Meaning |
1..1 |
A set of address alternatives for this contact purpose and time validity combination. |
|
0..1 |
time_validity: |
Valid time interval for this contact descriptor. |
Functions |
Signature |
Meaning |
1..1 |
purpose (): |
Purpose for which this contact is used, e.g. mail, daytime phone, etc. Taken from value of inherited |
Invariants |
Purpose_valid: |
|
| CONTACT | |||
|---|---|---|---|
Description of a means of contact of a Party. Actual structure is archetyped. |
|||
Attributes |
|||
Runtime name of this fragment, used to build runtime paths. This is the term provided via a clinical application or batch process to name this EHR construct: its retention in the EHR faithfully preserves the original label by which this entry was known to end users. |
|||
Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths. Always in the form of an at-code, e.g. At an archetype root point, the value of this attribute is always the stringified form of the |
|||
LOCATABLE.uid: |
Optional globally unique object identifier for root points of archetyped structures. |
||
Links to other archetyped structures (data whose root object inherits from |
|||
LOCATABLE.archetype_details: |
Details of archetyping used on this node. |
||
LOCATABLE.feeder_audit: |
Audit trail from non-openEHR system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node. |
||
A set of address alternatives for this contact purpose and time validity combination. |
|||
time_validity: |
Valid time interval for this contact descriptor. |
||
Functions |
|||
Value equality: return True if Parameters
|
|||
Reference equality for reference types, value equality for value types. Parameters
|
|||
Create new instance of a type. |
|||
Type name of an object as a string. May include generic parameters, as in |
|||
Any.not_equal alias "!=", "≠" ( |
True if current object not equal to |
||
Parent of this node in a compositional hierarchy. |
|||
PATHABLE.item_at_path ( |
The item at a path (relative to this item); only valid for unique paths, i.e. paths that resolve to a single item. |
||
PATHABLE.items_at_path ( |
List of items corresponding to a non-unique path. |
||
PATHABLE.path_exists ( |
True if the path exists in the data with respect to the current item. |
||
PATHABLE.path_unique ( |
True if the path corresponds to a single item in the data. |
||
The path to an item relative to the root of this archetyped structure. |
|||
Clinical concept of the archetype as a whole (= derived from the archetype_node_id' of the root node) |
|||
True if this node is the root of an archetyped structure. |
|||
purpose (): |
Purpose for which this contact is used, e.g. mail, daytime phone, etc. Taken from value of inherited |
||
Invariants |
|||
LOCATABLE.Links_valid: |
|||
LOCATABLE.Archetyped_valid: |
|||
LOCATABLE.Archetype_node_id_valid: |
|||
Purpose_valid: |
|||
{
"name": "CONTACT",
"documentation": "Description of a means of contact of a Party. Actual structure is archetyped.",
"ancestors": [
"LOCATABLE"
],
"properties": {
"addresses": {
"_type": "P_BMM_CONTAINER_PROPERTY",
"name": "addresses",
"documentation": "A set of address alternatives for this contact purpose and time validity combination.",
"is_mandatory": true,
"type_def": {
"container_type": "List",
"type": "ADDRESS"
},
"cardinality": {
"lower": 1,
"upper_unbounded": true
}
},
"time_validity": {
"_type": "P_BMM_GENERIC_PROPERTY",
"name": "time_validity",
"documentation": "Valid time interval for this contact descriptor.",
"type_def": {
"root_type": "DV_INTERVAL",
"generic_parameters": [
"DV_DATE"
]
}
}
},
"functions": {
"purpose": {
"name": "purpose",
"documentation": "Purpose for which this contact is used, e.g. mail, daytime phone, etc. Taken from value of inherited `_name_` attribute.",
"result": {
"_type": "P_BMM_SIMPLE_TYPE",
"type": "DV_TEXT"
}
}
},
"invariants": {
"Purpose_valid": "purpose = name"
}
}
ADDRESS Class
-
Definition
-
Effective
-
BMM
-
UML
Class |
ADDRESS |
|
|---|---|---|
Description |
Address of contact, which may be electronic or geographic. |
|
Inherit |
||
Attributes |
Signature |
Meaning |
1..1 |
details: |
Archetypable structured address. |
Functions |
Signature |
Meaning |
1..1 |
type (): |
Type of address, e.g. electronic, locality. Taken from value of inherited |
Invariants |
Type_valid: |
|
| ADDRESS | |||
|---|---|---|---|
Address of contact, which may be electronic or geographic. |
|||
Attributes |
|||
Runtime name of this fragment, used to build runtime paths. This is the term provided via a clinical application or batch process to name this EHR construct: its retention in the EHR faithfully preserves the original label by which this entry was known to end users. |
|||
Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths. Always in the form of an at-code, e.g. At an archetype root point, the value of this attribute is always the stringified form of the |
|||
LOCATABLE.uid: |
Optional globally unique object identifier for root points of archetyped structures. |
||
Links to other archetyped structures (data whose root object inherits from |
|||
LOCATABLE.archetype_details: |
Details of archetyping used on this node. |
||
LOCATABLE.feeder_audit: |
Audit trail from non-openEHR system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node. |
||
details: |
Archetypable structured address. |
||
Functions |
|||
Value equality: return True if Parameters
|
|||
Reference equality for reference types, value equality for value types. Parameters
|
|||
Create new instance of a type. |
|||
Type name of an object as a string. May include generic parameters, as in |
|||
Any.not_equal alias "!=", "≠" ( |
True if current object not equal to |
||
Parent of this node in a compositional hierarchy. |
|||
PATHABLE.item_at_path ( |
The item at a path (relative to this item); only valid for unique paths, i.e. paths that resolve to a single item. |
||
PATHABLE.items_at_path ( |
List of items corresponding to a non-unique path. |
||
PATHABLE.path_exists ( |
True if the path exists in the data with respect to the current item. |
||
PATHABLE.path_unique ( |
True if the path corresponds to a single item in the data. |
||
The path to an item relative to the root of this archetyped structure. |
|||
Clinical concept of the archetype as a whole (= derived from the archetype_node_id' of the root node) |
|||
True if this node is the root of an archetyped structure. |
|||
type (): |
Type of address, e.g. electronic, locality. Taken from value of inherited |
||
Invariants |
|||
LOCATABLE.Links_valid: |
|||
LOCATABLE.Archetyped_valid: |
|||
LOCATABLE.Archetype_node_id_valid: |
|||
Type_valid: |
|||
{
"name": "ADDRESS",
"documentation": "Address of contact, which may be electronic or geographic.",
"ancestors": [
"LOCATABLE"
],
"properties": {
"details": {
"_type": "P_BMM_SINGLE_PROPERTY",
"name": "details",
"documentation": "Archetypable structured address.",
"is_mandatory": true,
"type": "ITEM_STRUCTURE"
}
},
"functions": {
"type": {
"name": "type",
"documentation": "Type of address, e.g. electronic, locality. Taken from value of inherited `_name_` attribute.",
"result": {
"_type": "P_BMM_SIMPLE_TYPE",
"type": "DV_TEXT"
}
}
},
"invariants": {
"Type_valid": "type = name"
}
}
CAPABILITY Class
-
Definition
-
Effective
-
BMM
-
UML
Class |
CAPABILITY |
|
|---|---|---|
Description |
Capability of a role, such as ehr modifier, health care provider. Capability should be backed up by credentials. |
|
Inherit |
||
Attributes |
Signature |
Meaning |
1..1 |
credentials: |
The qualifications of the performer of the role for this capability. This might include professional qualifications and official identifications such as provider numbers etc. |
0..1 |
time_validity: |
Valid time interval for the credentials of this capability. |
| CAPABILITY | |||
|---|---|---|---|
Capability of a role, such as ehr modifier, health care provider. Capability should be backed up by credentials. |
|||
Attributes |
|||
Runtime name of this fragment, used to build runtime paths. This is the term provided via a clinical application or batch process to name this EHR construct: its retention in the EHR faithfully preserves the original label by which this entry was known to end users. |
|||
Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths. Always in the form of an at-code, e.g. At an archetype root point, the value of this attribute is always the stringified form of the |
|||
LOCATABLE.uid: |
Optional globally unique object identifier for root points of archetyped structures. |
||
Links to other archetyped structures (data whose root object inherits from |
|||
LOCATABLE.archetype_details: |
Details of archetyping used on this node. |
||
LOCATABLE.feeder_audit: |
Audit trail from non-openEHR system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node. |
||
credentials: |
The qualifications of the performer of the role for this capability. This might include professional qualifications and official identifications such as provider numbers etc. |
||
time_validity: |
Valid time interval for the credentials of this capability. |
||
Functions |
|||
Value equality: return True if Parameters
|
|||
Reference equality for reference types, value equality for value types. Parameters
|
|||
Create new instance of a type. |
|||
Type name of an object as a string. May include generic parameters, as in |
|||
Any.not_equal alias "!=", "≠" ( |
True if current object not equal to |
||
Parent of this node in a compositional hierarchy. |
|||
PATHABLE.item_at_path ( |
The item at a path (relative to this item); only valid for unique paths, i.e. paths that resolve to a single item. |
||
PATHABLE.items_at_path ( |
List of items corresponding to a non-unique path. |
||
PATHABLE.path_exists ( |
True if the path exists in the data with respect to the current item. |
||
PATHABLE.path_unique ( |
True if the path corresponds to a single item in the data. |
||
The path to an item relative to the root of this archetyped structure. |
|||
Clinical concept of the archetype as a whole (= derived from the archetype_node_id' of the root node) |
|||
True if this node is the root of an archetyped structure. |
|||
Invariants |
|||
LOCATABLE.Links_valid: |
|||
LOCATABLE.Archetyped_valid: |
|||
LOCATABLE.Archetype_node_id_valid: |
|||
{
"name": "CAPABILITY",
"documentation": "Capability of a role, such as ehr modifier, health care provider. Capability should be backed up by credentials.",
"ancestors": [
"LOCATABLE"
],
"properties": {
"credentials": {
"_type": "P_BMM_SINGLE_PROPERTY",
"name": "credentials",
"documentation": "The qualifications of the performer of the role for this capability. This might include professional qualifications and official identifications such as provider numbers etc.",
"is_mandatory": true,
"type": "ITEM_STRUCTURE"
},
"time_validity": {
"_type": "P_BMM_GENERIC_PROPERTY",
"name": "time_validity",
"documentation": "Valid time interval for the credentials of this capability.",
"type_def": {
"root_type": "DV_INTERVAL",
"generic_parameters": [
"DV_DATE"
]
}
}
}
}
ACTOR Class
-
Definition
-
Effective
-
BMM
-
UML
Class |
ACTOR (abstract) |
|
|---|---|---|
Description |
Ancestor of all real-world types, including people and organisations. An actor is any real-world entity capable of taking on a role. |
|
Inherit |
||
Attributes |
Signature |
Meaning |
0..1 |
Languages which can be used to communicate with this actor, in preferred order of use (if known, else order irrelevant). |
|
0..1 |
Identifiers of the Version container for each Role played by this Party. |
|
Invariants |
Roles_valid: |
|
Legal_identity_exists: |
||
| ACTOR (abstract) | |||
|---|---|---|---|
Ancestor of all real-world types, including people and organisations. An actor is any real-world entity capable of taking on a role. |
|||
Attributes |
|||
Runtime name of this fragment, used to build runtime paths. This is the term provided via a clinical application or batch process to name this EHR construct: its retention in the EHR faithfully preserves the original label by which this entry was known to end users. |
|||
Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths. Always in the form of an at-code, e.g. At an archetype root point, the value of this attribute is always the stringified form of the |
|||
LOCATABLE.uid: |
Optional globally unique object identifier for root points of archetyped structures. |
||
Links to other archetyped structures (data whose root object inherits from |
|||
LOCATABLE.archetype_details: |
Details of archetyping used on this node. |
||
LOCATABLE.feeder_audit: |
Audit trail from non-openEHR system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node. |
||
PARTY.identities: |
Identities used by the party to identify itself, such as legal name, stage names, aliases, nicknames and so on. |
||
Contacts for this party. |
|||
PARTY.details: |
All other details for this Party. |
||
PARTY.reverse_relationships: |
References to relationships in which this Party takes part as target. |
||
PARTY.relationships: |
Relationships in which this Party takes part as source. |
||
Languages which can be used to communicate with this actor, in preferred order of use (if known, else order irrelevant). |
|||
Identifiers of the Version container for each Role played by this Party. |
|||
Functions |
|||
Value equality: return True if Parameters
|
|||
Reference equality for reference types, value equality for value types. Parameters
|
|||
Create new instance of a type. |
|||
Type name of an object as a string. May include generic parameters, as in |
|||
Any.not_equal alias "!=", "≠" ( |
True if current object not equal to |
||
Parent of this node in a compositional hierarchy. |
|||
PATHABLE.item_at_path ( |
The item at a path (relative to this item); only valid for unique paths, i.e. paths that resolve to a single item. |
||
PATHABLE.items_at_path ( |
List of items corresponding to a non-unique path. |
||
PATHABLE.path_exists ( |
True if the path exists in the data with respect to the current item. |
||
PATHABLE.path_unique ( |
True if the path corresponds to a single item in the data. |
||
The path to an item relative to the root of this archetyped structure. |
|||
Clinical concept of the archetype as a whole (= derived from the archetype_node_id' of the root node) |
|||
True if this node is the root of an archetyped structure. |
|||
Type of party, such as |
|||
Invariants |
|||
LOCATABLE.Links_valid: |
|||
LOCATABLE.Archetyped_valid: |
|||
LOCATABLE.Archetype_node_id_valid: |
|||
PARTY.Type_valid: |
|||
PARTY.Identities_valid: |
|||
PARTY.Contacts_valid: |
|||
PARTY.Relationships_validity: |
|||
PARTY.Reverse_relationships_validity: |
|||
PARTY.Is_archetype_root: |
|||
PARTY.Uid_mandatory: |
|||
Roles_valid: |
|||
Legal_identity_exists: |
|||
{
"name": "ACTOR",
"documentation": "Ancestor of all real-world types, including people and organisations. An actor is any real-world entity capable of taking on a role.",
"is_abstract": true,
"ancestors": [
"PARTY"
],
"properties": {
"languages": {
"_type": "P_BMM_CONTAINER_PROPERTY",
"name": "languages",
"documentation": "Languages which can be used to communicate with this actor, in preferred order of use (if known, else order irrelevant).",
"type_def": {
"container_type": "List",
"type": "DV_TEXT"
},
"cardinality": {
"lower": 0,
"upper_unbounded": true
}
},
"roles": {
"_type": "P_BMM_CONTAINER_PROPERTY",
"name": "roles",
"documentation": "Identifiers of the Version container for each Role played by this Party.",
"type_def": {
"container_type": "List",
"type": "PARTY_REF"
},
"cardinality": {
"lower": 0,
"upper_unbounded": true
}
}
},
"invariants": {
"Roles_valid": "roles /= Void implies not roles.is_empty",
"Legal_identity_exists": "has_legal_identity"
}
}
PERSON Class
-
Definition
-
Effective
-
BMM
-
UML
Class |
PERSON |
|
|---|---|---|
Description |
Generic description of persons. Provides a dedicated type to which Person archetypes can be targeted. |
|
Inherit |
||
| PERSON | |||
|---|---|---|---|
Generic description of persons. Provides a dedicated type to which Person archetypes can be targeted. |
|||
Attributes |
|||
Runtime name of this fragment, used to build runtime paths. This is the term provided via a clinical application or batch process to name this EHR construct: its retention in the EHR faithfully preserves the original label by which this entry was known to end users. |
|||
Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths. Always in the form of an at-code, e.g. At an archetype root point, the value of this attribute is always the stringified form of the |
|||
LOCATABLE.uid: |
Optional globally unique object identifier for root points of archetyped structures. |
||
Links to other archetyped structures (data whose root object inherits from |
|||
LOCATABLE.archetype_details: |
Details of archetyping used on this node. |
||
LOCATABLE.feeder_audit: |
Audit trail from non-openEHR system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node. |
||
PARTY.identities: |
Identities used by the party to identify itself, such as legal name, stage names, aliases, nicknames and so on. |
||
Contacts for this party. |
|||
PARTY.details: |
All other details for this Party. |
||
PARTY.reverse_relationships: |
References to relationships in which this Party takes part as target. |
||
PARTY.relationships: |
Relationships in which this Party takes part as source. |
||
Languages which can be used to communicate with this actor, in preferred order of use (if known, else order irrelevant). |
|||
Identifiers of the Version container for each Role played by this Party. |
|||
Functions |
|||
Value equality: return True if Parameters
|
|||
Reference equality for reference types, value equality for value types. Parameters
|
|||
Create new instance of a type. |
|||
Type name of an object as a string. May include generic parameters, as in |
|||
Any.not_equal alias "!=", "≠" ( |
True if current object not equal to |
||
Parent of this node in a compositional hierarchy. |
|||
PATHABLE.item_at_path ( |
The item at a path (relative to this item); only valid for unique paths, i.e. paths that resolve to a single item. |
||
PATHABLE.items_at_path ( |
List of items corresponding to a non-unique path. |
||
PATHABLE.path_exists ( |
True if the path exists in the data with respect to the current item. |
||
PATHABLE.path_unique ( |
True if the path corresponds to a single item in the data. |
||
The path to an item relative to the root of this archetyped structure. |
|||
Clinical concept of the archetype as a whole (= derived from the archetype_node_id' of the root node) |
|||
True if this node is the root of an archetyped structure. |
|||
Type of party, such as |
|||
Invariants |
|||
LOCATABLE.Links_valid: |
|||
LOCATABLE.Archetyped_valid: |
|||
LOCATABLE.Archetype_node_id_valid: |
|||
PARTY.Type_valid: |
|||
PARTY.Identities_valid: |
|||
PARTY.Contacts_valid: |
|||
PARTY.Relationships_validity: |
|||
PARTY.Reverse_relationships_validity: |
|||
PARTY.Is_archetype_root: |
|||
PARTY.Uid_mandatory: |
|||
ACTOR.Roles_valid: |
|||
ACTOR.Legal_identity_exists: |
|||
{
"name": "PERSON",
"documentation": "Generic description of persons. Provides a dedicated type to which Person archetypes can be targeted.",
"ancestors": [
"ACTOR"
]
}
ORGANISATION Class
-
Definition
-
Effective
-
BMM
-
UML
Class |
ORGANISATION |
|
|---|---|---|
Description |
Generic description of organisations. An organisation is a legally constituted body whose existence (in general) outlives the existence of parties considered to be part of it. |
|
Inherit |
||
| ORGANISATION | |||
|---|---|---|---|
Generic description of organisations. An organisation is a legally constituted body whose existence (in general) outlives the existence of parties considered to be part of it. |
|||
Attributes |
|||
Runtime name of this fragment, used to build runtime paths. This is the term provided via a clinical application or batch process to name this EHR construct: its retention in the EHR faithfully preserves the original label by which this entry was known to end users. |
|||
Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths. Always in the form of an at-code, e.g. At an archetype root point, the value of this attribute is always the stringified form of the |
|||
LOCATABLE.uid: |
Optional globally unique object identifier for root points of archetyped structures. |
||
Links to other archetyped structures (data whose root object inherits from |
|||
LOCATABLE.archetype_details: |
Details of archetyping used on this node. |
||
LOCATABLE.feeder_audit: |
Audit trail from non-openEHR system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node. |
||
PARTY.identities: |
Identities used by the party to identify itself, such as legal name, stage names, aliases, nicknames and so on. |
||
Contacts for this party. |
|||
PARTY.details: |
All other details for this Party. |
||
PARTY.reverse_relationships: |
References to relationships in which this Party takes part as target. |
||
PARTY.relationships: |
Relationships in which this Party takes part as source. |
||
Languages which can be used to communicate with this actor, in preferred order of use (if known, else order irrelevant). |
|||
Identifiers of the Version container for each Role played by this Party. |
|||
Functions |
|||
Value equality: return True if Parameters
|
|||
Reference equality for reference types, value equality for value types. Parameters
|
|||
Create new instance of a type. |
|||
Type name of an object as a string. May include generic parameters, as in |
|||
Any.not_equal alias "!=", "≠" ( |
True if current object not equal to |
||
Parent of this node in a compositional hierarchy. |
|||
PATHABLE.item_at_path ( |
The item at a path (relative to this item); only valid for unique paths, i.e. paths that resolve to a single item. |
||
PATHABLE.items_at_path ( |
List of items corresponding to a non-unique path. |
||
PATHABLE.path_exists ( |
True if the path exists in the data with respect to the current item. |
||
PATHABLE.path_unique ( |
True if the path corresponds to a single item in the data. |
||
The path to an item relative to the root of this archetyped structure. |
|||
Clinical concept of the archetype as a whole (= derived from the archetype_node_id' of the root node) |
|||
True if this node is the root of an archetyped structure. |
|||
Type of party, such as |
|||
Invariants |
|||
LOCATABLE.Links_valid: |
|||
LOCATABLE.Archetyped_valid: |
|||
LOCATABLE.Archetype_node_id_valid: |
|||
PARTY.Type_valid: |
|||
PARTY.Identities_valid: |
|||
PARTY.Contacts_valid: |
|||
PARTY.Relationships_validity: |
|||
PARTY.Reverse_relationships_validity: |
|||
PARTY.Is_archetype_root: |
|||
PARTY.Uid_mandatory: |
|||
ACTOR.Roles_valid: |
|||
ACTOR.Legal_identity_exists: |
|||
{
"name": "ORGANISATION",
"documentation": "Generic description of organisations. An organisation is a legally constituted body whose existence (in general) outlives the existence of parties considered to be part of it.",
"ancestors": [
"ACTOR"
]
}
GROUP Class
-
Definition
-
Effective
-
BMM
-
UML
Class |
GROUP |
|
|---|---|---|
Description |
A group is a real world group of parties which is created by another party, usually an organisation, for some specific purpose. A typical clinical example is that of the specialist care team, e.g. cardiology team . The members of the group usually work together. |
|
Inherit |
||
| GROUP | |||
|---|---|---|---|
A group is a real world group of parties which is created by another party, usually an organisation, for some specific purpose. A typical clinical example is that of the specialist care team, e.g. cardiology team . The members of the group usually work together. |
|||
Attributes |
|||
Runtime name of this fragment, used to build runtime paths. This is the term provided via a clinical application or batch process to name this EHR construct: its retention in the EHR faithfully preserves the original label by which this entry was known to end users. |
|||
Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths. Always in the form of an at-code, e.g. At an archetype root point, the value of this attribute is always the stringified form of the |
|||
LOCATABLE.uid: |
Optional globally unique object identifier for root points of archetyped structures. |
||
Links to other archetyped structures (data whose root object inherits from |
|||
LOCATABLE.archetype_details: |
Details of archetyping used on this node. |
||
LOCATABLE.feeder_audit: |
Audit trail from non-openEHR system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node. |
||
PARTY.identities: |
Identities used by the party to identify itself, such as legal name, stage names, aliases, nicknames and so on. |
||
Contacts for this party. |
|||
PARTY.details: |
All other details for this Party. |
||
PARTY.reverse_relationships: |
References to relationships in which this Party takes part as target. |
||
PARTY.relationships: |
Relationships in which this Party takes part as source. |
||
Languages which can be used to communicate with this actor, in preferred order of use (if known, else order irrelevant). |
|||
Identifiers of the Version container for each Role played by this Party. |
|||
Functions |
|||
Value equality: return True if Parameters
|
|||
Reference equality for reference types, value equality for value types. Parameters
|
|||
Create new instance of a type. |
|||
Type name of an object as a string. May include generic parameters, as in |
|||
Any.not_equal alias "!=", "≠" ( |
True if current object not equal to |
||
Parent of this node in a compositional hierarchy. |
|||
PATHABLE.item_at_path ( |
The item at a path (relative to this item); only valid for unique paths, i.e. paths that resolve to a single item. |
||
PATHABLE.items_at_path ( |
List of items corresponding to a non-unique path. |
||
PATHABLE.path_exists ( |
True if the path exists in the data with respect to the current item. |
||
PATHABLE.path_unique ( |
True if the path corresponds to a single item in the data. |
||
The path to an item relative to the root of this archetyped structure. |
|||
Clinical concept of the archetype as a whole (= derived from the archetype_node_id' of the root node) |
|||
True if this node is the root of an archetyped structure. |
|||
Type of party, such as |
|||
Invariants |
|||
LOCATABLE.Links_valid: |
|||
LOCATABLE.Archetyped_valid: |
|||
LOCATABLE.Archetype_node_id_valid: |
|||
PARTY.Type_valid: |
|||
PARTY.Identities_valid: |
|||
PARTY.Contacts_valid: |
|||
PARTY.Relationships_validity: |
|||
PARTY.Reverse_relationships_validity: |
|||
PARTY.Is_archetype_root: |
|||
PARTY.Uid_mandatory: |
|||
ACTOR.Roles_valid: |
|||
ACTOR.Legal_identity_exists: |
|||
{
"name": "GROUP",
"documentation": "A group is a real world group of parties which is created by another party, usually an organisation, for some specific purpose. A typical clinical example is that of the specialist care team, e.g. cardiology team . The members of the group usually work together.",
"ancestors": [
"ACTOR"
]
}
AGENT Class
-
Definition
-
Effective
-
BMM
-
UML
Class |
AGENT |
|
|---|---|---|
Description |
Generic concept of any kind of agent, including devices, software systems, but not humans or organisations. |
|
Inherit |
||
| AGENT | |||
|---|---|---|---|
Generic concept of any kind of agent, including devices, software systems, but not humans or organisations. |
|||
Attributes |
|||
Runtime name of this fragment, used to build runtime paths. This is the term provided via a clinical application or batch process to name this EHR construct: its retention in the EHR faithfully preserves the original label by which this entry was known to end users. |
|||
Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths. Always in the form of an at-code, e.g. At an archetype root point, the value of this attribute is always the stringified form of the |
|||
LOCATABLE.uid: |
Optional globally unique object identifier for root points of archetyped structures. |
||
Links to other archetyped structures (data whose root object inherits from |
|||
LOCATABLE.archetype_details: |
Details of archetyping used on this node. |
||
LOCATABLE.feeder_audit: |
Audit trail from non-openEHR system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node. |
||
PARTY.identities: |
Identities used by the party to identify itself, such as legal name, stage names, aliases, nicknames and so on. |
||
Contacts for this party. |
|||
PARTY.details: |
All other details for this Party. |
||
PARTY.reverse_relationships: |
References to relationships in which this Party takes part as target. |
||
PARTY.relationships: |
Relationships in which this Party takes part as source. |
||
Languages which can be used to communicate with this actor, in preferred order of use (if known, else order irrelevant). |
|||
Identifiers of the Version container for each Role played by this Party. |
|||
Functions |
|||
Value equality: return True if Parameters
|
|||
Reference equality for reference types, value equality for value types. Parameters
|
|||
Create new instance of a type. |
|||
Type name of an object as a string. May include generic parameters, as in |
|||
Any.not_equal alias "!=", "≠" ( |
True if current object not equal to |
||
Parent of this node in a compositional hierarchy. |
|||
PATHABLE.item_at_path ( |
The item at a path (relative to this item); only valid for unique paths, i.e. paths that resolve to a single item. |
||
PATHABLE.items_at_path ( |
List of items corresponding to a non-unique path. |
||
PATHABLE.path_exists ( |
True if the path exists in the data with respect to the current item. |
||
PATHABLE.path_unique ( |
True if the path corresponds to a single item in the data. |
||
The path to an item relative to the root of this archetyped structure. |
|||
Clinical concept of the archetype as a whole (= derived from the archetype_node_id' of the root node) |
|||
True if this node is the root of an archetyped structure. |
|||
Type of party, such as |
|||
Invariants |
|||
LOCATABLE.Links_valid: |
|||
LOCATABLE.Archetyped_valid: |
|||
LOCATABLE.Archetype_node_id_valid: |
|||
PARTY.Type_valid: |
|||
PARTY.Identities_valid: |
|||
PARTY.Contacts_valid: |
|||
PARTY.Relationships_validity: |
|||
PARTY.Reverse_relationships_validity: |
|||
PARTY.Is_archetype_root: |
|||
PARTY.Uid_mandatory: |
|||
ACTOR.Roles_valid: |
|||
ACTOR.Legal_identity_exists: |
|||
{
"name": "AGENT",
"documentation": "Generic concept of any kind of agent, including devices, software systems, but not humans or organisations.",
"ancestors": [
"ACTOR"
]
}
Instance Examples
In the following instance examples, the values of the attributes uid, source, target, and reverse_relationships are not meant to be taken as literally valid OBJECT_IDs - for the purposes of clarity, simple integers have been used.
Parties
Person
The diagram below illustrates a possible set of instances for a PERSON, with home and work contact information. There are separate archetypes for the PERSON, each ADDRESS, and each PARTY_IDENTITY. In the following figure, "meaning" is the meaning from the value of the archetype_node_id attribute, functionally derived from the archetype local ontology.
Group
The figure below illustrates the demographic information for a cadiac surgery team in a hospital. The group includes a head surgeon, anaesthetist, assistant surgeon, and presumably others (not shown). Each of these members of the team have an employment relationship with the hospital (shown only for one surgeon, in the interests of clarity).
Relationships
Patient
The figure below shows a simple way of representing the patient relationship between a person and a health care organisation.
The following diagram shows the same logical relationship, but with both Parties acting through Roles, representing their status as healthcare consumer and healthcare provider respectively. Each of these Roles has associated credentials which document its official nature within the healthcare system.
References
-
[1] M. Fowler, Analysis Patterns: Reusable Object Models. Addison Wesley, 1997.