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/FHIR/openehr-base-ig/ 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 Differentials, Snapshots, and other representations.

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<http://openehr.org/fhir/StructureDefinition/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 source.relationships.has (self)
target-valid error PARTY_RELATIONSHIP Target valid must be present target.exists() and 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<http://openehr.org/fhir/StructureDefinition/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 source.relationships.has (self)
target-valid error PARTY_RELATIONSHIP Target valid must be present target.exists() and target.not().reverse_relationships.has (self)
type-validity error PARTY_RELATIONSHIP Type validity type() = name

Summary

Mandatory: 0 element(2 nested mandatory elements)

Maturity: 3

Differential 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: 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<http://openehr.org/fhir/StructureDefinition/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 source.relationships.has (self)
target-valid error PARTY_RELATIONSHIP Target valid must be present target.exists() and target.not().reverse_relationships.has (self)
type-validity error PARTY_RELATIONSHIP Type validity type() = name

Snapshot ViewView

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<http://openehr.org/fhir/StructureDefinition/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 source.relationships.has (self)
target-valid error PARTY_RELATIONSHIP Target valid must be present target.exists() and target.not().reverse_relationships.has (self)
type-validity error PARTY_RELATIONSHIP Type validity type() = name

Summary

Mandatory: 0 element(2 nested mandatory elements)

Maturity: 3

 

Other representations of profile: CSV, Excel

Contained resources