CH Core (R4)
5.0.0 - trial-use Switzerland flag

This page is part of the CH Core (R4) (v5.0.0: STU 5) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Data Type Profile: CH Core Range with EMED Units

Official URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-range-with-emed-units Version: 5.0.0
Active as of 2024-12-17 Computable Name: CHCoreRangeWithEmedUnits

Copyright/Legal: CC0-1.0

A range with defined quantity/units

Usage:

Formal Views of Profile Content

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

This structure is derived from Range

NameFlagsCard.TypeDescription & Constraintsdoco
.. Range C 0..* Range Set of values bounded by low and high
ele-1: All FHIR elements must have a @value or children
rng-2: If present, low SHALL have a lower value than high
... low C 0..1 CHCoreQuantityWithEmedUnits A fixed quantity (no comparator)
ele-1: All FHIR elements must have a @value or children
qty-3: If a code for the unit is present, the system SHALL also be present
sqty-1: The comparator is not used on a SimpleQuantity
... high C 0..1 CHCoreQuantityWithEmedUnits A fixed quantity (no comparator)
ele-1: All FHIR elements must have a @value or children
qty-3: If a code for the unit is present, the system SHALL also be present
sqty-1: The comparator is not used on a SimpleQuantity

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
qty-3errorRange.low, Range.highIf a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
rng-2errorRangeIf present, low SHALL have a lower value than high
: low.empty() or high.empty() or (low <= high)
sqty-1errorRange.low, Range.highThe comparator is not used on a SimpleQuantity
: comparator.empty()
NameFlagsCard.TypeDescription & Constraintsdoco
.. Range C 0..* Range Set of values bounded by low and high
rng-2: If present, low SHALL have a lower value than high
... id 0..1 string Unique id for inter-element referencing
... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
... low C 0..1 CHCoreQuantityWithEmedUnits A fixed quantity (no comparator)
qty-3: If a code for the unit is present, the system SHALL also be present
sqty-1: The comparator is not used on a SimpleQuantity

doco Documentation for this format

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()
qty-3errorRange.low, Range.highIf a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
rng-2errorRangeIf present, low SHALL have a lower value than high
: low.empty() or high.empty() or (low <= high)
sqty-1errorRange.low, Range.highThe comparator is not used on a SimpleQuantity
: comparator.empty()

This structure is derived from Range

Differential View

This structure is derived from Range

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Range C 0..* Range Set of values bounded by low and high
ele-1: All FHIR elements must have a @value or children
rng-2: If present, low SHALL have a lower value than high
... low C 0..1 CHCoreQuantityWithEmedUnits A fixed quantity (no comparator)
ele-1: All FHIR elements must have a @value or children
qty-3: If a code for the unit is present, the system SHALL also be present
sqty-1: The comparator is not used on a SimpleQuantity
... high C 0..1 CHCoreQuantityWithEmedUnits A fixed quantity (no comparator)
ele-1: All FHIR elements must have a @value or children
qty-3: If a code for the unit is present, the system SHALL also be present
sqty-1: The comparator is not used on a SimpleQuantity

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
qty-3errorRange.low, Range.highIf a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
rng-2errorRangeIf present, low SHALL have a lower value than high
: low.empty() or high.empty() or (low <= high)
sqty-1errorRange.low, Range.highThe comparator is not used on a SimpleQuantity
: comparator.empty()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Range C 0..* Range Set of values bounded by low and high
rng-2: If present, low SHALL have a lower value than high
... id 0..1 string Unique id for inter-element referencing
... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
... low C 0..1 CHCoreQuantityWithEmedUnits A fixed quantity (no comparator)
qty-3: If a code for the unit is present, the system SHALL also be present
sqty-1: The comparator is not used on a SimpleQuantity

doco Documentation for this format

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()
qty-3errorRange.low, Range.highIf a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
rng-2errorRangeIf present, low SHALL have a lower value than high
: low.empty() or high.empty() or (low <= high)
sqty-1errorRange.low, Range.highThe comparator is not used on a SimpleQuantity
: comparator.empty()

This structure is derived from Range

 

Other representations of profile: CSV, Excel, Schematron