<Bundle xmlns="http://hl7.org/fhir">
   <id value="694a49a5-1462-4be2-ba7c-98a446e6c236"/>
   <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="40804e4f-fef3-4190-81f3-90f33e002b5f"/>
      <assigner>
         <display value="HL7 Europe"/>
      </assigner>
   </identifier>
   <type value="document"/>
   <timestamp value="2023-08-05T00:00:00Z"/>
   <entry>
      <fullUrl value="urn:uuid:317c360d-fb43-45e0-a8f1-62cc87cdeabe"/>
      <resource>
         <Composition>
            <id value="317c360d-fb43-45e0-a8f1-62cc87cdeabe"/>
            <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="e839e5b3-d93d-489b-8a40-fdbd42ddcbae"/>
               <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:a3231a50-c746-428a-82be-5add49229e55"/>
               <display value="Elena Boudewijns"/>
            </subject>
            <date value="2023-08-05T00:00:00Z"/>
            <author>
               <reference value="urn:uuid:51819074-90e8-4d16-908c-6930c33b5a9b"/>
            </author>
            <title value="Hospital Discharge Report"/>
            <confidentiality value="N"/>
            <custodian>
               <reference value="urn:uuid:7658079f-1c68-4584-9d59-fb089c786340"/>
            </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">Malignant neoplasm of colon, treated</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 mutual patient, a 64-year-old female, admitted on 04/08/2023 for investigation and management of a malignant neoplasm of the colon. Following admission, diagnostic workup included colonoscopy with biopsy, CT staging of chest, abdomen and pelvis, and laboratory investigations including tumour markers. Histopathological analysis confirmed colorectal adenocarcinoma. Staging indicated localised disease suitable for surgical resection. The patient underwent elective hemicolectomy without significant intraoperative complications. Postoperative recovery was satisfactory, with adequate pain management and early mobilisation achieved. The patient was discharged home on 05/08/2023 in stable condition. Oncology follow-up has been arranged, and we recommend continued monitoring of bowel function, wound care, and routine blood tests. Please do not hesitate to contact us should further information be required.</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">05-Aug-2023</span>
                           </td>
                           <td>active</td>
                        </tr>
                     </table>
                  </div>
               </text>
               <entry>
                  <reference value="urn:uuid:fdb90910-325a-48c9-bcee-e8b5db92d66e"/>
               </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-Aug-2023</span>
                           </td>
                           <td>-</td>
                        </tr>
                     </table>
                  </div>
               </text>
               <entry>
                  <reference value="urn:uuid:370c79ef-8690-47f9-a971-bb0a854427a2"/>
               </entry>
               <entry>
                  <reference value="urn:uuid:6a4f9ea0-463f-4dc9-9945-64d46a24d51e"/>
               </entry>
            </section>
         </Composition>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:a3231a50-c746-428a-82be-5add49229e55"/>
      <resource>
         <Patient>
            <id value="a3231a50-c746-428a-82be-5add49229e55"/>
            <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>Elena Boudewijns</td>
                        <td>female</td>
                        <td>11-Oct-1960</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="NL"/>
                     </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="9545-538678-9"/>
            </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="110cafd3-c74d-102b-b3b2-36c731da14fe"/>
            </identifier>
            <name>
               <text value="Elena Boudewijns"/>
               <family value="Boudewijns"/>
               <given value="Elena"/>
            </name>
            <telecom>
               <system value="phone"/>
               <value value="011-6433004"/>
            </telecom>
            <gender value="female"/>
            <birthDate value="1960-10-11"/>
            <address>
               <use value="home"/>
               <type value="physical"/>
               <line value="Fienehof 49"/>
               <city value="Haskerdijken"/>
               <postalCode value="8468"/>
               <country value="Netherlands"/>
            </address>
         </Patient>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:2c82ed02-b175-4c81-bb08-506cc21f3100"/>
      <resource>
         <Encounter>
            <id value="2c82ed02-b175-4c81-bb08-506cc21f3100"/>
            <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>Huisartsenpraktijk Nieuwehorne, Nieuwehorne, Netherlands</td>
                        <td>04-08-2023 - 05-08-2023</td>
                        <td>
                           <ul>
                              <li>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/a3231a50-c746-428a-82be-5add49229e55"/>
               <display value="Elena Boudewijns"/>
            </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="2023-08-05"/>
               </period>
               <individual>
                  <reference value="urn:uuid:8f4d9940-642f-4c52-8906-9d0a40203cd8"/>
               </individual>
            </participant>
            <period>
               <start value="2023-08-05"/>
            </period>
            <reasonCode>
               <coding>
                  <system value="http://snomed.info/sct"/>
                  <code value="363406005"/>
                  <display value="Malignant neoplasm of colon (disorder)"/>
               </coding>
            </reasonCode>
            <serviceProvider>
               <reference value="urn:uuid:7658079f-1c68-4584-9d59-fb089c786340"/>
            </serviceProvider>
         </Encounter>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:51819074-90e8-4d16-908c-6930c33b5a9b"/>
      <resource>
         <PractitionerRole>
            <id value="51819074-90e8-4d16-908c-6930c33b5a9b"/>
            <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: 51819074-90e8-4d16-908c-6930c33b5a9b</div>
            </text>
            <practitioner>
               <reference value="urn:uuid:8f4d9940-642f-4c52-8906-9d0a40203cd8"/>
            </practitioner>
            <organization>
               <reference value="urn:uuid:7658079f-1c68-4584-9d59-fb089c786340"/>
            </organization>
         </PractitionerRole>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:7658079f-1c68-4584-9d59-fb089c786340"/>
      <resource>
         <Organization>
            <id value="7658079f-1c68-4584-9d59-fb089c786340"/>
            <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: Huisartsenpraktijk Nieuwehorne, 8414 LX Nieuwehorne, Netherlands</div>
            </text>
            <name value="Huisartsenpraktijk Nieuwehorne"/>
            <address>
               <city value="Nieuwehorne"/>
               <postalCode value="8414 LX"/>
               <country value="Netherlands"/>
            </address>
         </Organization>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:8f4d9940-642f-4c52-8906-9d0a40203cd8"/>
      <resource>
         <Practitioner>
            <id value="8f4d9940-642f-4c52-8906-9d0a40203cd8"/>
            <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: Jordy van den Nuwenhijsen</div>
            </text>
            <identifier>
               <system value="urn:oid:2.16.840.1.113883.2.51.999"/>
               <value value="377eacdf-e7e2-4c88-b16b-926dfc447f33"/>
               <assigner>
                  <display value="HL7 Europe"/>
               </assigner>
            </identifier>
            <name>
               <family value="van den Nuwenhijsen"/>
               <given value="Jordy"/>
            </name>
         </Practitioner>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:fdb90910-325a-48c9-bcee-e8b5db92d66e"/>
      <resource>
         <Condition>
            <id value="fdb90910-325a-48c9-bcee-e8b5db92d66e"/>
            <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">05-Aug-2023</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:a3231a50-c746-428a-82be-5add49229e55"/>
               <display value="Elena Boudewijns"/>
            </subject>
            <onsetDateTime value="2023-08-05"/>
         </Condition>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:370c79ef-8690-47f9-a971-bb0a854427a2"/>
      <resource>
         <Procedure>
            <id value="370c79ef-8690-47f9-a971-bb0a854427a2"/>
            <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">05-Aug-2023</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:a3231a50-c746-428a-82be-5add49229e55"/>
               <display value="Elena Boudewijns"/>
            </subject>
            <performedDateTime value="2023-08-05"/>
         </Procedure>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:6a4f9ea0-463f-4dc9-9945-64d46a24d51e"/>
      <resource>
         <Procedure>
            <id value="6a4f9ea0-463f-4dc9-9945-64d46a24d51e"/>
            <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-Aug-2023</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:a3231a50-c746-428a-82be-5add49229e55"/>
               <display value="Elena Boudewijns"/>
            </subject>
            <performedDateTime value="2023-08-04"/>
         </Procedure>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:2fa70681-0441-4d3e-9119-63072a0c4593"/>
      <resource>
         <Device>
            <id value="2fa70681-0441-4d3e-9119-63072a0c4593"/>
            <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:d696fdcf-3d7a-4c83-a497-12351c7c828e"/>
      <resource>
         <Provenance>
            <id value="d696fdcf-3d7a-4c83-a497-12351c7c828e"/>
            <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:a3231a50-c746-428a-82be-5add49229e55"/>
            </target>
            <target>
               <reference value="urn:uuid:51819074-90e8-4d16-908c-6930c33b5a9b"/>
            </target>
            <target>
               <reference value="urn:uuid:8f4d9940-642f-4c52-8906-9d0a40203cd8"/>
            </target>
            <target>
               <reference value="urn:uuid:7658079f-1c68-4584-9d59-fb089c786340"/>
            </target>
            <recorded value="2026-03-20T18:23:19Z"/>
            <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:2fa70681-0441-4d3e-9119-63072a0c4593"/>
               </who>
            </agent>
         </Provenance>
      </resource>
   </entry>
</Bundle>