OpenEHR Base package
0.1.0 - First Draft International flag

OpenEHR Base package, published by openEHR + HL7. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/openehr-fhir/base-spec/ and changes regularly. See the Directory of published versions

Logical Model: PARTY_RELATIONSHIP

Official URL: http://openehr.org/fhir/StructureDefinition/PARTY-RELATIONSHIP Version: 0.1.0
Standards status: Informative Maturity Level: 3 Computable Name: PARTY_RELATIONSHIP

Generic description of a relationship between parties.

Original Source: specifications.openehr.org

Usages:

  • Use this Logical Model: PARTY

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. PARTY_RELATIONSHIP C 0..* LOCATABLE Generic description of a relationship between parties.

Elements defined in Ancestors:name, archetype_node_id, uid, links, archetype_details, feeder_audit
Constraints: Links_valid, Archetyped_valid, Archetype_node_id_valid, Source_valid, Target_valid, Type_validity
... name 1..1 DV_TEXT Runtime name of this fragment, used to build runtime paths.
... archetype_node_id 1..1 string Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths.
... uid 0..1 UID_BASED_ID Optional globally unique object identifier for root points of archetyped structures.
... archetype_details 0..1 ARCHETYPED Details of archetyping used on this node.
... feeder_audit 0..1 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 0..1 ITEM_STRUCTURE The detailed description of the relationship.
... target 1..1 PARTY_REF Target of relationship.
... time_validity 0..1 DV_INTERVAL<DV_DATE> Valid time interval for this relationship.
... source 1..1 PARTY_REF Source of relationship.

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
Archetype_node_id_valid error PARTY_RELATIONSHIP Archetype node id valid must not be empty archetype_node_id.empty().not()
Archetyped_valid error PARTY_RELATIONSHIP Archetyped valid must satisfy exclusive conditions is_archetype_root() xor archetype_details .empty()
Links_valid error PARTY_RELATIONSHIP Links valid must be present links.exists() implies links.empty().not()
Source_valid error PARTY_RELATIONSHIP Source valid must be present source.exists() and then source.relationships.has (self)
Target_valid error PARTY_RELATIONSHIP Target valid must be present target.exists() and then target.not().reverse_relationships.has (self)
Type_validity error PARTY_RELATIONSHIP Type validity type() = name

This structure is derived from LOCATABLE

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. PARTY_RELATIONSHIP C 0..* LOCATABLE Generic description of a relationship between parties.

Elements defined in Ancestors:name, archetype_node_id, uid, links, archetype_details, feeder_audit
Constraints: Source_valid, Target_valid, Type_validity
... details 0..1 ITEM_STRUCTURE The detailed description of the relationship.
... target 1..1 PARTY_REF Target of relationship.
... time_validity 0..1 DV_INTERVAL<DV_DATE> Valid time interval for this relationship.

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
Source_valid error PARTY_RELATIONSHIP Source valid must be present source.exists() and then source.relationships.has (self)
Target_valid error PARTY_RELATIONSHIP Target valid must be present target.exists() and then target.not().reverse_relationships.has (self)
Type_validity error PARTY_RELATIONSHIP Type validity type() = name
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. PARTY_RELATIONSHIP C 0..* LOCATABLE Generic description of a relationship between parties.

Elements defined in Ancestors:name, archetype_node_id, uid, links, archetype_details, feeder_audit
Constraints: Links_valid, Archetyped_valid, Archetype_node_id_valid, Source_valid, Target_valid, Type_validity
... name 1..1 DV_TEXT Runtime name of this fragment, used to build runtime paths.
... archetype_node_id 1..1 string Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths.
... uid 0..1 UID_BASED_ID Optional globally unique object identifier for root points of archetyped structures.
... archetype_details 0..1 ARCHETYPED Details of archetyping used on this node.
... feeder_audit 0..1 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 0..1 ITEM_STRUCTURE The detailed description of the relationship.
... target 1..1 PARTY_REF Target of relationship.
... time_validity 0..1 DV_INTERVAL<DV_DATE> Valid time interval for this relationship.
... source 1..1 PARTY_REF Source of relationship.

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
Archetype_node_id_valid error PARTY_RELATIONSHIP Archetype node id valid must not be empty archetype_node_id.empty().not()
Archetyped_valid error PARTY_RELATIONSHIP Archetyped valid must satisfy exclusive conditions is_archetype_root() xor archetype_details .empty()
Links_valid error PARTY_RELATIONSHIP Links valid must be present links.exists() implies links.empty().not()
Source_valid error PARTY_RELATIONSHIP Source valid must be present source.exists() and then source.relationships.has (self)
Target_valid error PARTY_RELATIONSHIP Target valid must be present target.exists() and then target.not().reverse_relationships.has (self)
Type_validity error PARTY_RELATIONSHIP Type validity type() = name

This structure is derived from LOCATABLE

Summary

Mandatory: 0 element(2 nested mandatory elements)

Maturity: 3

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. PARTY_RELATIONSHIP C 0..* LOCATABLE Generic description of a relationship between parties.

Elements defined in Ancestors:name, archetype_node_id, uid, links, archetype_details, feeder_audit
Constraints: Links_valid, Archetyped_valid, Archetype_node_id_valid, Source_valid, Target_valid, Type_validity
... name 1..1 DV_TEXT Runtime name of this fragment, used to build runtime paths.
... archetype_node_id 1..1 string Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths.
... uid 0..1 UID_BASED_ID Optional globally unique object identifier for root points of archetyped structures.
... archetype_details 0..1 ARCHETYPED Details of archetyping used on this node.
... feeder_audit 0..1 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 0..1 ITEM_STRUCTURE The detailed description of the relationship.
... target 1..1 PARTY_REF Target of relationship.
... time_validity 0..1 DV_INTERVAL<DV_DATE> Valid time interval for this relationship.
... source 1..1 PARTY_REF Source of relationship.

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
Archetype_node_id_valid error PARTY_RELATIONSHIP Archetype node id valid must not be empty archetype_node_id.empty().not()
Archetyped_valid error PARTY_RELATIONSHIP Archetyped valid must satisfy exclusive conditions is_archetype_root() xor archetype_details .empty()
Links_valid error PARTY_RELATIONSHIP Links valid must be present links.exists() implies links.empty().not()
Source_valid error PARTY_RELATIONSHIP Source valid must be present source.exists() and then source.relationships.has (self)
Target_valid error PARTY_RELATIONSHIP Target valid must be present target.exists() and then target.not().reverse_relationships.has (self)
Type_validity error PARTY_RELATIONSHIP Type validity type() = name

Differential View

This structure is derived from LOCATABLE

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. PARTY_RELATIONSHIP C 0..* LOCATABLE Generic description of a relationship between parties.

Elements defined in Ancestors:name, archetype_node_id, uid, links, archetype_details, feeder_audit
Constraints: Source_valid, Target_valid, Type_validity
... details 0..1 ITEM_STRUCTURE The detailed description of the relationship.
... target 1..1 PARTY_REF Target of relationship.
... time_validity 0..1 DV_INTERVAL<DV_DATE> Valid time interval for this relationship.

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
Source_valid error PARTY_RELATIONSHIP Source valid must be present source.exists() and then source.relationships.has (self)
Target_valid error PARTY_RELATIONSHIP Target valid must be present target.exists() and then target.not().reverse_relationships.has (self)
Type_validity error PARTY_RELATIONSHIP Type validity type() = name

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. PARTY_RELATIONSHIP C 0..* LOCATABLE Generic description of a relationship between parties.

Elements defined in Ancestors:name, archetype_node_id, uid, links, archetype_details, feeder_audit
Constraints: Links_valid, Archetyped_valid, Archetype_node_id_valid, Source_valid, Target_valid, Type_validity
... name 1..1 DV_TEXT Runtime name of this fragment, used to build runtime paths.
... archetype_node_id 1..1 string Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths.
... uid 0..1 UID_BASED_ID Optional globally unique object identifier for root points of archetyped structures.
... archetype_details 0..1 ARCHETYPED Details of archetyping used on this node.
... feeder_audit 0..1 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 0..1 ITEM_STRUCTURE The detailed description of the relationship.
... target 1..1 PARTY_REF Target of relationship.
... time_validity 0..1 DV_INTERVAL<DV_DATE> Valid time interval for this relationship.
... source 1..1 PARTY_REF Source of relationship.

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
Archetype_node_id_valid error PARTY_RELATIONSHIP Archetype node id valid must not be empty archetype_node_id.empty().not()
Archetyped_valid error PARTY_RELATIONSHIP Archetyped valid must satisfy exclusive conditions is_archetype_root() xor archetype_details .empty()
Links_valid error PARTY_RELATIONSHIP Links valid must be present links.exists() implies links.empty().not()
Source_valid error PARTY_RELATIONSHIP Source valid must be present source.exists() and then source.relationships.has (self)
Target_valid error PARTY_RELATIONSHIP Target valid must be present target.exists() and then target.not().reverse_relationships.has (self)
Type_validity error PARTY_RELATIONSHIP Type validity type() = name

This structure is derived from LOCATABLE

Summary

Mandatory: 0 element(2 nested mandatory elements)

Maturity: 3

 

Other representations of profile: CSV, Excel

Contained resources