{
  "resourceType": "Bundle",
  "id": "abe20dc7-16ee-4355-98e4-2ab83952a8cc",
  "meta": {
    "profile": [
      "http://hl7.eu/fhir/hdr/StructureDefinition/bundle-eu-hdr"
    ]
  },
  "identifier": {
    "assigner": {
      "display": "HL7 Europe"
    },
    "system": "urn:oid:2.16.840.1.113883.2.51.999",
    "value": "1401631e-10f4-4343-aac0-9e264e6257ec"
  },
  "entry": [
    {
      "fullUrl": "urn:uuid:97034a3a-8365-4a16-b0ef-79b2140c200e",
      "resource": {
        "resourceType": "Composition",
        "id": "97034a3a-8365-4a16-b0ef-79b2140c200e",
        "meta": {
          "security": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
              "code": "HTEST"
            },
            {
              "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
              "code": "TRAIN"
            }
          ],
          "tag": [
            {
              "system": "https://synderai.net/fhir/CodeSystem/tags",
              "code": "synthetic",
              "display": "SYNDERAI Synthetic data"
            }
          ],
          "profile": [
            "http://hl7.eu/fhir/hdr/StructureDefinition/composition-eu-hdr"
          ]
        },
        "identifier": {
          "assigner": {
            "display": "HL7 Europe"
          },
          "system": "urn:oid:2.16.840.1.113883.2.51.999",
          "value": "08fa50b4-8053-4e41-8435-ef905ec04770"
        },
        "type": {
          "coding": [
            {
              "system": "http://loinc.org",
              "code": "34105-7",
              "display": "Hospital Discharge summary"
            }
          ],
          "text": "Hospital Discharge Report"
        },
        "author": [
          {
            "reference": "urn:uuid:2b8b0ef5-d434-4739-9b85-e9c18e39498a"
          }
        ],
        "text": {
          "status": "empty",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">intentionally left empty / not meaningful</div>"
        },
        "section": [
          {
            "text": {
              "status": "generated",
              "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">NSTEMI, treated with PCI</div>"
            },
            "code": {
              "coding": [
                {
                  "system": "http://loinc.org",
                  "code": "67781-5",
                  "display": "Summarization of encounter note"
                }
              ]
            },
            "title": "Synthesis"
          },
          {
            "text": {
              "status": "generated",
              "div": "<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>"
            },
            "code": {
              "coding": [
                {
                  "system": "http://loinc.org",
                  "code": "8648-8",
                  "display": "Hospital course note"
                }
              ]
            },
            "title": "Hospital course note"
          },
          {
            "text": {
              "status": "generated",
              "div": "<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>"
            },
            "entry": [
              {
                "reference": "urn:uuid:a38c3d99-4d10-42af-96e9-9af039ceb51b"
              }
            ],
            "code": {
              "coding": [
                {
                  "system": "http://loinc.org",
                  "code": "11535-2",
                  "display": "Hospital discharge diagnosis note"
                }
              ]
            },
            "title": "Diagnosis at Discharge"
          },
          {
            "text": {
              "status": "generated",
              "div": "<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>"
            },
            "entry": [
              {
                "reference": "urn:uuid:4a9e52c1-ee45-47db-8232-b5db989ae562"
              }
            ],
            "code": {
              "coding": [
                {
                  "system": "http://loinc.org",
                  "code": "10185-7",
                  "display": "Hospital discharge procedure note"
                }
              ]
            },
            "title": "Significant procedures"
          }
        ],
        "title": "Hospital Discharge Report",
        "status": "final",
        "subject": {
          "reference": "urn:uuid:ef46f82d-e923-49f5-829b-4f70dd8a1087",
          "display": "Philippe Étienne"
        },
        "custodian": {
          "reference": "urn:uuid:a0e0071b-a358-40cb-a693-1ede86160dd2"
        },
        "date": "2023-03-21T00:00:00Z",
        "confidentiality": "N"
      }
    },
    {
      "fullUrl": "urn:uuid:ef46f82d-e923-49f5-829b-4f70dd8a1087",
      "resource": {
        "resourceType": "Patient",
        "id": "ef46f82d-e923-49f5-829b-4f70dd8a1087",
        "meta": {
          "security": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
              "code": "HTEST"
            },
            {
              "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
              "code": "TRAIN"
            }
          ],
          "tag": [
            {
              "system": "https://synderai.net/fhir/CodeSystem/tags",
              "code": "synthetic",
              "display": "SYNDERAI Synthetic data"
            }
          ],
          "profile": [
            "http://hl7.eu/fhir/base/StructureDefinition/patient-eu-core"
          ]
        },
        "identifier": [
          {
            "type": {
              "coding": [
                {
                  "code": "JHN",
                  "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
                }
              ]
            },
            "system": "http://ec.europa.eu/identifier/eci",
            "value": "5954-675858-8"
          },
          {
            "type": {
              "coding": [
                {
                  "code": "MR",
                  "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
                }
              ]
            },
            "system": "http://local.setting.eu/identifier",
            "value": "d53bc6c4-cb37-a8f5-f0ac-5e64e2edb4ec"
          }
        ],
        "name": [
          {
            "given": [
              "Philippe"
            ],
            "family": "Étienne",
            "text": "Philippe Étienne"
          }
        ],
        "address": [
          {
            "line": [
              "9, boulevard de Rémy"
            ],
            "use": "home",
            "type": "physical",
            "postalCode": "01250",
            "city": "GrégoireBourg",
            "country": "France"
          }
        ],
        "telecom": [
          {
            "system": "phone",
            "value": "05 34 18 24 49"
          }
        ],
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCodeableConcept": {
                  "coding": [
                    {
                      "code": "FR",
                      "system": "urn:iso:std:iso:3166"
                    }
                  ]
                }
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality"
          }
        ],
        "text": {
          "status": "generated",
          "div": "<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>"
        },
        "gender": "male",
        "birthDate": "1969-08-13"
      }
    },
    {
      "fullUrl": "urn:uuid:954d911c-9570-4eff-9508-0d3ba942130e",
      "resource": {
        "resourceType": "Encounter",
        "id": "954d911c-9570-4eff-9508-0d3ba942130e",
        "meta": {
          "profile": [
            "http://hl7.eu/fhir/hdr/StructureDefinition/encounter-eu-hdr"
          ]
        },
        "participant": [
          {
            "type": [
              {
                "coding": [
                  {
                    "code": "PPRF",
                    "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
                    "display": "primary performer"
                  }
                ]
              }
            ],
            "period": {
              "end": "2023-03-21"
            },
            "individual": {
              "reference": "urn:uuid:4d8bb580-0a0c-4476-a704-1565099fcf58"
            }
          }
        ],
        "period": {
          "start": "2023-03-21"
        },
        "reasonCode": [
          {
            "coding": [
              {
                "code": "401314000",
                "system": "http://snomed.info/sct",
                "display": "Acute non-ST segment elevation myocardial infarction (disorder)"
              }
            ]
          }
        ],
        "text": {
          "status": "generated",
          "div": "<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>"
        },
        "status": "completed",
        "class": {
          "code": "IMP",
          "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
        },
        "serviceProvider": {
          "reference": "urn:uuid:a0e0071b-a358-40cb-a693-1ede86160dd2"
        },
        "subject": {
          "reference": "Patient/ef46f82d-e923-49f5-829b-4f70dd8a1087",
          "display": "Philippe Étienne"
        }
      }
    },
    {
      "fullUrl": "urn:uuid:2b8b0ef5-d434-4739-9b85-e9c18e39498a",
      "resource": {
        "resourceType": "PractitionerRole",
        "id": "2b8b0ef5-d434-4739-9b85-e9c18e39498a",
        "meta": {
          "profile": [
            "http://hl7.eu/fhir/base/StructureDefinition/practitionerRole-eu-core"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Hospital Role Id: 2b8b0ef5-d434-4739-9b85-e9c18e39498a</div>"
        },
        "practitioner": {
          "reference": "urn:uuid:4d8bb580-0a0c-4476-a704-1565099fcf58"
        },
        "organization": {
          "reference": "urn:uuid:a0e0071b-a358-40cb-a693-1ede86160dd2"
        }
      }
    },
    {
      "fullUrl": "urn:uuid:a0e0071b-a358-40cb-a693-1ede86160dd2",
      "resource": {
        "resourceType": "Organization",
        "id": "a0e0071b-a358-40cb-a693-1ede86160dd2",
        "meta": {
          "profile": [
            "http://hl7.eu/fhir/base/StructureDefinition/organization-eu-core"
          ]
        },
        "address": [
          {
            "city": "Viriat",
            "postalCode": "01440",
            "country": "France"
          }
        ],
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Hospital: Centre Psychothérapique de l&amp;#039;Ain, 01440 Viriat, France</div>"
        },
        "name": "Centre Psychothérapique de l&amp;#039;Ain"
      }
    },
    {
      "fullUrl": "urn:uuid:4d8bb580-0a0c-4476-a704-1565099fcf58",
      "resource": {
        "resourceType": "Practitioner",
        "id": "4d8bb580-0a0c-4476-a704-1565099fcf58",
        "meta": {
          "profile": [
            "http://hl7.eu/fhir/base/StructureDefinition/practitioner-eu-core"
          ]
        },
        "identifier": [
          {
            "assigner": {
              "display": "HL7 Europe"
            },
            "system": "urn:oid:2.16.840.1.113883.2.51.999",
            "value": "e44e7d7c-9c0e-4743-b3ad-1347190a0b7a"
          }
        ],
        "name": [
          {
            "prefix": [
              "dr"
            ],
            "given": [
              "Colette"
            ],
            "family": "Mathieu"
          }
        ],
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Practitioner in Hospital: dr Colette Mathieu</div>"
        }
      }
    },
    {
      "fullUrl": "urn:uuid:a38c3d99-4d10-42af-96e9-9af039ceb51b",
      "resource": {
        "resourceType": "Condition",
        "id": "a38c3d99-4d10-42af-96e9-9af039ceb51b",
        "meta": {
          "profile": [
            "http://hl7.eu/fhir/base/StructureDefinition/condition-eu-core"
          ]
        },
        "category": [
          {
            "coding": [
              {
                "code": "encounter-diagnosis",
                "system": "http://terminology.hl7.org/CodeSystem/condition-category",
                "display": "Encounter Diagnosis"
              }
            ]
          }
        ],
        "code": {
          "coding": [
            {
              "code": "I21.4",
              "system": "http://hl7.org/fhir/sid/icd-10",
              "display": "Acute subendocardial myocardial infarction"
            }
          ],
          "text": "Acute subendocardial myocardial infarction"
        },
        "text": {
          "status": "generated",
          "div": "<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>"
        },
        "onsetDateTime": "2023-03-21",
        "subject": {
          "reference": "urn:uuid:ef46f82d-e923-49f5-829b-4f70dd8a1087",
          "display": "Philippe Étienne"
        }
      }
    },
    {
      "fullUrl": "urn:uuid:4a9e52c1-ee45-47db-8232-b5db989ae562",
      "resource": {
        "resourceType": "Procedure",
        "id": "4a9e52c1-ee45-47db-8232-b5db989ae562",
        "meta": {
          "profile": [
            "http://hl7.eu/fhir/base/StructureDefinition/procedure-eu-core"
          ]
        },
        "code": {
          "coding": [
            {
              "code": "225338004",
              "system": "http://snomed.info/sct",
              "display": "Risk assessment"
            }
          ]
        },
        "text": {
          "status": "generated",
          "div": "<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>"
        },
        "status": "completed",
        "performedDateTime": "2023-03-20",
        "subject": {
          "reference": "urn:uuid:ef46f82d-e923-49f5-829b-4f70dd8a1087",
          "display": "Philippe Étienne"
        }
      }
    },
    {
      "fullUrl": "urn:uuid:ae6c9f59-ec3e-4aa4-88d1-c8290da93c18",
      "resource": {
        "resourceType": "Device",
        "id": "ae6c9f59-ec3e-4aa4-88d1-c8290da93c18",
        "deviceName": [
          {
            "name": "SYNDERAI Synthetic Generator",
            "type": "manufacturer-name"
          }
        ],
        "version": [
          {
            "value": "5.0"
          }
        ],
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">SYNDERAI Synthetic Generator v5.0</div>"
        },
        "status": "active",
        "distinctIdentifier": "synderai-generator-50",
        "manufacturer": "SYNDERAI Project"
      }
    },
    {
      "fullUrl": "urn:uuid:5a1a4f67-5362-4819-91a0-6928e127ee39",
      "resource": {
        "resourceType": "Provenance",
        "id": "5a1a4f67-5362-4819-91a0-6928e127ee39",
        "target": [
          {
            "reference": "urn:uuid:ef46f82d-e923-49f5-829b-4f70dd8a1087"
          },
          {
            "reference": "urn:uuid:2b8b0ef5-d434-4739-9b85-e9c18e39498a"
          },
          {
            "reference": "urn:uuid:4d8bb580-0a0c-4476-a704-1565099fcf58"
          },
          {
            "reference": "urn:uuid:a0e0071b-a358-40cb-a693-1ede86160dd2"
          }
        ],
        "activity": {
          "coding": [
            {
              "code": "CREATE",
              "system": "http://terminology.hl7.org/CodeSystem/v3-DataOperation",
              "display": "create"
            }
          ],
          "text": "Synthetic Example Data Generation"
        },
        "policy": [
          "https://synderai.net/synderai-synthetic-data-policy"
        ],
        "agent": [
          {
            "type": {
              "coding": [
                {
                  "code": "author",
                  "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                  "display": "Author"
                }
              ],
              "text": "author"
            },
            "who": {
              "reference": "urn:uuid:ae6c9f59-ec3e-4aa4-88d1-c8290da93c18"
            }
          }
        ],
        "reason": [
          {
            "coding": [
              {
                "code": "TRAIN",
                "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
                "display": "training"
              }
            ],
            "text": "Interoperability Testing and Training (non-clinical use)"
          }
        ],
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Provenance for SYNDERAI Synthetic Example Data Resource</div>"
        },
        "recorded": "2026-03-20T18:17:05Z"
      }
    }
  ],
  "type": "document",
  "timestamp": "2023-03-21T00:00:00Z"
}
