{
  "resourceType" : "Bundle",
  "id" : "ExampleBundleDeathCertificateWithoutSection",
  "meta" : {
    "profile" : ["https://fhir.by/AbstractArea/StructureDefinition/Bundle/BundleDeathCertificate"]
  },
  "identifier" : {
    "system" : "https://minzdrav.gov.by",
    "value" : "03-123456789-2025000000000001"
  },
  "type" : "document",
  "timestamp" : "2025-05-05T11:12:21Z",
  "entry" : [{
    "fullUrl" : "Composition/CompositionDeathCertificateWithoutSection",
    "resource" : {
      "resourceType" : "Composition",
      "id" : "CompositionDeathCertificateWithoutSection",
      "meta" : {
        "lastUpdated" : "2025-05-05T05:35:21Z",
        "profile" : ["https://fhir.by/StructureDefinition/DeathCertificateComposition"]
      },
      "status" : "final",
      "type" : {
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/CompositionType",
          "code" : "death-conclusion",
          "display" : "Электронное врачебное свидетельство о смерти"
        }]
      },
      "subject" : [{
        "reference" : "Patient/ExampleDeadPatientED"
      }],
      "date" : "2025-05-05T05:35:21Z",
      "author" : [{
        "reference" : "Practitioner/7cc066b9-7db5-4db6-8645-c6edd23ab896",
        "display" : "Врач-терапевт участковый, Филатов Олег Михайлович"
      }],
      "title" : "Электронное врачебное свидетельство о смерти",
      "custodian" : {
        "reference" : "Organization/9ad86c36-0f29-428d-b476-c8603a7cdd1f",
        "display" : "Поликлиника №5"
      },
      "event" : [{
        "detail" : [{
          "reference" : {
            "reference" : "Provenance/ExampleProvenanceDocumentInfoDeath"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "ClinicalImpression/ExampleDeathCertificateWithoutSection"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "Condition/ExampleDiagnosisDepression"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "Condition/ExampleDiagnosisDiabet"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "Condition/ExampleDiagnosisVeins05"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "Condition/ExampleDiagnosisVeins"
          }
        }]
      }]
    }
  },
  {
    "fullUrl" : "Patient/ExampleDeadPatientED",
    "resource" : {
      "resourceType" : "Patient",
      "id" : "ExampleDeadPatientED",
      "meta" : {
        "lastUpdated" : "2025-05-05T14:10:00Z",
        "profile" : ["https://fhir.by/StructureDefinition/PatientED"]
      },
      "extension" : [{
        "url" : "https://fhir.by/StructureDefinition/DocumentKind",
        "valueCodeableConcept" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/DigitalDocumentKind",
            "code" : "03"
          }]
        }
      }],
      "identifier" : [{
        "type" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/PersonalDocumentType",
            "code" : "INP"
          }]
        },
        "value" : "7240275A007PB3"
      }],
      "active" : true,
      "name" : [{
        "family" : "Иванов",
        "given" : ["Петр",
        "Сидорович"]
      }],
      "gender" : "male",
      "birthDate" : "1975-02-24",
      "deceasedDateTime" : "2025-05-05T14:10:00Z",
      "address" : [{
        "extension" : [{
          "url" : "https://fhir.by/StructureDefinition/CoutryForAddresses",
          "valueCodeableConcept" : {
            "coding" : [{
              "system" : "https://fhir.by/ValueSet/CitizenshipCode",
              "code" : "BY",
              "display" : "Беларусь"
            }]
          }
        },
        {
          "url" : "https://fhir.by/StructureDefinition/StreetGeoRegistry",
          "valueCodeableConcept" : {
            "coding" : [{
              "system" : "https://fhir.by/ValueSet/StreetGeoRegistry",
              "code" : "72609920778",
              "display" : "Переулок Снежный"
            }]
          }
        },
        {
          "url" : "https://fhir.by/StructureDefinition/ApartmentRoom",
          "valueString" : "кв. 2"
        }],
        "use" : "home",
        "text" : "Могилевская область, г.Могилев, Сурганова, 15Б"
      }],
      "link" : [{
        "other" : {
          "reference" : "Patient/ExampleDeadPatientWithId"
        },
        "type" : "refer"
      }]
    }
  },
  {
    "fullUrl" : "Provenance/ExampleProvenanceDocumentInfoDeath",
    "resource" : {
      "resourceType" : "Provenance",
      "id" : "ExampleProvenanceDocumentInfoDeath",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/ProvenanceDocumentInfoDeath"]
      },
      "target" : [{
        "reference" : "Patient/ExampleDeadPatientED"
      }],
      "recorded" : "2025-05-05T14:00:00Z",
      "agent" : [{
        "type" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/AgentTypeProvenance",
            "code" : "organization"
          }]
        },
        "who" : {
          "reference" : "Organization/9ad86c36-0f29-428d-b476-c8603a7cdd1f",
          "display" : "Патологоанатомическое бюро"
        }
      },
      {
        "type" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/AgentTypeProvenance",
            "code" : "practitioner"
          }]
        },
        "who" : {
          "reference" : "Practitioner/7cc066b9-7db5-4db6-8645-c6edd23ab896",
          "display" : "Рокитанский К."
        }
      },
      {
        "type" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/AgentTypeProvenance",
            "code" : "practitionerRole"
          }]
        },
        "who" : {
          "reference" : "PractitionerRole/3c057f8d-4369-4c5e-86be-f710dff3a91c",
          "display" : "патологоанатом, Рокитанский К."
        }
      }]
    }
  },
  {
    "fullUrl" : "Condition/ExampleDiagnosisDepression",
    "resource" : {
      "resourceType" : "Condition",
      "id" : "ExampleDiagnosisDepression",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/FinalDiagnosis"]
      },
      "extension" : [{
        "url" : "https://fhir.by/StructureDefinition/KindOfDiagnosis",
        "valueCodeableConcept" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/KindOfDiagnosisCode",
            "code" : "Final"
          }]
        }
      },
      {
        "url" : "https://fhir.by/StructureDefinition/AssertedDate",
        "valueDateTime" : "2024-08-08"
      }],
      "clinicalStatus" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/condition-clinical",
          "code" : "active"
        }]
      },
      "code" : {
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/InternClassificDiseases10",
          "code" : "F32.0",
          "display" : "F32.0 - Депрессивный эпизод легкой степени"
        }]
      },
      "subject" : {
        "reference" : "Patient/AnonymousPatient01",
        "display" : "Петр Сидорович Иванов"
      },
      "onsetDateTime" : "2024-08-08",
      "recordedDate" : "2024-08-08"
    }
  },
  {
    "fullUrl" : "Condition/ExampleDiagnosisDiabet",
    "resource" : {
      "resourceType" : "Condition",
      "id" : "ExampleDiagnosisDiabet",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/FinalDiagnosis"]
      },
      "extension" : [{
        "url" : "https://fhir.by/StructureDefinition/KindOfDiagnosis",
        "valueCodeableConcept" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/KindOfDiagnosisCode",
            "code" : "Final"
          }]
        }
      },
      {
        "url" : "https://fhir.by/StructureDefinition/AssertedDate",
        "valueDateTime" : "2024-08-08"
      }],
      "clinicalStatus" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/condition-clinical",
          "code" : "active"
        }]
      },
      "code" : {
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/InternClassificDiseases10",
          "code" : "E11.9",
          "display" : "E11.9 - Инсулиннезависимый сахарный диабет без осложнений"
        }]
      },
      "subject" : {
        "reference" : "Patient/ExamplePatientWithIdentificationNumber",
        "display" : "Петр Сидорович Иванов"
      },
      "onsetDateTime" : "2024-08-08",
      "recordedDate" : "2024-08-08"
    }
  },
  {
    "fullUrl" : "Condition/ExampleDiagnosisVeins05",
    "resource" : {
      "resourceType" : "Condition",
      "id" : "ExampleDiagnosisVeins05",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/FinalDiagnosis"]
      },
      "extension" : [{
        "url" : "https://fhir.by/StructureDefinition/KindOfDiagnosis",
        "valueCodeableConcept" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/KindOfDiagnosisCode",
            "code" : "Final"
          }]
        }
      },
      {
        "url" : "https://fhir.by/StructureDefinition/AssertedDate",
        "valueDateTime" : "2024-08-08"
      }],
      "clinicalStatus" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/condition-clinical",
          "code" : "active"
        }]
      },
      "code" : {
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/InternClassificDiseases10",
          "code" : "I80.0",
          "display" : "I80.0 - Флебит и тромбофлебит поверхностных сосудов нижних конечностей"
        }]
      },
      "subject" : {
        "reference" : "Patient/ExamplePatientWithIdentificationNumber",
        "display" : "Петр Сидорович Иванов"
      },
      "onsetDateTime" : "2024-08-08",
      "recordedDate" : "2024-08-08"
    }
  },
  {
    "fullUrl" : "Condition/ExampleDiagnosisVeins",
    "resource" : {
      "resourceType" : "Condition",
      "id" : "ExampleDiagnosisVeins",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/FinalDiagnosis"]
      },
      "extension" : [{
        "url" : "https://fhir.by/StructureDefinition/KindOfDiagnosis",
        "valueCodeableConcept" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/KindOfDiagnosisCode",
            "code" : "Final"
          }]
        }
      },
      {
        "url" : "https://fhir.by/StructureDefinition/AssertedDate",
        "valueDateTime" : "2024-08-08"
      }],
      "clinicalStatus" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/condition-clinical",
          "code" : "active"
        }]
      },
      "code" : {
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/InternClassificDiseases10",
          "code" : "I83.9",
          "display" : "I83.9 - Варикозное расширение вен нижних конечностей без язвы или воспаления"
        }]
      },
      "subject" : {
        "reference" : "Patient/ExamplePatientWithIdentificationNumber",
        "display" : "Петр Сидорович Иванов"
      },
      "onsetDateTime" : "2024-08-08",
      "recordedDate" : "2024-08-08"
    }
  },
  {
    "fullUrl" : "ClinicalImpression/ExampleDeathCertificateWithoutSection",
    "resource" : {
      "resourceType" : "ClinicalImpression",
      "id" : "ExampleDeathCertificateWithoutSection",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/DeathCertificate"]
      },
      "extension" : [{
        "url" : "https://fhir.by/StructureDefinition/AgeOfDeath",
        "valueCodeableConcept" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/AgeOfDeath",
            "code" : "04",
            "display" : "умер в возрасте старше года"
          }]
        }
      },
      {
        "extension" : [{
          "extension" : [{
            "url" : "https://fhir.by/StructureDefinition/StreetGeoRegistry",
            "valueCodeableConcept" : {
              "coding" : [{
                "system" : "https://fhir.by/ValueSet/StreetGeoRegistry",
                "code" : "5170301729728235",
                "display" : "Проспект Партизанский, 83"
              }]
            }
          },
          {
            "url" : "https://fhir.by/StructureDefinition/ApartmentRoom",
            "valueString" : "кв. 11"
          }],
          "url" : "https://fhir.by/StructureDefinition/PlaceOutsideOrganization"
        },
        {
          "url" : "https://fhir.by/StructureDefinition/PlaceOfDeathByCode",
          "valueCodeableConcept" : {
            "coding" : [{
              "system" : "https://fhir.by/ValueSet/PlaceOfDeathByCode",
              "code" : "4",
              "display" : "дома"
            }]
          }
        }],
        "url" : "https://fhir.by/StructureDefinition/PlaceOfDeath"
      },
      {
        "url" : "https://fhir.by/StructureDefinition/EstablishmentOfCauseOfDeath",
        "valueCodeableConcept" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/EstablishmentOfCauseOfDeath",
            "code" : "2",
            "display" : "записей лечащего врача в медицинской документации"
          }]
        }
      }],
      "identifier" : [{
        "system" : "https://minzdrav.gov.by",
        "value" : "03-123456789-2025000000000001",
        "assigner" : {
          "reference" : "Organization/9ad86c36-0f29-428d-b476-c8603a7cdd1f",
          "display" : "Поликлиника №5"
        }
      }],
      "status" : "completed",
      "subject" : {
        "reference" : "Patient/ExampleDeadPatientED"
      },
      "date" : "2025-05-05T05:35:21Z",
      "performer" : {
        "reference" : "PractitionerRole/3c057f8d-4369-4c5e-86be-f710dff3a91c"
      },
      "finding" : [{
        "item" : {
          "concept" : {
            "coding" : [{
              "system" : "https://fhir.by/ValueSet/TypeOfDeathReason",
              "code" : "DirectlyDeathReason",
              "display" : "Непосредственная причина смерти (мертворождения) - заболевание или состояние, непосредственно приведшее к смерти"
            }]
          },
          "reference" : {
            "reference" : "Condition/ExampleDiagnosisDepression",
            "display" : "I50.0 - Застойная сердечная недостаточность"
          }
        }
      },
      {
        "item" : {
          "concept" : {
            "coding" : [{
              "system" : "https://fhir.by/ValueSet/TypeOfDeathReason",
              "code" : "ConditionsForDirectlyDeathReason",
              "display" : "Патологические состояния (заболевания), вызвавшие или обусловившие непосредственную причину смерти (мертворождения)"
            }]
          },
          "reference" : {
            "reference" : "Condition/ExampleDiagnosisDiabet",
            "display" : "I25.2 - Перенесенный в прошлом инфаркт миокарда"
          }
        }
      },
      {
        "item" : {
          "concept" : {
            "coding" : [{
              "system" : "https://fhir.by/ValueSet/TypeOfDeathReason",
              "code" : "MainDeathReason",
              "display" : "Основная причина смерти (мертворождения) - первоначальное заболевание или состояние"
            }]
          },
          "reference" : {
            "reference" : "Condition/ExampleDiagnosisVeins05",
            "display" : "I25.1 - Атеросклеротическая болезнь сердца"
          }
        }
      },
      {
        "item" : {
          "concept" : {
            "coding" : [{
              "system" : "https://fhir.by/ValueSet/TypeOfDeathReason",
              "code" : "OtherCondition",
              "display" : "Прочие важные состояния, сопутствующие смерти (мертворождению), но не связанные с заболеванием или патологическим состоянием, приведшим к ней"
            }]
          },
          "reference" : {
            "reference" : "Condition/ExampleDiagnosisVeins",
            "display" : "C61 - Злокачественное новообразование предстательной железы"
          }
        }
      }]
    }
  }]
}