HL7 FHIR Implementation Guide: minimal Common Oncology Data Elements (mCODE), v0.9.0

- Local Development build (v0.9.0). See the Directory of published versions

QuantityWithRequiredUnits

 

The official URL for this profile is:

http://hl7.org/fhir/us/shr/StructureDefinition/shr-lab-QuantityWithRequiredUnits

A quantity with that requires a coded unit of measure.

This profile builds on Quantity.

This profile was published on Wed Apr 17 00:00:00 EDT 2019 as a draft by The MITRE Corporation.

Summary

Mandatory: 0 element (2 nested mandatory elements)

Mapping Source

This structure represents the following mapping definition:

shr.lab.QuantityWithRequiredUnits maps to Quantity:
  Number maps to value
  Units.Coding.CodeValue maps to code
  Units.Coding.CodeSystem maps to system
  Units.Coding.DisplayText maps to unit
  Comparator maps to comparator

NameFlagsCard.TypeDescription & Constraintsdoco
.. Quantity Σshr-lab-QuantityWithRequiredUnits
... system 1..1
... code 1..1

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Quantity ΣI0..*shr-lab-QuantityWithRequiredUnits
qty-3: If a code for the unit is present, the system SHALL also be present
... id 0..1idxml:id (or equivalent in JSON)
... extension 0..*ExtensionAdditional Content defined by implementations
... value Σ0..1decimalNumerical value (with implicit precision)
... comparator ?!Σ0..1code< | <= | >= | > - how to understand the value
Binding: QuantityComparator (required)
... unit Σ0..1stringUnit representation
... system ΣI1..1uriSystem that defines coded unit form
... code Σ1..1codeCoded form of the unit

doco Documentation for this format

Summary

Mandatory: 0 element (2 nested mandatory elements)

Mapping Source

This structure represents the following mapping definition:

shr.lab.QuantityWithRequiredUnits maps to Quantity:
  Number maps to value
  Units.Coding.CodeValue maps to code
  Units.Coding.CodeSystem maps to system
  Units.Coding.DisplayText maps to unit
  Comparator maps to comparator

Differential View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Quantity Σshr-lab-QuantityWithRequiredUnits
... system 1..1
... code 1..1

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Quantity ΣI0..*shr-lab-QuantityWithRequiredUnits
qty-3: If a code for the unit is present, the system SHALL also be present
... id 0..1idxml:id (or equivalent in JSON)
... extension 0..*ExtensionAdditional Content defined by implementations
... value Σ0..1decimalNumerical value (with implicit precision)
... comparator ?!Σ0..1code< | <= | >= | > - how to understand the value
Binding: QuantityComparator (required)
... unit Σ0..1stringUnit representation
... system ΣI1..1uriSystem that defines coded unit form
... code Σ1..1codeCoded form of the unit

doco Documentation for this format

Downloads: StructureDefinition: (XML, JSON, TTL), Schema: XML Schematron

 

 

Constraints

IdPathDetailsRequirements
qty-3QuantityIf a code for the unit is present, the system SHALL also be present
: