{
  "resourceType" : "Bundle",
  "id" : "BundleFull",
  "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/CompositionFullBundle",
    "resource" : {
      "resourceType" : "Composition",
      "id" : "CompositionFullBundle",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/CompDocument"]
      },
      "status" : "registered",
      "type" : {
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/CompositionType",
          "code" : "general",
          "display" : "Общая медицинская информация"
        }]
      },
      "subject" : [{
        "reference" : "Patient/PatientFullBundle"
      }],
      "encounter" : {
        "reference" : "Encounter/EncounterFullBundle"
      },
      "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/DiagnosisrFullBundle"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "Observation/HeightFullBundle"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "Observation/WeightFullBundle"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "Observation/BMIFullBundle"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "Observation/ArterialBloodPressureFullBundle"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "Observation/HeartRateFullBundle"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "Observation/TemperatureFullBundle"
          }
        }]
      }]
    }
  },
  {
    "fullUrl" : "Patient/PatientFullBundle",
    "resource" : {
      "resourceType" : "Patient",
      "id" : "PatientFullBundle",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/PatientWithIdentificationNumber"]
      },
      "identifier" : [{
        "type" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/PersonalDocumentType",
            "code" : "INP"
          }]
        },
        "value" : "7001112A009PB3",
        "period" : {
          "start" : "2024-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,
      "name" : [{
        "family" : "Иванов",
        "given" : ["Василий",
        "Васильевич"],
        "period" : {
          "start" : "2024-01-31"
        }
      }],
      "telecom" : [{
        "system" : "phone",
        "value" : "89001234567"
      }],
      "gender" : "male",
      "birthDate" : "1989-01-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"
      }]
    }
  },
  {
    "fullUrl" : "Encounter/EncounterFullBundle",
    "resource" : {
      "resourceType" : "Encounter",
      "id" : "EncounterFullBundle",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/EncounterGeneral"]
      },
      "status" : "completed",
      "class" : [{
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/VSTermsOfService",
          "code" : "1"
        }]
      }],
      "priority" : {
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/HealthCareForms",
          "code" : "emergency"
        }]
      },
      "type" : [{
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/TypeOfHealthCare",
          "code" : "primary"
        }]
      }],
      "subject" : {
        "reference" : "Patient/PatientFullBundle",
        "display" : "Иванов Василий Васильевич"
      },
      "serviceProvider" : {
        "reference" : "Organization/9ad86c36-0f29-428d-b476-c8603a7cdd1f"
      },
      "participant" : [{
        "actor" : {
          "reference" : "PractitionerRole/3c057f8d-4369-4c5e-86be-f710dff3a91c",
          "display" : "Филатов Олег Михайлович"
        }
      }],
      "actualPeriod" : {
        "start" : "2024-04-07T11:12:21Z",
        "end" : "2024-04-07T11:25:21Z"
      },
      "diagnosis" : [{
        "condition" : [{
          "reference" : {
            "reference" : "Condition/DiagnosisrFullBundle"
          }
        }],
        "use" : [{
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/TypeOfDiagnosis",
            "code" : "mainDiagnosis"
          }]
        }]
      }]
    }
  },
  {
    "fullUrl" : "Condition/DiagnosisrFullBundle",
    "resource" : {
      "resourceType" : "Condition",
      "id" : "DiagnosisrFullBundle",
      "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-04-07"
      }],
      "clinicalStatus" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/condition-clinical",
          "code" : "active"
        }]
      },
      "code" : {
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/InternClassificDiseases10",
          "code" : "E11"
        }],
        "text" : "E11 - Сахарный диабет 2 типа"
      },
      "subject" : {
        "reference" : "Patient/PatientFullBundle",
        "display" : "Иванов Василий Васильевич"
      },
      "onsetDateTime" : "2024-04-07",
      "recordedDate" : "2024-04-07",
      "participant" : [{
        "actor" : {
          "reference" : "PractitionerRole/3c057f8d-4369-4c5e-86be-f710dff3a91c",
          "display" : "Филатов Олег Михайлович"
        }
      }]
    }
  },
  {
    "fullUrl" : "Observation/HeightFullBundle",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "HeightFullBundle",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/AnthropometricDataBy"]
      },
      "status" : "registered",
      "category" : [{
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/ObservationCategoryCode",
          "code" : "exam",
          "userSelected" : false
        }]
      }],
      "code" : {
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/AnthropoMetricCodes",
          "code" : "body-height"
        }]
      },
      "subject" : {
        "reference" : "Patient/PatientFullBundle",
        "display" : "Иванов Василий Васильевич"
      },
      "encounter" : {
        "reference" : "Encounter/EncounterFullBundle"
      },
      "effectiveDateTime" : "2024-04-07T11:12:21Z",
      "performer" : [{
        "reference" : "PractitionerRole/3c057f8d-4369-4c5e-86be-f710dff3a91c",
        "display" : "Филатов Олег Михайлович"
      }],
      "valueQuantity" : {
        "value" : 180,
        "unit" : "cm",
        "system" : "https://fhir.by/ValueSet/UnitsOfMeasureBy",
        "code" : "cm"
      }
    }
  },
  {
    "fullUrl" : "Observation/WeightFullBundle",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "WeightFullBundle",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/AnthropometricDataBy"]
      },
      "status" : "registered",
      "category" : [{
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/ObservationCategoryCode",
          "code" : "exam",
          "userSelected" : false
        }]
      }],
      "code" : {
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/AnthropoMetricCodes",
          "code" : "body-weight"
        }]
      },
      "subject" : {
        "reference" : "Patient/PatientFullBundle",
        "display" : "Иванов Василий Васильевич"
      },
      "encounter" : {
        "reference" : "Encounter/EncounterFullBundle"
      },
      "effectiveDateTime" : "2024-04-07T11:12:21Z",
      "performer" : [{
        "reference" : "PractitionerRole/3c057f8d-4369-4c5e-86be-f710dff3a91c",
        "display" : "Филатов Олег Михайлович"
      }],
      "valueQuantity" : {
        "value" : 90,
        "unit" : "kg",
        "system" : "https://fhir.by/ValueSet/UnitsOfMeasureBy",
        "code" : "kg"
      }
    }
  },
  {
    "fullUrl" : "Observation/BMIFullBundle",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "BMIFullBundle",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/AnthropometricDataBy"]
      },
      "status" : "registered",
      "category" : [{
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/ObservationCategoryCode",
          "code" : "exam",
          "userSelected" : false
        }]
      }],
      "code" : {
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/AnthropoMetricCodes",
          "code" : "body-mass-index"
        }]
      },
      "subject" : {
        "reference" : "Patient/PatientFullBundle",
        "display" : "Иванов Василий Васильевич"
      },
      "encounter" : {
        "reference" : "Encounter/EncounterFullBundle"
      },
      "effectiveDateTime" : "2024-04-07T11:12:21Z",
      "performer" : [{
        "reference" : "PractitionerRole/3c057f8d-4369-4c5e-86be-f710dff3a91c",
        "display" : "Филатов Олег Михайлович"
      }],
      "valueQuantity" : {
        "value" : 30
      }
    }
  },
  {
    "fullUrl" : "Observation/ArterialBloodPressureFullBundle",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "ArterialBloodPressureFullBundle",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/VitalSignsBy"]
      },
      "status" : "registered",
      "category" : [{
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/ObservationCategoryCode",
          "code" : "vital-signs",
          "userSelected" : false
        }]
      }],
      "code" : {
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/VitalSignsCodes",
          "code" : "arterial-blood-pressure"
        }]
      },
      "subject" : {
        "reference" : "Patient/PatientFullBundle",
        "display" : "Иванов Василий Васильевич"
      },
      "encounter" : {
        "reference" : "Encounter/EncounterFullBundle"
      },
      "effectiveDateTime" : "2024-04-07T11:12:21Z",
      "performer" : [{
        "reference" : "PractitionerRole/3c057f8d-4369-4c5e-86be-f710dff3a91c",
        "display" : "Филатов Олег Михайлович"
      }],
      "component" : [{
        "code" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/VitalSignsCodes",
            "code" : "systolic-arterial-blood-pressure"
          }]
        },
        "valueQuantity" : {
          "value" : 140,
          "unit" : "mm[Hg]",
          "system" : "https://fhir.by/ValueSet/UnitsOfMeasureBy",
          "code" : "mm[Hg]"
        }
      },
      {
        "code" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/VitalSignsCodes",
            "code" : "diastolic-arterial-blood-pressure"
          }]
        },
        "valueQuantity" : {
          "value" : 95,
          "unit" : "mm[Hg]",
          "system" : "https://fhir.by/ValueSet/UnitsOfMeasureBy",
          "code" : "mm[Hg]"
        }
      }]
    }
  },
  {
    "fullUrl" : "Observation/HeartRateFullBundle",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "HeartRateFullBundle",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/VitalSignsBy"]
      },
      "status" : "registered",
      "category" : [{
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/ObservationCategoryCode",
          "code" : "vital-signs",
          "userSelected" : false
        }]
      }],
      "code" : {
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/VitalSignsCodes",
          "code" : "heart-rate"
        }]
      },
      "subject" : {
        "reference" : "Patient/PatientFullBundle",
        "display" : "Иванов Василий Васильевич"
      },
      "encounter" : {
        "reference" : "Encounter/EncounterFullBundle"
      },
      "effectiveDateTime" : "2024-04-07T11:12:21Z",
      "performer" : [{
        "reference" : "PractitionerRole/3c057f8d-4369-4c5e-86be-f710dff3a91c",
        "display" : "Филатов Олег Михайлович"
      }],
      "valueQuantity" : {
        "value" : 80,
        "unit" : "/min",
        "system" : "https://fhir.by/ValueSet/UnitsOfMeasureBy",
        "code" : "/min"
      }
    }
  },
  {
    "fullUrl" : "Observation/TemperatureFullBundle",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "TemperatureFullBundle",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/VitalSignsBy"]
      },
      "status" : "registered",
      "category" : [{
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/ObservationCategoryCode",
          "code" : "vital-signs",
          "userSelected" : false
        }]
      }],
      "code" : {
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/VitalSignsCodes",
          "code" : "body-temperature"
        }]
      },
      "subject" : {
        "reference" : "Patient/PatientFullBundle",
        "display" : "Иванов Василий Васильевич"
      },
      "encounter" : {
        "reference" : "Encounter/EncounterFullBundle"
      },
      "effectiveDateTime" : "2024-04-07T11:12:21Z",
      "performer" : [{
        "reference" : "PractitionerRole/3c057f8d-4369-4c5e-86be-f710dff3a91c",
        "display" : "Филатов Олег Михайлович"
      }],
      "valueQuantity" : {
        "value" : 36.5,
        "unit" : "Cel",
        "system" : "https://fhir.by/ValueSet/UnitsOfMeasureBy",
        "code" : "Cel"
      }
    }
  }]
}