{
  "resourceType": "Bundle",
  "id": "b3863f4a-f588-404b-bc78-be81b7dbe011",
  "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": "a943bbc4-4ddf-4b60-a8fa-a4facbd76ab1"
  },
  "entry": [
    {
      "fullUrl": "urn:uuid:3963fc03-c843-4575-bdea-ca61c657311b",
      "resource": {
        "resourceType": "Composition",
        "id": "3963fc03-c843-4575-bdea-ca61c657311b",
        "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": "7b78b0f4-febe-4f29-9af4-41abaf36ec72"
        },
        "type": {
          "coding": [
            {
              "system": "http://loinc.org",
              "code": "34105-7",
              "display": "Hospital Discharge summary"
            }
          ],
          "text": "Hospital Discharge Report"
        },
        "author": [
          {
            "reference": "urn:uuid:cfcf3598-4ed0-4cd8-bd37-fcc1b8dd8019"
          }
        ],
        "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\">Sleep disorder, investigated and managed</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 regarding the discharge of your 56-year-old male patient admitted on 13.12.2012 for evaluation of sleep disorder. During his brief inpatient stay, we conducted a comprehensive sleep assessment including detailed sleep history, Epworth Sleepiness Scale scoring, and overnight polysomnography to objectively characterize his sleep disturbance. Investigations revealed findings consistent with unspecified sleep disorder (ICD-10: G47.9), without evidence of significant obstructive sleep apnoea requiring immediate intervention. We initiated sleep hygiene counselling and provided structured relaxation guidance. A short-term low-dose pharmacological support was prescribed to stabilize sleep pattern. We recommend outpatient follow-up with sleep specialist review of polysomnography results. Please find enclosed the full investigation reports. Should you have any queries, do not hesitate to contact our department directly.</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>Sleep disorder, unspecified</td><td><span class=\"nb\">14-Dec-2012</span></td><td>active</td></tr></table></div>"
            },
            "entry": [
              {
                "reference": "urn:uuid:ce7464df-d638-446b-a98a-75e0b9bf19ae"
              }
            ],
            "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>Pharmacological therapy - hypnotic medication administration</td><td><span class=\"nb\">14-Dec-2012</span></td><td>-</td></tr></table></div>"
            },
            "entry": [
              {
                "reference": "urn:uuid:059a9a49-044f-468a-920b-b055f13d8d4d"
              },
              {
                "reference": "urn:uuid:2f5761e9-8381-4298-a26f-645c37a88b6c"
              },
              {
                "reference": "urn:uuid:0bb238fe-137d-40e5-b81c-7ffb92f8f660"
              },
              {
                "reference": "urn:uuid:c2908e12-ce5e-4fb2-a565-95587931cf33"
              },
              {
                "reference": "urn:uuid:0b5d9a1b-9b2c-4b33-addc-a429796b6774"
              },
              {
                "reference": "urn:uuid:a1970862-2f22-46a2-8cf7-3dc3b87a1b8b"
              }
            ],
            "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:eacd278a-bbf5-47a6-9bfe-05186d3e1028",
          "display": "Philippe Étienne"
        },
        "custodian": {
          "reference": "urn:uuid:7bf64eef-8a07-472e-9bda-2d158de17229"
        },
        "date": "2012-12-14T00:00:00Z",
        "confidentiality": "N"
      }
    },
    {
      "fullUrl": "urn:uuid:eacd278a-bbf5-47a6-9bfe-05186d3e1028",
      "resource": {
        "resourceType": "Patient",
        "id": "eacd278a-bbf5-47a6-9bfe-05186d3e1028",
        "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:b380a6b6-4591-4af8-b36c-5b005c665584",
      "resource": {
        "resourceType": "Encounter",
        "id": "b380a6b6-4591-4af8-b36c-5b005c665584",
        "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": "2012-12-14"
            },
            "individual": {
              "reference": "urn:uuid:8ef3ff07-521b-4b68-9a82-f7e7996d1059"
            }
          }
        ],
        "period": {
          "start": "2012-12-14"
        },
        "reasonCode": [
          {
            "coding": [
              {
                "code": "39898005",
                "system": "http://snomed.info/sct",
                "display": "Sleep disorder (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>13-12-2012 - 14-12-2012</td><td><ul><li>Sleep disorder (disorder)</li></ul></td></tr></table></div>"
        },
        "status": "completed",
        "class": {
          "code": "IMP",
          "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
        },
        "serviceProvider": {
          "reference": "urn:uuid:7bf64eef-8a07-472e-9bda-2d158de17229"
        },
        "subject": {
          "reference": "Patient/eacd278a-bbf5-47a6-9bfe-05186d3e1028",
          "display": "Philippe Étienne"
        }
      }
    },
    {
      "fullUrl": "urn:uuid:cfcf3598-4ed0-4cd8-bd37-fcc1b8dd8019",
      "resource": {
        "resourceType": "PractitionerRole",
        "id": "cfcf3598-4ed0-4cd8-bd37-fcc1b8dd8019",
        "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: cfcf3598-4ed0-4cd8-bd37-fcc1b8dd8019</div>"
        },
        "practitioner": {
          "reference": "urn:uuid:8ef3ff07-521b-4b68-9a82-f7e7996d1059"
        },
        "organization": {
          "reference": "urn:uuid:7bf64eef-8a07-472e-9bda-2d158de17229"
        }
      }
    },
    {
      "fullUrl": "urn:uuid:7bf64eef-8a07-472e-9bda-2d158de17229",
      "resource": {
        "resourceType": "Organization",
        "id": "7bf64eef-8a07-472e-9bda-2d158de17229",
        "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:8ef3ff07-521b-4b68-9a82-f7e7996d1059",
      "resource": {
        "resourceType": "Practitioner",
        "id": "8ef3ff07-521b-4b68-9a82-f7e7996d1059",
        "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": "5a267f20-ade0-4cff-8234-b0ef54bfd289"
          }
        ],
        "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:ce7464df-d638-446b-a98a-75e0b9bf19ae",
      "resource": {
        "resourceType": "Condition",
        "id": "ce7464df-d638-446b-a98a-75e0b9bf19ae",
        "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": "G47.9",
              "system": "http://hl7.org/fhir/sid/icd-10",
              "display": "Sleep disorder, unspecified"
            }
          ],
          "text": "Sleep disorder, unspecified"
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table class=\"hl7__ips\"><tr><td>Sleep disorder, unspecified</td><td><span class=\"nb\">14-Dec-2012</span></td><td>active</td></tr></table></div>"
        },
        "onsetDateTime": "2012-12-14",
        "subject": {
          "reference": "urn:uuid:eacd278a-bbf5-47a6-9bfe-05186d3e1028",
          "display": "Philippe Étienne"
        }
      }
    },
    {
      "fullUrl": "urn:uuid:059a9a49-044f-468a-920b-b055f13d8d4d",
      "resource": {
        "resourceType": "Procedure",
        "id": "059a9a49-044f-468a-920b-b055f13d8d4d",
        "meta": {
          "profile": [
            "http://hl7.eu/fhir/base/StructureDefinition/procedure-eu-core"
          ]
        },
        "code": {
          "coding": [
            {
              "code": "386053000",
              "system": "http://snomed.info/sct",
              "display": "Evaluation procedure (procedure)"
            }
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table class=\"hl7__ips\"><tr><td>Sleep history taking and clinical assessment</td><td><span class=\"nb\">13-Dec-2012</span></td><td>-</td></tr></table></div>"
        },
        "status": "completed",
        "performedDateTime": "2012-12-13",
        "subject": {
          "reference": "urn:uuid:eacd278a-bbf5-47a6-9bfe-05186d3e1028",
          "display": "Philippe Étienne"
        }
      }
    },
    {
      "fullUrl": "urn:uuid:2f5761e9-8381-4298-a26f-645c37a88b6c",
      "resource": {
        "resourceType": "Procedure",
        "id": "2f5761e9-8381-4298-a26f-645c37a88b6c",
        "meta": {
          "profile": [
            "http://hl7.eu/fhir/base/StructureDefinition/procedure-eu-core"
          ]
        },
        "code": {
          "coding": [
            {
              "code": "273830002",
              "system": "http://snomed.info/sct",
              "display": "Spielberger state-trait anxiety inventory (assessment scale)"
            }
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table class=\"hl7__ips\"><tr><td>Epworth Sleepiness Scale administration</td><td><span class=\"nb\">13-Dec-2012</span></td><td>-</td></tr></table></div>"
        },
        "status": "completed",
        "performedDateTime": "2012-12-13",
        "subject": {
          "reference": "urn:uuid:eacd278a-bbf5-47a6-9bfe-05186d3e1028",
          "display": "Philippe Étienne"
        }
      }
    },
    {
      "fullUrl": "urn:uuid:0bb238fe-137d-40e5-b81c-7ffb92f8f660",
      "resource": {
        "resourceType": "Procedure",
        "id": "0bb238fe-137d-40e5-b81c-7ffb92f8f660",
        "meta": {
          "profile": [
            "http://hl7.eu/fhir/base/StructureDefinition/procedure-eu-core"
          ]
        },
        "code": {
          "coding": [
            {
              "code": "60554003",
              "system": "http://snomed.info/sct",
              "display": "Polysomnography (procedure)"
            }
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table class=\"hl7__ips\"><tr><td>Overnight polysomnography</td><td><span class=\"nb\">13-Dec-2012</span></td><td>-</td></tr></table></div>"
        },
        "status": "completed",
        "performedDateTime": "2012-12-13",
        "subject": {
          "reference": "urn:uuid:eacd278a-bbf5-47a6-9bfe-05186d3e1028",
          "display": "Philippe Étienne"
        }
      }
    },
    {
      "fullUrl": "urn:uuid:c2908e12-ce5e-4fb2-a565-95587931cf33",
      "resource": {
        "resourceType": "Procedure",
        "id": "c2908e12-ce5e-4fb2-a565-95587931cf33",
        "meta": {
          "profile": [
            "http://hl7.eu/fhir/base/StructureDefinition/procedure-eu-core"
          ]
        },
        "code": {
          "coding": [
            {
              "code": "409073007",
              "system": "http://snomed.info/sct",
              "display": "Education (procedure)"
            }
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table class=\"hl7__ips\"><tr><td>Sleep hygiene education and counselling</td><td><span class=\"nb\">14-Dec-2012</span></td><td>-</td></tr></table></div>"
        },
        "status": "completed",
        "performedDateTime": "2012-12-14",
        "subject": {
          "reference": "urn:uuid:eacd278a-bbf5-47a6-9bfe-05186d3e1028",
          "display": "Philippe Étienne"
        }
      }
    },
    {
      "fullUrl": "urn:uuid:0b5d9a1b-9b2c-4b33-addc-a429796b6774",
      "resource": {
        "resourceType": "Procedure",
        "id": "0b5d9a1b-9b2c-4b33-addc-a429796b6774",
        "meta": {
          "profile": [
            "http://hl7.eu/fhir/base/StructureDefinition/procedure-eu-core"
          ]
        },
        "code": {
          "coding": [
            {
              "code": "228557008",
              "system": "http://snomed.info/sct",
              "display": "Cognitive and behavioral therapy (regime/therapy)"
            }
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table class=\"hl7__ips\"><tr><td>Relaxation therapy guidance</td><td><span class=\"nb\">14-Dec-2012</span></td><td>-</td></tr></table></div>"
        },
        "status": "completed",
        "performedDateTime": "2012-12-14",
        "subject": {
          "reference": "urn:uuid:eacd278a-bbf5-47a6-9bfe-05186d3e1028",
          "display": "Philippe Étienne"
        }
      }
    },
    {
      "fullUrl": "urn:uuid:a1970862-2f22-46a2-8cf7-3dc3b87a1b8b",
      "resource": {
        "resourceType": "Procedure",
        "id": "a1970862-2f22-46a2-8cf7-3dc3b87a1b8b",
        "meta": {
          "profile": [
            "http://hl7.eu/fhir/base/StructureDefinition/procedure-eu-core"
          ]
        },
        "code": {
          "coding": [
            {
              "code": "18629005",
              "system": "http://snomed.info/sct",
              "display": "Administration of drug or medicament (procedure)"
            }
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table class=\"hl7__ips\"><tr><td>Pharmacological therapy - hypnotic medication administration</td><td><span class=\"nb\">14-Dec-2012</span></td><td>-</td></tr></table></div>"
        },
        "status": "completed",
        "performedDateTime": "2012-12-14",
        "subject": {
          "reference": "urn:uuid:eacd278a-bbf5-47a6-9bfe-05186d3e1028",
          "display": "Philippe Étienne"
        }
      }
    },
    {
      "fullUrl": "urn:uuid:d9cca5e9-27a1-4880-98fa-ca63deaec282",
      "resource": {
        "resourceType": "Device",
        "id": "d9cca5e9-27a1-4880-98fa-ca63deaec282",
        "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:fae5a94c-17af-4a9b-834b-2bda780c30af",
      "resource": {
        "resourceType": "Provenance",
        "id": "fae5a94c-17af-4a9b-834b-2bda780c30af",
        "target": [
          {
            "reference": "urn:uuid:eacd278a-bbf5-47a6-9bfe-05186d3e1028"
          },
          {
            "reference": "urn:uuid:cfcf3598-4ed0-4cd8-bd37-fcc1b8dd8019"
          },
          {
            "reference": "urn:uuid:8ef3ff07-521b-4b68-9a82-f7e7996d1059"
          },
          {
            "reference": "urn:uuid:7bf64eef-8a07-472e-9bda-2d158de17229"
          }
        ],
        "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:d9cca5e9-27a1-4880-98fa-ca63deaec282"
            }
          }
        ],
        "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": "2012-12-14T00:00:00Z"
}
