Point-of-Care Device Implementation Guide
current - CI Build

Point-of-Care Device Implementation Guide, published by HL7 International - Devices Work Group. This is not an authorized publication; it is the continuous build for version current). This version is based on the current content of https://github.com/HL7/uv-pocd/ and changes regularly. See the Directory of published versions

## Extension: Relation extension

Official URL: http://hl7.org/fhir/uv/pocd/StructureDefinition/relation | Version: current
Draft as of 2022-01-16 | Computable Name: Relation

Relation allows the modelling of relationships between a metric and other containment tree entries. Related containment tree entries are defined in Entries, whereby the flavor of a relationship can be set up in Kind.

Context of Use

This extension may be used on the following element(s):

- Element ID DeviceMetric

Usage info

Usage:

- Use this Extension: Enumeration DeviceMetric profile, Numeric DeviceMetric profile and Sample Array DeviceMetric profile
- Examples for this Extension: DeviceMetric/HeartRateNumericDeviceMetric

### Formal Views of Extension Content

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

- Text Summary
- Differential Table
- Snapshot Table
- All

This structure is derived from Extension

Summary

Complex Extension: Relation allows the modelling of relationships between a metric and other containment tree entries. Related containment tree entries are defined in Entries, whereby the flavor of a relationship can be set up in Kind.

- kind: code: Kind specifies the relationship between the metric and referenced containment tree entries.
- entries: Reference: List of references that relate to the metric.
- code: Coding: Code allows the semantic description of the relationship between the metric and the list of related containment tree entries defined in Entries.

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Modelling relationships
Slices for extension |  | 2..* | Extension | Extension Slice: Unordered, Open by value:url
extension:kind |  | 1..1 | Extension | Kind of relation
url |  | 1..1 | uri | "kind"
valueCode |  | 1..1 | code | Value of extension Binding: Kind (required): Kind of relationship
extension:entries |  | 1..* | Extension | Referenced containment tree entries
url |  | 1..1 | uri | "entries"
valueReference |  | 1..1 | Reference() | Value of extension
reference |  | 0..1 | string | Literal reference, Relative, internal or absolute URL
identifier |  | 0..1 | Identifier | Logical reference, when literal reference is not known
system |  | 0..1 | uri | The namespace for the identifier value
value |  | 0..1 | string | The value that is unique
extension:code |  | 0..1 | Extension | Description of relation
url |  | 1..1 | uri | "code"
valueCoding |  | 1..1 | Coding | Value of extension
system |  | 0..1 | uri | Identity of the terminology system
version |  | 0..1 | string | Version of the system - if relevant
code |  | 0..1 | code | Symbol in syntax defined by the system
url |  | 1..1 | uri | "http://hl7.org/fhir/uv/pocd/StructureDefinition/relation"
value[x] |  | 0..0 |  |
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Modelling relationships
id |  | 0..1 | string | Unique id for inter-element referencing
Slices for extension |  | 2..* | Extension | Extension Slice: Unordered, Open by value:url
extension:kind |  | 1..1 | Extension | Kind of relation
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "kind"
Slices for value[x] |  | 1..1 | code | Value of extension Slice: Unordered, Closed by type:$this
value[x]:valueCode |  | 1..1 | code | Value of extension Binding: Kind (required): Kind of relationship
extension:entries |  | 1..* | Extension | Referenced containment tree entries
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "entries"
Slices for value[x] |  | 1..1 | Reference() | Value of extension Slice: Unordered, Closed by type:$this
value[x]:valueReference |  | 1..1 | Reference() | Value of extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
reference | Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
system | Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient
value | Σ | 0..1 | string | The value that is unique Example General: 123456
period | Σ | 0..1 | Period | Time period when id is/was valid for use
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text)
display | Σ | 0..1 | string | Text alternative for the resource
extension:code |  | 0..1 | Extension | Description of relation
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "code"
Slices for value[x] |  | 1..1 | Coding | Value of extension Slice: Unordered, Closed by type:$this
value[x]:valueCoding |  | 1..1 | Coding | Value of extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | Σ | 0..1 | uri | Identity of the terminology system
version | Σ | 0..1 | string | Version of the system - if relevant
code | Σ | 0..1 | code | Symbol in syntax defined by the system
display | Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
url |  | 1..1 | uri | "http://hl7.org/fhir/uv/pocd/StructureDefinition/relation"
Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: Relation allows the modelling of relationships between a metric and other containment tree entries. Related containment tree entries are defined in Entries, whereby the flavor of a relationship can be set up in Kind.

- kind: code: Kind specifies the relationship between the metric and referenced containment tree entries.
- entries: Reference: List of references that relate to the metric.
- code: Coding: Code allows the semantic description of the relationship between the metric and the list of related containment tree entries defined in Entries.

Differential View

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Modelling relationships
Slices for extension |  | 2..* | Extension | Extension Slice: Unordered, Open by value:url
extension:kind |  | 1..1 | Extension | Kind of relation
url |  | 1..1 | uri | "kind"
valueCode |  | 1..1 | code | Value of extension Binding: Kind (required): Kind of relationship
extension:entries |  | 1..* | Extension | Referenced containment tree entries
url |  | 1..1 | uri | "entries"
valueReference |  | 1..1 | Reference() | Value of extension
reference |  | 0..1 | string | Literal reference, Relative, internal or absolute URL
identifier |  | 0..1 | Identifier | Logical reference, when literal reference is not known
system |  | 0..1 | uri | The namespace for the identifier value
value |  | 0..1 | string | The value that is unique
extension:code |  | 0..1 | Extension | Description of relation
url |  | 1..1 | uri | "code"
valueCoding |  | 1..1 | Coding | Value of extension
system |  | 0..1 | uri | Identity of the terminology system
version |  | 0..1 | string | Version of the system - if relevant
code |  | 0..1 | code | Symbol in syntax defined by the system
url |  | 1..1 | uri | "http://hl7.org/fhir/uv/pocd/StructureDefinition/relation"
value[x] |  | 0..0 |  |
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Modelling relationships
id |  | 0..1 | string | Unique id for inter-element referencing
Slices for extension |  | 2..* | Extension | Extension Slice: Unordered, Open by value:url
extension:kind |  | 1..1 | Extension | Kind of relation
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "kind"
Slices for value[x] |  | 1..1 | code | Value of extension Slice: Unordered, Closed by type:$this
value[x]:valueCode |  | 1..1 | code | Value of extension Binding: Kind (required): Kind of relationship
extension:entries |  | 1..* | Extension | Referenced containment tree entries
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "entries"
Slices for value[x] |  | 1..1 | Reference() | Value of extension Slice: Unordered, Closed by type:$this
value[x]:valueReference |  | 1..1 | Reference() | Value of extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
reference | Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
system | Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient
value | Σ | 0..1 | string | The value that is unique Example General: 123456
period | Σ | 0..1 | Period | Time period when id is/was valid for use
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text)
display | Σ | 0..1 | string | Text alternative for the resource
extension:code |  | 0..1 | Extension | Description of relation
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "code"
Slices for value[x] |  | 1..1 | Coding | Value of extension Slice: Unordered, Closed by type:$this
value[x]:valueCoding |  | 1..1 | Coding | Value of extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | Σ | 0..1 | uri | Identity of the terminology system
version | Σ | 0..1 | string | Version of the system - if relevant
code | Σ | 0..1 | code | Symbol in syntax defined by the system
display | Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
url |  | 1..1 | uri | "http://hl7.org/fhir/uv/pocd/StructureDefinition/relation"
Documentation for this format

Other representations of profile: CSV, Excel, Schematron

#### Terminology Bindings

Path | Conformance | ValueSet
Extension.extension:kind.value[x]:valueCode | required | Kind
Extension.extension:entries.value[x]:valueReference.type | extensible | ResourceType
Extension.extension:entries.value[x]:valueReference.identifier.use | required | IdentifierUse
Extension.extension:entries.value[x]:valueReference.identifier.type | extensible | Identifier Type Codes