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