{
  "resourceType" : "Bundle",
  "id" : "ExampleBundleBirth",
  "meta" : {
    "profile" : ["https://fhir.by/AbstractArea/StructureDefinition/Bundle/BundleBirth"]
  },
  "identifier" : {
    "system" : "https://minzdrav.gov.by",
    "value" : "02-123456789-2025000000000001"
  },
  "type" : "document",
  "timestamp" : "2026-02-10T05:30:21Z",
  "entry" : [{
    "fullUrl" : "Composition/ExampleBirthComposition",
    "resource" : {
      "resourceType" : "Composition",
      "id" : "ExampleBirthComposition",
      "meta" : {
        "lastUpdated" : "2026-02-10T05:35:21Z",
        "profile" : ["https://fhir.by/StructureDefinition/BirthComposition"]
      },
      "extension" : [{
        "url" : "https://fhir.by/StructureDefinition/CitezenshipBy",
        "valueCodeableConcept" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/CitizenshipCode",
            "code" : "BY",
            "display" : "Беларусь"
          }]
        }
      }],
      "status" : "final",
      "type" : {
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/CompositionType",
          "code" : "birth-certificate",
          "display" : "Электронная медицинская справка о рождении"
        }]
      },
      "subject" : [{
        "reference" : "Patient/ExampleMotherED"
      }],
      "date" : "2026-02-10T05:30:21Z",
      "author" : [{
        "reference" : "Practitioner/7cc066b9-7db5-4db6-8645-c6edd23ab896"
      }],
      "title" : "Электронная медицинская справка о рождении",
      "custodian" : {
        "reference" : "Organization/9ad86c36-0f29-428d-b476-c8603a7cdd1f"
      },
      "event" : [{
        "detail" : [{
          "reference" : {
            "reference" : "Provenance/ExampleProvenanceDocumentInfoBirth"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "ClinicalImpression/ExampleBirth"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "QuestionnaireResponse/QRMotherSpecialInfBirth"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "Patient/ExampleNewBornED"
          }
        }]
      }]
    }
  },
  {
    "fullUrl" : "Patient/ExampleMotherED",
    "resource" : {
      "resourceType" : "Patient",
      "id" : "ExampleMotherED",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/PatientED"]
      },
      "extension" : [{
        "url" : "https://fhir.by/StructureDefinition/DocumentKind",
        "valueCodeableConcept" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/DigitalDocumentKind",
            "code" : "02"
          }]
        }
      }],
      "identifier" : [{
        "type" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/PersonalDocumentType",
            "code" : "INP"
          }]
        },
        "value" : "9031112A009PB9"
      }],
      "active" : true,
      "name" : [{
        "family" : "Аксенова",
        "given" : ["Екатерина",
        "Юрьевна"]
      }],
      "birthDate" : "1988-04-20",
      "deceasedDateTime" : "2025-05-02T05:35:21Z",
      "link" : [{
        "other" : {
          "reference" : "Patient/ExampleWomenStillbirth"
        },
        "type" : "refer"
      }]
    }
  },
  {
    "fullUrl" : "Patient/ExampleNewBornED",
    "resource" : {
      "resourceType" : "Patient",
      "id" : "ExampleNewBornED",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/PatientED"]
      },
      "extension" : [{
        "url" : "https://fhir.by/StructureDefinition/DocumentKind",
        "valueCodeableConcept" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/DigitalDocumentKind",
            "code" : "02"
          }]
        }
      },
      {
        "url" : "https://fhir.by/StructureDefinition/PatientBirthDateTime",
        "valueDateTime" : "2026-02-10T05:30:21Z"
      }],
      "identifier" : [{
        "type" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/PersonalDocumentType",
            "code" : "UMD"
          }]
        },
        "value" : "000000001",
        "assigner" : {
          "reference" : "Organization/9ad86c36-0f29-428d-b476-c8603a7cdd1f"
        }
      }],
      "active" : true,
      "name" : [{
        "family" : "Аврелий",
        "given" : ["Марк",
        "Феофанович"]
      }],
      "gender" : "male",
      "birthDate" : "2026-02-10",
      "deceasedBoolean" : false,
      "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" : "temp",
        "text" : "Могилевская область, г.Могилев, Переулок Гоголя, д.19",
        "postalCode" : "212011"
      }],
      "multipleBirthInteger" : 2,
      "link" : [{
        "other" : {
          "reference" : "Patient/pa-af3c3468-d2a1-42b3-81e8-f6dec5460d10"
        },
        "type" : "refer"
      }]
    }
  },
  {
    "fullUrl" : "QuestionnaireResponse/QRMotherSpecialInfBirth",
    "resource" : {
      "resourceType" : "QuestionnaireResponse",
      "id" : "QRMotherSpecialInfBirth",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/QRSpecialInformation"]
      },
      "identifier" : [{
        "system" : "https://minzdrav.gov.by",
        "value" : "02-123456789-2025000000000001",
        "assigner" : {
          "reference" : "Organization/9ad86c36-0f29-428d-b476-c8603a7cdd1f"
        }
      }],
      "questionnaire" : "https://fhir.by/Questionnaire/QMotherSpecialInformation",
      "status" : "completed",
      "authored" : "2026-02-10T05:30:21Z",
      "author" : {
        "reference" : "PractitionerRole/3de45eef-9815-434b-88a4-6a7ad139d555"
      },
      "item" : [{
        "linkId" : "1",
        "text" : "Образование матери",
        "answer" : [{
          "valueCoding" : {
            "system" : "https://fhir.by/ValueSet/MotherEducation",
            "code" : "high",
            "display" : "Высшее"
          }
        }]
      },
      {
        "linkId" : "2",
        "text" : "Семейное положение матери",
        "answer" : [{
          "valueCoding" : {
            "system" : "https://fhir.by/ValueSet/MotherMaritalStatus",
            "code" : "married",
            "display" : "состоит в браке"
          }
        }]
      },
      {
        "linkId" : "3",
        "text" : "Ребенок родился",
        "answer" : [{
          "valueCoding" : {
            "system" : "https://fhir.by/ValueSet/ConditionsOfBirth",
            "code" : "first_of_twins",
            "display" : "первым из двойни"
          }
        }]
      },
      {
        "linkId" : "4",
        "text" : "Номер настоящей беременности",
        "answer" : [{
          "valueInteger" : 2
        }]
      },
      {
        "linkId" : "5",
        "text" : "Номер настоящих родов",
        "answer" : [{
          "valueInteger" : 2
        }]
      },
      {
        "linkId" : "6",
        "text" : "Дата первого дня последней менструации",
        "answer" : [{
          "valueDate" : "2025-07-02"
        }]
      },
      {
        "linkId" : "7",
        "text" : "Срок настоящей беременности в днях",
        "answer" : [{
          "valueInteger" : 210
        }]
      },
      {
        "linkId" : "8",
        "text" : "Число родившихся живыми детей от беременностей, предшествовавших настоящей",
        "answer" : [{
          "valueInteger" : 1
        }]
      },
      {
        "linkId" : "9",
        "text" : "Число мертворождений, имевших место при предшествовавших беременностях",
        "answer" : [{
          "valueInteger" : 0
        }]
      },
      {
        "linkId" : "10",
        "text" : "Число самопроизвольных абортов (выкидышей) и абортов, произведенных по медицинским и социальным показаниям",
        "answer" : [{
          "valueInteger" : 0
        }]
      },
      {
        "linkId" : "11",
        "text" : "Число прерываний беременности, включая число искусственных медицинских абортов и вакуум-аспираций",
        "answer" : [{
          "valueInteger" : 0
        }]
      },
      {
        "linkId" : "12",
        "text" : "Число живых к настоящему моменту детей у матери",
        "answer" : [{
          "valueInteger" : 1
        }]
      },
      {
        "linkId" : "13",
        "text" : "Дата окончания последней из беременностей, предшествовавших настоящей",
        "answer" : [{
          "valueDate" : "2021-02-27"
        }]
      },
      {
        "linkId" : "14",
        "text" : "Данные об исходе последней беременности, предшествовавшей настоящей",
        "answer" : [{
          "valueCoding" : {
            "system" : "https://fhir.by/ValueSet/PregnancyOutcome",
            "code" : "01",
            "display" : "Роды живым плодом"
          }
        }]
      },
      {
        "linkId" : "15",
        "text" : "Масса тела ребёнка при рождении (в граммах)",
        "answer" : [{
          "valueInteger" : 2230
        }]
      },
      {
        "linkId" : "16",
        "text" : "Длина тела ребёнка при рождении (в сантиметрах)",
        "answer" : [{
          "valueInteger" : 40
        }]
      }]
    }
  },
  {
    "fullUrl" : "Provenance/ExampleProvenanceDocumentInfoBirth",
    "resource" : {
      "resourceType" : "Provenance",
      "id" : "ExampleProvenanceDocumentInfoBirth",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/ProvenanceDocumentInfoBirth"]
      },
      "target" : [{
        "reference" : "Patient/ExampleWomenStillbirth"
      }],
      "recorded" : "2026-02-10T05:35:21Z",
      "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" : "ClinicalImpression/ExampleBirth",
    "resource" : {
      "resourceType" : "ClinicalImpression",
      "id" : "ExampleBirth",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/BirthCertificate"]
      },
      "extension" : [{
        "extension" : [{
          "url" : "https://fhir.by/StructureDefinition/BirthPlaceOrganisation",
          "valueReference" : {
            "reference" : "Organization/9ad86c36-0f29-428d-b476-c8603a7cdd1f"
          }
        }],
        "url" : "https://fhir.by/StructureDefinition/BirthPlace"
      },
      {
        "url" : "https://fhir.by/StructureDefinition/Newborn",
        "valueReference" : {
          "reference" : "Patient/pa-af3c3468-d2a1-42b3-81e8-f6dec5460d10"
        }
      }],
      "identifier" : [{
        "system" : "https://minzdrav.gov.by",
        "value" : "02-123456789-2025000000000001",
        "assigner" : {
          "reference" : "Organization/9ad86c36-0f29-428d-b476-c8603a7cdd1f"
        }
      }],
      "status" : "completed",
      "subject" : {
        "reference" : "Patient/ExampleWomenStillbirth"
      },
      "date" : "2026-02-10T05:30:21Z",
      "performer" : {
        "reference" : "PractitionerRole/3c057f8d-4369-4c5e-86be-f710dff3a91c"
      }
    }
  }]
}