CH EMED EPR
1.0.0 - trial-use
This page is part of the FHIR eMedication exchange formats for the implementation effort of CARA within its EPR community (v1.0.0: STU1) 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
Official URL: http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-ratio-amount-per-amount | Version: 1.0.0 | |||
Draft as of 2024-01-26 | Computable Name: CHEMEDEPRRatioAmountPerAmount | |||
Copyright/Legal: CC0-1.0 |
A ratio of amount per amount
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from CHEMEDRatioWithEmedUnits
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Ratio | 0..* | CHEMEDRatioWithEmedUnits | A ratio of two Quantity values - a numerator and a denominator | |
id | D | 0..1 | string | ✕ This element is not supported |
extension | D | 0..* | Extension | ✕ This element is not supported |
numerator | 1..1 | CHEMEDEPRAmountQuantity | A fixed quantity (no comparator) | |
denominator | 1..1 | CHEMEDEPRAmountQuantity | A fixed quantity (no comparator) | |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Ratio | C | 0..* | CHEMEDRatioWithEmedUnits | A ratio of two Quantity values - a numerator and a denominator |
id | 0..1 | string | ✕ This element is not supported | |
extension | 0..* | Extension | ✕ This element is not supported Slice: Unordered, Open by value:url | |
numerator | C | 1..1 | CHEMEDEPRAmountQuantity | A fixed quantity (no comparator) |
denominator | C | 1..1 | CHEMEDEPRAmountQuantity | A fixed quantity (no comparator) |
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 | Ratio.numerator, Ratio.denominator | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() | |
rat-1 | error | Ratio | Numerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present : (numerator.empty() xor denominator.exists()) and (numerator.exists() or extension.exists()) | |
sqty-1 | error | Ratio.numerator, Ratio.denominator | The comparator is not used on a SimpleQuantity : comparator.empty() |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Ratio | C | 0..* | CHEMEDRatioWithEmedUnits | A ratio of two Quantity values - a numerator and a denominator |
id | 0..1 | string | ✕ This element is not supported | |
extension | 0..* | Extension | ✕ This element is not supported Slice: Unordered, Open by value:url | |
numerator | C | 1..1 | CHEMEDEPRAmountQuantity | A fixed quantity (no comparator) |
denominator | C | 1..1 | CHEMEDEPRAmountQuantity | A fixed quantity (no comparator) |
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 | Ratio.numerator, Ratio.denominator | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() | |
rat-1 | error | Ratio | Numerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present : (numerator.empty() xor denominator.exists()) and (numerator.exists() or extension.exists()) | |
sqty-1 | error | Ratio.numerator, Ratio.denominator | The comparator is not used on a SimpleQuantity : comparator.empty() |
This structure is derived from CHEMEDRatioWithEmedUnits
Differential View
This structure is derived from CHEMEDRatioWithEmedUnits
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Ratio | 0..* | CHEMEDRatioWithEmedUnits | A ratio of two Quantity values - a numerator and a denominator | |
id | D | 0..1 | string | ✕ This element is not supported |
extension | D | 0..* | Extension | ✕ This element is not supported |
numerator | 1..1 | CHEMEDEPRAmountQuantity | A fixed quantity (no comparator) | |
denominator | 1..1 | CHEMEDEPRAmountQuantity | A fixed quantity (no comparator) | |
Documentation for this format |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Ratio | C | 0..* | CHEMEDRatioWithEmedUnits | A ratio of two Quantity values - a numerator and a denominator |
id | 0..1 | string | ✕ This element is not supported | |
extension | 0..* | Extension | ✕ This element is not supported Slice: Unordered, Open by value:url | |
numerator | C | 1..1 | CHEMEDEPRAmountQuantity | A fixed quantity (no comparator) |
denominator | C | 1..1 | CHEMEDEPRAmountQuantity | A fixed quantity (no comparator) |
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 | Ratio.numerator, Ratio.denominator | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() | |
rat-1 | error | Ratio | Numerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present : (numerator.empty() xor denominator.exists()) and (numerator.exists() or extension.exists()) | |
sqty-1 | error | Ratio.numerator, Ratio.denominator | The comparator is not used on a SimpleQuantity : comparator.empty() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Ratio | C | 0..* | CHEMEDRatioWithEmedUnits | A ratio of two Quantity values - a numerator and a denominator |
id | 0..1 | string | ✕ This element is not supported | |
extension | 0..* | Extension | ✕ This element is not supported Slice: Unordered, Open by value:url | |
numerator | C | 1..1 | CHEMEDEPRAmountQuantity | A fixed quantity (no comparator) |
denominator | C | 1..1 | CHEMEDEPRAmountQuantity | A fixed quantity (no comparator) |
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 | Ratio.numerator, Ratio.denominator | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() | |
rat-1 | error | Ratio | Numerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present : (numerator.empty() xor denominator.exists()) and (numerator.exists() or extension.exists()) | |
sqty-1 | error | Ratio.numerator, Ratio.denominator | The comparator is not used on a SimpleQuantity : comparator.empty() |
This structure is derived from CHEMEDRatioWithEmedUnits
Other representations of profile: CSV, Excel, Schematron