<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="https://fhir.siss.regione.lombardia.it/StructureDefinition/RLObservationConsulenzaLdo" />
  <name value="RLObservationConsulenzaLdo" />
  <title value="Observation LDO - Consulenza" />
  <status value="draft" />
  <date value="2026-10-08" />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Observation" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Observation" />
  <derivation value="constraint" />
  <differential>
    <element id="Observation">
      <path value="Observation" />
    </element>
    <element id="Observation.code">
      <path value="Observation.code" />
      <short value="Codice identificativo" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Observation.code.coding">
      <path value="Observation.code.coding" />
    </element>
    <element id="Observation.code.coding.system">
      <path value="Observation.code.coding.system" />
      <short value="Sistema di codifica" />
      <min value="0" />
      <max value="1" />
    </element>
    <element id="Observation.code.coding.version">
      <path value="Observation.code.coding.version" />
      <short value="Versione del sistema di codifica" />
      <min value="0" />
      <max value="1" />
    </element>
    <element id="Observation.code.coding.code">
      <path value="Observation.code.coding.code" />
      <short value="Valore del codice" />
      <min value="0" />
      <max value="1" />
    </element>
    <element id="Observation.code.coding.display">
      <path value="Observation.code.coding.display" />
      <short value="Descrizione leggibile del codice" />
      <min value="0" />
      <max value="1" />
    </element>
    <element id="Observation.effective[x]">
      <path value="Observation.effective[x]" />
      <short value="Data e ora in cui l’osservazione è stata effettuata o è valida." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
      </type>
    </element>
    <element id="Observation.effectiveDateTime">
      <path value="Observation.effectiveDateTime" />
      <min value="0" />
      <max value="1" />
    </element>
    <element id="Observation.status">
      <path value="Observation.status" />
      <short value="Stato dell’osservazione" />
      <min value="1" />
      <max value="1" />
      <fixedCode value="final" />
    </element>
    <element id="Observation.value[x]">
      <path value="Observation.value[x]" />
      <short value="Valore dell’osservazione" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="Observation.performer">
      <path value="Observation.performer" />
      <short value="Professionista sanitario che ha eseguito o validato l’osservazione." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.siss.regione.lombardia.it/StructureDefinition/RLPractitionerCore" />
      </type>
    </element>
    <element id="Observation.basedOn">
      <path value="Observation.basedOn" />
      <short value="Riferimento alla richiesta che ha originato l’osservazione" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.siss.regione.lombardia.it/StructureDefinition/RLServiceRequestCore" />
      </type>
    </element>
    <element id="Observation.subject">
      <path value="Observation.subject" />
      <short value="Paziente a cui si riferisce l’osservazione." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.siss.regione.lombardia.it/StructureDefinition/RLPatientCore" />
      </type>
    </element>
    <element id="Observation.encounter">
      <path value="Observation.encounter" />
      <short value="Episodio di cura durante il quale è stata effettuata l’osservazione." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.siss.regione.lombardia.it/StructureDefinition/RLEncounterCore" />
      </type>
    </element>
  </differential>
</StructureDefinition>