<Bundle xmlns="http://hl7.org/fhir">
   <id value="1503bad6-cc06-4ee5-9366-ad2b4ecd07f6"/>
   <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="3705779a-5ddf-421b-8652-52b49e4c3cd5"/>
      <assigner>
         <display value="HL7 Europe"/>
      </assigner>
   </identifier>
   <type value="document"/>
   <timestamp value="2019-05-02T00:00:00Z"/>
   <entry>
      <fullUrl value="urn:uuid:30c66028-4554-4e19-a001-8cb72ac6a5d7"/>
      <resource>
         <Composition>
            <id value="30c66028-4554-4e19-a001-8cb72ac6a5d7"/>
            <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="1c3e5d66-bcf9-4676-a40a-ee17f4d405f3"/>
               <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:5e1d52b1-44f2-4958-a380-d938d12d30e1"/>
               <display value="Philippe Étienne"/>
            </subject>
            <date value="2019-05-02T00:00:00Z"/>
            <author>
               <reference value="urn:uuid:d2973244-b896-4cb7-bf6a-78f84d1ff885"/>
            </author>
            <title value="Hospital Discharge Report"/>
            <confidentiality value="N"/>
            <custodian>
               <reference value="urn:uuid:8c22b395-ae96-4a99-a5f6-16fce5e7e4c2"/>
            </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">Acute appendicitis, appendectomy 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 about the hospital course of your patient, a 56-year-old male, admitted on 30/04/2019 with acute right lower quadrant abdominal pain, nausea, and low-grade fever, clinically suspicious for appendicitis. On admission, laboratory findings revealed leukocytosis (WBC 14.2 × 10³/µL) with elevated CRP. Abdominal ultrasound confirmed an inflamed, non-perforated appendix. A subsequent CT scan of the abdomen corroborated the diagnosis of acute appendicitis without perforation or abscess formation. The patient underwent uncomplicated laparoscopic appendectomy on 01/05/2019 under general anaesthesia. Postoperative recovery was uneventful. Antibiotic prophylaxis was administered perioperatively. The patient was mobilised on postoperative day one and discharged home on 02/05/2019 in good general condition. Wound healing was satisfactory. Please arrange follow-up in approximately two weeks. Should you have any questions, please do not hesitate to contact me.</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>Unspecified appendicitis</td>
                           <td>
                              <span class="nb">02-May-2019</span>
                           </td>
                           <td>active</td>
                        </tr>
                     </table>
                  </div>
               </text>
               <entry>
                  <reference value="urn:uuid:e2d5301a-1cfd-40e9-8990-0e784d02db46"/>
               </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>Excision of appendix (procedure)</td>
                           <td>
                              <span class="nb">30-Apr-2019</span>
                           </td>
                           <td>-</td>
                        </tr>
                     </table>
                  </div>
               </text>
               <entry>
                  <reference value="urn:uuid:d41a02cc-bb15-484d-9c0b-72fe58e875e5"/>
               </entry>
            </section>
         </Composition>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:5e1d52b1-44f2-4958-a380-d938d12d30e1"/>
      <resource>
         <Patient>
            <id value="5e1d52b1-44f2-4958-a380-d938d12d30e1"/>
            <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>Philippe Étienne</td>
                        <td>male</td>
                        <td>13-Aug-1969</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="FR"/>
                     </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="5954-675858-8"/>
            </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="d53bc6c4-cb37-a8f5-f0ac-5e64e2edb4ec"/>
            </identifier>
            <name>
               <text value="Philippe Étienne"/>
               <family value="Étienne"/>
               <given value="Philippe"/>
            </name>
            <telecom>
               <system value="phone"/>
               <value value="05 34 18 24 49"/>
            </telecom>
            <gender value="male"/>
            <birthDate value="1969-08-13"/>
            <address>
               <use value="home"/>
               <type value="physical"/>
               <line value="9, boulevard de Rémy"/>
               <city value="GrégoireBourg"/>
               <postalCode value="01250"/>
               <country value="France"/>
            </address>
         </Patient>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:13f9466e-2a70-428e-aa06-c92664c95092"/>
      <resource>
         <Encounter>
            <id value="13f9466e-2a70-428e-aa06-c92664c95092"/>
            <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>Centre Psychothérapique de l'Ain, Viriat, France</td>
                        <td>30-04-2019 - 02-05-2019</td>
                        <td>
                           <ul>
                              <li>Appendicitis (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/5e1d52b1-44f2-4958-a380-d938d12d30e1"/>
               <display value="Philippe Étienne"/>
            </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-05-02"/>
               </period>
               <individual>
                  <reference value="urn:uuid:494091a5-1200-45b9-abb0-03eaa442c055"/>
               </individual>
            </participant>
            <period>
               <start value="2019-05-02"/>
            </period>
            <reasonCode>
               <coding>
                  <system value="http://snomed.info/sct"/>
                  <code value="74400008"/>
                  <display value="Appendicitis (disorder)"/>
               </coding>
            </reasonCode>
            <serviceProvider>
               <reference value="urn:uuid:8c22b395-ae96-4a99-a5f6-16fce5e7e4c2"/>
            </serviceProvider>
         </Encounter>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:d2973244-b896-4cb7-bf6a-78f84d1ff885"/>
      <resource>
         <PractitionerRole>
            <id value="d2973244-b896-4cb7-bf6a-78f84d1ff885"/>
            <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: d2973244-b896-4cb7-bf6a-78f84d1ff885</div>
            </text>
            <practitioner>
               <reference value="urn:uuid:494091a5-1200-45b9-abb0-03eaa442c055"/>
            </practitioner>
            <organization>
               <reference value="urn:uuid:8c22b395-ae96-4a99-a5f6-16fce5e7e4c2"/>
            </organization>
         </PractitionerRole>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:8c22b395-ae96-4a99-a5f6-16fce5e7e4c2"/>
      <resource>
         <Organization>
            <id value="8c22b395-ae96-4a99-a5f6-16fce5e7e4c2"/>
            <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: Centre Psychothérapique de l&amp;#039;Ain, 01440 Viriat, France</div>
            </text>
            <name value="Centre Psychothérapique de l&amp;amp;#039;Ain"/>
            <address>
               <city value="Viriat"/>
               <postalCode value="01440"/>
               <country value="France"/>
            </address>
         </Organization>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:494091a5-1200-45b9-abb0-03eaa442c055"/>
      <resource>
         <Practitioner>
            <id value="494091a5-1200-45b9-abb0-03eaa442c055"/>
            <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: dr Colette Mathieu</div>
            </text>
            <identifier>
               <system value="urn:oid:2.16.840.1.113883.2.51.999"/>
               <value value="801e1f4b-4d67-464b-ac06-06725ab37958"/>
               <assigner>
                  <display value="HL7 Europe"/>
               </assigner>
            </identifier>
            <name>
               <family value="Mathieu"/>
               <given value="Colette"/>
               <prefix value="dr"/>
            </name>
         </Practitioner>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:e2d5301a-1cfd-40e9-8990-0e784d02db46"/>
      <resource>
         <Condition>
            <id value="e2d5301a-1cfd-40e9-8990-0e784d02db46"/>
            <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>Unspecified appendicitis</td>
                        <td>
                           <span class="nb">02-May-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="K37"/>
                  <display value="Unspecified appendicitis"/>
               </coding>
               <text value="Unspecified appendicitis"/>
            </code>
            <subject>
               <reference value="urn:uuid:5e1d52b1-44f2-4958-a380-d938d12d30e1"/>
               <display value="Philippe Étienne"/>
            </subject>
            <onsetDateTime value="2019-05-02"/>
         </Condition>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:d41a02cc-bb15-484d-9c0b-72fe58e875e5"/>
      <resource>
         <Procedure>
            <id value="d41a02cc-bb15-484d-9c0b-72fe58e875e5"/>
            <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>Excision of appendix (procedure)</td>
                        <td>
                           <span class="nb">30-Apr-2019</span>
                        </td>
                        <td>-</td>
                     </tr>
                  </table>
               </div>
            </text>
            <status value="completed"/>
            <code>
               <coding>
                  <system value="http://snomed.info/sct"/>
                  <code value="80146002"/>
                  <display value="Appendectomy"/>
               </coding>
            </code>
            <subject>
               <reference value="urn:uuid:5e1d52b1-44f2-4958-a380-d938d12d30e1"/>
               <display value="Philippe Étienne"/>
            </subject>
            <performedDateTime value="2019-04-30"/>
         </Procedure>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:f77e199d-cc0c-494d-8a4f-889cc1e85127"/>
      <resource>
         <Device>
            <id value="f77e199d-cc0c-494d-8a4f-889cc1e85127"/>
            <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:b1e19b94-38f7-4ba8-9bfe-5e620222a650"/>
      <resource>
         <Provenance>
            <id value="b1e19b94-38f7-4ba8-9bfe-5e620222a650"/>
            <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:5e1d52b1-44f2-4958-a380-d938d12d30e1"/>
            </target>
            <target>
               <reference value="urn:uuid:d2973244-b896-4cb7-bf6a-78f84d1ff885"/>
            </target>
            <target>
               <reference value="urn:uuid:494091a5-1200-45b9-abb0-03eaa442c055"/>
            </target>
            <target>
               <reference value="urn:uuid:8c22b395-ae96-4a99-a5f6-16fce5e7e4c2"/>
            </target>
            <recorded value="2026-03-20T18:17:05Z"/>
            <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:f77e199d-cc0c-494d-8a4f-889cc1e85127"/>
               </who>
            </agent>
         </Provenance>
      </resource>
   </entry>
</Bundle>