## Profile Comparison between http://hl7.eu/fhir/laboratory/StructureDefinition/Quantity-eu-lab vs http://hl7.eu/fhir/laboratory/StructureDefinition/Quantity-eu-lab

Left: | Quantity (Eu Lab) (http://hl7.eu/fhir/laboratory/StructureDefinition/Quantity-eu-lab)
Right: | Quantity (Eu Lab) (http://hl7.eu/fhir/laboratory/StructureDefinition/Quantity-eu-lab)

### Messages

Error | StructureDefinition.version | Values for version differ: '0.1.1' vs '2.0.0'
Information | StructureDefinition.date | Values for date differ: '2025-03-25T12:00:10+01:00' vs '2026-05-05T16:28:07+02:00'
Information | StructureDefinition.copyright | Values for copyright differ: 'Used by permission of HL7 Europe, all rights reserved Creative Commons License' vs 'Copyright HL7 Europe. Licensed under creative commons public domain (CC0 1.0).'
Error | StructureDefinition.baseDefinition | Values for baseDefinition differ: 'http://hl7.org/fhir/uv/ips/StructureDefinition/Quantity-uv-ips' vs 'http://hl7.org/fhir/StructureDefinition/Quantity'
Information | StructureDefinition.comment | Values for comment differ: 'The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator.' vs 'The use of the UCUM code system for units is required in this profile; however, the code and system elements are not mandatory. A textual and/or coded representation of the unit is nonetheless expected. The uncertainty and uncertaintyType extensions are optional, but they support the expression of measurement uncertainty, which is important for laboratory measurements.'
Information | StructureDefinition.short | Values for short differ: 'UCUM system for units' vs 'System that defines coded unit form'
Warning | Quantity.system | Elements differ in definition for mustSupport: 'true' vs 'false'
Information | Quantity.system | Element minimum cardinalities differ: '1' vs '0'
Warning | Quantity.code | Elements differ in definition for mustSupport: 'true' vs 'false'
Information | Quantity.code | Element minimum cardinalities differ: '1' vs '0'

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/uv/ips/StructureDefinition/Quantity-uv-ips | http://hl7.org/fhir/StructureDefinition/Quantity | Values Differ
copyright | Used by permission of HL7 Europe, all rights reserved Creative Commons License | Copyright HL7 Europe. Licensed under creative commons public domain (CC0 1.0). | Values Differ
date | 2025-03-25T12:00:10+01:00 | 2026-05-05T16:28:07+02:00 | Values Differ
description | This profile constrains the Quantity data type to use UCUM as the code system for units and optionally share measurement uncertainty | This profile constrains the Quantity data type to use UCUM for units. When using the Quantity datatype, the unit is represented using a coded form with UCUM as the system in the code element. The human-readable textual representation is is captured in the unit element. If no suitable UCUM code exists, the code is set to “1”, and the textual unit representation is used. If both coded and textual representations are present, they need to be semantically consistent. | Values Differ
experimental |  |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | http://unstats.un.org/unsd/methods/m49/m49.htm#150 |
kind | complex-type |
name | QuantityEuLab |
publisher | HL7 Europe |
purpose | This profile of the Quantity data type imposes the usage of the UCUM as the code system for units and allows expressing uncertainty of measurement |
status | active |
title | Quantity (Eu Lab) |
type | Quantity |
url | http://hl7.eu/fhir/laboratory/StructureDefinition/Quantity-eu-lab |
version | 0.1.1 | 2.0.0 | Values Differ

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Quantity | C | 0..* | QuantityIPS | A measured amount using UCUM | C | 0..* | Quantity | A measured amount using UCUM |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 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 |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
value | Σ | 0..1 | decimal | Numerical value (with implicit precision) | Σ | 0..1 | decimal | Numerical value (with implicit precision) |
comparator | ?!Σ | 0..1 | code | < | <= | >= | > - how to understand the value Binding: ?? (required): How the Quantity should be understood and represented. | ?!Σ | 0..1 | code | < | <= | >= | > - how to understand the value Binding: ?? (required): How the Quantity should be understood and represented. |
unit | Σ | 0..1 | string | Unit representation | Σ | 0..1 | string | Unit representation |
system | S Σ C | 1..1 | uri | UCUM system for units Fixed Value: http://unitsofmeasure.org | Σ C | 0..1 | uri | System that defines coded unit form Required Pattern: http://unitsofmeasure.org | Elements differ in definition for mustSupport: 'true' vs 'false' Element minimum cardinalities differ: '1' vs '0'
code | S Σ | 1..1 | code | Coded form of the unit | Σ | 0..1 | code | Coded form of the unit | Elements differ in definition for mustSupport: 'true' vs 'false' Element minimum cardinalities differ: '1' vs '0'
Documentation for this format