<Bundle xmlns="http://hl7.org/fhir">
   <id value="38555b2a-e22f-4248-b211-52f2171a1d94"/>
   <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="090cbdd5-3732-413d-9cc1-9d852fa0a9d8"/>
      <assigner>
         <display value="HL7 Europe"/>
      </assigner>
   </identifier>
   <type value="document"/>
   <timestamp value="2019-04-29T00:00:00Z"/>
   <entry>
      <fullUrl value="urn:uuid:c06d7400-d01e-4426-be06-850094fb0400"/>
      <resource>
         <Composition>
            <id value="c06d7400-d01e-4426-be06-850094fb0400"/>
            <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="afa3edb0-b1ce-457c-98d8-9afb9e732b7b"/>
               <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:d60ef5e1-4343-4e14-bfe8-3026fd05fc12"/>
               <display value="Raymond Meunier"/>
            </subject>
            <date value="2019-04-29T00:00:00Z"/>
            <author>
               <reference value="urn:uuid:47f411d8-892b-48dc-8c77-657537d39959"/>
            </author>
            <title value="Hospital Discharge Report"/>
            <confidentiality value="N"/>
            <custodian>
               <reference value="urn:uuid:64bcd62a-b6d5-493d-a5ed-1d342ef5441b"/>
            </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">Rotator cuff repair performed, post-operative recovery uneventful</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 your patient, a 40-year-old male, admitted on 23/04/2019 following confirmed injury to the rotator cuff of the right shoulder. Clinical examination revealed significant pain, reduced range of motion, and weakness on abduction. MRI confirmed a full-thickness rotator cuff tear involving the supraspinatus tendon. Following multidisciplinary assessment, the patient underwent arthroscopic rotator cuff repair on 25/04/2019. Post-operative recovery was uneventful, with adequate pain management achieved using analgesics and physiotherapy initiated prior to discharge. Wound healing was satisfactory. The patient was discharged on 29/04/2019 with a sling, oral analgesia, and referral for outpatient physiotherapy. Please ensure follow-up within two weeks and monitor for signs of re-tear or infection. Should you require further information, do not hesitate to contact our department.</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>Rotator cuff syndrome</td>
                           <td>
                              <span class="nb">29-Apr-2019</span>
                           </td>
                           <td>active</td>
                        </tr>
                     </table>
                  </div>
               </text>
               <entry>
                  <reference value="urn:uuid:4bf9977f-036e-4282-9030-ac9d8bf82bf7"/>
               </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>Surgical manipulation of shoulder joint (procedure)</td>
                           <td>
                              <span class="nb">23-Apr-2019</span>
                           </td>
                           <td>-</td>
                        </tr>
                     </table>
                  </div>
               </text>
               <entry>
                  <reference value="urn:uuid:8c32f0d4-4583-4ca3-a9fe-680f8a15fdda"/>
               </entry>
               <entry>
                  <reference value="urn:uuid:a561a89e-abcb-4657-97dc-9d86a9e14d67"/>
               </entry>
            </section>
         </Composition>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:d60ef5e1-4343-4e14-bfe8-3026fd05fc12"/>
      <resource>
         <Patient>
            <id value="d60ef5e1-4343-4e14-bfe8-3026fd05fc12"/>
            <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>Raymond Meunier</td>
                        <td>male</td>
                        <td>03-Oct-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="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="4894-076522-4"/>
            </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="d7ac2f1c-9718-dbf8-9be9-a4f44aad064e"/>
            </identifier>
            <name>
               <text value="Raymond Meunier"/>
               <family value="Meunier"/>
               <given value="Raymond"/>
            </name>
            <telecom>
               <system value="phone"/>
               <value value="+33 (0)3 88 09 51 30"/>
            </telecom>
            <gender value="male"/>
            <birthDate value="1984-10-03"/>
            <address>
               <use value="home"/>
               <type value="physical"/>
               <line value="56, avenue Lejeune"/>
               <city value="Paris"/>
               <postalCode value="75000"/>
               <country value="France"/>
            </address>
         </Patient>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:48c13188-864a-4f5f-9341-917c2bf8b3d5"/>
      <resource>
         <Encounter>
            <id value="48c13188-864a-4f5f-9341-917c2bf8b3d5"/>
            <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>Hôtel-Dieu, Paris, France</td>
                        <td>23-04-2019 - 29-04-2019</td>
                        <td>
                           <ul>
                              <li>Injury of tendon of the rotator cuff of shoulder (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/d60ef5e1-4343-4e14-bfe8-3026fd05fc12"/>
               <display value="Raymond Meunier"/>
            </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-04-29"/>
               </period>
               <individual>
                  <reference value="urn:uuid:59ba633e-6f7a-46e5-997e-474e9c05b18c"/>
               </individual>
            </participant>
            <period>
               <start value="2019-04-29"/>
            </period>
            <reasonCode>
               <coding>
                  <system value="http://snomed.info/sct"/>
                  <code value="307731004"/>
                  <display value="Injury of tendon of the rotator cuff of shoulder (disorder)"/>
               </coding>
            </reasonCode>
            <serviceProvider>
               <reference value="urn:uuid:64bcd62a-b6d5-493d-a5ed-1d342ef5441b"/>
            </serviceProvider>
         </Encounter>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:47f411d8-892b-48dc-8c77-657537d39959"/>
      <resource>
         <PractitionerRole>
            <id value="47f411d8-892b-48dc-8c77-657537d39959"/>
            <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: 47f411d8-892b-48dc-8c77-657537d39959</div>
            </text>
            <practitioner>
               <reference value="urn:uuid:59ba633e-6f7a-46e5-997e-474e9c05b18c"/>
            </practitioner>
            <organization>
               <reference value="urn:uuid:64bcd62a-b6d5-493d-a5ed-1d342ef5441b"/>
            </organization>
         </PractitionerRole>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:64bcd62a-b6d5-493d-a5ed-1d342ef5441b"/>
      <resource>
         <Organization>
            <id value="64bcd62a-b6d5-493d-a5ed-1d342ef5441b"/>
            <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: Hôtel-Dieu, 75001 Paris, France</div>
            </text>
            <name value="Hôtel-Dieu"/>
            <address>
               <city value="Paris"/>
               <postalCode value="75001"/>
               <country value="France"/>
            </address>
         </Organization>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:59ba633e-6f7a-46e5-997e-474e9c05b18c"/>
      <resource>
         <Practitioner>
            <id value="59ba633e-6f7a-46e5-997e-474e9c05b18c"/>
            <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 Tristan Gilbert</div>
            </text>
            <identifier>
               <system value="urn:oid:2.16.840.1.113883.2.51.999"/>
               <value value="f2a96dd5-35bb-49aa-8eab-3d1d58bbef78"/>
               <assigner>
                  <display value="HL7 Europe"/>
               </assigner>
            </identifier>
            <name>
               <family value="Gilbert"/>
               <given value="Tristan"/>
               <prefix value="dr"/>
            </name>
         </Practitioner>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:4bf9977f-036e-4282-9030-ac9d8bf82bf7"/>
      <resource>
         <Condition>
            <id value="4bf9977f-036e-4282-9030-ac9d8bf82bf7"/>
            <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>Rotator cuff syndrome</td>
                        <td>
                           <span class="nb">29-Apr-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="M75.1"/>
                  <display value="Rotator cuff syndrome"/>
               </coding>
               <text value="Rotator cuff syndrome"/>
            </code>
            <subject>
               <reference value="urn:uuid:d60ef5e1-4343-4e14-bfe8-3026fd05fc12"/>
               <display value="Raymond Meunier"/>
            </subject>
            <onsetDateTime value="2019-04-29"/>
         </Condition>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:8c32f0d4-4583-4ca3-a9fe-680f8a15fdda"/>
      <resource>
         <Procedure>
            <id value="8c32f0d4-4583-4ca3-a9fe-680f8a15fdda"/>
            <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">29-Apr-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:d60ef5e1-4343-4e14-bfe8-3026fd05fc12"/>
               <display value="Raymond Meunier"/>
            </subject>
            <performedDateTime value="2019-04-29"/>
         </Procedure>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:a561a89e-abcb-4657-97dc-9d86a9e14d67"/>
      <resource>
         <Procedure>
            <id value="a561a89e-abcb-4657-97dc-9d86a9e14d67"/>
            <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>Surgical manipulation of shoulder joint (procedure)</td>
                        <td>
                           <span class="nb">23-Apr-2019</span>
                        </td>
                        <td>-</td>
                     </tr>
                  </table>
               </div>
            </text>
            <status value="completed"/>
            <code>
               <coding>
                  <system value="http://snomed.info/sct"/>
                  <code value="387685009"/>
                  <display value="Surgical manipulation of shoulder joint"/>
               </coding>
            </code>
            <subject>
               <reference value="urn:uuid:d60ef5e1-4343-4e14-bfe8-3026fd05fc12"/>
               <display value="Raymond Meunier"/>
            </subject>
            <performedDateTime value="2019-04-23"/>
         </Procedure>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:20c53afa-5001-4863-9259-1f178c34d8d1"/>
      <resource>
         <Device>
            <id value="20c53afa-5001-4863-9259-1f178c34d8d1"/>
            <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:95ed8d77-c4d9-455e-b737-946d3e2f1d38"/>
      <resource>
         <Provenance>
            <id value="95ed8d77-c4d9-455e-b737-946d3e2f1d38"/>
            <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:d60ef5e1-4343-4e14-bfe8-3026fd05fc12"/>
            </target>
            <target>
               <reference value="urn:uuid:47f411d8-892b-48dc-8c77-657537d39959"/>
            </target>
            <target>
               <reference value="urn:uuid:59ba633e-6f7a-46e5-997e-474e9c05b18c"/>
            </target>
            <target>
               <reference value="urn:uuid:64bcd62a-b6d5-493d-a5ed-1d342ef5441b"/>
            </target>
            <recorded value="2026-03-20T18:17:20Z"/>
            <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:20c53afa-5001-4863-9259-1f178c34d8d1"/>
               </who>
            </agent>
         </Provenance>
      </resource>
   </entry>
</Bundle>