<Bundle xmlns="http://hl7.org/fhir">
   <id value="2a5a3a67-bbc2-4d75-8993-656d50eda550"/>
   <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="3bcb4a34-57ca-4357-9b99-2a613264a851"/>
      <assigner>
         <display value="HL7 Europe"/>
      </assigner>
   </identifier>
   <type value="document"/>
   <timestamp value="2018-01-17T00:00:00Z"/>
   <entry>
      <fullUrl value="urn:uuid:bc64fed6-d8a0-41a0-b63a-7746ea61d2a0"/>
      <resource>
         <Composition>
            <id value="bc64fed6-d8a0-41a0-b63a-7746ea61d2a0"/>
            <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="bd4455c2-8293-407f-818a-93e27f625307"/>
               <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:28ff1154-3571-4e79-8f3d-347eb42e15ae"/>
               <display value="Raffaele Rienzo"/>
            </subject>
            <date value="2018-01-17T00:00:00Z"/>
            <author>
               <reference value="urn:uuid:4df6b87c-07c6-4289-956b-22c8e9cc4ab7"/>
            </author>
            <title value="Hospital Discharge Report"/>
            <confidentiality value="N"/>
            <custodian>
               <reference value="urn:uuid:b3532875-0758-4082-a690-fd1eb5389882"/>
            </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">Patellar tendon 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 25-year-old male admitted on 04/01/2018 following acute rupture of the right patellar tendon, sustained during a sporting activity. Clinical examination revealed inability to extend the knee, with a palpable gap inferior to the patella. Diagnosis was confirmed via ultrasound and MRI imaging, demonstrating complete patellar tendon rupture. The patient underwent successful surgical repair of the patellar tendon under spinal anaesthesia on 06/01/2018. Post-operative recovery was uneventful. Physiotherapy was initiated prior to discharge. He was discharged on 17/01/2018 with a knee immobiliser, analgesia, and outpatient physiotherapy referral. Please arrange follow-up at six weeks. Should you have any queries, 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>Injury of quadriceps muscle and tendon</td>
                           <td>
                              <span class="nb">17-Jan-2018</span>
                           </td>
                           <td>active</td>
                        </tr>
                     </table>
                  </div>
               </text>
               <entry>
                  <reference value="urn:uuid:af41a388-8cd7-48a5-b8a3-36586242fe74"/>
               </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 joint of knee (procedure)</td>
                           <td>
                              <span class="nb">04-Jan-2018</span>
                           </td>
                           <td>-</td>
                        </tr>
                     </table>
                  </div>
               </text>
               <entry>
                  <reference value="urn:uuid:92f853a0-239d-42e2-8ef8-4dc0f27b9156"/>
               </entry>
               <entry>
                  <reference value="urn:uuid:e51986ab-8304-4c37-9f97-f9efcc388a75"/>
               </entry>
            </section>
         </Composition>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:28ff1154-3571-4e79-8f3d-347eb42e15ae"/>
      <resource>
         <Patient>
            <id value="28ff1154-3571-4e79-8f3d-347eb42e15ae"/>
            <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>Raffaele Rienzo</td>
                        <td>male</td>
                        <td>13-Dec-1999</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="IT"/>
                     </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="3729-001107-3"/>
            </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="404187ed-e98e-9c22-127a-f83ef2c6f39d"/>
            </identifier>
            <name>
               <text value="Raffaele Rienzo"/>
               <family value="Rienzo"/>
               <given value="Raffaele"/>
            </name>
            <telecom>
               <system value="phone"/>
               <value value="3770239944"/>
            </telecom>
            <gender value="male"/>
            <birthDate value="1999-12-13"/>
            <address>
               <use value="home"/>
               <type value="physical"/>
               <line value="Strada Pietro, 1"/>
               <city value="Mozzanica"/>
               <postalCode value="26010"/>
               <country value="Italy"/>
            </address>
         </Patient>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:654aa423-fdf1-443d-aa63-f7f0fbc931bd"/>
      <resource>
         <Encounter>
            <id value="654aa423-fdf1-443d-aa63-f7f0fbc931bd"/>
            <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>Ambulatorio Medico, Azzanello, Italy</td>
                        <td>04-01-2018 - 17-01-2018</td>
                        <td>
                           <ul>
                              <li>Rupture of patellar tendon (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/28ff1154-3571-4e79-8f3d-347eb42e15ae"/>
               <display value="Raffaele Rienzo"/>
            </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="2018-01-17"/>
               </period>
               <individual>
                  <reference value="urn:uuid:1d5326b1-32c3-42f7-ba99-16c37a845932"/>
               </individual>
            </participant>
            <period>
               <start value="2018-01-17"/>
            </period>
            <reasonCode>
               <coding>
                  <system value="http://snomed.info/sct"/>
                  <code value="30832001"/>
                  <display value="Rupture of patellar tendon (disorder)"/>
               </coding>
            </reasonCode>
            <serviceProvider>
               <reference value="urn:uuid:b3532875-0758-4082-a690-fd1eb5389882"/>
            </serviceProvider>
         </Encounter>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:4df6b87c-07c6-4289-956b-22c8e9cc4ab7"/>
      <resource>
         <PractitionerRole>
            <id value="4df6b87c-07c6-4289-956b-22c8e9cc4ab7"/>
            <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: 4df6b87c-07c6-4289-956b-22c8e9cc4ab7</div>
            </text>
            <practitioner>
               <reference value="urn:uuid:1d5326b1-32c3-42f7-ba99-16c37a845932"/>
            </practitioner>
            <organization>
               <reference value="urn:uuid:b3532875-0758-4082-a690-fd1eb5389882"/>
            </organization>
         </PractitionerRole>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:b3532875-0758-4082-a690-fd1eb5389882"/>
      <resource>
         <Organization>
            <id value="b3532875-0758-4082-a690-fd1eb5389882"/>
            <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: Ambulatorio Medico, 26010 Azzanello, Italy</div>
            </text>
            <name value="Ambulatorio Medico"/>
            <address>
               <city value="Azzanello"/>
               <postalCode value="26010"/>
               <country value="Italy"/>
            </address>
         </Organization>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:1d5326b1-32c3-42f7-ba99-16c37a845932"/>
      <resource>
         <Practitioner>
            <id value="1d5326b1-32c3-42f7-ba99-16c37a845932"/>
            <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: Luciana Franzese</div>
            </text>
            <identifier>
               <system value="urn:oid:2.16.840.1.113883.2.51.999"/>
               <value value="667b8321-75a1-41b0-8241-3c959b88e636"/>
               <assigner>
                  <display value="HL7 Europe"/>
               </assigner>
            </identifier>
            <name>
               <family value="Franzese"/>
               <given value="Luciana"/>
            </name>
         </Practitioner>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:af41a388-8cd7-48a5-b8a3-36586242fe74"/>
      <resource>
         <Condition>
            <id value="af41a388-8cd7-48a5-b8a3-36586242fe74"/>
            <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>Injury of quadriceps muscle and tendon</td>
                        <td>
                           <span class="nb">17-Jan-2018</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="S76.1"/>
                  <display value="Injury of quadriceps muscle and tendon"/>
               </coding>
               <text value="Injury of quadriceps muscle and tendon"/>
            </code>
            <subject>
               <reference value="urn:uuid:28ff1154-3571-4e79-8f3d-347eb42e15ae"/>
               <display value="Raffaele Rienzo"/>
            </subject>
            <onsetDateTime value="2018-01-17"/>
         </Condition>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:92f853a0-239d-42e2-8ef8-4dc0f27b9156"/>
      <resource>
         <Procedure>
            <id value="92f853a0-239d-42e2-8ef8-4dc0f27b9156"/>
            <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">17-Jan-2018</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:28ff1154-3571-4e79-8f3d-347eb42e15ae"/>
               <display value="Raffaele Rienzo"/>
            </subject>
            <performedDateTime value="2018-01-17"/>
         </Procedure>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:e51986ab-8304-4c37-9f97-f9efcc388a75"/>
      <resource>
         <Procedure>
            <id value="e51986ab-8304-4c37-9f97-f9efcc388a75"/>
            <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 joint of knee (procedure)</td>
                        <td>
                           <span class="nb">04-Jan-2018</span>
                        </td>
                        <td>-</td>
                     </tr>
                  </table>
               </div>
            </text>
            <status value="completed"/>
            <code>
               <coding>
                  <system value="http://snomed.info/sct"/>
                  <code value="699253003"/>
                  <display value="Surgical manipulation of joint of knee"/>
               </coding>
            </code>
            <subject>
               <reference value="urn:uuid:28ff1154-3571-4e79-8f3d-347eb42e15ae"/>
               <display value="Raffaele Rienzo"/>
            </subject>
            <performedDateTime value="2018-01-04"/>
         </Procedure>
      </resource>
   </entry>
   <entry>
      <fullUrl value="urn:uuid:ddd43560-2084-444a-9a2d-0101be44bd9b"/>
      <resource>
         <Device>
            <id value="ddd43560-2084-444a-9a2d-0101be44bd9b"/>
            <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:c5dddcea-794a-4e9d-b03d-47cda3aa62b5"/>
      <resource>
         <Provenance>
            <id value="c5dddcea-794a-4e9d-b03d-47cda3aa62b5"/>
            <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:28ff1154-3571-4e79-8f3d-347eb42e15ae"/>
            </target>
            <target>
               <reference value="urn:uuid:4df6b87c-07c6-4289-956b-22c8e9cc4ab7"/>
            </target>
            <target>
               <reference value="urn:uuid:1d5326b1-32c3-42f7-ba99-16c37a845932"/>
            </target>
            <target>
               <reference value="urn:uuid:b3532875-0758-4082-a690-fd1eb5389882"/>
            </target>
            <recorded value="2026-03-20T18:21:32Z"/>
            <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:ddd43560-2084-444a-9a2d-0101be44bd9b"/>
               </who>
            </agent>
         </Provenance>
      </resource>
   </entry>
</Bundle>