HL7 Italia FHIR Implementation Guide (base)
0.1.1 - CI Build IT

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

## Logical Model: ContattoPersona - XML Profile

Draft as of 2025-11-18

XML representation of the ContattoPersona logical model.

Raw xml | Download

    <StructureDefinition xmlns="http://hl7.org/fhir">
      <id value="ContattoPersona"/>
      <text>
        <status value="extensions"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: DefinizioneStruttura ContattoPersona</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-ContattoPersona-definitions.html#ContattoPersona" title="Modello Logico che definisce il set di dati che caratterizzano i documenti di Identificazione (e.g. Passaporto, CI)">ContattoPersona</a><a name="ContattoPersona"> </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="http://hl7.org/fhir/R4/datatypes.html#Element">Element</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">This is an abstract type. <br/>ContattoPersona<br/><br/>Elements defined in Ancestors:<a href="http://hl7.org/fhir/R4/datatypes.html#Element" title="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.">@id</a>, <a href="http://hl7.org/fhir/R4/datatypes.html#Element" title="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.">extension</a><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_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-ContattoPersona-definitions.html#ContattoPersona.nome" title="Nome del Contatto">nome</a><a name="ContattoPersona.nome"> </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="http://hl7.org/fhir/R4/datatypes.html#HumanName" title="HumanName">HumanName</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">Nome del Contatto<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_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-ContattoPersona-definitions.html#ContattoPersona.tipoRelazione" title="Tipo di relazione fra contatto e paziente (e.g. parente, amico, tutore)">tipoRelazione</a><a name="ContattoPersona.tipoRelazione"> </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="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept" title="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">Tipo di relazione fra contatto e paziente (e.g. parente, amico, tutore)<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-ContattoPersona-definitions.html#ContattoPersona.indirizzo" title="Indirizzo del contatto">indirizzo</a><a name="ContattoPersona.indirizzo"> </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-Indirizzo.html">Indirizzo</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">Indirizzo del contatto<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_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-ContattoPersona-definitions.html#ContattoPersona.recapiti" title="Recapiti del paziente (telecom)">recapiti</a><a name="ContattoPersona.recapiti"> </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="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">Recapiti (telecom)<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_bck010.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.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-ContattoPersona-definitions.html#ContattoPersona.recapiti.telefono" title="telefono">telefono</a><a name="ContattoPersona.recapiti.telefono"> </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="http://hl7.org/fhir/R4/metadatatypes.html#ContactDetail" title="ContactDetail">ContactDetail</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">telefono<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_bck010.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.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-ContattoPersona-definitions.html#ContattoPersona.recapiti.eMail" title="eMail">eMail</a><a name="ContattoPersona.recapiti.eMail"> </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="http://hl7.org/fhir/R4/metadatatypes.html#ContactDetail" title="ContactDetail">ContactDetail</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">eMail<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_bck010.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.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-ContattoPersona-definitions.html#ContattoPersona.recapiti.pec" title="pec">pec</a><a name="ContattoPersona.recapiti.pec"> </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="http://hl7.org/fhir/R4/metadatatypes.html#ContactDetail" title="ContactDetail">ContactDetail</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">pec<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_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_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-ContattoPersona-definitions.html#ContattoPersona.recapiti.cellulare" title="Cellulare">cellulare</a><a name="ContattoPersona.recapiti.cellulare"> </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="http://hl7.org/fhir/R4/metadatatypes.html#ContactDetail" title="ContactDetail">ContactDetail</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">Cellulare<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/StructureDefinition/ContattoPersona"/>
      <version value="0.1.1"/>
      <name value="ContattoPersona"/>
      <title value="Persona di Contatto"/>
      <status value="draft"/>
      <experimental value="true"/>
      <date value="2025-11-18T14:18:52+00:00"/>
      <publisher value="HL7 Italia"/>
      <contact>
        <telecom>
          <system value="url"/>
          <value value="http://hl7.it"/>
        </telecom>
      </contact>
      <description
                   value="Modello Logico che definisce il set di dati che caratterizzano una persona identificato come possibile contatto per il paziente."/>
      <jurisdiction>
        <coding>
          <system value="urn:iso:std:iso:3166"/>
          <code value="IT"/>
        </coding>
      </jurisdiction>
      <fhirVersion value="4.0.1"/>
      <mapping>
        <identity value="fhir-it"/>
        <uri value="http://hl7.it/fhir"/>
        <name value="HL7 FHIR IT Profiles"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <uri value="http://hl7.org/v3"/>
        <name value="RIM Mapping"/>
      </mapping>
      <kind value="logical"/>
      <abstract value="true"/>
      <type value="ContattoPersona"/>
      <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Element"/>
      <derivation value="specialization"/>
      <snapshot>
        <extension
                   url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
          <valueString value="4.0.1"/>
        </extension>
        <element id="ContattoPersona">
          <path value="ContattoPersona"/>
          <short value="ContattoPersona"/>
          <definition
                      value="Modello Logico che definisce il set di dati che caratterizzano i documenti di Identificazione (e.g. Passaporto, CI)"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <condition value="ele-1"/>
          <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>
          <isModifier value="false"/>
          <mapping>
            <identity value="fhir-it"/>
            <map value="Patient.contact"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="ContattoPersona.id">
          <path value="ContattoPersona.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="ContattoPersona.extension">
          <path value="ContattoPersona.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="ContattoPersona.nome">
          <path value="ContattoPersona.nome"/>
          <short value="Nome del Contatto"/>
          <definition value="Nome del Contatto"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="ContattoPersona.nome"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="HumanName"/>
            <profile value="http://hl7.org/fhir/StructureDefinition/HumanName"/>
          </type>
          <mapping>
            <identity value="fhir-it"/>
            <map value="Patient.contact.name"/>
          </mapping>
        </element>
        <element id="ContattoPersona.tipoRelazione">
          <path value="ContattoPersona.tipoRelazione"/>
          <short
                 value="Tipo di relazione fra contatto e paziente (e.g. parente, amico, tutore)"/>
          <definition
                      value="Tipo di relazione fra contatto e paziente (e.g. parente, amico, tutore)"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="ContattoPersona.tipoRelazione"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
            <profile
                     value="http://hl7.org/fhir/StructureDefinition/CodeableConcept"/>
          </type>
          <mapping>
            <identity value="fhir-it"/>
            <map value="Patient.contact.relationship"/>
          </mapping>
        </element>
        <element id="ContattoPersona.indirizzo">
          <path value="ContattoPersona.indirizzo"/>
          <short value="Indirizzo del contatto"/>
          <definition value="Indirizzo del contatto"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="ContattoPersona.indirizzo"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="http://hl7.it/fhir/StructureDefinition/Indirizzo"/>
          </type>
          <mapping>
            <identity value="fhir-it"/>
            <map value="Patient.contact.address"/>
          </mapping>
        </element>
        <element id="ContattoPersona.recapiti">
          <path value="ContattoPersona.recapiti"/>
          <short value="Recapiti (telecom)"/>
          <definition value="Recapiti del paziente (telecom)"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="ContattoPersona.recapiti"/>
            <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-it"/>
            <map value="Patient.contact.telecom"/>
          </mapping>
        </element>
        <element id="ContattoPersona.recapiti.id">
          <path value="ContattoPersona.recapiti.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="ContattoPersona.recapiti.extension">
          <path value="ContattoPersona.recapiti.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="ContattoPersona.recapiti.modifierExtension">
          <path value="ContattoPersona.recapiti.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="ContattoPersona.recapiti.telefono">
          <path value="ContattoPersona.recapiti.telefono"/>
          <short value="telefono"/>
          <definition value="telefono"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="ContattoPersona.recapiti.telefono"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="ContactDetail"/>
            <profile
                     value="http://hl7.org/fhir/StructureDefinition/ContactDetail"/>
          </type>
          <mapping>
            <identity value="fhir-it"/>
            <map value="Patient.contact.telecom.where(system = 'phone')"/>
          </mapping>
        </element>
        <element id="ContattoPersona.recapiti.eMail">
          <path value="ContattoPersona.recapiti.eMail"/>
          <short value="eMail"/>
          <definition value="eMail"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="ContattoPersona.recapiti.eMail"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="ContactDetail"/>
            <profile
                     value="http://hl7.org/fhir/StructureDefinition/ContactDetail"/>
          </type>
          <mapping>
            <identity value="fhir-it"/>
            <map value="Patient.contact.telecom.where(system = 'email')"/>
          </mapping>
        </element>
        <element id="ContattoPersona.recapiti.pec">
          <path value="ContattoPersona.recapiti.pec"/>
          <short value="pec"/>
          <definition value="pec"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="ContattoPersona.recapiti.pec"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="ContactDetail"/>
            <profile
                     value="http://hl7.org/fhir/StructureDefinition/ContactDetail"/>
          </type>
          <mapping>
            <identity value="fhir-it"/>
            <map value="Patient.contact.telecom.where(system = 'email')"/>
          </mapping>
        </element>
        <element id="ContattoPersona.recapiti.cellulare">
          <path value="ContattoPersona.recapiti.cellulare"/>
          <short value="Cellulare"/>
          <definition value="Cellulare"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="ContattoPersona.recapiti.cellulare"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="ContactDetail"/>
            <profile
                     value="http://hl7.org/fhir/StructureDefinition/ContactDetail"/>
          </type>
          <mapping>
            <identity value="fhir-it"/>
            <map value="Patient.contact.telecom.where(system = 'mobile')"/>
          </mapping>
        </element>
      </snapshot>
      <differential>
        <element id="ContattoPersona">
          <path value="ContattoPersona"/>
          <short value="ContattoPersona"/>
          <definition
                      value="Modello Logico che definisce il set di dati che caratterizzano i documenti di Identificazione (e.g. Passaporto, CI)"/>
          <min value="0"/>
          <max value="*"/>
          <mapping>
            <identity value="fhir-it"/>
            <map value="Patient.contact"/>
          </mapping>
        </element>
        <element id="ContattoPersona.nome">
          <path value="ContattoPersona.nome"/>
          <short value="Nome del Contatto"/>
          <definition value="Nome del Contatto"/>
          <min value="0"/>
          <max value="*"/>
          <type>
            <code value="HumanName"/>
            <profile value="http://hl7.org/fhir/StructureDefinition/HumanName"/>
          </type>
          <mapping>
            <identity value="fhir-it"/>
            <map value="Patient.contact.name"/>
          </mapping>
        </element>
        <element id="ContattoPersona.tipoRelazione">
          <path value="ContattoPersona.tipoRelazione"/>
          <short
                 value="Tipo di relazione fra contatto e paziente (e.g. parente, amico, tutore)"/>
          <definition
                      value="Tipo di relazione fra contatto e paziente (e.g. parente, amico, tutore)"/>
          <min value="0"/>
          <max value="*"/>
          <type>
            <code value="CodeableConcept"/>
            <profile
                     value="http://hl7.org/fhir/StructureDefinition/CodeableConcept"/>
          </type>
          <mapping>
            <identity value="fhir-it"/>
            <map value="Patient.contact.relationship"/>
          </mapping>
        </element>
        <element id="ContattoPersona.indirizzo">
          <path value="ContattoPersona.indirizzo"/>
          <short value="Indirizzo del contatto"/>
          <definition value="Indirizzo del contatto"/>
          <min value="0"/>
          <max value="*"/>
          <type>
            <code value="http://hl7.it/fhir/StructureDefinition/Indirizzo"/>
          </type>
          <mapping>
            <identity value="fhir-it"/>
            <map value="Patient.contact.address"/>
          </mapping>
        </element>
        <element id="ContattoPersona.recapiti">
          <path value="ContattoPersona.recapiti"/>
          <short value="Recapiti (telecom)"/>
          <definition value="Recapiti del paziente (telecom)"/>
          <min value="0"/>
          <max value="*"/>
          <type>
            <code value="BackboneElement"/>
          </type>
          <mapping>
            <identity value="fhir-it"/>
            <map value="Patient.contact.telecom"/>
          </mapping>
        </element>
        <element id="ContattoPersona.recapiti.telefono">
          <path value="ContattoPersona.recapiti.telefono"/>
          <short value="telefono"/>
          <definition value="telefono"/>
          <min value="0"/>
          <max value="*"/>
          <type>
            <code value="ContactDetail"/>
            <profile
                     value="http://hl7.org/fhir/StructureDefinition/ContactDetail"/>
          </type>
          <mapping>
            <identity value="fhir-it"/>
            <map value="Patient.contact.telecom.where(system = 'phone')"/>
          </mapping>
        </element>
        <element id="ContattoPersona.recapiti.eMail">
          <path value="ContattoPersona.recapiti.eMail"/>
          <short value="eMail"/>
          <definition value="eMail"/>
          <min value="0"/>
          <max value="*"/>
          <type>
            <code value="ContactDetail"/>
            <profile
                     value="http://hl7.org/fhir/StructureDefinition/ContactDetail"/>
          </type>
          <mapping>
            <identity value="fhir-it"/>
            <map value="Patient.contact.telecom.where(system = 'email')"/>
          </mapping>
        </element>
        <element id="ContattoPersona.recapiti.pec">
          <path value="ContattoPersona.recapiti.pec"/>
          <short value="pec"/>
          <definition value="pec"/>
          <min value="0"/>
          <max value="*"/>
          <type>
            <code value="ContactDetail"/>
            <profile
                     value="http://hl7.org/fhir/StructureDefinition/ContactDetail"/>
          </type>
          <mapping>
            <identity value="fhir-it"/>
            <map value="Patient.contact.telecom.where(system = 'email')"/>
          </mapping>
        </element>
        <element id="ContattoPersona.recapiti.cellulare">
          <path value="ContattoPersona.recapiti.cellulare"/>
          <short value="Cellulare"/>
          <definition value="Cellulare"/>
          <min value="0"/>
          <max value="*"/>
          <type>
            <code value="ContactDetail"/>
            <profile
                     value="http://hl7.org/fhir/StructureDefinition/ContactDetail"/>
          </type>
          <mapping>
            <identity value="fhir-it"/>
            <map value="Patient.contact.telecom.where(system = 'mobile')"/>
          </mapping>
        </element>
      </differential>
    </StructureDefinition>