CH EMED (R4)
2.0.0 - STU 2
This page is part of the CH EMED (R4) (v2.0.0: STU 2) based on FHIR (HL7® FHIR® Standard) R4. The current version which supersedes this version is 6.0.0-ballot. For a full list of available versions, see the Directory of published versions
| Defining URL: | http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ratio |
| Version: | 2.0.0 |
| Name: | CHEMEDRatioWithEmedUnits |
| Title: | CH EMED Ratio with units |
| Status: | Active as of 2021-04-07 |
| Definition: | A ratio with defined units |
| Publisher: | HL7 Switzerland |
| 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-ratio
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from Ratio
This structure is derived from Ratio
| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() | 0..* | Ratio | A ratio of two Quantity values - a numerator and a denominator | |
![]() ![]() | 1..1 | CHEMEDQuantityWithEmedUnits | A fixed quantity (no comparator) | |
![]() ![]() | 1..1 | CHEMEDQuantityWithEmedUnits | A fixed quantity (no comparator) | |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() | I | 0..* | Ratio | A ratio of two Quantity values - a numerator and a denominator |
![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() | I | 1..1 | CHEMEDQuantityWithEmedUnits | A fixed quantity (no comparator) |
![]() ![]() | I | 1..1 | CHEMEDQuantityWithEmedUnits | A fixed quantity (no comparator) |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() | I | 0..* | Ratio | A ratio of two Quantity values - a numerator and a denominator |
Documentation for this format | ||||
This structure is derived from Ratio
Differential View
This structure is derived from Ratio
| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() | 0..* | Ratio | A ratio of two Quantity values - a numerator and a denominator | |
![]() ![]() | 1..1 | CHEMEDQuantityWithEmedUnits | A fixed quantity (no comparator) | |
![]() ![]() | 1..1 | CHEMEDQuantityWithEmedUnits | A fixed quantity (no comparator) | |
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() | I | 0..* | Ratio | A ratio of two Quantity values - a numerator and a denominator |
![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() | I | 1..1 | CHEMEDQuantityWithEmedUnits | A fixed quantity (no comparator) |
![]() ![]() | I | 1..1 | CHEMEDQuantityWithEmedUnits | A fixed quantity (no comparator) |
Documentation for this format | ||||
Other representations of profile: CSV, Excel, Schematron
| Id | Grade | Path | Details | Requirements |
| ele-1 | error | Ratio | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| 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()) | |
| ele-1 | error | Ratio.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ext-1 | error | Ratio.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
| ele-1 | error | Ratio.numerator | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| qty-3 | error | Ratio.numerator | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() | |
| sqty-1 | error | Ratio.numerator | The comparator is not used on a SimpleQuantity : comparator.empty() | |
| ele-1 | error | Ratio.denominator | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| qty-3 | error | Ratio.denominator | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() | |
| sqty-1 | error | Ratio.denominator | The comparator is not used on a SimpleQuantity : comparator.empty() |