International Patient Summary Implementation Guide
1.0.0 - STU 1

This page is part of the International Patient Summary Implementation Guide (v1.0.0: STU 1) based on FHIR R4. The current version which supercedes this version is 1.1.0. For a full list of available versions, see the Directory of published versions

StructureDefinition: RatioIPS

Ratio data type, constrained to use UCUM as the code system for units.

The official URL for this profile is:

http://hl7.org/fhir/uv/ips/StructureDefinition/Ratio-uv-ips

Formal Views of Profile Content

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

This structure is derived from Ratio

Summary

Must-Support: 2 elements

Structures

This structure refers to these other structures:

This structure is derived from Ratio

NameFlagsCard.TypeDescription & Constraintsdoco
.. Ratio S0..*RatioA ratio of two Quantity values - a numerator and a denominator
... numerator S0..1QuantityIPSA measured amount using UCUM
... denominator S0..1QuantityIPSA measured amount using UCUM

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Ratio SI0..*RatioA ratio of two Quantity values - a numerator and a denominator
... id 0..1stringUnique id for inter-element referencing
... extension I0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... numerator SI0..1QuantityIPSA measured amount using UCUM

doco Documentation for this format

This structure is derived from Ratio

Summary

Must-Support: 2 elements

Structures

This structure refers to these other structures:

Differential View

This structure is derived from Ratio

NameFlagsCard.TypeDescription & Constraintsdoco
.. Ratio S0..*RatioA ratio of two Quantity values - a numerator and a denominator
... numerator S0..1QuantityIPSA measured amount using UCUM
... denominator S0..1QuantityIPSA measured amount using UCUM

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Ratio SI0..*RatioA ratio of two Quantity values - a numerator and a denominator
... id 0..1stringUnique id for inter-element referencing
... extension I0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... numerator SI0..1QuantityIPSA measured amount using UCUM

doco Documentation for this format

 

Other representations of profile: Schematron

Terminology Bindings

Constraints

Constraints

IdPathDetailsRequirements
ele-1RatioAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
rat-1RatioNumerator 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-1Ratio.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Ratio.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Ratio.numeratorAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
qty-3Ratio.numeratorIf a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
ele-1Ratio.denominatorAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
qty-3Ratio.denominatorIf a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()