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 - XML Profile

Active as of 2025-11-18

XML representation of the RefertoLaboratorio logical model.

Raw xml | Download

    <StructureDefinition xmlns="http://hl7.org/fhir">
      <id value="RefertoLaboratorio"/>
      <text>
        <status value="extensions"/>
        <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>
    <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>
    <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>
    <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>
    <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>
    <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>
    <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>
    <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>
    <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>
    <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>
    <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>
    <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>
    <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>
    <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>
    <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>
    <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>
    <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>
    <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>
    <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>
      </text>
      <url
           value="http://hl7.it/fhir/lab-report/StructureDefinition/RefertoLaboratorio"/>
      <version value="0.2.0"/>
      <name value="RefertoLaboratorio"/>
      <title value="A - Referto di Laboratorio"/>
      <status value="active"/>
      <date value="2025-11-18T15:38:51+00:00"/>
      <publisher value="HL7 Italia"/>
      <contact>
        <name value="HL7 Italia"/>
        <telecom>
          <system value="url"/>
          <value value="https://hl7.it"/>
        </telecom>
      </contact>
      <contact>
        <name value="HL7 Italia"/>
        <telecom>
          <system value="url"/>
          <value value="https://hl7.it"/>
        </telecom>
      </contact>
      <description value="Referto di Laboratorio."/>
      <jurisdiction>
        <coding>
          <system value="urn:iso:std:iso:3166"/>
          <code value="IT"/>
          <display value="Italy"/>
        </coding>
      </jurisdiction>
      <fhirVersion value="4.0.1"/>
      <mapping>
        <identity value="fhir"/>
        <uri value="hl7.org/fhir/r4"/>
        <name value="eHN Modello Logico RefertoLaboratorio - FHIR R4 Map"/>
      </mapping>
      <kind value="logical"/>
      <abstract value="false"/>
      <type
            value="http://hl7.it/fhir/lab-report/StructureDefinition/RefertoLaboratorio"/>
      <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Base"/>
      <derivation value="specialization"/>
      <snapshot>
        <extension
                   url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
          <valueString value="4.0.1"/>
        </extension>
        <element id="RefertoLaboratorio">
          <path value="RefertoLaboratorio"/>
          <short value="A - Referto di Laboratorio"/>
          <definition value="Referto di Laboratorio."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Base"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <isModifier value="false"/>
          <mapping>
            <identity value="fhir"/>
            <map
                 value="Bundle.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/bundle-it-lab')"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.header">
          <path value="RefertoLaboratorio.header"/>
          <short value="A.1 header del Referto di Laboratorio"/>
          <definition value="A.1 header del Referto di Laboratorio."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="RefertoLaboratorio.header"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="BackboneElement"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mapping>
            <identity value="fhir"/>
            <map
                 value="Composition.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/composition-it-lab')"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.header.id">
          <path value="RefertoLaboratorio.header.id"/>
          <representation value="xmlAttr"/>
          <short value="Unique id for inter-element referencing"/>
          <definition
                      value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
              <valueUrl value="string"/>
            </extension>
            <code value="http://hl7.org/fhirpath/System.String"/>
          </type>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.header.extension">
          <path value="RefertoLaboratorio.header.extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <description value="Extensions are always sliced by (at least) url"/>
            <rules value="open"/>
          </slicing>
          <short value="Additional content defined by implementations"/>
          <definition
                      value="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
                   value="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 value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <constraint>
            <key value="ext-1"/>
            <severity value="error"/>
            <human value="Must have either extensions or value[x], not both"/>
            <expression value="extension.exists() != value.exists()"/>
            <xpath
                   value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.header.modifierExtension">
          <path value="RefertoLaboratorio.header.modifierExtension"/>
          <short value="Extensions that cannot be ignored even if unrecognized"/>
          <definition
                      value="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.

    Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/>
          <comment
                   value="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
                        value="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 value="extensions"/>
          <alias value="user content"/>
          <alias value="modifiers"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="BackboneElement.modifierExtension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <constraint>
            <key value="ext-1"/>
            <severity value="error"/>
            <human value="Must have either extensions or value[x], not both"/>
            <expression value="extension.exists() != value.exists()"/>
            <xpath
                   value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
          </constraint>
          <isModifier value="true"/>
          <isModifierReason
                            value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.header.soggettoReferto">
          <path value="RefertoLaboratorio.header.soggettoReferto"/>
          <short
                 value="A.1.1 - A1.2 Paziente/Soggetto del Referto di Laboratorio"/>
          <definition
                      value="A.1.1 Identificativo del Paziente/Soggetto e A.1.2 relative informazioni sui contatti del Paziente/Soggetto"/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="RefertoLaboratorio.header.soggettoReferto"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.it/fhir/lab-report/StructureDefinition/SoggettoCura"/>
          </type>
          <mapping>
            <identity value="fhir"/>
            <map value="Composition.subject"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.header.destinatario">
          <path value="RefertoLaboratorio.header.destinatario"/>
          <short value="A.1.4 Destinatario delle informazioni"/>
          <definition
                      value="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 value="0"/>
          <max value="1"/>
          <base>
            <path value="RefertoLaboratorio.header.destinatario"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.it/fhir/lab-report/StructureDefinition/Destinatario"/>
          </type>
          <mapping>
            <identity value="fhir"/>
            <map
                 value=".extension('http://hl7.org/fhir/StructureDefinition/cqf-receivingOrganization')"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.header.autore">
          <path value="RefertoLaboratorio.header.autore"/>
          <short value="A.1.5 Autore"/>
          <definition
                      value="A.1.5 Autore (da cui è stato redatto il referto dei risultati di laboratorio o un sottoinsieme dei risultati)"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="RefertoLaboratorio.header.autore"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code
                  value="http://hl7.it/fhir/lab-report/StructureDefinition/Autore"/>
          </type>
          <mapping>
            <identity value="fhir"/>
            <map value="Composition.author"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.header.firmatario">
          <path value="RefertoLaboratorio.header.firmatario"/>
          <short value="A.1.6 Firmatario del documento"/>
          <definition
                      value="A.1.6 Firmatario del documento (La persona che si assume la responsabilità di validare a livello legale il contenuto del documento)"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="RefertoLaboratorio.header.firmatario"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code
                  value="http://hl7.it/fhir/lab-report/StructureDefinition/Firmatario"/>
          </type>
          <mapping>
            <identity value="fhir"/>
            <map
                 value="Composition.attester.where(mode=http://hl7.org/fhir/composition-attestation-mode#legal)"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.header.validatore">
          <path value="RefertoLaboratorio.header.validatore"/>
          <short value="A.1.7 Validatore del documento"/>
          <definition value="A.1.7 Validatore del documento"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="RefertoLaboratorio.header.validatore"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code
                  value="http://hl7.it/fhir/lab-report/StructureDefinition/Validatore"/>
          </type>
          <mapping>
            <identity value="fhir"/>
            <map
                 value="Composition.attester.where(mode=http://hl7.org/fhir/composition-attestation-mode#professional)"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.header.metadati">
          <path value="RefertoLaboratorio.header.metadati"/>
          <short value="A.1.8 Metadata del Referto di Laboratorio"/>
          <definition value="A.1.8 Metadata del Referto di Laboratorio"/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="RefertoLaboratorio.header.metadati"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="BackboneElement"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mapping>
            <identity value="fhir"/>
            <map value="Composition"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.header.metadati.id">
          <path value="RefertoLaboratorio.header.metadati.id"/>
          <representation value="xmlAttr"/>
          <short value="Unique id for inter-element referencing"/>
          <definition
                      value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
              <valueUrl value="string"/>
            </extension>
            <code value="http://hl7.org/fhirpath/System.String"/>
          </type>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.header.metadati.extension">
          <path value="RefertoLaboratorio.header.metadati.extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <description value="Extensions are always sliced by (at least) url"/>
            <rules value="open"/>
          </slicing>
          <short value="Additional content defined by implementations"/>
          <definition
                      value="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
                   value="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 value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <constraint>
            <key value="ext-1"/>
            <severity value="error"/>
            <human value="Must have either extensions or value[x], not both"/>
            <expression value="extension.exists() != value.exists()"/>
            <xpath
                   value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.header.metadati.modifierExtension">
          <path value="RefertoLaboratorio.header.metadati.modifierExtension"/>
          <short value="Extensions that cannot be ignored even if unrecognized"/>
          <definition
                      value="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.

    Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/>
          <comment
                   value="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
                        value="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 value="extensions"/>
          <alias value="user content"/>
          <alias value="modifiers"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="BackboneElement.modifierExtension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <constraint>
            <key value="ext-1"/>
            <severity value="error"/>
            <human value="Must have either extensions or value[x], not both"/>
            <expression value="extension.exists() != value.exists()"/>
            <xpath
                   value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
          </constraint>
          <isModifier value="true"/>
          <isModifierReason
                            value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.header.metadati.tipo">
          <path value="RefertoLaboratorio.header.metadati.tipo"/>
          <short value="A.1.8.1 Tipo di documento"/>
          <definition
                      value="Codice che identifica il tipo di documento. Valore fisso &quot;&quot;Referto di medicina di laboratorio&quot;&quot; - Dizionario di codifica: LOINC"/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="RefertoLaboratorio.header.metadati.tipo"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <mapping>
            <identity value="fhir"/>
            <map value="Composition.type"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.header.metadati.stato">
          <path value="RefertoLaboratorio.header.metadati.stato"/>
          <short value="A.1.8.2 Stato del Referto"/>
          <definition
                      value="Stato del Referto . Ad esempio, preliminare, finale. - Sistema di Codifica: hl7:DiagnosticReportStatus"/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="RefertoLaboratorio.header.metadati.stato"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <mapping>
            <identity value="fhir"/>
            <map value="Composition.status"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.header.metadati.data">
          <path value="RefertoLaboratorio.header.metadati.data"/>
          <short value="A.1.8.3 Data e ora della creazione del referto"/>
          <definition
                      value="Data e ora della creazione del report dei risultati. - Sistema di Codifica: ISO 8601"/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="RefertoLaboratorio.header.metadati.data"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="dateTime"/>
          </type>
          <mapping>
            <identity value="fhir"/>
            <map value="Bundle.timestamp"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.header.metadati.titolo">
          <path value="RefertoLaboratorio.header.metadati.titolo"/>
          <short value="A.1.8.4 Titolo del documento"/>
          <definition
                      value="Titolo del documento, ad esempio &quot;&quot;Rapporto sui risultati di laboratorio&quot;&quot; - Sistema di Codifica:"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="RefertoLaboratorio.header.metadati.titolo"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="fhir"/>
            <map value="Composition.title"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.header.metadati.custode">
          <path value="RefertoLaboratorio.header.metadati.custode"/>
          <short value="A.1.8.5 Custode del referto"/>
          <definition
                      value="Organizzazione incaricata della conservazione del referto di laboratorio - Sistema di Codifica:"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="RefertoLaboratorio.header.metadati.custode"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="BackboneElement"/>
          </type>
          <mapping>
            <identity value="fhir"/>
            <map value="Composition.custodian"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.ordine">
          <path value="RefertoLaboratorio.ordine"/>
          <short value="A.2-A.3 Ordine"/>
          <definition
                      value="A.2 Informazioni sull'ordine A.3 Motivo dell'ordine"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="RefertoLaboratorio.ordine"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code
                  value="http://hl7.it/fhir/lab-report/StructureDefinition/Richiesta"/>
          </type>
          <mapping>
            <identity value="fhir"/>
            <map
                 value="DiagnosticReport.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/diagnosticreport-it-lab').basedOn.resolve()"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.campione">
          <path value="RefertoLaboratorio.campione"/>
          <short value="A.4 Informazioni sul campione"/>
          <definition value="A.4 Informazioni sul campione"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="RefertoLaboratorio.campione"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code
                  value="http://hl7.it/fhir/lab-report/StructureDefinition/Campione"/>
          </type>
          <mapping>
            <identity value="fhir"/>
            <map
                 value="Observation.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/ObservationRefertoLabIt').specimen.resolve()"/>
          </mapping>
          <mapping>
            <identity value="fhir"/>
            <map
                 value="DiagnosticReport.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/diagnosticreport-it-lab').specimen.resolve()"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.risultato">
          <path value="RefertoLaboratorio.risultato"/>
          <short value="A.5 Risultati dell'esame"/>
          <definition value="A.5 Risultati dell'esame"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="RefertoLaboratorio.risultato"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code
                  value="http://hl7.it/fhir/lab-report/StructureDefinition/Risultato"/>
          </type>
          <mapping>
            <identity value="fhir"/>
            <map value="Composition.section:lab-no-subsections.entry.resolve()"/>
          </mapping>
          <mapping>
            <identity value="fhir"/>
            <map
                 value="Composition.section:lab-subsections.section.entry.resolve()"/>
          </mapping>
          <mapping>
            <identity value="fhir"/>
            <map
                 value="DiagnosticReport.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/diagnosticreport-it-lab').result.resolve()"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.organizer">
          <path value="RefertoLaboratorio.organizer"/>
          <short value="A.5 Batteria di esami"/>
          <definition value="A.5 Batteria di esami"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="RefertoLaboratorio.organizer"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code
                  value="http://hl7.it/fhir/lab-report/StructureDefinition/Organizer"/>
          </type>
          <mapping>
            <identity value="fhir"/>
            <map value="Composition.section:lab-no-subsections.entry.resolve()"/>
          </mapping>
          <mapping>
            <identity value="fhir"/>
            <map
                 value="Composition.section:lab-subsections.section.entry.resolve()"/>
          </mapping>
          <mapping>
            <identity value="fhir"/>
            <map
                 value="DiagnosticReport.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/diagnosticreport-it-lab').result.resolve()"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.organizer.osservazione">
          <path value="RefertoLaboratorio.organizer.osservazione"/>
          <short value="A.5.2 Dettagli dell'osservazione"/>
          <definition
                      value="A.5.2 Dettagli dell'osservazione (il rapporto può consistere di più osservazioni)"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Organizer.osservazione"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="BackboneElement"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mapping>
            <identity value="fhir"/>
            <map value="Observation.hasMember.resolve()"/>
          </mapping>
          <mapping>
            <identity value="fhir"/>
            <map value="Observation.component"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.organizer.osservazione.id">
          <path value="RefertoLaboratorio.organizer.osservazione.id"/>
          <representation value="xmlAttr"/>
          <short value="Unique id for inter-element referencing"/>
          <definition
                      value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
              <valueUrl value="string"/>
            </extension>
            <code value="http://hl7.org/fhirpath/System.String"/>
          </type>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.organizer.osservazione.extension">
          <path value="RefertoLaboratorio.organizer.osservazione.extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <description value="Extensions are always sliced by (at least) url"/>
            <rules value="open"/>
          </slicing>
          <short value="Additional content defined by implementations"/>
          <definition
                      value="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
                   value="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 value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <constraint>
            <key value="ext-1"/>
            <severity value="error"/>
            <human value="Must have either extensions or value[x], not both"/>
            <expression value="extension.exists() != value.exists()"/>
            <xpath
                   value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element
                 id="RefertoLaboratorio.organizer.osservazione.modifierExtension">
          <path
                value="RefertoLaboratorio.organizer.osservazione.modifierExtension"/>
          <short value="Extensions that cannot be ignored even if unrecognized"/>
          <definition
                      value="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.

    Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/>
          <comment
                   value="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
                        value="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 value="extensions"/>
          <alias value="user content"/>
          <alias value="modifiers"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="BackboneElement.modifierExtension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <constraint>
            <key value="ext-1"/>
            <severity value="error"/>
            <human value="Must have either extensions or value[x], not both"/>
            <expression value="extension.exists() != value.exists()"/>
            <xpath
                   value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
          </constraint>
          <isModifier value="true"/>
          <isModifierReason
                            value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.organizer.osservazione.data">
          <path value="RefertoLaboratorio.organizer.osservazione.data"/>
          <short value="A.5.2.1 Data dell'osservazione"/>
          <definition
                      value="Data e ora dell'osservazione - Sistema di codifica: ISO 8601"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Organizer.osservazione.data"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <mapping>
            <identity value="fhir"/>
            <map value="Observation.effective[x]"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.organizer.osservazione.codice">
          <path value="RefertoLaboratorio.organizer.osservazione.codice"/>
          <short value="A.5.2.3 Codice dell'osservazione"/>
          <definition
                      value="Codice che rappresenta l'osservazione utilizzando i sistemi di codici concordati.
    - Sistema/i preferito/i: LOINC
      - Sistema/i preferito/i: NPU
      - Sistema/i preferito/i: SNOMED CT"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Organizer.osservazione.codice"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <mapping>
            <identity value="fhir"/>
            <map value="Observation.code"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.organizer.osservazione.risultato">
          <path value="RefertoLaboratorio.organizer.osservazione.risultato"/>
          <short value="A.5.2.11 Risultato dell'osservazione"/>
          <definition
                      value="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.
    - Sistema/i preferito/i: SNOMED CT (per i risultati in scala ordinale o nominale e codifica dei risultati)
    - Sistema/i preferito/i: UCUM (per unità)"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Organizer.osservazione.risultato"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="BackboneElement"/>
          </type>
          <mapping>
            <identity value="fhir"/>
            <map value="Observation.value[x]"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.organizer.risultato">
          <path value="RefertoLaboratorio.organizer.risultato"/>
          <short value="A.5 Risultati dell'esame"/>
          <definition value="A.5 Risultati dell'esame"/>
          <min value="1"/>
          <max value="*"/>
          <base>
            <path value="RefertoLaboratorio.organizer.risultato"/>
            <min value="1"/>
            <max value="*"/>
          </base>
          <type>
            <code
                  value="http://hl7.it/fhir/lab-report/StructureDefinition/Risultato"/>
          </type>
          <mapping>
            <identity value="fhir"/>
            <map
                 value="Composition.section:lab-no-subsections.entry.resolve().hasMember()"/>
          </mapping>
          <mapping>
            <identity value="fhir"/>
            <map
                 value="Composition.section:lab-subsections.section.entry.resolve().hasMember()"/>
          </mapping>
        </element>
      </snapshot>
      <differential>
        <element id="RefertoLaboratorio">
          <path value="RefertoLaboratorio"/>
          <short value="A - Referto di Laboratorio"/>
          <definition value="Referto di Laboratorio."/>
          <mapping>
            <identity value="fhir"/>
            <map
                 value="Bundle.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/bundle-it-lab')"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.header">
          <path value="RefertoLaboratorio.header"/>
          <short value="A.1 header del Referto di Laboratorio"/>
          <definition value="A.1 header del Referto di Laboratorio."/>
          <min value="1"/>
          <max value="1"/>
          <type>
            <code value="BackboneElement"/>
          </type>
          <mapping>
            <identity value="fhir"/>
            <map
                 value="Composition.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/composition-it-lab')"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.header.soggettoReferto">
          <path value="RefertoLaboratorio.header.soggettoReferto"/>
          <short
                 value="A.1.1 - A1.2 Paziente/Soggetto del Referto di Laboratorio"/>
          <definition
                      value="A.1.1 Identificativo del Paziente/Soggetto e A.1.2 relative informazioni sui contatti del Paziente/Soggetto "/>
          <min value="1"/>
          <max value="1"/>
          <type>
            <code
                  value="http://hl7.it/fhir/lab-report/StructureDefinition/SoggettoCura"/>
          </type>
          <mapping>
            <identity value="fhir"/>
            <map value="Composition.subject"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.header.destinatario">
          <path value="RefertoLaboratorio.header.destinatario"/>
          <short value="A.1.4 Destinatario delle informazioni"/>
          <definition
                      value="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 value="0"/>
          <max value="1"/>
          <type>
            <code
                  value="http://hl7.it/fhir/lab-report/StructureDefinition/Destinatario"/>
          </type>
          <mapping>
            <identity value="fhir"/>
            <map
                 value=".extension('http://hl7.org/fhir/StructureDefinition/cqf-receivingOrganization')"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.header.autore">
          <path value="RefertoLaboratorio.header.autore"/>
          <short value="A.1.5 Autore"/>
          <definition
                      value="A.1.5 Autore (da cui è stato redatto il referto dei risultati di laboratorio o un sottoinsieme dei risultati)"/>
          <min value="0"/>
          <max value="*"/>
          <type>
            <code
                  value="http://hl7.it/fhir/lab-report/StructureDefinition/Autore"/>
          </type>
          <mapping>
            <identity value="fhir"/>
            <map value="Composition.author"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.header.firmatario">
          <path value="RefertoLaboratorio.header.firmatario"/>
          <short value="A.1.6 Firmatario del documento"/>
          <definition
                      value="A.1.6 Firmatario del documento (La persona che si assume la responsabilità di validare a livello legale il contenuto del documento)"/>
          <min value="0"/>
          <max value="*"/>
          <type>
            <code
                  value="http://hl7.it/fhir/lab-report/StructureDefinition/Firmatario"/>
          </type>
          <mapping>
            <identity value="fhir"/>
            <map
                 value="Composition.attester.where(mode=http://hl7.org/fhir/composition-attestation-mode#legal)"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.header.validatore">
          <path value="RefertoLaboratorio.header.validatore"/>
          <short value="A.1.7 Validatore del documento"/>
          <definition value="A.1.7 Validatore del documento"/>
          <min value="0"/>
          <max value="*"/>
          <type>
            <code
                  value="http://hl7.it/fhir/lab-report/StructureDefinition/Validatore"/>
          </type>
          <mapping>
            <identity value="fhir"/>
            <map
                 value="Composition.attester.where(mode=http://hl7.org/fhir/composition-attestation-mode#professional)"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.header.metadati">
          <path value="RefertoLaboratorio.header.metadati"/>
          <short value="A.1.8 Metadata del Referto di Laboratorio"/>
          <definition value="A.1.8 Metadata del Referto di Laboratorio"/>
          <min value="1"/>
          <max value="1"/>
          <type>
            <code value="BackboneElement"/>
          </type>
          <mapping>
            <identity value="fhir"/>
            <map value="Composition"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.header.metadati.tipo">
          <path value="RefertoLaboratorio.header.metadati.tipo"/>
          <short value="A.1.8.1 Tipo di documento"/>
          <definition
                      value="Codice che identifica il tipo di documento. Valore fisso &quot;&quot;Referto di medicina di laboratorio&quot;&quot; - Dizionario di codifica: LOINC"/>
          <min value="1"/>
          <max value="1"/>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <mapping>
            <identity value="fhir"/>
            <map value="Composition.type"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.header.metadati.stato">
          <path value="RefertoLaboratorio.header.metadati.stato"/>
          <short value="A.1.8.2 Stato del Referto"/>
          <definition
                      value="Stato del Referto . Ad esempio, preliminare, finale. - Sistema di Codifica: hl7:DiagnosticReportStatus"/>
          <min value="1"/>
          <max value="1"/>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <mapping>
            <identity value="fhir"/>
            <map value="Composition.status"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.header.metadati.data">
          <path value="RefertoLaboratorio.header.metadati.data"/>
          <short value="A.1.8.3 Data e ora della creazione del referto"/>
          <definition
                      value="Data e ora della creazione del report dei risultati. - Sistema di Codifica: ISO 8601"/>
          <min value="1"/>
          <max value="1"/>
          <type>
            <code value="dateTime"/>
          </type>
          <mapping>
            <identity value="fhir"/>
            <map value="Bundle.timestamp"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.header.metadati.titolo">
          <path value="RefertoLaboratorio.header.metadati.titolo"/>
          <short value="A.1.8.4 Titolo del documento"/>
          <definition
                      value="Titolo del documento, ad esempio &quot;&quot;Rapporto sui risultati di laboratorio&quot;&quot; - Sistema di Codifica: "/>
          <min value="0"/>
          <max value="1"/>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="fhir"/>
            <map value="Composition.title"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.header.metadati.custode">
          <path value="RefertoLaboratorio.header.metadati.custode"/>
          <short value="A.1.8.5 Custode del referto"/>
          <definition
                      value="Organizzazione incaricata della conservazione del referto di laboratorio - Sistema di Codifica: "/>
          <min value="0"/>
          <max value="1"/>
          <type>
            <code value="BackboneElement"/>
          </type>
          <mapping>
            <identity value="fhir"/>
            <map value="Composition.custodian"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.ordine">
          <path value="RefertoLaboratorio.ordine"/>
          <short value="A.2-A.3 Ordine"/>
          <definition
                      value="A.2 Informazioni sull'ordine A.3 Motivo dell'ordine"/>
          <min value="0"/>
          <max value="*"/>
          <type>
            <code
                  value="http://hl7.it/fhir/lab-report/StructureDefinition/Richiesta"/>
          </type>
          <mapping>
            <identity value="fhir"/>
            <map
                 value="DiagnosticReport.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/diagnosticreport-it-lab').basedOn.resolve()"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.campione">
          <path value="RefertoLaboratorio.campione"/>
          <short value="A.4 Informazioni sul campione"/>
          <definition value="A.4 Informazioni sul campione"/>
          <min value="0"/>
          <max value="*"/>
          <type>
            <code
                  value="http://hl7.it/fhir/lab-report/StructureDefinition/Campione"/>
          </type>
          <mapping>
            <identity value="fhir"/>
            <map
                 value="Observation.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/ObservationRefertoLabIt').specimen.resolve()"/>
          </mapping>
          <mapping>
            <identity value="fhir"/>
            <map
                 value="DiagnosticReport.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/diagnosticreport-it-lab').specimen.resolve()"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.risultato">
          <path value="RefertoLaboratorio.risultato"/>
          <short value="A.5 Risultati dell'esame"/>
          <definition value="A.5 Risultati dell'esame"/>
          <min value="0"/>
          <max value="*"/>
          <type>
            <code
                  value="http://hl7.it/fhir/lab-report/StructureDefinition/Risultato"/>
          </type>
          <mapping>
            <identity value="fhir"/>
            <map value="Composition.section:lab-no-subsections.entry.resolve()"/>
          </mapping>
          <mapping>
            <identity value="fhir"/>
            <map
                 value="Composition.section:lab-subsections.section.entry.resolve()"/>
          </mapping>
          <mapping>
            <identity value="fhir"/>
            <map
                 value="DiagnosticReport.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/diagnosticreport-it-lab').result.resolve()"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.organizer">
          <path value="RefertoLaboratorio.organizer"/>
          <short value="A.5 Batteria di esami"/>
          <definition value="A.5 Batteria di esami"/>
          <min value="0"/>
          <max value="*"/>
          <type>
            <code
                  value="http://hl7.it/fhir/lab-report/StructureDefinition/Organizer"/>
          </type>
          <mapping>
            <identity value="fhir"/>
            <map value="Composition.section:lab-no-subsections.entry.resolve()"/>
          </mapping>
          <mapping>
            <identity value="fhir"/>
            <map
                 value="Composition.section:lab-subsections.section.entry.resolve()"/>
          </mapping>
          <mapping>
            <identity value="fhir"/>
            <map
                 value="DiagnosticReport.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/diagnosticreport-it-lab').result.resolve()"/>
          </mapping>
        </element>
        <element id="RefertoLaboratorio.organizer.risultato">
          <path value="RefertoLaboratorio.organizer.risultato"/>
          <short value="A.5 Risultati dell'esame"/>
          <definition value="A.5 Risultati dell'esame"/>
          <min value="1"/>
          <max value="*"/>
          <type>
            <code
                  value="http://hl7.it/fhir/lab-report/StructureDefinition/Risultato"/>
          </type>
          <mapping>
            <identity value="fhir"/>
            <map
                 value="Composition.section:lab-no-subsections.entry.resolve().hasMember()"/>
          </mapping>
          <mapping>
            <identity value="fhir"/>
            <map
                 value="Composition.section:lab-subsections.section.entry.resolve().hasMember()"/>
          </mapping>
        </element>
      </differential>
    </StructureDefinition>