{
  "resourceType": "Bundle",
  "id": "1503bad6-cc06-4ee5-9366-ad2b4ecd07f6",
  "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": "3705779a-5ddf-421b-8652-52b49e4c3cd5"
  },
  "entry": [
    {
      "fullUrl": "urn:uuid:30c66028-4554-4e19-a001-8cb72ac6a5d7",
      "resource": {
        "resourceType": "Composition",
        "id": "30c66028-4554-4e19-a001-8cb72ac6a5d7",
        "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": "1c3e5d66-bcf9-4676-a40a-ee17f4d405f3"
        },
        "type": {
          "coding": [
            {
              "system": "http://loinc.org",
              "code": "34105-7",
              "display": "Hospital Discharge summary"
            }
          ],
          "text": "Hospital Discharge Report"
        },
        "author": [
          {
            "reference": "urn:uuid:d2973244-b896-4cb7-bf6a-78f84d1ff885"
          }
        ],
        "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\">Acute appendicitis, appendectomy performed</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 30/04/2019 with acute right lower quadrant abdominal pain, nausea, and low-grade fever, clinically suspicious for appendicitis. On admission, laboratory findings revealed leukocytosis (WBC 14.2 × 10³/µL) with elevated CRP. Abdominal ultrasound confirmed an inflamed, non-perforated appendix. A subsequent CT scan of the abdomen corroborated the diagnosis of acute appendicitis without perforation or abscess formation. The patient underwent uncomplicated laparoscopic appendectomy on 01/05/2019 under general anaesthesia. Postoperative recovery was uneventful. Antibiotic prophylaxis was administered perioperatively. The patient was mobilised on postoperative day one and discharged home on 02/05/2019 in good general condition. Wound healing was satisfactory. Please arrange follow-up in approximately two weeks. Should you have any questions, please do not hesitate to contact me.</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>Unspecified appendicitis</td><td><span class=\"nb\">02-May-2019</span></td><td>active</td></tr></table></div>"
            },
            "entry": [
              {
                "reference": "urn:uuid:e2d5301a-1cfd-40e9-8990-0e784d02db46"
              }
            ],
            "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>Excision of appendix (procedure)</td><td><span class=\"nb\">30-Apr-2019</span></td><td>-</td></tr></table></div>"
            },
            "entry": [
              {
                "reference": "urn:uuid:d41a02cc-bb15-484d-9c0b-72fe58e875e5"
              }
            ],
            "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:5e1d52b1-44f2-4958-a380-d938d12d30e1",
          "display": "Philippe Étienne"
        },
        "custodian": {
          "reference": "urn:uuid:8c22b395-ae96-4a99-a5f6-16fce5e7e4c2"
        },
        "date": "2019-05-02T00:00:00Z",
        "confidentiality": "N"
      }
    },
    {
      "fullUrl": "urn:uuid:5e1d52b1-44f2-4958-a380-d938d12d30e1",
      "resource": {
        "resourceType": "Patient",
        "id": "5e1d52b1-44f2-4958-a380-d938d12d30e1",
        "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:13f9466e-2a70-428e-aa06-c92664c95092",
      "resource": {
        "resourceType": "Encounter",
        "id": "13f9466e-2a70-428e-aa06-c92664c95092",
        "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": "2019-05-02"
            },
            "individual": {
              "reference": "urn:uuid:494091a5-1200-45b9-abb0-03eaa442c055"
            }
          }
        ],
        "period": {
          "start": "2019-05-02"
        },
        "reasonCode": [
          {
            "coding": [
              {
                "code": "74400008",
                "system": "http://snomed.info/sct",
                "display": "Appendicitis (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>30-04-2019 - 02-05-2019</td><td><ul><li>Appendicitis (disorder)</li></ul></td></tr></table></div>"
        },
        "status": "completed",
        "class": {
          "code": "IMP",
          "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
        },
        "serviceProvider": {
          "reference": "urn:uuid:8c22b395-ae96-4a99-a5f6-16fce5e7e4c2"
        },
        "subject": {
          "reference": "Patient/5e1d52b1-44f2-4958-a380-d938d12d30e1",
          "display": "Philippe Étienne"
        }
      }
    },
    {
      "fullUrl": "urn:uuid:d2973244-b896-4cb7-bf6a-78f84d1ff885",
      "resource": {
        "resourceType": "PractitionerRole",
        "id": "d2973244-b896-4cb7-bf6a-78f84d1ff885",
        "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: d2973244-b896-4cb7-bf6a-78f84d1ff885</div>"
        },
        "practitioner": {
          "reference": "urn:uuid:494091a5-1200-45b9-abb0-03eaa442c055"
        },
        "organization": {
          "reference": "urn:uuid:8c22b395-ae96-4a99-a5f6-16fce5e7e4c2"
        }
      }
    },
    {
      "fullUrl": "urn:uuid:8c22b395-ae96-4a99-a5f6-16fce5e7e4c2",
      "resource": {
        "resourceType": "Organization",
        "id": "8c22b395-ae96-4a99-a5f6-16fce5e7e4c2",
        "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:494091a5-1200-45b9-abb0-03eaa442c055",
      "resource": {
        "resourceType": "Practitioner",
        "id": "494091a5-1200-45b9-abb0-03eaa442c055",
        "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": "801e1f4b-4d67-464b-ac06-06725ab37958"
          }
        ],
        "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:e2d5301a-1cfd-40e9-8990-0e784d02db46",
      "resource": {
        "resourceType": "Condition",
        "id": "e2d5301a-1cfd-40e9-8990-0e784d02db46",
        "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": "K37",
              "system": "http://hl7.org/fhir/sid/icd-10",
              "display": "Unspecified appendicitis"
            }
          ],
          "text": "Unspecified appendicitis"
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table class=\"hl7__ips\"><tr><td>Unspecified appendicitis</td><td><span class=\"nb\">02-May-2019</span></td><td>active</td></tr></table></div>"
        },
        "onsetDateTime": "2019-05-02",
        "subject": {
          "reference": "urn:uuid:5e1d52b1-44f2-4958-a380-d938d12d30e1",
          "display": "Philippe Étienne"
        }
      }
    },
    {
      "fullUrl": "urn:uuid:d41a02cc-bb15-484d-9c0b-72fe58e875e5",
      "resource": {
        "resourceType": "Procedure",
        "id": "d41a02cc-bb15-484d-9c0b-72fe58e875e5",
        "meta": {
          "profile": [
            "http://hl7.eu/fhir/base/StructureDefinition/procedure-eu-core"
          ]
        },
        "code": {
          "coding": [
            {
              "code": "80146002",
              "system": "http://snomed.info/sct",
              "display": "Appendectomy"
            }
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table class=\"hl7__ips\"><tr><td>Excision of appendix (procedure)</td><td><span class=\"nb\">30-Apr-2019</span></td><td>-</td></tr></table></div>"
        },
        "status": "completed",
        "performedDateTime": "2019-04-30",
        "subject": {
          "reference": "urn:uuid:5e1d52b1-44f2-4958-a380-d938d12d30e1",
          "display": "Philippe Étienne"
        }
      }
    },
    {
      "fullUrl": "urn:uuid:f77e199d-cc0c-494d-8a4f-889cc1e85127",
      "resource": {
        "resourceType": "Device",
        "id": "f77e199d-cc0c-494d-8a4f-889cc1e85127",
        "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:b1e19b94-38f7-4ba8-9bfe-5e620222a650",
      "resource": {
        "resourceType": "Provenance",
        "id": "b1e19b94-38f7-4ba8-9bfe-5e620222a650",
        "target": [
          {
            "reference": "urn:uuid:5e1d52b1-44f2-4958-a380-d938d12d30e1"
          },
          {
            "reference": "urn:uuid:d2973244-b896-4cb7-bf6a-78f84d1ff885"
          },
          {
            "reference": "urn:uuid:494091a5-1200-45b9-abb0-03eaa442c055"
          },
          {
            "reference": "urn:uuid:8c22b395-ae96-4a99-a5f6-16fce5e7e4c2"
          }
        ],
        "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:f77e199d-cc0c-494d-8a4f-889cc1e85127"
            }
          }
        ],
        "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": "2019-05-02T00:00:00Z"
}
