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: QuantityIPS

Data type Quantity constrained to use UCUM as the code system for units

The official URL for this profile is:

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

Formal Views of Profile Content

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

This structure is derived from Quantity

Summary

Mandatory: 2 elements
Must-Support: 2 elements
Fixed Value: 1 element

This structure is derived from Quantity

NameFlagsCard.TypeDescription & Constraintsdoco
.. Quantity S0..*QuantityA measured amount using UCUM
... system S1..1uriUCUM system for units
Fixed Value: http://unitsofmeasure.org
... code S1..1codeCoded form of the unit

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Quantity SI0..*QuantityA measured amount using UCUM
... id 0..1stringUnique id for inter-element referencing
... extension I0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... value ΣI0..1decimalNumerical value (with implicit precision)
... unit ΣI0..1stringUnit representation
... system SΣI1..1uriUCUM system for units
Fixed Value: http://unitsofmeasure.org
... code SΣI1..1codeCoded form of the unit

doco Documentation for this format

This structure is derived from Quantity

Summary

Mandatory: 2 elements
Must-Support: 2 elements
Fixed Value: 1 element

Differential View

This structure is derived from Quantity

NameFlagsCard.TypeDescription & Constraintsdoco
.. Quantity S0..*QuantityA measured amount using UCUM
... system S1..1uriUCUM system for units
Fixed Value: http://unitsofmeasure.org
... code S1..1codeCoded form of the unit

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Quantity SI0..*QuantityA measured amount using UCUM
... id 0..1stringUnique id for inter-element referencing
... extension I0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... value ΣI0..1decimalNumerical value (with implicit precision)
... unit ΣI0..1stringUnit representation
... system SΣI1..1uriUCUM system for units
Fixed Value: http://unitsofmeasure.org
... code SΣI1..1codeCoded form of the unit

doco Documentation for this format

 

Other representations of profile: Schematron

Terminology Bindings

Terminology Bindings

PathConformanceValueSet
Quantity.comparatorrequiredQuantityComparator

Constraints

Constraints

IdPathDetailsRequirements
ele-1QuantityAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
qty-3QuantityIf a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
ele-1Quantity.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Quantity.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Quantity.valueAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Quantity.comparatorAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Quantity.unitAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Quantity.systemAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Quantity.codeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())