<Bundle xmlns="http://hl7.org/fhir">
   <id value="10eef4f7-3f45-423b-89cb-48836b41445e"/>
   <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="d53b9a5f-a214-4a93-9d2f-46b0ec2da0d5"/>
      <assigner>
         <display value="HL7 Europe"/>
      </assigner>
   </identifier>
   <type value="document"/>
   <timestamp value="2019-07-12T00:00:00Z"/>
   <entry>
      <fullUrl value="urn:uuid:44811973-bd86-4fd4-8e6c-2ff0a5565a79"/>
      <resource>
         <Composition>
            <id value="44811973-bd86-4fd4-8e6c-2ff0a5565a79"/>
            <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="5b5166d0-b417-432b-b77b-11e3535d3534"/>
               <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:671a460f-221a-41ef-8053-6374bf69011c"/>
               <display value="Kamil Banek"/>
            </subject>
            <date value="2019-07-12T00:00:00Z"/>
            <author>
               <reference value="urn:uuid:a1548eb9-480f-495a-a4d8-e49561cc90a4"/>
            </author>
            <title value="Hospital Discharge Report"/>
            <confidentiality value="N"/>
            <custodian>
               <reference value="urn:uuid:6491039a-6ca1-4869-b4a8-16e09e1e51de"/>
            </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">Primary colon cancer, resection performed</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, I am writing to inform you regarding our shared patient, a 69-year-old male admitted on 04.07.2019 due to suspected primary malignant neoplasm of the colon. Following admission, diagnostic workup including colonoscopy, CT imaging of abdomen and pelvis, and histopathological examination confirmed a primary malignant neoplasm of the colon. Staging investigations revealed no distant metastases. After multidisciplinary team discussion, the patient underwent surgical resection of the affected colonic segment. The postoperative course was uneventful. Histopathology confirmed complete resection with clear margins. The patient was discharged in stable condition on 12.07.2019. Oncological follow-up including consideration of adjuvant chemotherapy has been arranged. Please monitor for wound healing and general recovery. Do not hesitate to contact us should any concerns 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>Malignant neoplasm of colon, unspecified</td>
                           <td>
                              <span class="nb">12-Jul-2019</span>
                           </td>
                           <td>active</td>
                        </tr>
                     </table>
                  </div>
               </text>
               <entry>
                  <reference value="urn:uuid:da422460-ccdf-439b-a371-7695326bff42"/>
               </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>Partial resection of colon (procedure)</td>
                           <td>
                              <span class="nb">04-Jul-2019</span>
                           </td>
                           <td>-</td>
                        </tr>
                     </table>
                  </div>
               </text>
               <entry>
                  <reference value="urn:uuid:fdb6fd3a-47d3-4163-bad4-f3aa0830d205"/>
               </entry>
               <entry>
                  <reference value="urn:uuid:158302a5-5c61-47db-88d8-10aa5752a5b3"/>
               </entry>
            </section>
         </Composition>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:671a460f-221a-41ef-8053-6374bf69011c"/>
      <resource>
         <Patient>
            <id value="671a460f-221a-41ef-8053-6374bf69011c"/>
            <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:2688dd12-9d94-4f19-8015-dd8c16dff290"/>
      <resource>
         <Encounter>
            <id value="2688dd12-9d94-4f19-8015-dd8c16dff290"/>
            <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>04-07-2019 - 12-07-2019</td>
                        <td>
                           <ul>
                              <li>Primary malignant neoplasm of colon (disorder)</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/671a460f-221a-41ef-8053-6374bf69011c"/>
               <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="2019-07-12"/>
               </period>
               <individual>
                  <reference value="urn:uuid:2cfcdff3-fc42-4793-a927-46acef0b1eec"/>
               </individual>
            </participant>
            <period>
               <start value="2019-07-12"/>
            </period>
            <reasonCode>
               <coding>
                  <system value="http://snomed.info/sct"/>
                  <code value="93761005"/>
                  <display value="Primary malignant neoplasm of colon (disorder)"/>
               </coding>
            </reasonCode>
            <serviceProvider>
               <reference value="urn:uuid:6491039a-6ca1-4869-b4a8-16e09e1e51de"/>
            </serviceProvider>
         </Encounter>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:a1548eb9-480f-495a-a4d8-e49561cc90a4"/>
      <resource>
         <PractitionerRole>
            <id value="a1548eb9-480f-495a-a4d8-e49561cc90a4"/>
            <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: a1548eb9-480f-495a-a4d8-e49561cc90a4</div>
            </text>
            <practitioner>
               <reference value="urn:uuid:2cfcdff3-fc42-4793-a927-46acef0b1eec"/>
            </practitioner>
            <organization>
               <reference value="urn:uuid:6491039a-6ca1-4869-b4a8-16e09e1e51de"/>
            </organization>
         </PractitionerRole>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:6491039a-6ca1-4869-b4a8-16e09e1e51de"/>
      <resource>
         <Organization>
            <id value="6491039a-6ca1-4869-b4a8-16e09e1e51de"/>
            <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:2cfcdff3-fc42-4793-a927-46acef0b1eec"/>
      <resource>
         <Practitioner>
            <id value="2cfcdff3-fc42-4793-a927-46acef0b1eec"/>
            <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="0b64cf69-eecd-4a68-b052-72ea2e5e7cfa"/>
               <assigner>
                  <display value="HL7 Europe"/>
               </assigner>
            </identifier>
            <name>
               <family value="Jędraszek"/>
               <given value="Gustaw"/>
            </name>
         </Practitioner>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:da422460-ccdf-439b-a371-7695326bff42"/>
      <resource>
         <Condition>
            <id value="da422460-ccdf-439b-a371-7695326bff42"/>
            <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>Malignant neoplasm of colon, unspecified</td>
                        <td>
                           <span class="nb">12-Jul-2019</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="C18.9"/>
                  <display value="Malignant neoplasm of colon, unspecified"/>
               </coding>
               <text value="Malignant neoplasm of colon, unspecified"/>
            </code>
            <subject>
               <reference value="urn:uuid:671a460f-221a-41ef-8053-6374bf69011c"/>
               <display value="Kamil Banek"/>
            </subject>
            <onsetDateTime value="2019-07-12"/>
         </Condition>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:fdb6fd3a-47d3-4163-bad4-f3aa0830d205"/>
      <resource>
         <Procedure>
            <id value="fdb6fd3a-47d3-4163-bad4-f3aa0830d205"/>
            <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>Postoperative care (regime/therapy)</td>
                        <td>
                           <span class="nb">12-Jul-2019</span>
                        </td>
                        <td>-</td>
                     </tr>
                  </table>
               </div>
            </text>
            <status value="completed"/>
            <code>
               <coding>
                  <system value="http://snomed.info/sct"/>
                  <code value="133899007"/>
                  <display value="Postoperative care"/>
               </coding>
            </code>
            <subject>
               <reference value="urn:uuid:671a460f-221a-41ef-8053-6374bf69011c"/>
               <display value="Kamil Banek"/>
            </subject>
            <performedDateTime value="2019-07-12"/>
         </Procedure>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:158302a5-5c61-47db-88d8-10aa5752a5b3"/>
      <resource>
         <Procedure>
            <id value="158302a5-5c61-47db-88d8-10aa5752a5b3"/>
            <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>Partial resection of colon (procedure)</td>
                        <td>
                           <span class="nb">04-Jul-2019</span>
                        </td>
                        <td>-</td>
                     </tr>
                  </table>
               </div>
            </text>
            <status value="completed"/>
            <code>
               <coding>
                  <system value="http://snomed.info/sct"/>
                  <code value="43075005"/>
                  <display value="Partial resection of colon"/>
               </coding>
            </code>
            <subject>
               <reference value="urn:uuid:671a460f-221a-41ef-8053-6374bf69011c"/>
               <display value="Kamil Banek"/>
            </subject>
            <performedDateTime value="2019-07-04"/>
         </Procedure>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:5d85b21f-02f9-4948-88f1-0e6c428d2c67"/>
      <resource>
         <Device>
            <id value="5d85b21f-02f9-4948-88f1-0e6c428d2c67"/>
            <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:8fc46029-0f79-4718-a7e6-8f816d54176f"/>
      <resource>
         <Provenance>
            <id value="8fc46029-0f79-4718-a7e6-8f816d54176f"/>
            <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:671a460f-221a-41ef-8053-6374bf69011c"/>
            </target>
            <target>
               <reference value="urn:uuid:a1548eb9-480f-495a-a4d8-e49561cc90a4"/>
            </target>
            <target>
               <reference value="urn:uuid:2cfcdff3-fc42-4793-a927-46acef0b1eec"/>
            </target>
            <target>
               <reference value="urn:uuid:6491039a-6ca1-4869-b4a8-16e09e1e51de"/>
            </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:5d85b21f-02f9-4948-88f1-0e6c428d2c67"/>
               </who>
            </agent>
         </Provenance>
      </resource>
   </entry>
</Bundle>