ADT

 <Bundle xmlns="http://hl7.org/fhir">
 <meta>
<profile value="https://example.org/fhir/StructureDefinition/MyBundle"/>
</meta>
<type value="message"/>
<timestamp value="2024-05-13T10:25:50.887+01:00"/>
 <entry>
<fullUrl value="MessageHeader/EsempioMessageheaderADT"/>
 <resource>
 <MessageHeader>
<id value="EsempioMessageheaderADT"/>
 <meta>
<profile value="http://hl7.org/fhir/StructureDefinition/MessageHeader"/>
</meta>
 <extension url="http://example.org/FHIR/schema/messageHeader-operator">
 <extension url="name">
<valueCode value="nome operatore"/>
</extension>
 <extension url="surname">
<valueCode value="cognome operatore"/>
</extension>
 <extension url="code">
<valueCode value="nome.cognome"/>
</extension>
</extension>
 <eventCoding>
<system value="http://example.org/CodeSystem/message-events"/>
<code value="ADT_A01"/>
<display value="inserimento ricovero"/>
</eventCoding>
 <destination>
<name value="ADT_REGIONALE"/>
<endpoint value="http://adt.reg.it/ADT_A01"/>
</destination>
 <source>
<name value="LDA-REGIONALE"/>
<endpoint value="http://lda.reg.it"/>
</source>
</MessageHeader>
</resource>
</entry>
 <entry>
<fullUrl value="Encounter/IdEncounter"/>
 <resource>
 <Encounter>
<id value="IdEncounter"/>
 <meta>
<profile value="https://example.org/fhir/StructureDefinition/Encounter"/>
</meta>
 <extension url="http://example.org/FHIR/schema/encounter-dataPrericovero">
 <valuePeriod>
<start value="2024-05-05T15:33:30+01:00"/>
</valuePeriod>
</extension>
 <identifier>
<system value="http://example.org/identifier/nosologico"/>
<value value="2024000000"/>
</identifier>
<status value="in-progress"/>
 <class>
<system value="http://terminology.hl7.org/ValueSet/v3-ActEncounterCode"/>
<code value="IMP"/>
<display value="inpatient encounter"/>
</class>
 <type>
 <coding>
<system value="http://example.org/FHIR/schema/encounter-typeCode"/>
<code value="1"/>
<display value="Programmato non urgente"/>
</coding>
</type>
 <subject>
<reference value="Patient/IdPaziente"/>
</subject>
 <participant>
 <individual>
<reference value="Practitioner/IdMedico"/>
</individual>
</participant>
 <period>
<start value="2022-02-01T16:33:30+01:00"/>
</period>
 <reasonCode>
 <coding>
<system value="http://hl7.org/fhir/sid/icd-9-cm"/>
<code value="codiceDiagnosi"/>
<display value="descrizioneDiagnosi"/>
</coding>
</reasonCode>
 <hospitalization>
 <extension url="http://example.org/FHIR/schema/encounter-regime">
 <valueCodeableConcept>
 <coding>
<system value="http://example.org/FHIR/schema/encounter-regimeCode"/>
<code value="I"/>
<display value="ORDINARIO"/>
</coding>
</valueCodeableConcept>
</extension>
 <extension url="http://example.org/FHIR/schema/encounter-onere">
 <valueCodeableConcept>
 <coding>
<system value="http://example.org/FHIR/schema/encounter-onereCode"/>
<code value="1"/>
<display value="Servizio Sanitario Nazionale"/>
</coding>
</valueCodeableConcept>
</extension>
 <preAdmissionIdentifier>
<system value="http://example.org/FHIR/schema/preAdmissionIdentifier"/>
<value value="2024000000"/>
</preAdmissionIdentifier>
</hospitalization>
 <location>
 <location>
<reference value="Location/IdReparto"/>
</location>
 <physicalType>
 <coding>
<system value="http://example.org/FHIR/schema/location-type"/>
<code value="wa"/>
<display value="REPARTO"/>
</coding>
</physicalType>
</location>
 <location>
 <location>
<reference value="Location/IdStanza"/>
</location>
 <physicalType>
 <coding>
<system value="http://example.org/FHIR/schema/location-type"/>
<code value="ro"/>
<display value="ROOM"/>
</coding>
</physicalType>
</location>
 <location>
 <location>
<reference value="Location/IdLetto"/>
</location>
 <physicalType>
 <coding>
<system value="http://example.org/FHIR/schema/location-type"/>
<code value="bd"/>
<display value="BED"/>
</coding>
</physicalType>
</location>
 <serviceProvider>
<reference value="Organization/IdPresidio"/>
</serviceProvider>
</Encounter>
</resource>
</entry>
 <entry>
<fullUrl value="Patient/IdPaziente"/>
 <resource>
 <Patient>
<id value="IdPaziente"/>
 <meta>
<profile value="http://hl7.it/fhir/StructureDefinition/Patient-it-base"/>
</meta>
 <extension url="http://hl7.org/fhir/StructureDefinition/patient-citizenship">
 <extension url="code">
 <valueCodeableConcept>
 <coding>
<system value="https://terminology.example.org/CodeSystem/istat-unitaAmministrativeTerritorialiEstere"/>
<code value="100"/>
<display value="Italia"/>
</coding>
</valueCodeableConcept>
</extension>
</extension>
 <extension url="http://hl7.org/fhir/StructureDefinition/patient-birthPlace">
 <valueAddress>
 <country>
 <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding">
 <valueCoding>
<system value="https://terminology.example.org/CodeSystem/istat-unitaAmministrativeTerritorialiEstere"/>
<code value="100"/>
<display value="Italia"/>
</valueCoding>
</extension>
</country>
</valueAddress>
</extension>
 <identifier>
 <type>
 <coding>
<code value="CF"/>
<display value="Identificativo Codice Fiscale"/>
</coding>
</type>
<system value="http://hl7.it/sid/codiceFiscale"/>
<value value="XXXXXX95X68X892X"/>
 <assigner>
<display value="MINISTERO DELLE FINANZE"/>
</assigner>
</identifier>
 <name>
<family value="COGNOME PAZIENTE"/>
<given value="NOME PAZIENTE"/>
</name>
 <telecom>
<system value="phone"/>
<value value="(03) 5555 6473"/>
<use value="work"/>
<rank value="1"/>
</telecom>
 <telecom>
<system value="phone"/>
<value value="(03) 3410 5613"/>
<use value="mobile"/>
<rank value="2"/>
</telecom>
<gender value="male"/>
<birthDate value="2000-05-20"/>
<deceasedBoolean value="false"/>
 <address>
 <extension url="http://hl7.org/fhir/StructureDefinition/address-official">
<valueBoolean value="true"/>
</extension>
<use value="home"/>
<type value="physical"/>
<line value="VIA PROVA, 5"/>
 <city value="Napoli">
 <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding">
 <valueCoding>
<system value="https://terminology.example.org/CodeSystem/istat-unitaAmministrativeTerritoriali"/>
<code value="063049"/>
<display value="Napoli"/>
</valueCoding>
</extension>
</city>
<postalCode value="80100"/>
 <country>
 <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding">
 <valueCoding>
<system value="https://terminology.example.org/CodeSystem/istat-unitaAmministrativeTerritorialiEstere"/>
<code value="100"/>
<display value="Italia"/>
</valueCoding>
</extension>
</country>
</address>
 <maritalStatus>
 <coding>
<system value="http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"/>
<code value="T"/>
<display value="Stato di convivenza"/>
</coding>
<text value="Stato di convivenza"/>
</maritalStatus>
 <communication>
 <language>
<text value="italiano"/>
</language>
</communication>
</Patient>
</resource>
</entry>
 <entry>
<fullUrl value="Location/IdReparto"/>
 <resource>
 <Location>
<id value="IdReparto"/>
 <meta>
<profile value="https://example.org/fhir/StructureDefinition/Location"/>
</meta>
 <extension url="http://example.org/FHIR/schema/location-branca">
 <valueCodeableConcept>
 <coding>
<system value="http://example.org/FHIR/schema/location-brancaCode"/>
<code value="codiceBranca"/>
</coding>
</valueCodeableConcept>
</extension>
 <identifier>
<system value="http://example.org/FHIR/schema/location-identifier"/>
<value value="REP1"/>
</identifier>
<status value="active"/>
<name value="Nome reparto"/>
 <physicalType>
 <coding>
<system value="http://terminology.hl7.org/CodeSystem/location-physical-type"/>
<code value="wa"/>
<display value="Ward"/>
</coding>
</physicalType>
 <managingOrganization>
<reference value="Organization/IdPresidio"/>
</managingOrganization>
</Location>
</resource>
</entry>
 <entry>
<fullUrl value="Location/IdStanza"/>
 <resource>
 <Location>
<id value="IdStanza"/>
 <meta>
<profile value="https://example.org/fhir/StructureDefinition/Location"/>
</meta>
 <identifier>
<system value="http://example.org/FHIR/schema/location-identifier"/>
<value value="ST1"/>
</identifier>
<status value="active"/>
<name value="STANZA 1"/>
<description value="STANZA 1"/>
 <type>
 <coding>
<system value="http://example.org/FHIR/schema/location-sex-type"/>
<code value="M"/>
<display value="stanza per paziente con sesso maschile"/>
</coding>
</type>
 <physicalType>
 <coding>
<system value="http://terminology.hl7.org/CodeSystem/location-physical-type"/>
<code value="ro"/>
<display value="Room"/>
</coding>
</physicalType>
 <managingOrganization>
<reference value="Organization/IdPresidio"/>
</managingOrganization>
 <partOf>
<reference value="Location/IdReparto"/>
</partOf>
</Location>
</resource>
</entry>
 <entry>
<fullUrl value="Location/IdLetto"/>
 <resource>
 <Location>
<id value="IdLetto"/>
 <meta>
<profile value="https://example.org/fhir/StructureDefinition/Location"/>
</meta>
 <identifier>
<system value="http://example.org/FHIR/schema/location-identifier"/>
<value value="BED1"/>
</identifier>
<status value="active"/>
 <operationalStatus>
<system value="http://terminology.hl7.org/CodeSystem/v2-0116"/>
<code value="K"/>
<display value="Contaminated"/>
</operationalStatus>
<name value="BED1"/>
<description value="BED1"/>
 <type>
 <coding>
<system value="http://example.org/FHIR/schema/location-service-type"/>
<code value="ALP"/>
<display value="posto letto privati"/>
</coding>
</type>
 <physicalType>
 <coding>
<system value="http://terminology.hl7.org/CodeSystem/location-physical-type"/>
<code value="bd"/>
<display value="Bed"/>
</coding>
</physicalType>
 <managingOrganization>
<reference value="Organization/IdPresidio"/>
</managingOrganization>
 <partOf>
<reference value="Location/IdStanza"/>
</partOf>
</Location>
</resource>
</entry>
 <entry>
<fullUrl value="Organization/IdPresidio"/>
 <resource>
 <Organization>
<id value="IdPresidio"/>
 <meta>
<profile value="https://example.org/fhir/StructureDefinition/Organization"/>
</meta>
 <identifier>
<system value="http://terminology.hl7.it/CodeSystem/minsan-hsp"/>
<value value="codicePresidio"/>
</identifier>
<active value="true"/>
<name value="Nome Presidio"/>
</Organization>
</resource>
</entry>
 <entry>
<fullUrl value="Practitioner/IdMedico"/>
 <resource>
 <Practitioner>
<id value="IdMedico"/>
 <meta>
<profile value="http://hl7.it/fhir/StructureDefinition/Practitioner-it-base"/>
</meta>
 <identifier>
 <type>
<text value="CF"/>
</type>
<system value="http://hl7.it/sid/codiceFiscale"/>
<value value="XXXXXXXXXXXXXXXX"/>
</identifier>
<active value="true"/>
 <name>
<family value="COGNOME_MEDICO"/>
<given value="NOME_MEDICO"/>
</name>
<gender value="male"/>
</Practitioner>
</resource>
</entry>
</Bundle>