<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="https://eng.it/fhir/StructureDefinition/CodeSystem_EsenzioniFarmaci" />
  <name value="CodeSystem_EsenzioniFarmaci" />
  <status value="draft" />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="CodeSystem" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/CodeSystem" />
  <derivation value="constraint" />
  <differential>
    <element id="CodeSystem.text">
      <path value="CodeSystem.text" />
      <short value="Text summary of the resource, for human interpretation." />
    </element>
    <element id="CodeSystem.url">
      <path value="CodeSystem.url" />
      <fixedUri value="http://cct.eng.it/FHIR/schema/esenzioni_farmaci" />
    </element>
    <element id="CodeSystem.copyright">
      <path value="CodeSystem.copyright" />
      <comment value="Systems are not required to have markdown support, so the text should be readable without markdown processing. The markdown syntax is GFM - see https://github.github.com/gfm/&#xD;&#xA; Sometimes, the copyright differs between the code system and the codes that are included. The copyright statement should clearly differentiate between these when required.&#xD;&#xA; Sometimes, the copyright differs between the code system and the codes that are included. The copyright statement should clearly differentiate between these when required.&#xD;&#xA; Sometimes, the copyright differs between the code system and the codes that are included. The copyright statement should clearly differentiate between these when required." />
    </element>
    <element id="CodeSystem.property">
      <path value="CodeSystem.property" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="code" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="Informazioni aggiuntive fornite per ogni concetto" />
      <definition value="Una proprietà definisce uno slot aggiuntivo attraverso il quale si possono fornire informazioni supplementari su un concetto." />
    </element>
    <element id="CodeSystem.property:codice_esenzione">
      <path value="CodeSystem.property" />
      <sliceName value="codice_esenzione" />
      <short value="codice_esenzione" />
      <definition value="Una proprietà definisce uno slot aggiuntivo attraverso il quale si possono fornire informazioni supplementari su un concetto." />
      <comment value="Riporta il valore del codice esenzione." />
    </element>
    <element id="CodeSystem.property:codice_esenzione.code">
      <path value="CodeSystem.property.code" />
      <short value="Codice esenzione" />
      <fixedCode value="codice_esenzione" />
    </element>
    <element id="CodeSystem.property:codice_esenzione.uri">
      <path value="CodeSystem.property.uri" />
      <fixedUri value="http://cct.eng.it/FHIR/schema/esenzioni" />
    </element>
    <element id="CodeSystem.property:codice_esenzione.type">
      <path value="CodeSystem.property.type" />
      <fixedCode value="code" />
    </element>
    <element id="CodeSystem.property:codice_atc">
      <path value="CodeSystem.property" />
      <sliceName value="codice_atc" />
    </element>
    <element id="CodeSystem.property:codice_atc.code">
      <path value="CodeSystem.property.code" />
      <short value="Codice ATC farmaco" />
      <fixedCode value="codice_atc" />
    </element>
    <element id="CodeSystem.property:codice_atc.type">
      <path value="CodeSystem.property.type" />
      <fixedCode value="string" />
    </element>
    <element id="CodeSystem.property:dt_inizio">
      <path value="CodeSystem.property" />
      <sliceName value="dt_inizio" />
      <short value="data_inizio" />
    </element>
    <element id="CodeSystem.property:dt_inizio.code">
      <path value="CodeSystem.property.code" />
      <fixedCode value="data_inizio" />
    </element>
    <element id="CodeSystem.property:dt_inizio.type">
      <path value="CodeSystem.property.type" />
      <fixedCode value="dateTime" />
    </element>
    <element id="CodeSystem.property:dt_fine">
      <path value="CodeSystem.property" />
      <sliceName value="dt_fine" />
      <short value="data_fine" />
      <comment value="Data di fine del periodo di validità" />
    </element>
    <element id="CodeSystem.property:dt_fine.code">
      <path value="CodeSystem.property.code" />
      <fixedCode value="data_fine" />
    </element>
    <element id="CodeSystem.property:dt_fine.type">
      <path value="CodeSystem.property.type" />
      <fixedCode value="dateTime" />
    </element>
    <element id="CodeSystem.concept.code">
      <path value="CodeSystem.concept.code" />
      <short value="Codice che identifica il concetto" />
      <definition value="Un codice - un simbolo di testo - che identifica in modo univoco il concetto all'interno del sistema di codici." />
    </element>
    <element id="CodeSystem.concept.display">
      <path value="CodeSystem.concept.display" />
      <short value="Testo da visualizzare per l'utente" />
      <definition value="Una stringa leggibile dall'uomo che rappresenta il modo predefinito consigliato per presentare questo concetto all'utente." />
    </element>
    <element id="CodeSystem.concept.definition">
      <path value="CodeSystem.concept.definition" />
      <short value="Definizione formale" />
      <definition value="La definizione formale del concetto. La risorsa codice del sistema non richiede definizioni formali, a causa della prevalenza di sistemi legacy. Tuttavia, sono altamente raccomandate, poiché senza di esse non c'è alcun significato formale associato al concetto." />
    </element>
    <element id="CodeSystem.concept.property.extension:propertyCodeDettaglio">
      <path value="CodeSystem.concept.property.extension" />
      <sliceName value="propertyCodeDettaglio" />
      <type>
        <code value="Extension" />
        <profile value="http://cct.eng.it/FHIR/schema/propertyCode-dettaglio" />
      </type>
      <isModifier value="false" />
    </element>
  </differential>
</StructureDefinition>