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 R4. . For a full list of available versions, see the Directory of published versions

Data Type Profile: CH EMED Ratio with units

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

Formal Views of Profile Content

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

This structure is derived from Ratio

Summary

Mandatory: 2 elements

Structures

This structure refers to these other structures:

This structure is derived from Ratio

NameFlagsCard.TypeDescription & Constraintsdoco
.. Ratio 0..*RatioA ratio of two Quantity values - a numerator and a denominator
... numerator 1..1CHEMEDQuantityWithEmedUnitsA fixed quantity (no comparator)
... denominator 1..1CHEMEDQuantityWithEmedUnitsA fixed quantity (no comparator)

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Ratio I0..*RatioA ratio of two Quantity values - a numerator and a denominator
... id 0..1stringUnique id for inter-element referencing
... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... numerator I1..1CHEMEDQuantityWithEmedUnitsA fixed quantity (no comparator)

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Ratio I0..*RatioA ratio of two Quantity values - a numerator and a denominator

doco Documentation for this format

This structure is derived from Ratio

Summary

Mandatory: 2 elements

Structures

This structure refers to these other structures:

Differential View

This structure is derived from Ratio

NameFlagsCard.TypeDescription & Constraintsdoco
.. Ratio 0..*RatioA ratio of two Quantity values - a numerator and a denominator
... numerator 1..1CHEMEDQuantityWithEmedUnitsA fixed quantity (no comparator)
... denominator 1..1CHEMEDQuantityWithEmedUnitsA fixed quantity (no comparator)

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Ratio I0..*RatioA ratio of two Quantity values - a numerator and a denominator
... id 0..1stringUnique id for inter-element referencing
... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... numerator I1..1CHEMEDQuantityWithEmedUnitsA fixed quantity (no comparator)

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Constraints

IdGradePathDetailsRequirements
ele-1errorRatioAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
rat-1errorRatioNumerator 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-1errorRatio.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorRatio.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorRatio.numeratorAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
qty-3errorRatio.numeratorIf a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
sqty-1errorRatio.numeratorThe comparator is not used on a SimpleQuantity
: comparator.empty()
ele-1errorRatio.denominatorAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
qty-3errorRatio.denominatorIf a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
sqty-1errorRatio.denominatorThe comparator is not used on a SimpleQuantity
: comparator.empty()