<Bundle xmlns="http://hl7.org/fhir">
  <id value="bundle-recupero-allergie-farmaceutiche" />
  <meta>
    <lastUpdated value="2024-09-06T17:22:06.511+02:00" />
  </meta>
  <type value="searchset" />
  <total value="1" />
  <link>
    <relation value="self" />
    <url value="baseUrl/AllergyIntolerance?clinical-status=active&amp;category=medication&amp;last-date=2021-06-01&amp;patient.identifier=RSSMRA80A01F205X&amp;_has:Provenance:target:agent:_has:Organization.identifier=030712&amp;_revinclude=Provenance:target&amp;_include=AllergyIntolerance:patient&amp;_include=PractitionerRole:practitioner &amp;_include=PractitionerRole:organization" />
  </link>
  <entry>
    <fullUrl value="baseUrl/Provenance/esempio-provenance-ldo" />
    <resource>
      <Provenance>
        <id value="esempio-provenance-ldo" />
        <target>
          <reference value="AllergyIntolerance/esempio-allergia-farmaci-ldo" />
        </target>
        <recorded value="2024-05-12T00:00:00+00:00" />
        <agent>
          <type>
            <coding>
              <system value="http://hl7.org/fhir/ValueSet/provenance-agent-type" />
              <code value="legal" />
              <display value="Legal Authenticator" />
            </coding>
          </type>
          <who>
            <reference value="Practitioner/esempio-practitioner-core-ldo" />
          </who>
        </agent>
        <agent>
          <type>
            <coding>
              <system value="http://hl7.org/fhir/ValueSet/provenance-agent-type" />
              <code value="custodian" />
              <display value="Custodian" />
            </coding>
          </type>
          <who>
            <reference value="Organization/esempio-organization-core-ldo" />
          </who>
        </agent>
        <agent>
          <type>
            <coding>
              <system value="http://hl7.org/fhir/ValueSet/provenance-agent-type" />
              <code value="author" />
              <display value="Author" />
            </coding>
          </type>
          <who>
            <reference value="PractitionerRole/esempio-practitionerRole-core-ldo" />
          </who>
        </agent>
        <agent>
          <type>
            <coding>
              <system value="http://hl7.org/fhir/ValueSet/provenance-agent-type" />
              <code value="COPART" />
              <display value="co-participant" />
            </coding>
          </type>
          <who>
            <reference value="Practitioner/esempio-practitioner-core-ldo1" />
          </who>
        </agent>
        <entity>
          <role value="source" />
        </entity>
      </Provenance>
    </resource>
    <search>
      <mode value="include" />
    </search>
  </entry>
  <entry>
    <fullUrl value="baseUrl/AllergyIntolerance/esempio-allergia-farmaci-ldo" />
    <resource>
      <AllergyIntolerance>
        <id value="esempio-allergia-farmaci-ldo" />
        <clinicalStatus>
          <coding>
            <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" />
            <code value="active" />
            <display value="Active" />
          </coding>
        </clinicalStatus>
        <type value="allergy" />
        <category value="medication" />
        <criticality value="high" />
        <code>
          <coding>
            <system value="https://fhir.siss.regione.lombardia.it/ValueSet/DDC-FarmacoAIC" />
            <code value="J01CE01" />
            <display value="BENZILPENICILLINA POTASSICA K24 PHARMACEUTICALS" />
          </coding>
        </code>
        <patient>
          <reference value="Patient/e06086d8-a958-11ed-afa1-0242ac120002" />
        </patient>
        <onsetPeriod>
          <start value="2010-03-01" />
        </onsetPeriod>
        <recordedDate value="2010-03-01T14:58:00+11:00" />
        <lastOccurrence value="2021-06-01" />
        <note>
          <text value="Il paziente presenta prurito diffuso e un evidente eritema con sfogo cutaneo localizzato su braccia e torace." />
        </note>
        <reaction>
          <substance>
            <coding>
              <system value="https://fhir.siss.regione.lombardia.it/ValueSet/DDC-FarmacoAIC" />
              <code value="J01CE01" />
              <display value="BENZILPENICILLINA POTASSICA K24 PHARMACEUTICALS" />
            </coding>
          </substance>
          <manifestation>
            <coding>
              <system value="http://snomed.info/sct" />
              <code value="247472004" />
              <display value="Hives" />
            </coding>
          </manifestation>
          <onset value="2010-03-01" />
        </reaction>
      </AllergyIntolerance>
    </resource>
    <search>
      <mode value="match" />
    </search>
  </entry>
  <entry>
    <fullUrl value="baseUrl/Patient/e06086d8-a958-11ed-afa1-0242ac120002" />
    <resource>
      <Patient>
        <id value="e06086d8-a958-11ed-afa1-0242ac120002" />
        <meta>
          <versionId value="1" />
          <lastUpdated value="2023-01-11T08:32:56+01:00" />
          <profile value="https://fhir.siss.regione.lombardia.it/StructureDefinition/RLPatientCore" />
        </meta>
        <identifier>
          <system value="http://hl7.it/sid/codiceFiscale" />
          <value value="RSSMRA80A01F205X" />
        </identifier>
        <active value="true" />
        <name>
          <family value="Rossi" />
          <given value="Mario" />
        </name>
        <gender value="male" />
        <birthDate value="1980-01-01" />
        <address>
          <use value="billing" />
          <city value="015146" />
        </address>
        <maritalStatus>
          <coding>
            <system value="https://fhir.siss.regione.lombardia.it/ValueSet/SIAD-StatoCivile" />
            <code value="2" />
            <display value="Coniugato/a" />
          </coding>
        </maritalStatus>
      </Patient>
    </resource>
    <search>
      <mode value="include" />
    </search>
  </entry>
  <entry>
    <fullUrl value="baseUrl/Organization/esempio-organization-core-ldo" />
    <resource>
      <Organization>
        <id value="esempio-organization-core-ldo" />
        <meta>
          <lastUpdated value="2022-03-30T10:36:03+00:00" />
          <profile value="https://fhir.siss.regione.lombardia.it/StructureDefinition/RLOrganizationCore" />
        </meta>
        <identifier>
          <system value="https://www.hl7.it/fhir/terminology/ValueSet/minsan-idStrutture" />
          <value value="030712" />
        </identifier>
        <active value="true" />
        <name value="Clinical Lab" />
        <telecom>
          <system value="phone" />
          <value value="+1 555 234 1234" />
        </telecom>
        <telecom>
          <system value="email" />
          <value value="contact@labs.acme.org" />
        </telecom>
        <address>
          <line value="via Roma 1" />
          <city value="Roma" />
        </address>
        <partOf>
          <reference value="Organization/esempio-Organization-core" />
        </partOf>
      </Organization>
    </resource>
    <search>
      <mode value="include" />
    </search>
  </entry>
  <entry>
    <fullUrl value="baseUrl/PractitionerRole/esempio-practitionerRole-core-ldo" />
    <resource>
      <PractitionerRole>
        <id value="esempio-practitionerRole-core-ldo" />
        <meta>
          <versionId value="1" />
          <lastUpdated value="2023-01-11T08:32:56+01:00" />
          <profile value="https://fhir.siss.regione.lombardia.it/StructureDefinition/RLPractitionerRoleCore" />
        </meta>
        <identifier>
          <system value="http://hl7.it/sid/codiceFiscale" />
          <value value="PROVAX00X00X000Y" />
        </identifier>
        <active value="true" />
        <period>
          <start value="2012-01-01" />
          <end value="2013-03-31" />
        </period>
        <practitioner>
          <reference value="Practitioner/esempio-practitioner-core-ldo" />
        </practitioner>
        <organization>
          <reference value="Organization/esempio-organization-core-ldo" />
        </organization>
        <code>
          <coding>
            <system value="http://terminology.hl7.org/CodeSystem/v2-0286" />
            <code value="RP" />
          </coding>
        </code>
      </PractitionerRole>
    </resource>
    <search>
      <mode value="include" />
    </search>
  </entry>
  <entry>
    <fullUrl value="baseUrl/Practitioner/esempio-practitioner-core-ldo" />
    <resource>
      <Practitioner>
        <id value="esempio-practitioner-core-ldo" />
        <meta>
          <versionId value="1" />
          <lastUpdated value="2023-01-11T08:32:56+01:00" />
          <profile value="https://fhir.siss.regione.lombardia.it/StructureDefinition/RLPractitionerCore" />
        </meta>
        <identifier>
          <system value="http://hl7.it/sid/codiceFiscale" />
          <value value="PROVAX00X00X000Y" />
        </identifier>
        <name>
          <family value="Esempio" />
          <given value="Test" />
        </name>
        <address>
          <use value="home" />
          <line value="via Roma 1" />
          <city value="Roma" />
          <postalCode value="00184" />
        </address>
      </Practitioner>
    </resource>
    <search>
      <mode value="include" />
    </search>
  </entry>
  <entry>
    <fullUrl value="baseUrl/Practitioner/esempio-practitioner-core-ldo1" />
    <resource>
      <Practitioner>
        <id value="esempio-practitioner-core-ldo1" />
        <meta>
          <versionId value="1" />
          <lastUpdated value="2023-01-11T08:32:56+01:00" />
          <profile value="https://fhir.siss.regione.lombardia.it/StructureDefinition/RLPractitionerCore" />
        </meta>
        <identifier>
          <system value="http://hl7.it/sid/codiceFiscale" />
          <value value="AAABBX00X00X000Y" />
        </identifier>
        <name>
          <family value="Cognome" />
          <given value="Nome" />
        </name>
        <address>
          <use value="home" />
          <line value="via Roma 1" />
          <city value="Roma" />
          <postalCode value="00184" />
        </address>
      </Practitioner>
    </resource>
    <search>
      <mode value="include" />
    </search>
  </entry>
</Bundle>