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

Left: | Ratio (Eu Lab) (http://hl7.eu/fhir/laboratory/StructureDefinition/Ratio-eu-lab)
Right: | Ratio (Eu Lab) (http://hl7.eu/fhir/laboratory/StructureDefinition/Ratio-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/Ratio-uv-ips' vs 'http://hl7.org/fhir/StructureDefinition/Ratio'
Information | StructureDefinition.short | Values for short differ: 'A measured amount using UCUM' vs 'Numerator value'
Information | StructureDefinition.definition | Values for definition differ: 'A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies. This profile imposes that the code system for units be UCUM.' vs 'The value of the numerator.'
Warning | Ratio.numerator | Elements differ in definition for mustSupport: 'true' vs 'false'
Information | StructureDefinition.short | Values for short differ: 'A measured amount using UCUM' vs 'Denominator value'
Information | StructureDefinition.definition | Values for definition differ: 'A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies. This profile imposes that the code system for units be UCUM.' vs 'The value of the denominator.'
Warning | Ratio.denominator | Elements differ in definition for mustSupport: 'true' vs 'false'

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/uv/ips/StructureDefinition/Ratio-uv-ips | http://hl7.org/fhir/StructureDefinition/Ratio | 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 Ratio data type to use UCUM as the code system for units and optionally share measurement uncertainty |
experimental |  |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | http://unstats.un.org/unsd/methods/m49/m49.htm#150 |
kind | complex-type |
name | RatioEuLab |
publisher | HL7 Europe |
purpose | This profile of the Ratio data type imposes the usage of the UCUM as the code system for units and allows expressing uncertainty of measurement |
status | active |
title | Ratio (Eu Lab) |
type | Ratio |
url | http://hl7.eu/fhir/laboratory/StructureDefinition/Ratio-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
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Ratio | C | 0..* | RatioIPS | A measured ratio using UCUM | C | 0..* | Ratio | A measured ratio 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 |
numerator | S C | 0..1 | ?? | A measured amount using UCUM | Σ | 0..1 | Quantity | Numerator value | Elements differ in definition for mustSupport: 'true' vs 'false'
id |  |  |  |  |  | 0..1 | string | Unique id for inter-element referencing | Added this element
Slices for extension |  |  |  |  |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | Added this element
value |  |  |  |  | Σ | 0..1 | decimal | Numerical value (with implicit precision) | Added this element
comparator |  |  |  |  | ?!Σ | 0..1 | code | < | <= | >= | > - how to understand the value Binding: ?? (required): How the Quantity should be understood and represented. | Added this element
unit |  |  |  |  | Σ | 0..1 | string | Unit representation | Added this element
system |  |  |  |  | Σ C | 0..1 | uri | System that defines coded unit form Required Pattern: http://unitsofmeasure.org | Added this element
code |  |  |  |  | Σ | 1..1 | code | Coded form of the unit | Added this element
denominator | S C | 0..1 | ?? | A measured amount using UCUM | Σ | 0..1 | Quantity | Denominator value | Elements differ in definition for mustSupport: 'true' vs 'false'
id |  |  |  |  |  | 0..1 | string | Unique id for inter-element referencing | Added this element
Slices for extension |  |  |  |  |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | Added this element
value |  |  |  |  | Σ | 0..1 | decimal | Numerical value (with implicit precision) | Added this element
comparator |  |  |  |  | ?!Σ | 0..1 | code | < | <= | >= | > - how to understand the value Binding: ?? (required): How the Quantity should be understood and represented. | Added this element
unit |  |  |  |  | Σ | 0..1 | string | Unit representation | Added this element
system |  |  |  |  | Σ C | 0..1 | uri | System that defines coded unit form Required Pattern: http://unitsofmeasure.org | Added this element
code |  |  |  |  | Σ | 1..1 | code | Coded form of the unit | Added this element
Documentation for this format