MyHealth@EU Core
1.0.0 - trial-use 150

MyHealth@EU Core - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

## Data Type Profile: Simple Quantity (MyHealth@EU)

Official URL: http://fhir.ehdsi.eu/core/StructureDefinition/SimpleQuantity-myhealth | Version: 1.0.0
Active as of 2026-05-05 | Computable Name: SimpleQuantityMyHealth

This profile inherits from Quantity (MyHealth@EU) but behaves like a SimpleQuantity by forbidding the comparator element.

Usages:

- Use this DataType Profile: Immunization (Core), MedicationRequest (Core) and MedicationStatement (Core)

You can also check for usages in the FHIR IG Statistics

### Formal Views of Profile Content

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

- Key Elements Table
- Differential Table
- Snapshot Table
- Statistics/References
- All

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Quantity | C | 0..* | QuantityMyHealth | A measured amount using UCUM This profile also imposes the profile SimpleQuantity Constraints: qty-3
Slices for extension |  |  |  | Content/Rules for all slices
extension:uncertainty |  | 0..1 | decimal | Standard Deviation (same units as the quantity) URL: http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty
extension:uncertaintyType |  | 0..1 | code | Probability Distribution Type for uncertainty URL: http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType Binding: ProbabilityDistributionType (required)
system | S Σ C | 1..1 | uri | UCUM or EDQM system for units Constraints: myhealth-allowed-systems
code | S Σ | 1..1 | code | Coded form of the unit Binding: eHDSI Unit (extensible)
Additional Bindings | Purpose | Documentation
eHDSI Quantity Unit | Extensible | A unit of presentation used to represent the quantity of product
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Quantity.code | Base | extensible | eHDSI Unit | 📦9.1.0 | This IG

#### Constraints

Id | Grade | Path(s) | Description | Expression
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`
myhealth-allowed-systems | error | Quantity.system | The system for the quantity unit must be either UCUM or EDQM. | `$this = 'http://unitsofmeasure.org' or $this = 'http://standardterms.edqm.eu'`
qty-3 | error | Quantity | If a code for the unit is present, the system SHALL also be present | `code.empty() or system.exists()`

This structure is derived from QuantityMyHealth

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Quantity |  | 0..* | QuantityMyHealth | A measured amount using UCUM This profile also imposes the profile SimpleQuantity
comparator |  | 0..0 |  | The comparator is not used on a SimpleQuantity
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Quantity | C | 0..* | QuantityMyHealth | A measured amount using UCUM This profile also imposes the profile SimpleQuantity Constraints: qty-3
id |  | 0..1 | string | Unique id for inter-element referencing
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
extension:uncertainty |  | 0..1 | decimal | Standard Deviation (same units as the quantity) URL: http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty
extension:uncertaintyType |  | 0..1 | code | Probability Distribution Type for uncertainty URL: http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType Binding: ProbabilityDistributionType (required)
value | Σ | 0..1 | decimal | Numerical value (with implicit precision)
unit | Σ | 0..1 | string | Unit representation
system | S Σ C | 1..1 | uri | UCUM or EDQM system for units Constraints: myhealth-allowed-systems
code | S Σ | 1..1 | code | Coded form of the unit Binding: eHDSI Unit (extensible)
Additional Bindings | Purpose | Documentation
eHDSI Quantity Unit | Extensible | A unit of presentation used to represent the quantity of product
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Quantity.code | Base | extensible | eHDSI Unit | 📦9.1.0 | This IG

#### Constraints

Id | Grade | Path(s) | Description | Expression
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`
myhealth-allowed-systems | error | Quantity.system | The system for the quantity unit must be either UCUM or EDQM. | `$this = 'http://unitsofmeasure.org' or $this = 'http://standardterms.edqm.eu'`
qty-3 | error | Quantity | If a code for the unit is present, the system SHALL also be present | `code.empty() or system.exists()`

This structure is derived from QuantityMyHealth

Summary

Prohibited: 1 element

Key Elements View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Quantity | C | 0..* | QuantityMyHealth | A measured amount using UCUM This profile also imposes the profile SimpleQuantity Constraints: qty-3
Slices for extension |  |  |  | Content/Rules for all slices
extension:uncertainty |  | 0..1 | decimal | Standard Deviation (same units as the quantity) URL: http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty
extension:uncertaintyType |  | 0..1 | code | Probability Distribution Type for uncertainty URL: http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType Binding: ProbabilityDistributionType (required)
system | S Σ C | 1..1 | uri | UCUM or EDQM system for units Constraints: myhealth-allowed-systems
code | S Σ | 1..1 | code | Coded form of the unit Binding: eHDSI Unit (extensible)
Additional Bindings | Purpose | Documentation
eHDSI Quantity Unit | Extensible | A unit of presentation used to represent the quantity of product
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Quantity.code | Base | extensible | eHDSI Unit | 📦9.1.0 | This IG

#### Constraints

Id | Grade | Path(s) | Description | Expression
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`
myhealth-allowed-systems | error | Quantity.system | The system for the quantity unit must be either UCUM or EDQM. | `$this = 'http://unitsofmeasure.org' or $this = 'http://standardterms.edqm.eu'`
qty-3 | error | Quantity | If a code for the unit is present, the system SHALL also be present | `code.empty() or system.exists()`

Differential View

This structure is derived from QuantityMyHealth

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Quantity |  | 0..* | QuantityMyHealth | A measured amount using UCUM This profile also imposes the profile SimpleQuantity
comparator |  | 0..0 |  | The comparator is not used on a SimpleQuantity
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Quantity | C | 0..* | QuantityMyHealth | A measured amount using UCUM This profile also imposes the profile SimpleQuantity Constraints: qty-3
id |  | 0..1 | string | Unique id for inter-element referencing
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
extension:uncertainty |  | 0..1 | decimal | Standard Deviation (same units as the quantity) URL: http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty
extension:uncertaintyType |  | 0..1 | code | Probability Distribution Type for uncertainty URL: http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType Binding: ProbabilityDistributionType (required)
value | Σ | 0..1 | decimal | Numerical value (with implicit precision)
unit | Σ | 0..1 | string | Unit representation
system | S Σ C | 1..1 | uri | UCUM or EDQM system for units Constraints: myhealth-allowed-systems
code | S Σ | 1..1 | code | Coded form of the unit Binding: eHDSI Unit (extensible)
Additional Bindings | Purpose | Documentation
eHDSI Quantity Unit | Extensible | A unit of presentation used to represent the quantity of product
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Quantity.code | Base | extensible | eHDSI Unit | 📦9.1.0 | This IG

#### Constraints

Id | Grade | Path(s) | Description | Expression
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`
myhealth-allowed-systems | error | Quantity.system | The system for the quantity unit must be either UCUM or EDQM. | `$this = 'http://unitsofmeasure.org' or $this = 'http://standardterms.edqm.eu'`
qty-3 | error | Quantity | If a code for the unit is present, the system SHALL also be present | `code.empty() or system.exists()`

This structure is derived from QuantityMyHealth

Summary

Prohibited: 1 element

Other representations of profile: CSV, Excel, Schematron