<Bundle xmlns="http://hl7.org/fhir">
   <id value="73ed7f90-adfb-4fd1-9eeb-2cf993e0c708"/>
   <meta>
      <profile value="http://hl7.eu/fhir/hdr/StructureDefinition/bundle-eu-hdr"/>
   </meta>
   <identifier>
      <system value="urn:oid:2.16.840.1.113883.2.51.999"/>
      <value value="6369106b-b51f-4c6d-9fc4-cfd456800444"/>
      <assigner>
         <display value="HL7 Europe"/>
      </assigner>
   </identifier>
   <type value="document"/>
   <timestamp value="2016-08-21T00:00:00Z"/>
   <entry>
      <fullUrl value="urn:uuid:9181ee87-82d8-46a5-967d-1a9233adf12f"/>
      <resource>
         <Composition>
            <id value="9181ee87-82d8-46a5-967d-1a9233adf12f"/>
            <meta>
               <profile value="http://hl7.eu/fhir/hdr/StructureDefinition/composition-eu-hdr"/>
               <security>
                  <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
                  <code value="HTEST"/>
               </security>
               <security>
                  <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
                  <code value="TRAIN"/>
               </security>
               <tag>
                  <system value="https://synderai.net/fhir/CodeSystem/tags"/>
                  <code value="synthetic"/>
                  <display value="SYNDERAI Synthetic data"/>
               </tag>
            </meta>
            <text>
               <status value="empty"/>
               <div xmlns="http://www.w3.org/1999/xhtml">intentionally left empty / not meaningful</div>
            </text>
            <identifier>
               <system value="urn:oid:2.16.840.1.113883.2.51.999"/>
               <value value="1a6adfd8-7df9-400a-8997-f106a14a35a1"/>
               <assigner>
                  <display value="HL7 Europe"/>
               </assigner>
            </identifier>
            <status value="final"/>
            <type>
               <coding>
                  <system value="http://loinc.org"/>
                  <code value="34105-7"/>
                  <display value="Hospital Discharge summary"/>
               </coding>
               <text value="Hospital Discharge Report"/>
            </type>
            <subject>
               <reference value="urn:uuid:9cf76b20-ab92-44f9-9abf-13795f5dba0e"/>
               <display value="Kamil Banek"/>
            </subject>
            <date value="2016-08-21T00:00:00Z"/>
            <author>
               <reference value="urn:uuid:cc2a7fd2-1300-4cd3-bce7-e87b281d616e"/>
            </author>
            <title value="Hospital Discharge Report"/>
            <confidentiality value="N"/>
            <custodian>
               <reference value="urn:uuid:286da6d1-131b-4bf3-b2b6-89e7f5a5f97e"/>
            </custodian>
            <section>
               <title value="Synthesis"/>
               <code>
                  <coding>
                     <system value="http://loinc.org"/>
                     <code value="67781-5"/>
                     <display value="Summarization of encounter note"/>
                  </coding>
               </code>
               <text>
                  <status value="generated"/>
                  <div xmlns="http://www.w3.org/1999/xhtml">Pre-renal transplant workup completed, patient listed</div>
               </text>
            </section>
            <section>
               <title value="Hospital course note"/>
               <code>
                  <coding>
                     <system value="http://loinc.org"/>
                     <code value="8648-8"/>
                     <display value="Hospital course note"/>
                  </coding>
               </code>
               <text>
                  <status value="generated"/>
                  <div xmlns="http://www.w3.org/1999/xhtml">Dear colleague, we are writing to inform you about the inpatient stay of your 69-year-old male patient, admitted for pre-transplant kidney evaluation. During his stay, we completed a comprehensive pre-renal transplant workup including renal function assessment, cardiac evaluation, serological and immunological screening, imaging studies, and dialysis access planning. Cross-match and HLA typing were performed and submitted to the transplant registry. Infectious disease clearance was obtained. Nutritional and anesthesiological risk assessment were completed without contraindications to transplantation. The patient has been formally listed for deceased-donor kidney transplantation. Dialysis preparatory care planning (Z49.0) has been initiated accordingly. We recommend continued close monitoring of renal function and blood pressure in your practice. Please do not hesitate to contact us should any questions arise.</div>
               </text>
            </section>
            <section>
               <title value="Diagnosis at Discharge"/>
               <code>
                  <coding>
                     <system value="http://loinc.org"/>
                     <code value="11535-2"/>
                     <display value="Hospital discharge diagnosis note"/>
                  </coding>
               </code>
               <text>
                  <status value="generated"/>
                  <div xmlns="http://www.w3.org/1999/xhtml">
                     <table class="hl7__hdr">
                        <tr>
                           <td>Preparatory care for dialysis</td>
                           <td>
                              <span class="nb">21-Aug-2016</span>
                           </td>
                           <td>active</td>
                        </tr>
                     </table>
                  </div>
               </text>
               <entry>
                  <reference value="urn:uuid:03c6ecf0-bb79-406a-97d9-0bd0f45b40c3"/>
               </entry>
            </section>
            <section>
               <title value="Significant procedures"/>
               <code>
                  <coding>
                     <system value="http://loinc.org"/>
                     <code value="10185-7"/>
                     <display value="Hospital discharge procedure note"/>
                  </coding>
               </code>
               <text>
                  <status value="generated"/>
                  <div xmlns="http://www.w3.org/1999/xhtml">
                     <table class="hl7__hdr">
                        <tr>
                           <td>Pretransplant evaluation of kidney recipient (procedure)</td>
                           <td>
                              <span class="nb">18-Aug-2016</span>
                           </td>
                           <td>-</td>
                        </tr>
                     </table>
                  </div>
               </text>
               <entry>
                  <reference value="urn:uuid:841bdab1-c8fa-453d-b536-9e1cb33fa7cb"/>
               </entry>
               <entry>
                  <reference value="urn:uuid:b8966eea-b64c-4867-b3b3-e1e7271d5df3"/>
               </entry>
               <entry>
                  <reference value="urn:uuid:67565eb5-06d2-488a-9d36-6941c9d31bae"/>
               </entry>
            </section>
         </Composition>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:9cf76b20-ab92-44f9-9abf-13795f5dba0e"/>
      <resource>
         <Patient>
            <id value="9cf76b20-ab92-44f9-9abf-13795f5dba0e"/>
            <meta>
               <profile value="http://hl7.eu/fhir/base/StructureDefinition/patient-eu-core"/>
               <security>
                  <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
                  <code value="HTEST"/>
               </security>
               <security>
                  <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
                  <code value="TRAIN"/>
               </security>
               <tag>
                  <system value="https://synderai.net/fhir/CodeSystem/tags"/>
                  <code value="synthetic"/>
                  <display value="SYNDERAI Synthetic data"/>
               </tag>
            </meta>
            <text>
               <status value="generated"/>
               <div xmlns="http://www.w3.org/1999/xhtml">
                  <table class="hl7__ips">
                     <tr>
                        <td>Kamil Banek</td>
                        <td>male</td>
                        <td>03-Jul-1956</td>
                     </tr>
                  </table>
               </div>
            </text>
            <extension url="http://hl7.org/fhir/StructureDefinition/patient-nationality">
               <extension url="code">
                  <valueCodeableConcept>
                     <coding>
                        <system value="urn:iso:std:iso:3166"/>
                        <code value="PL"/>
                     </coding>
                  </valueCodeableConcept>
               </extension>
            </extension>
            <identifier>
               <type>
                  <coding>
                     <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
                     <code value="JHN"/>
                  </coding>
               </type>
               <system value="http://ec.europa.eu/identifier/eci"/>
               <value value="7118-203757-3"/>
            </identifier>
            <identifier>
               <type>
                  <coding>
                     <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
                     <code value="MR"/>
                  </coding>
               </type>
               <system value="http://local.setting.eu/identifier"/>
               <value value="82d90800-3c8c-b94e-d424-a1cdbabeebac"/>
            </identifier>
            <name>
               <text value="Kamil Banek"/>
               <family value="Banek"/>
               <given value="Kamil"/>
            </name>
            <telecom>
               <system value="phone"/>
               <value value="507 090 388"/>
            </telecom>
            <gender value="male"/>
            <birthDate value="1956-07-03"/>
            <address>
               <use value="home"/>
               <type value="physical"/>
               <line value="ul. Wiązowa 27"/>
               <city value="Jaworzno"/>
               <postalCode value="43-600"/>
               <country value="Poland"/>
            </address>
         </Patient>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:b702bae5-12a6-41d4-abd3-90268cbdf40b"/>
      <resource>
         <Encounter>
            <id value="b702bae5-12a6-41d4-abd3-90268cbdf40b"/>
            <meta>
               <profile value="http://hl7.eu/fhir/hdr/StructureDefinition/encounter-eu-hdr"/>
            </meta>
            <text>
               <status value="generated"/>
               <div xmlns="http://www.w3.org/1999/xhtml">
                  <table class="hl7__ips">
                     <tr>
                        <td>Szpital Wielospecjalistyczny w Jaworznie, Jaworzno, Poland</td>
                        <td>18-08-2016 - 21-08-2016</td>
                        <td>
                           <ul>
                              <li>Awaiting transplantation of kidney (situation)</li>
                           </ul>
                        </td>
                     </tr>
                  </table>
               </div>
            </text>
            <status value="completed"/>
            <class>
               <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
               <code value="IMP"/>
            </class>
            <subject>
               <reference value="Patient/9cf76b20-ab92-44f9-9abf-13795f5dba0e"/>
               <display value="Kamil Banek"/>
            </subject>
            <participant>
               <type>
                  <coding>
                     <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/>
                     <code value="PPRF"/>
                     <display value="primary performer"/>
                  </coding>
               </type>
               <period>
                  <end value="2016-08-21"/>
               </period>
               <individual>
                  <reference value="urn:uuid:9270c2eb-677d-433b-a8f7-8d25a61ca3bd"/>
               </individual>
            </participant>
            <period>
               <start value="2016-08-21"/>
            </period>
            <reasonCode>
               <coding>
                  <system value="http://snomed.info/sct"/>
                  <code value="698306007"/>
                  <display value="Awaiting transplantation of kidney (situation)"/>
               </coding>
            </reasonCode>
            <serviceProvider>
               <reference value="urn:uuid:286da6d1-131b-4bf3-b2b6-89e7f5a5f97e"/>
            </serviceProvider>
         </Encounter>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:cc2a7fd2-1300-4cd3-bce7-e87b281d616e"/>
      <resource>
         <PractitionerRole>
            <id value="cc2a7fd2-1300-4cd3-bce7-e87b281d616e"/>
            <meta>
               <profile value="http://hl7.eu/fhir/base/StructureDefinition/practitionerRole-eu-core"/>
            </meta>
            <text>
               <status value="generated"/>
               <div xmlns="http://www.w3.org/1999/xhtml">Hospital Role Id: cc2a7fd2-1300-4cd3-bce7-e87b281d616e</div>
            </text>
            <practitioner>
               <reference value="urn:uuid:9270c2eb-677d-433b-a8f7-8d25a61ca3bd"/>
            </practitioner>
            <organization>
               <reference value="urn:uuid:286da6d1-131b-4bf3-b2b6-89e7f5a5f97e"/>
            </organization>
         </PractitionerRole>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:286da6d1-131b-4bf3-b2b6-89e7f5a5f97e"/>
      <resource>
         <Organization>
            <id value="286da6d1-131b-4bf3-b2b6-89e7f5a5f97e"/>
            <meta>
               <profile value="http://hl7.eu/fhir/base/StructureDefinition/organization-eu-core"/>
            </meta>
            <text>
               <status value="generated"/>
               <div xmlns="http://www.w3.org/1999/xhtml">Hospital: Szpital Wielospecjalistyczny w Jaworznie, 43-602 Jaworzno, Poland</div>
            </text>
            <name value="Szpital Wielospecjalistyczny w Jaworznie"/>
            <address>
               <city value="Jaworzno"/>
               <postalCode value="43-602"/>
               <country value="Poland"/>
            </address>
         </Organization>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:9270c2eb-677d-433b-a8f7-8d25a61ca3bd"/>
      <resource>
         <Practitioner>
            <id value="9270c2eb-677d-433b-a8f7-8d25a61ca3bd"/>
            <meta>
               <profile value="http://hl7.eu/fhir/base/StructureDefinition/practitioner-eu-core"/>
            </meta>
            <text>
               <status value="generated"/>
               <div xmlns="http://www.w3.org/1999/xhtml">Practitioner in Hospital: Gustaw Jędraszek</div>
            </text>
            <identifier>
               <system value="urn:oid:2.16.840.1.113883.2.51.999"/>
               <value value="cb712349-60dc-4467-ad30-48014cf91c79"/>
               <assigner>
                  <display value="HL7 Europe"/>
               </assigner>
            </identifier>
            <name>
               <family value="Jędraszek"/>
               <given value="Gustaw"/>
            </name>
         </Practitioner>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:03c6ecf0-bb79-406a-97d9-0bd0f45b40c3"/>
      <resource>
         <Condition>
            <id value="03c6ecf0-bb79-406a-97d9-0bd0f45b40c3"/>
            <meta>
               <profile value="http://hl7.eu/fhir/base/StructureDefinition/condition-eu-core"/>
            </meta>
            <text>
               <status value="generated"/>
               <div xmlns="http://www.w3.org/1999/xhtml">
                  <table class="hl7__ips">
                     <tr>
                        <td>Preparatory care for dialysis</td>
                        <td>
                           <span class="nb">21-Aug-2016</span>
                        </td>
                        <td>active</td>
                     </tr>
                  </table>
               </div>
            </text>
            <category>
               <coding>
                  <system value="http://terminology.hl7.org/CodeSystem/condition-category"/>
                  <code value="encounter-diagnosis"/>
                  <display value="Encounter Diagnosis"/>
               </coding>
            </category>
            <code>
               <coding>
                  <system value="http://hl7.org/fhir/sid/icd-10"/>
                  <code value="Z49.0"/>
                  <display value="Preparatory care for dialysis"/>
               </coding>
               <text value="Preparatory care for dialysis"/>
            </code>
            <subject>
               <reference value="urn:uuid:9cf76b20-ab92-44f9-9abf-13795f5dba0e"/>
               <display value="Kamil Banek"/>
            </subject>
            <onsetDateTime value="2016-08-21"/>
         </Condition>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:841bdab1-c8fa-453d-b536-9e1cb33fa7cb"/>
      <resource>
         <Procedure>
            <id value="841bdab1-c8fa-453d-b536-9e1cb33fa7cb"/>
            <meta>
               <profile value="http://hl7.eu/fhir/base/StructureDefinition/procedure-eu-core"/>
            </meta>
            <text>
               <status value="generated"/>
               <div xmlns="http://www.w3.org/1999/xhtml">
                  <table class="hl7__ips">
                     <tr>
                        <td>Transplantation of kidney regime (regime/therapy)</td>
                        <td>
                           <span class="nb">21-Aug-2016</span>
                        </td>
                        <td>-</td>
                     </tr>
                  </table>
               </div>
            </text>
            <status value="completed"/>
            <code>
               <coding>
                  <system value="http://snomed.info/sct"/>
                  <code value="711446003"/>
                  <display value="Transplantation of kidney regime"/>
               </coding>
            </code>
            <subject>
               <reference value="urn:uuid:9cf76b20-ab92-44f9-9abf-13795f5dba0e"/>
               <display value="Kamil Banek"/>
            </subject>
            <performedDateTime value="2016-08-21"/>
         </Procedure>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:b8966eea-b64c-4867-b3b3-e1e7271d5df3"/>
      <resource>
         <Procedure>
            <id value="b8966eea-b64c-4867-b3b3-e1e7271d5df3"/>
            <meta>
               <profile value="http://hl7.eu/fhir/base/StructureDefinition/procedure-eu-core"/>
            </meta>
            <text>
               <status value="generated"/>
               <div xmlns="http://www.w3.org/1999/xhtml">
                  <table class="hl7__ips">
                     <tr>
                        <td>Transplant of kidney (procedure)</td>
                        <td>
                           <span class="nb">18-Aug-2016</span>
                        </td>
                        <td>-</td>
                     </tr>
                  </table>
               </div>
            </text>
            <status value="completed"/>
            <code>
               <coding>
                  <system value="http://snomed.info/sct"/>
                  <code value="70536003"/>
                  <display value="Transplant of kidney"/>
               </coding>
            </code>
            <subject>
               <reference value="urn:uuid:9cf76b20-ab92-44f9-9abf-13795f5dba0e"/>
               <display value="Kamil Banek"/>
            </subject>
            <performedDateTime value="2016-08-18"/>
         </Procedure>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:67565eb5-06d2-488a-9d36-6941c9d31bae"/>
      <resource>
         <Procedure>
            <id value="67565eb5-06d2-488a-9d36-6941c9d31bae"/>
            <meta>
               <profile value="http://hl7.eu/fhir/base/StructureDefinition/procedure-eu-core"/>
            </meta>
            <text>
               <status value="generated"/>
               <div xmlns="http://www.w3.org/1999/xhtml">
                  <table class="hl7__ips">
                     <tr>
                        <td>Pretransplant evaluation of kidney recipient (procedure)</td>
                        <td>
                           <span class="nb">18-Aug-2016</span>
                        </td>
                        <td>-</td>
                     </tr>
                  </table>
               </div>
            </text>
            <status value="completed"/>
            <code>
               <coding>
                  <system value="http://snomed.info/sct"/>
                  <code value="428830000"/>
                  <display value="Pretransplant evaluation of kidney recipient"/>
               </coding>
            </code>
            <subject>
               <reference value="urn:uuid:9cf76b20-ab92-44f9-9abf-13795f5dba0e"/>
               <display value="Kamil Banek"/>
            </subject>
            <performedDateTime value="2016-08-18"/>
         </Procedure>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:687bc40f-d368-4bbe-ad59-b037fa55cafa"/>
      <resource>
         <Device>
            <id value="687bc40f-d368-4bbe-ad59-b037fa55cafa"/>
            <text>
               <status value="generated"/>
               <div xmlns="http://www.w3.org/1999/xhtml">SYNDERAI Synthetic Generator v5.0</div>
            </text>
            <status value="active"/>
            <distinctIdentifier value="synderai-generator-50"/>
            <manufacturer value="SYNDERAI Project"/>
            <deviceName>
               <name value="SYNDERAI Synthetic Generator"/>
               <type value="manufacturer-name"/>
            </deviceName>
            <version>
               <value value="5.0"/>
            </version>
         </Device>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:a2ba1c48-e9a1-4168-b2b0-3be02eba3cd0"/>
      <resource>
         <Provenance>
            <id value="a2ba1c48-e9a1-4168-b2b0-3be02eba3cd0"/>
            <text>
               <status value="generated"/>
               <div xmlns="http://www.w3.org/1999/xhtml">Provenance for SYNDERAI Synthetic Example Data Resource</div>
            </text>
            <target>
               <reference value="urn:uuid:9cf76b20-ab92-44f9-9abf-13795f5dba0e"/>
            </target>
            <target>
               <reference value="urn:uuid:cc2a7fd2-1300-4cd3-bce7-e87b281d616e"/>
            </target>
            <target>
               <reference value="urn:uuid:9270c2eb-677d-433b-a8f7-8d25a61ca3bd"/>
            </target>
            <target>
               <reference value="urn:uuid:286da6d1-131b-4bf3-b2b6-89e7f5a5f97e"/>
            </target>
            <recorded value="2026-03-20T18:24:43Z"/>
            <policy value="https://synderai.net/synderai-synthetic-data-policy"/>
            <reason>
               <coding>
                  <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
                  <code value="TRAIN"/>
                  <display value="training"/>
               </coding>
               <text value="Interoperability Testing and Training (non-clinical use)"/>
            </reason>
            <activity>
               <coding>
                  <system value="http://terminology.hl7.org/CodeSystem/v3-DataOperation"/>
                  <code value="CREATE"/>
                  <display value="create"/>
               </coding>
               <text value="Synthetic Example Data Generation"/>
            </activity>
            <agent>
               <type>
                  <coding>
                     <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type"/>
                     <code value="author"/>
                     <display value="Author"/>
                  </coding>
                  <text value="author"/>
               </type>
               <who>
                  <reference value="urn:uuid:687bc40f-d368-4bbe-ad59-b037fa55cafa"/>
               </who>
            </agent>
         </Provenance>
      </resource>
   </entry>
</Bundle>