CH Core (R4)
5.0.0-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 5.0.0-ci-build built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/ralych/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: 5.0.0-ci-build
Active as of 2024-03-28 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 C0..*RangeSet of values bounded by low and high
rng-2: If present, low SHALL have a lower value than high
... low C0..1CHCoreQuantityWithEmedUnitsA 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
... high C0..1CHCoreQuantityWithEmedUnitsA 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())
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 C0..*RangeSet of values bounded by low and high
rng-2: If present, low SHALL have a lower value than high
... id 0..1stringUnique id for inter-element referencing
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... low C0..1CHCoreQuantityWithEmedUnitsA 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 C0..*RangeSet of values bounded by low and high
rng-2: If present, low SHALL have a lower value than high
... low C0..1CHCoreQuantityWithEmedUnitsA 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
... high C0..1CHCoreQuantityWithEmedUnitsA 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())
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 C0..*RangeSet of values bounded by low and high
rng-2: If present, low SHALL have a lower value than high
... id 0..1stringUnique id for inter-element referencing
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... low C0..1CHCoreQuantityWithEmedUnitsA 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