PackagesCanonicalsLogsProblems
    Packages
    myhealth.eu.fhir.core@1.0.0
    http://fhir.ehdsi.eu/core/StructureDefinition/Quantity-myhealth
description: This profile of the Quantity data type constraints the Quantity (MyHealth@EU) profile defining a core value set for UCUM. The Quantity (MyHealth@EU) imposes the usage of the UCUM as the code system for units and allows expressing uncertainty of measurement.
package_name: myhealth.eu.fhir.core
derivation: constraint
name: QuantityMyHealth
type: Quantity
elements:
  extension:
    type: Extension
    url: http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty|5.2.0
    index: 0
    slicing:
      slices:
        uncertainty:
          match: {}
          schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty|5.2.0', index: 0}
          min: 0
          max: 1
        uncertaintyType:
          match: {}
          schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType|5.2.0', index: 1}
          min: 0
          max: 1
  system:
    short: UCUM or EDQM system for units
    constraint:
      myhealth-allowed-systems: {human: The system for the quantity unit must be either UCUM or EDQM., source: 'http://fhir.ehdsi.eu/core/StructureDefinition/Quantity-myhealth', severity: error, expression: '$this = ''http://unitsofmeasure.org'' or $this = ''http://standardterms.edqm.eu'''}
    mustSupport: true
    index: 2
  code:
    binding: {strength: extensible, valueSet: 'http://terminology.ehdsi.eu/ValueSet/eHDSIUnit'}
    mustSupport: true
    index: 3
package_version: 1.0.0
extensions:
  uncertainty: {url: 'http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty|5.2.0', min: 0, max: 1, type: Extension, index: 0}
  uncertaintyType: {url: 'http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType|5.2.0', min: 0, max: 1, type: Extension, index: 1}
class: complex-type
kind: complex-type
url: http://fhir.ehdsi.eu/core/StructureDefinition/Quantity-myhealth
base: http://hl7.org/fhir/StructureDefinition/Quantity
version: 1.0.0
required: [system, code]