# Quantity (Eu Lab) - HL7 Europe Laboratory Report v2.0.0

* [**Table of Contents**](toc.md)
* [**Artifacts Summary**](artifacts.md)
* **Quantity (Eu Lab)**

## Data Type Profile: Quantity (Eu Lab) 

| | |
| :--- | :--- |
| *Official URL*:http://hl7.eu/fhir/laboratory/StructureDefinition/Quantity-eu-lab | *Version*:2.0.0 |
| Active as of 2026-05-05 | *Computable Name*:QuantityEuLab |
| **Copyright/Legal**: Copyright HL7 Europe. Licensed under creative commons public domain (CC0 1.0). | |

 
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. 

 
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 

**Usages:**

* Use this DataType Profile: [Observation Results: laboratory](StructureDefinition-Observation-resultslab-eu-lab.md)

You can also check for [usages in the FHIR IG Statistics](https://packages2.fhir.org/xig/hl7.fhir.eu.laboratory|current/StructureDefinition/Quantity-eu-lab)

### Formal Views of Profile Content

 [Description of Profiles, Differentials, Snapshots and how the different presentations work](http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#structure-definitions). 

 

Other representations of profile: [CSV](StructureDefinition-Quantity-eu-lab.csv), [Excel](StructureDefinition-Quantity-eu-lab.xlsx), [Schematron](StructureDefinition-Quantity-eu-lab.sch) 



## Resource Content

```json
{
  "resourceType" : "StructureDefinition",
  "id" : "Quantity-eu-lab",
  "url" : "http://hl7.eu/fhir/laboratory/StructureDefinition/Quantity-eu-lab",
  "version" : "2.0.0",
  "name" : "QuantityEuLab",
  "title" : "Quantity (Eu Lab)",
  "status" : "active",
  "date" : "2026-05-05T16:28:07+02:00",
  "publisher" : "HL7 Europe",
  "contact" : [{
    "name" : "HL7 Europe",
    "telecom" : [{
      "system" : "url",
      "value" : "http://hl7.eu"
    }]
  }],
  "description" : "This profile constrains the Quantity data type to use UCUM for units.\nWhen 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.\nIf no suitable UCUM code exists, the code is set to “1”, and the textual unit representation is used.\nIf both coded and textual representations are present, they need to be semantically consistent.",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "150",
      "display" : "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",
  "copyright" : "Copyright HL7 Europe. Licensed under creative commons public domain (CC0 1.0).",
  "fhirVersion" : "4.0.1",
  "mapping" : [{
    "identity" : "v2",
    "uri" : "http://hl7.org/v2",
    "name" : "HL7 v2 Mapping"
  },
  {
    "identity" : "rim",
    "uri" : "http://hl7.org/v3",
    "name" : "RIM Mapping"
  }],
  "kind" : "complex-type",
  "abstract" : false,
  "type" : "Quantity",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Quantity",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "id" : "Quantity",
      "path" : "Quantity",
      "short" : "A measured amount using UCUM",
      "definition" : "A measured amount (or an amount that can potentially be measured) and uncertainty of the measurement. Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies.\r\nThis profile imposes that the code system for units be UCUM.",
      "comment" : "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."
    },
    {
      "id" : "Quantity.extension:uncertainty",
      "path" : "Quantity.extension",
      "sliceName" : "uncertainty",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty|5.2.0"]
      }]
    },
    {
      "id" : "Quantity.extension:uncertaintyType",
      "path" : "Quantity.extension",
      "sliceName" : "uncertaintyType",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType|5.2.0"]
      }]
    },
    {
      "id" : "Quantity.system",
      "path" : "Quantity.system",
      "patternUri" : "http://unitsofmeasure.org"
    }]
  }
}

```
