<Bundle xmlns="http://hl7.org/fhir">
   <id value="7335df2c-5480-4c60-a70d-94c5f9c1f46f"/>
   <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="f77d7295-b706-4d54-9801-a79837c5e554"/>
      <assigner>
         <display value="HL7 Europe"/>
      </assigner>
   </identifier>
   <type value="document"/>
   <timestamp value="2021-12-04T00:00:00Z"/>
   <entry>
      <fullUrl value="urn:uuid:f3d59c46-cfba-44bf-b872-9bdb901fad6a"/>
      <resource>
         <Composition>
            <id value="f3d59c46-cfba-44bf-b872-9bdb901fad6a"/>
            <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="e7240561-d62a-4e19-b2d1-4f659cc35b38"/>
               <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:e93848bb-227c-4672-8086-acb4f9550d3c"/>
               <display value="Mary Kambs"/>
            </subject>
            <date value="2021-12-04T00:00:00Z"/>
            <author>
               <reference value="urn:uuid:32cf3512-19bb-4de0-90fc-46f25f84303d"/>
            </author>
            <title value="Hospital Discharge Report"/>
            <confidentiality value="N"/>
            <custodian>
               <reference value="urn:uuid:95f1fa09-eab0-4680-ac8f-425df4fb3437"/>
            </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">Ectopic tubal pregnancy, surgically 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 about the hospital course of your patient, a 40-year-old female, admitted on 02.12.2021 with acute lower abdominal pain and a positive pregnancy test. Clinical examination, transvaginal ultrasound, and serial serum beta-hCG measurements confirmed a right-sided tubal ectopic pregnancy without signs of rupture on admission. Due to the clinical findings and patient's hemodynamic stability, she was counselled and consented for surgical management. She underwent laparoscopic right salpingectomy on 02.12.2021 without intraoperative complications. Postoperative recovery was uneventful, and she was discharged home on 04.12.2021 in good general condition. Histopathology specimens have been submitted. Please ensure follow-up of beta-hCG levels until negativity and provide appropriate psychological support regarding future fertility counselling.</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>Tubal pregnancy</td>
                           <td>
                              <span class="nb">04-Dec-2021</span>
                           </td>
                           <td>active</td>
                        </tr>
                     </table>
                  </div>
               </text>
               <entry>
                  <reference value="urn:uuid:53838a8e-ae38-403e-ac07-718b9d415f11"/>
               </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 fallopian tube and surgical removal of ectopic pregnancy (procedure)</td>
                           <td>
                              <span class="nb">02-Dec-2021</span>
                           </td>
                           <td>-</td>
                        </tr>
                     </table>
                  </div>
               </text>
               <entry>
                  <reference value="urn:uuid:dae4e3f8-b786-4046-a306-d54208e464b6"/>
               </entry>
               <entry>
                  <reference value="urn:uuid:e0d6446f-a675-4420-9e6d-96d7291849f4"/>
               </entry>
            </section>
         </Composition>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:e93848bb-227c-4672-8086-acb4f9550d3c"/>
      <resource>
         <Patient>
            <id value="e93848bb-227c-4672-8086-acb4f9550d3c"/>
            <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>Mary Kambs</td>
                        <td>female</td>
                        <td>07-Dec-1984</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="DE"/>
                     </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="8803-230845-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="b8d3b663-b22b-9580-d57f-2c1cc766f711"/>
            </identifier>
            <name>
               <text value="Mary Kambs"/>
               <family value="Kambs"/>
               <given value="Mary"/>
            </name>
            <telecom>
               <system value="phone"/>
               <value value="06423969391"/>
            </telecom>
            <gender value="female"/>
            <birthDate value="1984-12-07"/>
            <address>
               <use value="home"/>
               <type value="physical"/>
               <line value="Müllerplatz 0"/>
               <city value="Hechingen"/>
               <postalCode value="72379"/>
               <country value="Germany"/>
            </address>
         </Patient>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:f25db058-838e-4734-9488-575c228daf79"/>
      <resource>
         <Encounter>
            <id value="f25db058-838e-4734-9488-575c228daf79"/>
            <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>Dr. Christine Stegmann-Scharf, Mössingen, Germany</td>
                        <td>02-12-2021 - 04-12-2021</td>
                        <td>
                           <ul>
                              <li>Tubal pregnancy (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/e93848bb-227c-4672-8086-acb4f9550d3c"/>
               <display value="Mary Kambs"/>
            </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="2021-12-04"/>
               </period>
               <individual>
                  <reference value="urn:uuid:e9176b21-a047-40d1-87af-827efa7ac1aa"/>
               </individual>
            </participant>
            <period>
               <start value="2021-12-04"/>
            </period>
            <reasonCode>
               <coding>
                  <system value="http://snomed.info/sct"/>
                  <code value="79586000"/>
                  <display value="Tubal pregnancy (disorder)"/>
               </coding>
            </reasonCode>
            <serviceProvider>
               <reference value="urn:uuid:95f1fa09-eab0-4680-ac8f-425df4fb3437"/>
            </serviceProvider>
         </Encounter>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:32cf3512-19bb-4de0-90fc-46f25f84303d"/>
      <resource>
         <PractitionerRole>
            <id value="32cf3512-19bb-4de0-90fc-46f25f84303d"/>
            <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: 32cf3512-19bb-4de0-90fc-46f25f84303d</div>
            </text>
            <practitioner>
               <reference value="urn:uuid:e9176b21-a047-40d1-87af-827efa7ac1aa"/>
            </practitioner>
            <organization>
               <reference value="urn:uuid:95f1fa09-eab0-4680-ac8f-425df4fb3437"/>
            </organization>
         </PractitionerRole>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:95f1fa09-eab0-4680-ac8f-425df4fb3437"/>
      <resource>
         <Organization>
            <id value="95f1fa09-eab0-4680-ac8f-425df4fb3437"/>
            <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: Dr. Christine Stegmann-Scharf, 72116 Mössingen, Germany</div>
            </text>
            <name value="Dr. Christine Stegmann-Scharf"/>
            <address>
               <city value="Mössingen"/>
               <postalCode value="72116"/>
               <country value="Germany"/>
            </address>
         </Organization>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:e9176b21-a047-40d1-87af-827efa7ac1aa"/>
      <resource>
         <Practitioner>
            <id value="e9176b21-a047-40d1-87af-827efa7ac1aa"/>
            <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. Evangelos Gute</div>
            </text>
            <identifier>
               <system value="urn:oid:2.16.840.1.113883.2.51.999"/>
               <value value="68632b27-f072-41f5-92fe-76a162781163"/>
               <assigner>
                  <display value="HL7 Europe"/>
               </assigner>
            </identifier>
            <name>
               <family value="Gute"/>
               <given value="Evangelos"/>
               <prefix value="Dr."/>
            </name>
         </Practitioner>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:53838a8e-ae38-403e-ac07-718b9d415f11"/>
      <resource>
         <Condition>
            <id value="53838a8e-ae38-403e-ac07-718b9d415f11"/>
            <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>Tubal pregnancy</td>
                        <td>
                           <span class="nb">04-Dec-2021</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="O00.1"/>
                  <display value="Tubal pregnancy"/>
               </coding>
               <text value="Tubal pregnancy"/>
            </code>
            <subject>
               <reference value="urn:uuid:e93848bb-227c-4672-8086-acb4f9550d3c"/>
               <display value="Mary Kambs"/>
            </subject>
            <onsetDateTime value="2021-12-04"/>
         </Condition>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:dae4e3f8-b786-4046-a306-d54208e464b6"/>
      <resource>
         <Procedure>
            <id value="dae4e3f8-b786-4046-a306-d54208e464b6"/>
            <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">04-Dec-2021</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:e93848bb-227c-4672-8086-acb4f9550d3c"/>
               <display value="Mary Kambs"/>
            </subject>
            <performedDateTime value="2021-12-04"/>
         </Procedure>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:e0d6446f-a675-4420-9e6d-96d7291849f4"/>
      <resource>
         <Procedure>
            <id value="e0d6446f-a675-4420-9e6d-96d7291849f4"/>
            <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 fallopian tube and surgical removal of ectopic pregnancy (procedure)</td>
                        <td>
                           <span class="nb">02-Dec-2021</span>
                        </td>
                        <td>-</td>
                     </tr>
                  </table>
               </div>
            </text>
            <status value="completed"/>
            <code>
               <coding>
                  <system value="http://snomed.info/sct"/>
                  <code value="445912000"/>
                  <display value="Excision of fallopian tube and surgical removal of ectopic pregnancy"/>
               </coding>
            </code>
            <subject>
               <reference value="urn:uuid:e93848bb-227c-4672-8086-acb4f9550d3c"/>
               <display value="Mary Kambs"/>
            </subject>
            <performedDateTime value="2021-12-02"/>
         </Procedure>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:ced171e4-70c5-4ec1-a2a0-88a6d35fda48"/>
      <resource>
         <Device>
            <id value="ced171e4-70c5-4ec1-a2a0-88a6d35fda48"/>
            <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:1acbc905-41da-4a00-ac4b-9e6b2d4f7424"/>
      <resource>
         <Provenance>
            <id value="1acbc905-41da-4a00-ac4b-9e6b2d4f7424"/>
            <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:e93848bb-227c-4672-8086-acb4f9550d3c"/>
            </target>
            <target>
               <reference value="urn:uuid:32cf3512-19bb-4de0-90fc-46f25f84303d"/>
            </target>
            <target>
               <reference value="urn:uuid:e9176b21-a047-40d1-87af-827efa7ac1aa"/>
            </target>
            <target>
               <reference value="urn:uuid:95f1fa09-eab0-4680-ac8f-425df4fb3437"/>
            </target>
            <recorded value="2026-03-20T18:20:18Z"/>
            <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:ced171e4-70c5-4ec1-a2a0-88a6d35fda48"/>
               </who>
            </agent>
         </Provenance>
      </resource>
   </entry>
</Bundle>