CH EMS (R4)
2.1.0-ci-build - ci-build
CH EMS (R4), published by IVR Interverband für Rettungswesen. This guide is not an authorized publication; it is the continuous build for version 2.1.0-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-ems/ and changes regularly. See the Directory of published versions
Official URL: http://fhir.ch/ig/ch-ems/StructureDefinition/ch-ems-quantity | Version: 2.1.0-ci-build | |||
Active as of 2025-04-07 | Computable Name: CHEmsQuantity | |||
Copyright/Legal: CC0-1.0 |
This profile constrains the Quantity data type.
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | Quantity | CH EMS Quantity 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 |
![]() ![]() ![]() |
SΣ | 1..1 | decimal | Numerical value (with implicit precision) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
?!Σ | 0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 0..1 | string | Unit representation ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣC | 1..1 | uri | System that defines coded unit form ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 1..1 | code | Coded form of the unit ele-1: All FHIR elements must have a @value or children |
![]() |
Path | Conformance | ValueSet | URI |
Quantity.comparator | required | QuantityComparatorhttp://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1 from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
qty-3 | error | Quantity | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() |
This structure is derived from Quantity
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | Quantity | CH EMS Quantity | |
![]() ![]() ![]() |
S | 1..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() |
S | 0..1 | string | Unit representation |
![]() ![]() ![]() |
S | 1..1 | uri | System that defines coded unit form |
![]() ![]() ![]() |
S | 1..1 | code | Coded form of the unit |
![]() |
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | Quantity | CH EMS Quantity qty-3: If a code for the unit is present, the system SHALL also be present |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
SΣ | 1..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() |
?!Σ | 0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented. |
![]() ![]() ![]() |
SΣ | 0..1 | string | Unit representation |
![]() ![]() ![]() |
SΣC | 1..1 | uri | System that defines coded unit form |
![]() ![]() ![]() |
SΣ | 1..1 | code | Coded form of the unit |
![]() |
Path | Conformance | ValueSet | URI |
Quantity.comparator | required | QuantityComparatorhttp://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1 from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
qty-3 | error | Quantity | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() |
This structure is derived from Quantity
Key Elements View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | Quantity | CH EMS Quantity 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 |
![]() ![]() ![]() |
SΣ | 1..1 | decimal | Numerical value (with implicit precision) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
?!Σ | 0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 0..1 | string | Unit representation ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣC | 1..1 | uri | System that defines coded unit form ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 1..1 | code | Coded form of the unit ele-1: All FHIR elements must have a @value or children |
![]() |
Path | Conformance | ValueSet | URI |
Quantity.comparator | required | QuantityComparatorhttp://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1 from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
qty-3 | error | Quantity | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() |
Differential View
This structure is derived from Quantity
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | Quantity | CH EMS Quantity | |
![]() ![]() ![]() |
S | 1..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() |
S | 0..1 | string | Unit representation |
![]() ![]() ![]() |
S | 1..1 | uri | System that defines coded unit form |
![]() ![]() ![]() |
S | 1..1 | code | Coded form of the unit |
![]() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | Quantity | CH EMS Quantity qty-3: If a code for the unit is present, the system SHALL also be present |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
SΣ | 1..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() |
?!Σ | 0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented. |
![]() ![]() ![]() |
SΣ | 0..1 | string | Unit representation |
![]() ![]() ![]() |
SΣC | 1..1 | uri | System that defines coded unit form |
![]() ![]() ![]() |
SΣ | 1..1 | code | Coded form of the unit |
![]() |
Path | Conformance | ValueSet | URI |
Quantity.comparator | required | QuantityComparatorhttp://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1 from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
qty-3 | error | Quantity | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() |
This structure is derived from Quantity
Other representations of profile: CSV, Excel, Schematron