Finnish Base Profiles
0.4.0 - ballot Finland flag

Finnish Base Profiles - Local Development build (v0.4.0). See the Directory of published versions

Extension: fiphr-ext-pq-translation (Experimental)

Official URL: http://phr.kanta.fi/StructureDefinition/fiphr-ext-pq-translation Version: 0.4.0
Draft as of 2020-12-30 Computable Name: FIPHREXTPqTranslation

Finnish PHR extension to express an alternative representation of the same physical quantity expressed in a different unit from a different unit code system and possibly with a different value.

Context of Use

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

  • Element ID Quantity

Usage info

Usage:

Formal Views of Extension Content

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

This structure is derived from Extension

Summary

Mandatory: 0 element (4 nested mandatory elements)
Fixed Value: 1 element

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionFinnish PHR physical quantity translation extension
... url 1..1uri"http://phr.kanta.fi/StructureDefinition/fiphr-ext-pq-translation"
... value[x] 0..1QuantityValue of extension
.... value 1..1decimalNumerical value (with implicit precision)
.... unit 1..1stringUnit representation
.... system 1..1uriSystem that defines coded unit form
.... code 1..1codeCoded form of the unit

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionFinnish PHR physical quantity translation extension
... id 0..1stringUnique id for inter-element referencing
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... url 1..1uri"http://phr.kanta.fi/StructureDefinition/fiphr-ext-pq-translation"
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... value Σ1..1decimalNumerical value (with implicit precision)
.... comparator ?!Σ0..1code< | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

.... unit Σ1..1stringUnit representation
.... system ΣC1..1uriSystem that defines coded unit form
.... code Σ1..1codeCoded form of the unit

doco Documentation for this format

This structure is derived from Extension

Summary

Mandatory: 0 element (4 nested mandatory elements)
Fixed Value: 1 element

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionFinnish PHR physical quantity translation extension
... url 1..1uri"http://phr.kanta.fi/StructureDefinition/fiphr-ext-pq-translation"
... value[x] 0..1QuantityValue of extension
.... value 1..1decimalNumerical value (with implicit precision)
.... unit 1..1stringUnit representation
.... system 1..1uriSystem that defines coded unit form
.... code 1..1codeCoded form of the unit

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionFinnish PHR physical quantity translation extension
... id 0..1stringUnique id for inter-element referencing
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... url 1..1uri"http://phr.kanta.fi/StructureDefinition/fiphr-ext-pq-translation"
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... value Σ1..1decimalNumerical value (with implicit precision)
.... comparator ?!Σ0..1code< | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

.... unit Σ1..1stringUnit representation
.... system ΣC1..1uriSystem that defines coded unit form
.... code Σ1..1codeCoded form of the unit

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet
Extension.value[x].comparatorrequiredQuantityComparator

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()