{
  "resourceType" : "Bundle",
  "id" : "ExampleBundleCommunicableDiseases",
  "meta" : {
    "profile" : ["https://fhir.by/AbstractArea/StructureDefinition/Bundle/MedicationDocument"]
  },
  "identifier" : {
    "system" : "https://fhir.by/ValueSet/urn:ietf:rfc:3986",
    "value" : "urn:uuid:0c3151bd-1cbf-4d64-b04d-cd9187a4c6t9"
  },
  "type" : "document",
  "timestamp" : "2024-04-07T11:12:21Z",
  "entry" : [{
    "fullUrl" : "Composition/CompositionMax",
    "resource" : {
      "resourceType" : "Composition",
      "id" : "CompositionMax",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/CompDocument"]
      },
      "status" : "registered",
      "type" : {
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/CompositionType",
          "code" : "general",
          "display" : "Общая медицинская информация"
        }]
      },
      "subject" : [{
        "reference" : "Patient/PatientMax"
      }],
      "encounter" : {
        "reference" : "Encounter/EncounterMax"
      },
      "date" : "2024-04-07T11:12:21Z",
      "author" : [{
        "reference" : "Practitioner/7cc066b9-7db5-4db6-8645-c6edd23ab896"
      }],
      "title" : "CompDocument для наполненного Bundle",
      "custodian" : {
        "reference" : "Organization/9ad86c36-0f29-428d-b476-c8603a7cdd1f"
      },
      "event" : [{
        "detail" : [{
          "reference" : {
            "reference" : "Condition/DiagnosisrMax"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "Observation/HeightMax"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "Observation/WeightMax"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "Observation/BMIMax"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "Observation/ArterialBloodPressureMax"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "Observation/HeartRateMax"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "Observation/TemperatureMax"
          }
        }]
      }]
    }
  },
  {
    "fullUrl" : "Patient/ExamplePatientWithIdentificationNumber",
    "resource" : {
      "resourceType" : "Patient",
      "id" : "ExamplePatientWithIdentificationNumber",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/PatientWithIdentificationNumber"]
      },
      "extension" : [{
        "extension" : [{
          "url" : "https://fhir.by/StructureDefinition/PatientArchiveBoolean",
          "valueBoolean" : true
        },
        {
          "url" : "https://fhir.by/StructureDefinition/PatientArchiveLink",
          "valueUri" : "PatientId001_12_240801123000.zip"
        }],
        "url" : "https://fhir.by/StructureDefinition/PatientArchive"
      },
      {
        "extension" : [{
          "url" : "https://fhir.by/StructureDefinition/ConsentPersonalDataBoolean",
          "valueBoolean" : true
        },
        {
          "url" : "https://fhir.by/StructureDefinition/ConsentPersonalDataPeriod",
          "valuePeriod" : {
            "start" : "2024-08-01"
          }
        }],
        "url" : "https://fhir.by/StructureDefinition/ConsentPersonalData"
      },
      {
        "url" : "https://fhir.by/StructureDefinition/IncapacityExtension",
        "valueBoolean" : false
      },
      {
        "url" : "https://fhir.by/StructureDefinition/DisabilityGroup",
        "valueCodeableConcept" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/DisabilityGroup",
            "code" : "2_group"
          }]
        }
      },
      {
        "url" : "https://fhir.by/StructureDefinition/DisabilityReason",
        "valueCodeableConcept" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/DisabilityReason",
            "code" : "general"
          }]
        }
      }],
      "identifier" : [{
        "use" : "usual",
        "type" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/PersonalDocumentType",
            "code" : "INP"
          }]
        },
        "value" : "7001112A009PB3"
      },
      {
        "extension" : [{
          "extension" : [{
            "url" : "https://fhir.by/StructureDefinition/PassportIssuedString",
            "valueString" : "Центральным РУВД г Минска, 21.08.2021"
          },
          {
            "url" : "https://fhir.by/StructureDefinition/PassportIssuedDate",
            "valueDate" : "2021-08-21"
          },
          {
            "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" : "MP1234567"
      },
      {
        "extension" : [{
          "extension" : [{
            "url" : "https://fhir.by/StructureDefinition/PassportIssuedDate",
            "valueDate" : "2024-01-31"
          },
          {
            "url" : "https://fhir.by/StructureDefinition/PassportIssuedString",
            "valueString" : "Центральным МРЭК г Минска, 31.01.2024"
          }],
          "url" : "https://fhir.by/StructureDefinition/PassportIssued"
        }],
        "use" : "official",
        "type" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/PersonalDocumentType",
            "code" : "CDP"
          }]
        },
        "value" : "AB3333333",
        "period" : {
          "start" : "2024-01-31"
        },
        "assigner" : {
          "reference" : "Organization/9ad86c36-0f29-428d-b476-c8603a7cdd1f"
        }
      }],
      "active" : true,
      "name" : [{
        "family" : "Иванов",
        "given" : ["Петр",
        "Сидорович"]
      }],
      "telecom" : [{
        "extension" : [{
          "extension" : [{
            "url" : "https://fhir.by/StructureDefinition/PatientNotificationType",
            "valueCodeableConcept" : {
              "coding" : [{
                "system" : "https://fhir.by/ValueSet/PatientNotificationType",
                "code" : "SMS",
                "display" : "SMS"
              }]
            }
          },
          {
            "url" : "https://fhir.by/StructureDefinition/PatientConsentForNotification",
            "valueBoolean" : true
          }],
          "url" : "https://fhir.by/StructureDefinition/PatientTelecomPurpose"
        }],
        "system" : "phone",
        "value" : "89001234567"
      }],
      "gender" : "male",
      "birthDate" : "1990-12-31",
      "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" : "home",
        "text" : "Могилевская область, г.Могилев, Переулок Гоголя, д.19",
        "postalCode" : "212011"
      }],
      "contact" : [{
        "name" : {
          "family" : "Иванов",
          "given" : ["Иван"]
        },
        "telecom" : [{
          "system" : "phone",
          "value" : "80299099090"
        }]
      }]
    }
  },
  {
    "fullUrl" : "DiagnosticReport/ExampleDiagnosticReportLabAlco",
    "resource" : {
      "resourceType" : "DiagnosticReport",
      "id" : "ExampleDiagnosticReportLabAlco",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/DiagnosticReportLab"]
      },
      "identifier" : [{
        "value" : "123341",
        "assigner" : {
          "extension" : [{
            "url" : "https://fhir.by/StructureDefinition/LocationReference",
            "valueReference" : {
              "reference" : "Location/LabUnit"
            }
          }],
          "reference" : "Organization/9ad86c36-0f29-428d-b476-c8603a7cdd1f"
        }
      }],
      "basedOn" : [{
        "reference" : "ServiceRequest/ExampleServiceRequestKdl",
        "display" : "Направление на определение этанола"
      }],
      "status" : "final",
      "code" : {
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/TypesOfLabTests",
          "code" : "11.2.2.2",
          "display" : "Этанол, обнаружение в крови, моче"
        }]
      },
      "subject" : {
        "reference" : "Patient/ExamplePatientWithIdentificationNumber"
      },
      "issued" : "2024-11-28T15:50:00Z",
      "resultsInterpreter" : [{
        "reference" : "PractitionerRole/3c057f8d-4369-4c5e-86be-f710dff3a91c"
      }],
      "result" : [{
        "reference" : "Observation/ExampleKdlObservationAlco"
      }]
    }
  },
  {
    "fullUrl" : "ClinicalImpression/ExampleCommunicableDiseasesAndHIVandComm",
    "resource" : {
      "resourceType" : "ClinicalImpression",
      "id" : "ExampleCommunicableDiseasesAndHIVandComm",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/MedAssessmentCommunicableDiseases"]
      },
      "identifier" : [{
        "value" : "2542122",
        "assigner" : {
          "reference" : "Organization/9ad86c36-0f29-428d-b476-c8603a7cdd1f",
          "display" : "БСМП"
        }
      }],
      "status" : "completed",
      "subject" : {
        "reference" : "Patient/ExamplePatientWithIdentificationNumber",
        "display" : "Чистый Михаил Фёдорович"
      },
      "effectivePeriod" : {
        "start" : "2024-11-28T12:00:00Z",
        "end" : "2025-11-27T12:00:00Z"
      },
      "date" : "2024-11-28",
      "performer" : {
        "reference" : "PractitionerRole/3c057f8d-4369-4c5e-86be-f710dff3a91c"
      },
      "prognosisCodeableConcept" : [{
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/CommunicableDiseases",
          "code" : "communicable_diseases",
          "display" : "Имеются заболевания, включенные в перечень заболеваний, представляющих опасность для здоровья населения"
        }]
      },
      {
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/CommunicableDiseases",
          "code" : "hiv",
          "display" : "Инфицирован(а) ВИЧ"
        }]
      }],
      "supportingInfo" : [{
        "reference" : "DiagnosticReport/ExampleDiagnosticReportLabAlco",
        "display" : "Vibrio cholerae ген токсина (ctx), обнаружение в любой пробе"
      },
      {
        "reference" : "DiagnosticReport/ExampleDiagnosticReportLabOpium",
        "display" : "Антитела к ВИЧ 1 и 2, обнаружение"
      }]
    }
  }]
}