CH EMED EPR
2.0.0 - trial-use
This page is part of the FHIR eMedication exchange formats for the implementation effort of CARA within its EPR community (v2.0.0: STU2) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions
| Official URL: http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-amount-range | Version: 2.0.0 | |||
| Draft as of 2025-01-21 | Computable Name: CHEMEDEPRAmountRange | |||
Copyright/Legal: CC0-1.0 |
||||
A range of amount quantities
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() |
C | 0..* | CHCoreRangeWithEmedUnits | 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 |
![]() ![]() |
D | 0..1 | string | ✕ This element is not supported |
![]() ![]() |
D | 0..* | Extension | ✕ This element is not supported Slice: Unordered, Open by value:url ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() |
C | 1..1 | CHEMEDEPRAmountQuantity | 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 |
![]() ![]() |
C | 1..1 | CHEMEDEPRAmountQuantity | 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 |
Documentation for this format | ||||
| 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 | Range.low, Range.high | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() | |
| rng-2 | error | Range | If present, low SHALL have a lower value than high : low.empty() or high.empty() or (low <= high) | |
| sqty-1 | error | Range.low, Range.high | The comparator is not used on a SimpleQuantity : comparator.empty() |
This structure is derived from CHCoreRangeWithEmedUnits
| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() |
0..* | CHCoreRangeWithEmedUnits | Set of values bounded by low and high | |
![]() ![]() |
D | 0..1 | string | ✕ This element is not supported |
![]() ![]() |
D | 0..* | Extension | ✕ This element is not supported |
![]() ![]() |
1..1 | CHEMEDEPRAmountQuantity | A fixed quantity (no comparator) | |
![]() ![]() |
1..1 | CHEMEDEPRAmountQuantity | A fixed quantity (no comparator) | |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() |
C | 0..* | CHCoreRangeWithEmedUnits | Set of values bounded by low and high rng-2: If present, low SHALL have a lower value than high |
![]() ![]() |
D | 0..1 | string | ✕ This element is not supported |
![]() ![]() |
D | 0..* | Extension | ✕ This element is not supported Slice: Unordered, Open by value:url |
![]() ![]() |
C | 1..1 | CHEMEDEPRAmountQuantity | 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 |
![]() ![]() |
C | 1..1 | CHEMEDEPRAmountQuantity | 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 |
Documentation for this format | ||||
| 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 | Range.low, Range.high | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() | |
| rng-2 | error | Range | If present, low SHALL have a lower value than high : low.empty() or high.empty() or (low <= high) | |
| sqty-1 | error | Range.low, Range.high | The comparator is not used on a SimpleQuantity : comparator.empty() |
This structure is derived from CHCoreRangeWithEmedUnits
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() |
C | 0..* | CHCoreRangeWithEmedUnits | 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 |
![]() ![]() |
D | 0..1 | string | ✕ This element is not supported |
![]() ![]() |
D | 0..* | Extension | ✕ This element is not supported Slice: Unordered, Open by value:url ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() |
C | 1..1 | CHEMEDEPRAmountQuantity | 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 |
![]() ![]() |
C | 1..1 | CHEMEDEPRAmountQuantity | 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 |
Documentation for this format | ||||
| 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 | Range.low, Range.high | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() | |
| rng-2 | error | Range | If present, low SHALL have a lower value than high : low.empty() or high.empty() or (low <= high) | |
| sqty-1 | error | Range.low, Range.high | The comparator is not used on a SimpleQuantity : comparator.empty() |
Differential View
This structure is derived from CHCoreRangeWithEmedUnits
| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() |
0..* | CHCoreRangeWithEmedUnits | Set of values bounded by low and high | |
![]() ![]() |
D | 0..1 | string | ✕ This element is not supported |
![]() ![]() |
D | 0..* | Extension | ✕ This element is not supported |
![]() ![]() |
1..1 | CHEMEDEPRAmountQuantity | A fixed quantity (no comparator) | |
![]() ![]() |
1..1 | CHEMEDEPRAmountQuantity | A fixed quantity (no comparator) | |
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() |
C | 0..* | CHCoreRangeWithEmedUnits | Set of values bounded by low and high rng-2: If present, low SHALL have a lower value than high |
![]() ![]() |
D | 0..1 | string | ✕ This element is not supported |
![]() ![]() |
D | 0..* | Extension | ✕ This element is not supported Slice: Unordered, Open by value:url |
![]() ![]() |
C | 1..1 | CHEMEDEPRAmountQuantity | 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 |
![]() ![]() |
C | 1..1 | CHEMEDEPRAmountQuantity | 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 |
Documentation for this format | ||||
| 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 | Range.low, Range.high | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() | |
| rng-2 | error | Range | If present, low SHALL have a lower value than high : low.empty() or high.empty() or (low <= high) | |
| sqty-1 | error | Range.low, Range.high | The comparator is not used on a SimpleQuantity : comparator.empty() |
This structure is derived from CHCoreRangeWithEmedUnits
Other representations of profile: CSV, Excel, Schematron