CH EMED (R4)
1.0.0 - STU 2 Ballot

This page is part of the CH EMED (R4) (v1.0.0: STU 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

Data Type Profile: CH EMED Range with units

Defining URL:http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-range
Version:1.0.0
Name:CHEMEDRangeWithEmedUnits
Title:CH EMED Range with units
Status:Active as of 2021-02-11
Definition:

A range with defined quantity/units

Publisher:eHealth Suisse
Copyright:

CC-BY-SA-4.0

Source Resource:XML / JSON / Turtle

The official URL for this profile is:

http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-range

Formal Views of Profile Content

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

This structure is derived from Range

Summary

Structures

This structure refers to these other structures:

This structure is derived from Range

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

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Range I0..*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 I0..1CHEMEDQuantityWithEmedUnitsA fixed quantity (no comparator)

doco Documentation for this format

This structure is derived from Range

Summary

Structures

This structure refers to these other structures:

Differential View

This structure is derived from Range

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

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Range I0..*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 I0..1CHEMEDQuantityWithEmedUnitsA fixed quantity (no comparator)

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Constraints

IdPathDetailsRequirements
ele-1RangeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
rng-2RangeIf present, low SHALL have a lower value than high
: low.empty() or high.empty() or (low <= high)
ele-1Range.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Range.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Range.lowAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
qty-3Range.lowIf a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
sqty-1Range.lowThe comparator is not used on a SimpleQuantity
: comparator.empty()
ele-1Range.highAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
qty-3Range.highIf a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
sqty-1Range.highThe comparator is not used on a SimpleQuantity
: comparator.empty()