<Bundle xmlns="http://hl7.org/fhir">
   <id value="abe20dc7-16ee-4355-98e4-2ab83952a8cc"/>
   <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="1401631e-10f4-4343-aac0-9e264e6257ec"/>
      <assigner>
         <display value="HL7 Europe"/>
      </assigner>
   </identifier>
   <type value="document"/>
   <timestamp value="2023-03-21T00:00:00Z"/>
   <entry>
      <fullUrl value="urn:uuid:97034a3a-8365-4a16-b0ef-79b2140c200e"/>
      <resource>
         <Composition>
            <id value="97034a3a-8365-4a16-b0ef-79b2140c200e"/>
            <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="08fa50b4-8053-4e41-8435-ef905ec04770"/>
               <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:ef46f82d-e923-49f5-829b-4f70dd8a1087"/>
               <display value="Philippe Étienne"/>
            </subject>
            <date value="2023-03-21T00:00:00Z"/>
            <author>
               <reference value="urn:uuid:2b8b0ef5-d434-4739-9b85-e9c18e39498a"/>
            </author>
            <title value="Hospital Discharge Report"/>
            <confidentiality value="N"/>
            <custodian>
               <reference value="urn:uuid:a0e0071b-a358-40cb-a693-1ede86160dd2"/>
            </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">NSTEMI, treated with PCI</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 20/03/2023 via emergency department presenting with acute chest pain, diaphoresis and dyspnoea. Initial ECG showed no ST-elevation. Serial troponin measurements confirmed elevated cardiac biomarkers consistent with Non-ST-Elevation Myocardial Infarction (NSTEMI). Echocardiography revealed mild left ventricular dysfunction. The patient was commenced on dual antiplatelet therapy, anticoagulation, beta-blocker and statin. Urgent coronary angiography demonstrated a significant stenosis of the left anterior descending artery, which was successfully treated by percutaneous coronary intervention (PCI) with drug-eluting stent implantation. Post-procedural course was uneventful. The patient was discharged on 21/03/2023 in stable condition on aspirin, ticagrelor, bisoprolol, ramipril and atorvastatin. Cardiology outpatient follow-up has been arranged. Please do not hesitate to contact me should you require further information.</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>Acute subendocardial myocardial infarction</td>
                           <td>
                              <span class="nb">21-Mar-2023</span>
                           </td>
                           <td>active</td>
                        </tr>
                     </table>
                  </div>
               </text>
               <entry>
                  <reference value="urn:uuid:a38c3d99-4d10-42af-96e9-9af039ceb51b"/>
               </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>Risk assessment (procedure)</td>
                           <td>
                              <span class="nb">20-Mar-2023</span>
                           </td>
                           <td>-</td>
                        </tr>
                     </table>
                  </div>
               </text>
               <entry>
                  <reference value="urn:uuid:4a9e52c1-ee45-47db-8232-b5db989ae562"/>
               </entry>
            </section>
         </Composition>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:ef46f82d-e923-49f5-829b-4f70dd8a1087"/>
      <resource>
         <Patient>
            <id value="ef46f82d-e923-49f5-829b-4f70dd8a1087"/>
            <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:954d911c-9570-4eff-9508-0d3ba942130e"/>
      <resource>
         <Encounter>
            <id value="954d911c-9570-4eff-9508-0d3ba942130e"/>
            <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>20-03-2023 - 21-03-2023</td>
                        <td>
                           <ul>
                              <li>Acute non-ST segment elevation myocardial infarction (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/ef46f82d-e923-49f5-829b-4f70dd8a1087"/>
               <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="2023-03-21"/>
               </period>
               <individual>
                  <reference value="urn:uuid:4d8bb580-0a0c-4476-a704-1565099fcf58"/>
               </individual>
            </participant>
            <period>
               <start value="2023-03-21"/>
            </period>
            <reasonCode>
               <coding>
                  <system value="http://snomed.info/sct"/>
                  <code value="401314000"/>
                  <display value="Acute non-ST segment elevation myocardial infarction (disorder)"/>
               </coding>
            </reasonCode>
            <serviceProvider>
               <reference value="urn:uuid:a0e0071b-a358-40cb-a693-1ede86160dd2"/>
            </serviceProvider>
         </Encounter>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:2b8b0ef5-d434-4739-9b85-e9c18e39498a"/>
      <resource>
         <PractitionerRole>
            <id value="2b8b0ef5-d434-4739-9b85-e9c18e39498a"/>
            <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: 2b8b0ef5-d434-4739-9b85-e9c18e39498a</div>
            </text>
            <practitioner>
               <reference value="urn:uuid:4d8bb580-0a0c-4476-a704-1565099fcf58"/>
            </practitioner>
            <organization>
               <reference value="urn:uuid:a0e0071b-a358-40cb-a693-1ede86160dd2"/>
            </organization>
         </PractitionerRole>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:a0e0071b-a358-40cb-a693-1ede86160dd2"/>
      <resource>
         <Organization>
            <id value="a0e0071b-a358-40cb-a693-1ede86160dd2"/>
            <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:4d8bb580-0a0c-4476-a704-1565099fcf58"/>
      <resource>
         <Practitioner>
            <id value="4d8bb580-0a0c-4476-a704-1565099fcf58"/>
            <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="e44e7d7c-9c0e-4743-b3ad-1347190a0b7a"/>
               <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:a38c3d99-4d10-42af-96e9-9af039ceb51b"/>
      <resource>
         <Condition>
            <id value="a38c3d99-4d10-42af-96e9-9af039ceb51b"/>
            <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>Acute subendocardial myocardial infarction</td>
                        <td>
                           <span class="nb">21-Mar-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="I21.4"/>
                  <display value="Acute subendocardial myocardial infarction"/>
               </coding>
               <text value="Acute subendocardial myocardial infarction"/>
            </code>
            <subject>
               <reference value="urn:uuid:ef46f82d-e923-49f5-829b-4f70dd8a1087"/>
               <display value="Philippe Étienne"/>
            </subject>
            <onsetDateTime value="2023-03-21"/>
         </Condition>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:4a9e52c1-ee45-47db-8232-b5db989ae562"/>
      <resource>
         <Procedure>
            <id value="4a9e52c1-ee45-47db-8232-b5db989ae562"/>
            <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>Risk assessment (procedure)</td>
                        <td>
                           <span class="nb">20-Mar-2023</span>
                        </td>
                        <td>-</td>
                     </tr>
                  </table>
               </div>
            </text>
            <status value="completed"/>
            <code>
               <coding>
                  <system value="http://snomed.info/sct"/>
                  <code value="225338004"/>
                  <display value="Risk assessment"/>
               </coding>
            </code>
            <subject>
               <reference value="urn:uuid:ef46f82d-e923-49f5-829b-4f70dd8a1087"/>
               <display value="Philippe Étienne"/>
            </subject>
            <performedDateTime value="2023-03-20"/>
         </Procedure>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:ae6c9f59-ec3e-4aa4-88d1-c8290da93c18"/>
      <resource>
         <Device>
            <id value="ae6c9f59-ec3e-4aa4-88d1-c8290da93c18"/>
            <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:5a1a4f67-5362-4819-91a0-6928e127ee39"/>
      <resource>
         <Provenance>
            <id value="5a1a4f67-5362-4819-91a0-6928e127ee39"/>
            <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:ef46f82d-e923-49f5-829b-4f70dd8a1087"/>
            </target>
            <target>
               <reference value="urn:uuid:2b8b0ef5-d434-4739-9b85-e9c18e39498a"/>
            </target>
            <target>
               <reference value="urn:uuid:4d8bb580-0a0c-4476-a704-1565099fcf58"/>
            </target>
            <target>
               <reference value="urn:uuid:a0e0071b-a358-40cb-a693-1ede86160dd2"/>
            </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:ae6c9f59-ec3e-4aa4-88d1-c8290da93c18"/>
               </who>
            </agent>
         </Provenance>
      </resource>
   </entry>
</Bundle>