HL7 FHIR Implementation Guide Laboratory Report
0.2.0 - trial-use

HL7 FHIR Implementation Guide Laboratory Report, published by HL7 Italia. This guide is not an authorized publication; it is the continuous build for version 0.2.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7-it/lab-report/ and changes regularly. See the Directory of published versions

## Logical Model: RefertoLaboratorio - JSON Profile

Active as of 2025-11-18

JSON representation of the RefertoLaboratorio logical model.

Raw json | Download

    {
      "resourceType" : "StructureDefinition",
      "id" : "RefertoLaboratorio",
      "text" : {
        "status" : "extensions",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: DefinizioneStruttura RefertoLaboratorio</b></p><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top\"><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"The logical name of the element\">Name</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Information about the use of the element\">Flags</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Minimum and Maximum # of times the element can appear in the instance\">Card.</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px; width: 100px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Reference to the type of the element\">Type</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Additional information about the element\">Description &amp; Constraints</a><span style=\"float: right\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64, \" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-RefertoLaboratorio-definitions.html#RefertoLaboratorio\" title=\"Referto di Laboratorio.\">RefertoLaboratorio</a><a name=\"RefertoLaboratorio\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://build.fhir.org/types.html#Base\">Base</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">A - Referto di Laboratorio</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-RefertoLaboratorio-definitions.html#RefertoLaboratorio.header\" title=\"A.1 header del Referto di Laboratorio.\">header</a><a name=\"RefertoLaboratorio.header\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#BackboneElement\">BackboneElement</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">A.1 header del Referto di Laboratorio</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-RefertoLaboratorio-definitions.html#RefertoLaboratorio.header.soggettoReferto\" title=\"A.1.1 Identificativo del Paziente/Soggetto e A.1.2 relative informazioni sui contatti del Paziente/Soggetto \">soggettoReferto</a><a name=\"RefertoLaboratorio.header.soggettoReferto\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-SoggettoCura.html\">SoggettoCura</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">A.1.1 - A1.2 Paziente/Soggetto del Referto di Laboratorio</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-RefertoLaboratorio-definitions.html#RefertoLaboratorio.header.destinatario\" title=\"A.1.4 Destinatario delle informazioni (destinatario o destinatari del Referto di Laboratorio, potrebbero essere identificati ulteriori destinatari, ad esempio medico di base, altro specialista), se applicabile\">destinatario</a><a name=\"RefertoLaboratorio.header.destinatario\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-Destinatario.html\">Destinatario</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">A.1.4 Destinatario delle informazioni</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-RefertoLaboratorio-definitions.html#RefertoLaboratorio.header.autore\" title=\"A.1.5 Autore (da cui è stato redatto il referto dei risultati di laboratorio o un sottoinsieme dei risultati)\">autore</a><a name=\"RefertoLaboratorio.header.autore\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-Autore.html\">Autore</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">A.1.5 Autore<br/></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-RefertoLaboratorio-definitions.html#RefertoLaboratorio.header.firmatario\" title=\"A.1.6 Firmatario del documento (La persona che si assume la responsabilità di validare a livello legale il contenuto del documento)\">firmatario</a><a name=\"RefertoLaboratorio.header.firmatario\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-Firmatario.html\">Firmatario</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">A.1.6 Firmatario del documento<br/></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-RefertoLaboratorio-definitions.html#RefertoLaboratorio.header.validatore\" title=\"A.1.7 Validatore del documento\">validatore</a><a name=\"RefertoLaboratorio.header.validatore\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-Validatore.html\">Validatore</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">A.1.7 Validatore del documento<br/></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck101.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-RefertoLaboratorio-definitions.html#RefertoLaboratorio.header.metadati\" title=\"A.1.8 Metadata del Referto di Laboratorio\">metadati</a><a name=\"RefertoLaboratorio.header.metadati\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#BackboneElement\">BackboneElement</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">A.1.8 Metadata del Referto di Laboratorio</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1010.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-RefertoLaboratorio-definitions.html#RefertoLaboratorio.header.metadati.tipo\" title=\"Codice che identifica il tipo di documento. Valore fisso &quot;&quot;Referto di medicina di laboratorio&quot;&quot; - Dizionario di codifica: LOINC\">tipo</a><a name=\"RefertoLaboratorio.header.metadati.tipo\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">A.1.8.1 Tipo di documento</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1010.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-RefertoLaboratorio-definitions.html#RefertoLaboratorio.header.metadati.stato\" title=\"Stato del Referto . Ad esempio, preliminare, finale. - Sistema di Codifica: hl7:DiagnosticReportStatus\">stato</a><a name=\"RefertoLaboratorio.header.metadati.stato\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">A.1.8.2 Stato del Referto</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1010.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-RefertoLaboratorio-definitions.html#RefertoLaboratorio.header.metadati.data\" title=\"Data e ora della creazione del report dei risultati. - Sistema di Codifica: ISO 8601\">data</a><a name=\"RefertoLaboratorio.header.metadati.data\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#dateTime\">dateTime</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">A.1.8.3 Data e ora della creazione del referto</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1010.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-RefertoLaboratorio-definitions.html#RefertoLaboratorio.header.metadati.titolo\" title=\"Titolo del documento, ad esempio &quot;&quot;Rapporto sui risultati di laboratorio&quot;&quot; - Sistema di Codifica: \">titolo</a><a name=\"RefertoLaboratorio.header.metadati.titolo\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">A.1.8.4 Titolo del documento</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1000.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-RefertoLaboratorio-definitions.html#RefertoLaboratorio.header.metadati.custode\" title=\"Organizzazione incaricata della conservazione del referto di laboratorio - Sistema di Codifica: \">custode</a><a name=\"RefertoLaboratorio.header.metadati.custode\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#BackboneElement\">BackboneElement</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">A.1.8.5 Custode del referto</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-RefertoLaboratorio-definitions.html#RefertoLaboratorio.ordine\" title=\"A.2 Informazioni sull'ordine A.3 Motivo dell'ordine\">ordine</a><a name=\"RefertoLaboratorio.ordine\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-Richiesta.html\">Richiesta</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">A.2-A.3 Ordine<br/></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-RefertoLaboratorio-definitions.html#RefertoLaboratorio.campione\" title=\"A.4 Informazioni sul campione\">campione</a><a name=\"RefertoLaboratorio.campione\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-Campione.html\">Campione</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">A.4 Informazioni sul campione<br/></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-RefertoLaboratorio-definitions.html#RefertoLaboratorio.risultato\" title=\"A.5 Risultati dell'esame\">risultato</a><a name=\"RefertoLaboratorio.risultato\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-Risultato.html\">Risultato</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">A.5 Risultati dell'esame<br/></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck01.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-RefertoLaboratorio-definitions.html#RefertoLaboratorio.organizer\" title=\"A.5 Batteria di esami\">organizer</a><a name=\"RefertoLaboratorio.organizer\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-Organizer.html\">Organizer</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">A.5 Batteria di esami<br/></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck000.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-RefertoLaboratorio-definitions.html#RefertoLaboratorio.organizer.risultato\" title=\"A.5 Risultati dell'esame\">risultato</a><a name=\"RefertoLaboratorio.organizer.risultato\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-Risultato.html\">Risultato</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">A.5 Risultati dell'esame<br/></td></tr>\r\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64, \" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"
      },
      "url" : "http://hl7.it/fhir/lab-report/StructureDefinition/RefertoLaboratorio",
      "version" : "0.2.0",
      "name" : "RefertoLaboratorio",
      "title" : "A - Referto di Laboratorio",
      "status" : "active",
      "date" : "2025-11-18T15:38:51+00:00",
      "publisher" : "HL7 Italia",
      "contact" : [
        {
          "name" : "HL7 Italia",
          "telecom" : [
            {
              "system" : "url",
              "value" : "https://hl7.it"
            }
          ]
        },
        {
          "name" : "HL7 Italia",
          "telecom" : [
            {
              "system" : "url",
              "value" : "https://hl7.it"
            }
          ]
        }
      ],
      "description" : "Referto di Laboratorio.",
      "jurisdiction" : [
        {
          "coding" : [
            {
              "system" : "urn:iso:std:iso:3166",
              "code" : "IT",
              "display" : "Italy"
            }
          ]
        }
      ],
      "fhirVersion" : "4.0.1",
      "mapping" : [
        {
          "identity" : "fhir",
          "uri" : "hl7.org/fhir/r4",
          "name" : "eHN Modello Logico RefertoLaboratorio - FHIR R4 Map"
        }
      ],
      "kind" : "logical",
      "abstract" : false,
      "type" : "http://hl7.it/fhir/lab-report/StructureDefinition/RefertoLaboratorio",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Base",
      "derivation" : "specialization",
      "snapshot" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
            "valueString" : "4.0.1"
          }
        ],
        "element" : [
          {
            "id" : "RefertoLaboratorio",
            "path" : "RefertoLaboratorio",
            "short" : "A - Referto di Laboratorio",
            "definition" : "Referto di Laboratorio.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Base",
              "min" : 0,
              "max" : "*"
            },
            "isModifier" : false,
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "Bundle.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/bundle-it-lab')"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.header",
            "path" : "RefertoLaboratorio.header",
            "short" : "A.1 header del Referto di Laboratorio",
            "definition" : "A.1 header del Referto di Laboratorio.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "RefertoLaboratorio.header",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "Composition.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/composition-it-lab')"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.header.id",
            "path" : "RefertoLaboratorio.header.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "Unique id for inter-element referencing",
            "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                    "valueUrl" : "string"
                  }
                ],
                "code" : "http://hl7.org/fhirpath/System.String"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.header.extension",
            "path" : "RefertoLaboratorio.header.extension",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "value",
                  "path" : "url"
                }
              ],
              "description" : "Extensions are always sliced by (at least) url",
              "rules" : "open"
            },
            "short" : "Additional content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.header.modifierExtension",
            "path" : "RefertoLaboratorio.header.modifierExtension",
            "short" : "Extensions that cannot be ignored even if unrecognized",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
            "alias" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : true,
            "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.header.soggettoReferto",
            "path" : "RefertoLaboratorio.header.soggettoReferto",
            "short" : "A.1.1 - A1.2 Paziente/Soggetto del Referto di Laboratorio",
            "definition" : "A.1.1 Identificativo del Paziente/Soggetto e A.1.2 relative informazioni sui contatti del Paziente/Soggetto",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "RefertoLaboratorio.header.soggettoReferto",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.it/fhir/lab-report/StructureDefinition/SoggettoCura"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "Composition.subject"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.header.destinatario",
            "path" : "RefertoLaboratorio.header.destinatario",
            "short" : "A.1.4 Destinatario delle informazioni",
            "definition" : "A.1.4 Destinatario delle informazioni (destinatario o destinatari del Referto di Laboratorio, potrebbero essere identificati ulteriori destinatari, ad esempio medico di base, altro specialista), se applicabile",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "RefertoLaboratorio.header.destinatario",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.it/fhir/lab-report/StructureDefinition/Destinatario"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : ".extension('http://hl7.org/fhir/StructureDefinition/cqf-receivingOrganization')"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.header.autore",
            "path" : "RefertoLaboratorio.header.autore",
            "short" : "A.1.5 Autore",
            "definition" : "A.1.5 Autore (da cui è stato redatto il referto dei risultati di laboratorio o un sottoinsieme dei risultati)",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "RefertoLaboratorio.header.autore",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.it/fhir/lab-report/StructureDefinition/Autore"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "Composition.author"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.header.firmatario",
            "path" : "RefertoLaboratorio.header.firmatario",
            "short" : "A.1.6 Firmatario del documento",
            "definition" : "A.1.6 Firmatario del documento (La persona che si assume la responsabilità di validare a livello legale il contenuto del documento)",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "RefertoLaboratorio.header.firmatario",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.it/fhir/lab-report/StructureDefinition/Firmatario"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "Composition.attester.where(mode=http://hl7.org/fhir/composition-attestation-mode#legal)"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.header.validatore",
            "path" : "RefertoLaboratorio.header.validatore",
            "short" : "A.1.7 Validatore del documento",
            "definition" : "A.1.7 Validatore del documento",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "RefertoLaboratorio.header.validatore",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.it/fhir/lab-report/StructureDefinition/Validatore"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "Composition.attester.where(mode=http://hl7.org/fhir/composition-attestation-mode#professional)"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.header.metadati",
            "path" : "RefertoLaboratorio.header.metadati",
            "short" : "A.1.8 Metadata del Referto di Laboratorio",
            "definition" : "A.1.8 Metadata del Referto di Laboratorio",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "RefertoLaboratorio.header.metadati",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "Composition"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.header.metadati.id",
            "path" : "RefertoLaboratorio.header.metadati.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "Unique id for inter-element referencing",
            "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                    "valueUrl" : "string"
                  }
                ],
                "code" : "http://hl7.org/fhirpath/System.String"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.header.metadati.extension",
            "path" : "RefertoLaboratorio.header.metadati.extension",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "value",
                  "path" : "url"
                }
              ],
              "description" : "Extensions are always sliced by (at least) url",
              "rules" : "open"
            },
            "short" : "Additional content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.header.metadati.modifierExtension",
            "path" : "RefertoLaboratorio.header.metadati.modifierExtension",
            "short" : "Extensions that cannot be ignored even if unrecognized",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
            "alias" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : true,
            "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.header.metadati.tipo",
            "path" : "RefertoLaboratorio.header.metadati.tipo",
            "short" : "A.1.8.1 Tipo di documento",
            "definition" : "Codice che identifica il tipo di documento. Valore fisso \"\"Referto di medicina di laboratorio\"\" - Dizionario di codifica: LOINC",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "RefertoLaboratorio.header.metadati.tipo",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "Composition.type"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.header.metadati.stato",
            "path" : "RefertoLaboratorio.header.metadati.stato",
            "short" : "A.1.8.2 Stato del Referto",
            "definition" : "Stato del Referto . Ad esempio, preliminare, finale. - Sistema di Codifica: hl7:DiagnosticReportStatus",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "RefertoLaboratorio.header.metadati.stato",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "Composition.status"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.header.metadati.data",
            "path" : "RefertoLaboratorio.header.metadati.data",
            "short" : "A.1.8.3 Data e ora della creazione del referto",
            "definition" : "Data e ora della creazione del report dei risultati. - Sistema di Codifica: ISO 8601",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "RefertoLaboratorio.header.metadati.data",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "dateTime"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "Bundle.timestamp"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.header.metadati.titolo",
            "path" : "RefertoLaboratorio.header.metadati.titolo",
            "short" : "A.1.8.4 Titolo del documento",
            "definition" : "Titolo del documento, ad esempio \"\"Rapporto sui risultati di laboratorio\"\" - Sistema di Codifica:",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "RefertoLaboratorio.header.metadati.titolo",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "Composition.title"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.header.metadati.custode",
            "path" : "RefertoLaboratorio.header.metadati.custode",
            "short" : "A.1.8.5 Custode del referto",
            "definition" : "Organizzazione incaricata della conservazione del referto di laboratorio - Sistema di Codifica:",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "RefertoLaboratorio.header.metadati.custode",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "Composition.custodian"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.ordine",
            "path" : "RefertoLaboratorio.ordine",
            "short" : "A.2-A.3 Ordine",
            "definition" : "A.2 Informazioni sull'ordine A.3 Motivo dell'ordine",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "RefertoLaboratorio.ordine",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.it/fhir/lab-report/StructureDefinition/Richiesta"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "DiagnosticReport.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/diagnosticreport-it-lab').basedOn.resolve()"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.campione",
            "path" : "RefertoLaboratorio.campione",
            "short" : "A.4 Informazioni sul campione",
            "definition" : "A.4 Informazioni sul campione",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "RefertoLaboratorio.campione",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.it/fhir/lab-report/StructureDefinition/Campione"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "Observation.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/ObservationRefertoLabIt').specimen.resolve()"
              },
              {
                "identity" : "fhir",
                "map" : "DiagnosticReport.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/diagnosticreport-it-lab').specimen.resolve()"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.risultato",
            "path" : "RefertoLaboratorio.risultato",
            "short" : "A.5 Risultati dell'esame",
            "definition" : "A.5 Risultati dell'esame",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "RefertoLaboratorio.risultato",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.it/fhir/lab-report/StructureDefinition/Risultato"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "Composition.section:lab-no-subsections.entry.resolve()"
              },
              {
                "identity" : "fhir",
                "map" : "Composition.section:lab-subsections.section.entry.resolve()"
              },
              {
                "identity" : "fhir",
                "map" : "DiagnosticReport.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/diagnosticreport-it-lab').result.resolve()"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.organizer",
            "path" : "RefertoLaboratorio.organizer",
            "short" : "A.5 Batteria di esami",
            "definition" : "A.5 Batteria di esami",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "RefertoLaboratorio.organizer",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.it/fhir/lab-report/StructureDefinition/Organizer"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "Composition.section:lab-no-subsections.entry.resolve()"
              },
              {
                "identity" : "fhir",
                "map" : "Composition.section:lab-subsections.section.entry.resolve()"
              },
              {
                "identity" : "fhir",
                "map" : "DiagnosticReport.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/diagnosticreport-it-lab').result.resolve()"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.organizer.osservazione",
            "path" : "RefertoLaboratorio.organizer.osservazione",
            "short" : "A.5.2 Dettagli dell'osservazione",
            "definition" : "A.5.2 Dettagli dell'osservazione (il rapporto può consistere di più osservazioni)",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Organizer.osservazione",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "Observation.hasMember.resolve()"
              },
              {
                "identity" : "fhir",
                "map" : "Observation.component"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.organizer.osservazione.id",
            "path" : "RefertoLaboratorio.organizer.osservazione.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "Unique id for inter-element referencing",
            "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                    "valueUrl" : "string"
                  }
                ],
                "code" : "http://hl7.org/fhirpath/System.String"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.organizer.osservazione.extension",
            "path" : "RefertoLaboratorio.organizer.osservazione.extension",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "value",
                  "path" : "url"
                }
              ],
              "description" : "Extensions are always sliced by (at least) url",
              "rules" : "open"
            },
            "short" : "Additional content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.organizer.osservazione.modifierExtension",
            "path" : "RefertoLaboratorio.organizer.osservazione.modifierExtension",
            "short" : "Extensions that cannot be ignored even if unrecognized",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
            "alias" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : true,
            "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.organizer.osservazione.data",
            "path" : "RefertoLaboratorio.organizer.osservazione.data",
            "short" : "A.5.2.1 Data dell'osservazione",
            "definition" : "Data e ora dell'osservazione - Sistema di codifica: ISO 8601",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Organizer.osservazione.data",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "Observation.effective[x]"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.organizer.osservazione.codice",
            "path" : "RefertoLaboratorio.organizer.osservazione.codice",
            "short" : "A.5.2.3 Codice dell'osservazione",
            "definition" : "Codice che rappresenta l'osservazione utilizzando i sistemi di codici concordati.\n- Sistema/i preferito/i: LOINC\n  - Sistema/i preferito/i: NPU\n  - Sistema/i preferito/i: SNOMED CT",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Organizer.osservazione.codice",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "Observation.code"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.organizer.osservazione.risultato",
            "path" : "RefertoLaboratorio.organizer.osservazione.risultato",
            "short" : "A.5.2.11 Risultato dell'osservazione",
            "definition" : "Risultato e codifica della misura relativa all'osservazione inclusi testo, risultati numerici e codificati. Il contenuto del risultato dell'osservazione varierà a seconda del tipo di osservazione.\n- Sistema/i preferito/i: SNOMED CT (per i risultati in scala ordinale o nominale e codifica dei risultati)\n- Sistema/i preferito/i: UCUM (per unità)",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Organizer.osservazione.risultato",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "Observation.value[x]"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.organizer.risultato",
            "path" : "RefertoLaboratorio.organizer.risultato",
            "short" : "A.5 Risultati dell'esame",
            "definition" : "A.5 Risultati dell'esame",
            "min" : 1,
            "max" : "*",
            "base" : {
              "path" : "RefertoLaboratorio.organizer.risultato",
              "min" : 1,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.it/fhir/lab-report/StructureDefinition/Risultato"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "Composition.section:lab-no-subsections.entry.resolve().hasMember()"
              },
              {
                "identity" : "fhir",
                "map" : "Composition.section:lab-subsections.section.entry.resolve().hasMember()"
              }
            ]
          }
        ]
      },
      "differential" : {
        "element" : [
          {
            "id" : "RefertoLaboratorio",
            "path" : "RefertoLaboratorio",
            "short" : "A - Referto di Laboratorio",
            "definition" : "Referto di Laboratorio.",
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "Bundle.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/bundle-it-lab')"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.header",
            "path" : "RefertoLaboratorio.header",
            "short" : "A.1 header del Referto di Laboratorio",
            "definition" : "A.1 header del Referto di Laboratorio.",
            "min" : 1,
            "max" : "1",
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "Composition.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/composition-it-lab')"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.header.soggettoReferto",
            "path" : "RefertoLaboratorio.header.soggettoReferto",
            "short" : "A.1.1 - A1.2 Paziente/Soggetto del Referto di Laboratorio",
            "definition" : "A.1.1 Identificativo del Paziente/Soggetto e A.1.2 relative informazioni sui contatti del Paziente/Soggetto ",
            "min" : 1,
            "max" : "1",
            "type" : [
              {
                "code" : "http://hl7.it/fhir/lab-report/StructureDefinition/SoggettoCura"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "Composition.subject"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.header.destinatario",
            "path" : "RefertoLaboratorio.header.destinatario",
            "short" : "A.1.4 Destinatario delle informazioni",
            "definition" : "A.1.4 Destinatario delle informazioni (destinatario o destinatari del Referto di Laboratorio, potrebbero essere identificati ulteriori destinatari, ad esempio medico di base, altro specialista), se applicabile",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "http://hl7.it/fhir/lab-report/StructureDefinition/Destinatario"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : ".extension('http://hl7.org/fhir/StructureDefinition/cqf-receivingOrganization')"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.header.autore",
            "path" : "RefertoLaboratorio.header.autore",
            "short" : "A.1.5 Autore",
            "definition" : "A.1.5 Autore (da cui è stato redatto il referto dei risultati di laboratorio o un sottoinsieme dei risultati)",
            "min" : 0,
            "max" : "*",
            "type" : [
              {
                "code" : "http://hl7.it/fhir/lab-report/StructureDefinition/Autore"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "Composition.author"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.header.firmatario",
            "path" : "RefertoLaboratorio.header.firmatario",
            "short" : "A.1.6 Firmatario del documento",
            "definition" : "A.1.6 Firmatario del documento (La persona che si assume la responsabilità di validare a livello legale il contenuto del documento)",
            "min" : 0,
            "max" : "*",
            "type" : [
              {
                "code" : "http://hl7.it/fhir/lab-report/StructureDefinition/Firmatario"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "Composition.attester.where(mode=http://hl7.org/fhir/composition-attestation-mode#legal)"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.header.validatore",
            "path" : "RefertoLaboratorio.header.validatore",
            "short" : "A.1.7 Validatore del documento",
            "definition" : "A.1.7 Validatore del documento",
            "min" : 0,
            "max" : "*",
            "type" : [
              {
                "code" : "http://hl7.it/fhir/lab-report/StructureDefinition/Validatore"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "Composition.attester.where(mode=http://hl7.org/fhir/composition-attestation-mode#professional)"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.header.metadati",
            "path" : "RefertoLaboratorio.header.metadati",
            "short" : "A.1.8 Metadata del Referto di Laboratorio",
            "definition" : "A.1.8 Metadata del Referto di Laboratorio",
            "min" : 1,
            "max" : "1",
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "Composition"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.header.metadati.tipo",
            "path" : "RefertoLaboratorio.header.metadati.tipo",
            "short" : "A.1.8.1 Tipo di documento",
            "definition" : "Codice che identifica il tipo di documento. Valore fisso \"\"Referto di medicina di laboratorio\"\" - Dizionario di codifica: LOINC",
            "min" : 1,
            "max" : "1",
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "Composition.type"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.header.metadati.stato",
            "path" : "RefertoLaboratorio.header.metadati.stato",
            "short" : "A.1.8.2 Stato del Referto",
            "definition" : "Stato del Referto . Ad esempio, preliminare, finale. - Sistema di Codifica: hl7:DiagnosticReportStatus",
            "min" : 1,
            "max" : "1",
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "Composition.status"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.header.metadati.data",
            "path" : "RefertoLaboratorio.header.metadati.data",
            "short" : "A.1.8.3 Data e ora della creazione del referto",
            "definition" : "Data e ora della creazione del report dei risultati. - Sistema di Codifica: ISO 8601",
            "min" : 1,
            "max" : "1",
            "type" : [
              {
                "code" : "dateTime"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "Bundle.timestamp"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.header.metadati.titolo",
            "path" : "RefertoLaboratorio.header.metadati.titolo",
            "short" : "A.1.8.4 Titolo del documento",
            "definition" : "Titolo del documento, ad esempio \"\"Rapporto sui risultati di laboratorio\"\" - Sistema di Codifica: ",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "Composition.title"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.header.metadati.custode",
            "path" : "RefertoLaboratorio.header.metadati.custode",
            "short" : "A.1.8.5 Custode del referto",
            "definition" : "Organizzazione incaricata della conservazione del referto di laboratorio - Sistema di Codifica: ",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "Composition.custodian"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.ordine",
            "path" : "RefertoLaboratorio.ordine",
            "short" : "A.2-A.3 Ordine",
            "definition" : "A.2 Informazioni sull'ordine A.3 Motivo dell'ordine",
            "min" : 0,
            "max" : "*",
            "type" : [
              {
                "code" : "http://hl7.it/fhir/lab-report/StructureDefinition/Richiesta"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "DiagnosticReport.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/diagnosticreport-it-lab').basedOn.resolve()"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.campione",
            "path" : "RefertoLaboratorio.campione",
            "short" : "A.4 Informazioni sul campione",
            "definition" : "A.4 Informazioni sul campione",
            "min" : 0,
            "max" : "*",
            "type" : [
              {
                "code" : "http://hl7.it/fhir/lab-report/StructureDefinition/Campione"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "Observation.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/ObservationRefertoLabIt').specimen.resolve()"
              },
              {
                "identity" : "fhir",
                "map" : "DiagnosticReport.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/diagnosticreport-it-lab').specimen.resolve()"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.risultato",
            "path" : "RefertoLaboratorio.risultato",
            "short" : "A.5 Risultati dell'esame",
            "definition" : "A.5 Risultati dell'esame",
            "min" : 0,
            "max" : "*",
            "type" : [
              {
                "code" : "http://hl7.it/fhir/lab-report/StructureDefinition/Risultato"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "Composition.section:lab-no-subsections.entry.resolve()"
              },
              {
                "identity" : "fhir",
                "map" : "Composition.section:lab-subsections.section.entry.resolve()"
              },
              {
                "identity" : "fhir",
                "map" : "DiagnosticReport.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/diagnosticreport-it-lab').result.resolve()"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.organizer",
            "path" : "RefertoLaboratorio.organizer",
            "short" : "A.5 Batteria di esami",
            "definition" : "A.5 Batteria di esami",
            "min" : 0,
            "max" : "*",
            "type" : [
              {
                "code" : "http://hl7.it/fhir/lab-report/StructureDefinition/Organizer"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "Composition.section:lab-no-subsections.entry.resolve()"
              },
              {
                "identity" : "fhir",
                "map" : "Composition.section:lab-subsections.section.entry.resolve()"
              },
              {
                "identity" : "fhir",
                "map" : "DiagnosticReport.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/diagnosticreport-it-lab').result.resolve()"
              }
            ]
          },
          {
            "id" : "RefertoLaboratorio.organizer.risultato",
            "path" : "RefertoLaboratorio.organizer.risultato",
            "short" : "A.5 Risultati dell'esame",
            "definition" : "A.5 Risultati dell'esame",
            "min" : 1,
            "max" : "*",
            "type" : [
              {
                "code" : "http://hl7.it/fhir/lab-report/StructureDefinition/Risultato"
              }
            ],
            "mapping" : [
              {
                "identity" : "fhir",
                "map" : "Composition.section:lab-no-subsections.entry.resolve().hasMember()"
              },
              {
                "identity" : "fhir",
                "map" : "Composition.section:lab-subsections.section.entry.resolve().hasMember()"
              }
            ]
          }
        ]
      }
    }