CH EMED (R4)
4.0.1 - trial-use Switzerland flag

This page is part of the CH EMED (R4) (v4.0.1: STU 4) 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 EMED Range with Units

Official URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-range Version: 4.0.1
Active as of 2021-02-11 Computable Name: CHEMEDRangeWithEmedUnits

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
... low C0..1CHEMEDQuantityWithEmedUnitsA fixed quantity (no comparator)
... high C0..1CHEMEDQuantityWithEmedUnitsA fixed quantity (no comparator)

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
... id 0..1stringUnique id for inter-element referencing
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... low C0..1CHEMEDQuantityWithEmedUnitsA fixed quantity (no comparator)

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

Summary

Structures

This structure refers to these other structures:

Differential View

This structure is derived from Range

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Range C0..*RangeSet of values bounded by low and high
... low C0..1CHEMEDQuantityWithEmedUnitsA fixed quantity (no comparator)
... high C0..1CHEMEDQuantityWithEmedUnitsA fixed quantity (no comparator)

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
... id 0..1stringUnique id for inter-element referencing
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... low C0..1CHEMEDQuantityWithEmedUnitsA fixed quantity (no comparator)

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

Summary

Structures

This structure refers to these other structures:

 

Other representations of profile: CSV, Excel, Schematron