CH Core (R4)
6.0.0-ballot-ci-build - ci-build Switzerland flag

CH Core (R4), published by HL7 Switzerland. This guide is not an authorized publication; it is the continuous build for version 6.0.0-ballot-ci-build built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7ch/ch-core/ and changes regularly. 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: 6.0.0-ballot-ci-build
Active as of 2024-12-18 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