{
  "resourceType" : "Bundle",
  "id" : "ExampleBundleDeathCertificateWithSection",
  "meta" : {
    "profile" : ["https://fhir.by/AbstractArea/StructureDefinition/Bundle/BundleDeathCertificate"]
  },
  "identifier" : {
    "system" : "https://minzdrav.gov.by",
    "value" : "03-123456789-2025000000000002"
  },
  "type" : "document",
  "timestamp" : "2026-02-05T17:10:00Z",
  "entry" : [{
    "fullUrl" : "Composition/ExampleCompositionNewborn",
    "resource" : {
      "resourceType" : "Composition",
      "id" : "ExampleCompositionNewborn",
      "meta" : {
        "lastUpdated" : "2026-02-05T17:10:00Z",
        "profile" : ["https://fhir.by/StructureDefinition/DeathCertificateComposition"]
      },
      "status" : "final",
      "type" : {
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/CompositionType",
          "code" : "death-conclusion",
          "display" : "Электронное врачебное свидетельство о смерти"
        }]
      },
      "subject" : [{
        "reference" : "Patient/ExampleDeadNewbornED"
      }],
      "date" : "2026-02-05T17:10:00Z",
      "author" : [{
        "reference" : "Practitioner/7cc066b9-7db5-4db6-8645-c6edd23ab896",
        "display" : "патологоанатом, Рокитанский К."
      }],
      "title" : "Электронное врачебное свидетельство о смерти",
      "custodian" : {
        "reference" : "Organization/9ad86c36-0f29-428d-b476-c8603a7cdd1f",
        "display" : "Патологоанатомическое бюро"
      },
      "event" : [{
        "detail" : [{
          "reference" : {
            "reference" : "Provenance/ExampleProvenanceDeathNewborn"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "ClinicalImpression/ExampleDeathCertificateWithSectionOutpatient"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "RelatedPerson/f60d152a-9c19-402a-92a2-5ad32eb0eab7"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "Condition/ExampleDiagnosisDepression"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "Condition/ExampleDiagnosisDiabet"
          }
        }]
      }]
    }
  },
  {
    "fullUrl" : "Patient/ExampleDeadNewbornED",
    "resource" : {
      "resourceType" : "Patient",
      "id" : "ExampleDeadNewbornED",
      "meta" : {
        "lastUpdated" : "2026-02-05T19: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"
          }]
        }
      },
      {
        "url" : "https://fhir.by/StructureDefinition/PatientBirthDateTime",
        "valueDateTime" : "2026-02-01T05:25:00Z"
      }],
      "identifier" : [{
        "type" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/PersonalDocumentType",
            "code" : "INP"
          }]
        },
        "value" : "7240275A007PB2"
      }],
      "active" : true,
      "name" : [{
        "family" : "Семёнов",
        "given" : ["Петр",
        "Иванович"]
      }],
      "gender" : "male",
      "birthDate" : "2026-02-01",
      "deceasedDateTime" : "2026-02-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" : "кв. 11"
        }],
        "use" : "home",
        "text" : "Могилевская область, г.Могилев, Переулок Гоголя, д.19",
        "postalCode" : "212011"
      }],
      "link" : [{
        "other" : {
          "reference" : "Patient/ExampleNewBorn"
        },
        "type" : "refer"
      }]
    }
  },
  {
    "fullUrl" : "Provenance/ExampleProvenanceDeathNewborn",
    "resource" : {
      "resourceType" : "Provenance",
      "id" : "ExampleProvenanceDeathNewborn",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/ProvenanceDocumentInfoDeath"]
      },
      "target" : [{
        "reference" : "Patient/ExampleDeadNewbornED"
      }],
      "recorded" : "2026-02-05T17:10: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" : "ClinicalImpression/ExampleDeathCertificateWithSectionOutpatient",
    "resource" : {
      "resourceType" : "ClinicalImpression",
      "id" : "ExampleDeathCertificateWithSectionOutpatient",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/DeathCertificate"]
      },
      "extension" : [{
        "url" : "https://fhir.by/StructureDefinition/AgeOfDeath",
        "valueCodeableConcept" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/AgeOfDeath",
            "code" : "02",
            "display" : "умер в возрасте 0-6 суток"
          }]
        }
      },
      {
        "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/PlaceOutsideOrganization"
        },
        {
          "url" : "https://fhir.by/StructureDefinition/PlaceOfDeathByCode",
          "valueCodeableConcept" : {
            "coding" : [{
              "system" : "https://fhir.by/ValueSet/PlaceOfDeathByCode",
              "code" : "5",
              "display" : "в другом месте"
            }],
            "text" : "на улице, около дома"
          }
        }],
        "url" : "https://fhir.by/StructureDefinition/PlaceOfDeath"
      },
      {
        "url" : "https://fhir.by/StructureDefinition/EstablishmentOfCauseOfDeath",
        "valueCodeableConcept" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/EstablishmentOfCauseOfDeath",
            "code" : "3",
            "display" : "вскрытия"
          }]
        }
      }],
      "identifier" : [{
        "system" : "https://minzdrav.gov.by",
        "value" : "03-123456789-2025000000000002",
        "assigner" : {
          "reference" : "Organization/9ad86c36-0f29-428d-b476-c8603a7cdd1f"
        }
      }],
      "status" : "in-progress",
      "subject" : {
        "reference" : "Patient/ExampleDeadNewbornED"
      },
      "date" : "2026-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" : "R95.9 - Синдром внезапной смерти младенца без упоминания о вскрытии"
          }
        }
      },
      {
        "item" : {
          "concept" : {
            "coding" : [{
              "system" : "https://fhir.by/ValueSet/TypeOfDeathReason",
              "code" : "OtherCondition",
              "display" : "Прочие важные состояния, сопутствующие смерти (мертворождению), но не связанные с заболеванием или патологическим состоянием, приведшим к ней"
            }]
          },
          "reference" : {
            "reference" : "Condition/ExampleDiagnosisDiabet",
            "display" : "P07.3 - Другие случаи недоношенности"
          }
        }
      },
      {
        "item" : {
          "concept" : {
            "coding" : [{
              "system" : "https://fhir.by/ValueSet/TypeOfDeathReason",
              "code" : "MotherDeathCondition",
              "display" : "Основное заболевание или состояние матери (последа), оказавшее неблагоприятное влияние на ребенка (плод)"
            }]
          },
          "reference" : {
            "reference" : "Condition/ExampleDiagnosisDiabet",
            "display" : "P01.0 - Поражения плода и новорожденного, обусловленные истмико-цервикальной недостаточностью"
          }
        }
      },
      {
        "item" : {
          "concept" : {
            "coding" : [{
              "system" : "https://fhir.by/ValueSet/TypeOfDeathReason",
              "code" : "OtherMotherConditions",
              "display" : "Другие заболевания или состояния матери (последа), оказавшие неблагоприятное влияние на ребенка (плод)"
            }]
          },
          "reference" : {
            "reference" : "Condition/ExampleDiagnosisDiabet",
            "display" : "O23.1 - Инфекции мочевого пузыря при беременности"
          }
        }
      }]
    }
  },
  {
    "fullUrl" : "RelatedPerson/f60d152a-9c19-402a-92a2-5ad32eb0eab7",
    "resource" : {
      "resourceType" : "RelatedPerson",
      "id" : "f60d152a-9c19-402a-92a2-5ad32eb0eab7",
      "meta" : {
        "lastUpdated" : "2025-05-15T12:12:21Z",
        "profile" : ["https://fhir.by/StructureDefinition/RelatedPersonPermanentBy"]
      },
      "identifier" : [{
        "type" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/PersonalDocumentType",
            "code" : "INP"
          }]
        },
        "value" : "7551006A009PB7",
        "period" : {
          "start" : "2020-01-31"
        }
      },
      {
        "extension" : [{
          "extension" : [{
            "url" : "https://fhir.by/StructureDefinition/PassportIssuedString",
            "valueString" : "Центральным РУВД г Минска, 11.08.2021"
          },
          {
            "url" : "https://fhir.by/StructureDefinition/PassportIssuedDate",
            "valueDate" : "2021-08-11"
          },
          {
            "url" : "https://fhir.by/StructureDefinition/PassportIssuedCode",
            "valueCodeableConcept" : {
              "coding" : [{
                "system" : "https://fhir.by/ValueSet/OCAM",
                "code" : "106"
              }]
            }
          }],
          "url" : "https://fhir.by/StructureDefinition/PassportIssued"
        }],
        "use" : "usual",
        "type" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/PersonalDocumentType",
            "code" : "Passport-RB"
          }]
        },
        "value" : "MP1234579"
      }],
      "active" : true,
      "patient" : {
        "reference" : "Patient/42d47b92-d6a9-4030-9146-358babf6ba0b"
      },
      "relationship" : [{
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/RelatedPersonType",
          "code" : "mother",
          "display" : "мать"
        }]
      }],
      "name" : [{
        "family" : "Аврелий",
        "given" : ["Ирина",
        "Владимировна"]
      }],
      "telecom" : [{
        "system" : "phone",
        "value" : "+375172000669",
        "period" : {
          "start" : "2024-01-31"
        }
      }],
      "gender" : "female",
      "birthDate" : "1992-10-08",
      "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" : "кв. 11"
        }],
        "use" : "home",
        "text" : "Могилевская область, г.Могилев, Переулок Гоголя, д.19",
        "postalCode" : "212011"
      }]
    }
  }]
}