description: Base StructureDefinition for Quantity Type package_name: hl7.fhir.r2b.core derivation: specialization name: Quantity type: null elements: value: isModifier: false short: Numerical value (with implicit precision) index: 0 comments: The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books). type: decimal mustSupport: false maxLength: 0 base: {max: '1', min: 0, path: Quantity.value} isSummary: true comparator: isModifier: true short: < | <= | >= | > - how to understand the value index: 1 comments: This is labeled as "Is Modifier" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value. type: code mustSupport: false meaningWhenMissing: If there is no comparator, then there is no modification of the value maxLength: 0 base: {max: '1', min: 0, path: Quantity.comparator} isSummary: true unit: isModifier: false short: Unit representation type: string mustSupport: false maxLength: 0 base: {max: '1', min: 0, path: Quantity.unit} isSummary: true index: 2 system: isModifier: false short: System that defines coded unit form type: uri mustSupport: false maxLength: 0 base: {max: '1', min: 0, path: Quantity.system} isSummary: true index: 3 code: isModifier: false short: Coded form of the unit index: 4 comments: The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system. type: code mustSupport: false maxLength: 0 base: {max: '1', min: 0, path: Quantity.code} isSummary: true package_version: 1.4.0 class: datatype kind: datatype url: http://hl7.org/fhir/StructureDefinition/Quantity base: http://hl7.org/fhir/StructureDefinition/Element version: null