{
  "resourceType" : "Bundle",
  "id" : "BundleForTestAnPat",
  "meta" : {
    "profile" : ["https://fhir.by/AbstractArea/StructureDefinition/Bundle/MedicationDocument"]
  },
  "identifier" : {
    "system" : "https://fhir.by/ValueSet/urn:ietf:rfc:3982",
    "value" : "urn:uuid:0c3151bd-1cbf-4d64-b04d-cd9187a4c6t2"
  },
  "type" : "document",
  "timestamp" : "2024-05-07T11:30:00Z",
  "entry" : [{
    "fullUrl" : "Composition/CompositionBundleForTestAnPat",
    "resource" : {
      "resourceType" : "Composition",
      "id" : "CompositionBundleForTestAnPat",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/CompDocument"]
      },
      "status" : "registered",
      "type" : {
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/CompositionType",
          "code" : "general",
          "display" : "Общая медицинская информация"
        }]
      },
      "subject" : [{
        "reference" : "Patient/PatientBundleForTestAnPat"
      }],
      "encounter" : {
        "reference" : "Encounter/EncounterBundleForTestAnPat"
      },
      "date" : "2024-05-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/DiagnosisBundleForTestAnPat"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "Observation/BMIBundleForTestAnPat"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "Observation/BodyHeightBundleForTestAnPat"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "Observation/BodyWaistCircumferenceBundleForTestAnPat"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "Observation/BodyWeightBundleForTestAnPat"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "Observation/ArterialBloodPressureBundleForTestAnPat"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "Observation/BodyTemperatureBundleForTestAnPat"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "Observation/GlucoseLevelBundleForTestAnPat"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "Observation/HeartRateBundleForTestAnPat"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "Observation/RespiratorytRateBundleForTestAnPat"
          }
        }]
      }]
    }
  },
  {
    "fullUrl" : "Condition/DiagnosisBundleForTestAnPat",
    "resource" : {
      "resourceType" : "Condition",
      "id" : "DiagnosisBundleForTestAnPat",
      "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-05-07"
      }],
      "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/PatientBundleForTestAnPat"
      },
      "onsetDateTime" : "2024-05-07",
      "recordedDate" : "2024-05-07"
    }
  },
  {
    "fullUrl" : "Encounter/EncounterBundleForTestAnPat",
    "resource" : {
      "resourceType" : "Encounter",
      "id" : "EncounterBundleForTestAnPat",
      "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/PatientBundleForTestAnPat"
      },
      "serviceProvider" : {
        "reference" : "Organization/9ad86c36-0f29-428d-b476-c8603a7cdd1f"
      },
      "participant" : [{
        "actor" : {
          "reference" : "PractitionerRole/3c057f8d-4369-4c5e-86be-f710dff3a91c"
        }
      }],
      "actualPeriod" : {
        "start" : "2024-05-07T11:12:21Z",
        "end" : "2024-05-07T11:25:21Z"
      },
      "diagnosis" : [{
        "condition" : [{
          "reference" : {
            "reference" : "Condition/DiagnosisBundleForTestAnPat"
          }
        }],
        "use" : [{
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/TypeOfDiagnosis",
            "code" : "mainDiagnosis"
          }]
        }]
      }]
    }
  },
  {
    "fullUrl" : "Observation/BMIBundleForTestAnPat",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "BMIBundleForTestAnPat",
      "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/PatientBundleForTestAnPat"
      },
      "encounter" : {
        "reference" : "Encounter/EncounterBundleForTestAnPat"
      },
      "effectiveDateTime" : "2024-05-07T11:12:21Z",
      "performer" : [{
        "reference" : "PractitionerRole/3c057f8d-4369-4c5e-86be-f710dff3a91c"
      }],
      "valueQuantity" : {
        "value" : 32
      }
    }
  },
  {
    "fullUrl" : "Observation/BodyHeightBundleForTestAnPat",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "BodyHeightBundleForTestAnPat",
      "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/PatientBundleForTestAnPat"
      },
      "encounter" : {
        "reference" : "Encounter/EncounterBundleForTestAnPat"
      },
      "effectiveDateTime" : "2024-05-07T11:12:21Z",
      "performer" : [{
        "reference" : "PractitionerRole/3c057f8d-4369-4c5e-86be-f710dff3a91c"
      }],
      "valueQuantity" : {
        "value" : 172,
        "unit" : "cm",
        "system" : "https://fhir.by/ValueSet/UnitsOfMeasureBy",
        "code" : "cm"
      }
    }
  },
  {
    "fullUrl" : "Observation/BodyWaistCircumferenceBundleForTestAnPat",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "BodyWaistCircumferenceBundleForTestAnPat",
      "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" : "waist-circumference"
        }]
      },
      "subject" : {
        "reference" : "Patient/PatientBundleForTestAnPat",
        "display" : "Семенов Сергей Сидорович"
      },
      "encounter" : {
        "reference" : "Encounter/EncounterBundleForTestAnPat"
      },
      "effectiveDateTime" : "2024-05-07T11:12:21Z",
      "performer" : [{
        "reference" : "PractitionerRole/3c057f8d-4369-4c5e-86be-f710dff3a91c",
        "display" : "Крылов Максим Михайлович"
      }],
      "valueQuantity" : {
        "value" : 91,
        "unit" : "cm",
        "system" : "https://fhir.by/ValueSet/UnitsOfMeasureBy",
        "code" : "cm"
      }
    }
  },
  {
    "fullUrl" : "Observation/BodyWeightBundleForTestAnPat",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "BodyWeightBundleForTestAnPat",
      "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/PatientBundleForTestAnPat"
      },
      "encounter" : {
        "reference" : "Encounter/EncounterBundleForTestAnPat"
      },
      "effectiveDateTime" : "2024-05-07T11:12:21Z",
      "performer" : [{
        "reference" : "PractitionerRole/3c057f8d-4369-4c5e-86be-f710dff3a91c"
      }],
      "valueQuantity" : {
        "value" : 71,
        "unit" : "kg",
        "system" : "https://fhir.by/ValueSet/UnitsOfMeasureBy",
        "code" : "kg"
      }
    }
  },
  {
    "fullUrl" : "Observation/ArterialBloodPressureBundleForTestAnPat",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "ArterialBloodPressureBundleForTestAnPat",
      "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/PatientBundleForTestAnPat"
      },
      "encounter" : {
        "reference" : "Encounter/EncounterBundleForTestAnPat"
      },
      "effectiveDateTime" : "2024-05-07T11:12:21Z",
      "performer" : [{
        "reference" : "PractitionerRole/3c057f8d-4369-4c5e-86be-f710dff3a91c"
      }],
      "component" : [{
        "code" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/VitalSignsCodes",
            "code" : "systolic-arterial-blood-pressure"
          }]
        },
        "valueQuantity" : {
          "value" : 135,
          "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" : 90,
          "unit" : "mm[Hg]",
          "system" : "https://fhir.by/ValueSet/UnitsOfMeasureBy",
          "code" : "mm[Hg]"
        }
      }]
    }
  },
  {
    "fullUrl" : "Observation/BodyTemperatureBundleForTestAnPat",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "BodyTemperatureBundleForTestAnPat",
      "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/PatientBundleForTestAnPat"
      },
      "encounter" : {
        "reference" : "Encounter/EncounterBundleForTestAnPat"
      },
      "effectiveDateTime" : "2024-05-07T11:12:21Z",
      "performer" : [{
        "reference" : "PractitionerRole/3c057f8d-4369-4c5e-86be-f710dff3a91c"
      }],
      "valueQuantity" : {
        "value" : 36.6,
        "unit" : "Cel",
        "system" : "https://fhir.by/ValueSet/UnitsOfMeasureBy",
        "code" : "Cel"
      }
    }
  },
  {
    "fullUrl" : "Observation/GlucoseLevelBundleForTestAnPat",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "GlucoseLevelBundleForTestAnPat",
      "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" : "glucose-level"
        }]
      },
      "subject" : {
        "reference" : "Patient/PatientBundleForTestAnPat",
        "display" : "Семенов Сергей Сидорович"
      },
      "encounter" : {
        "reference" : "Encounter/EncounterBundleForTestAnPat"
      },
      "effectiveDateTime" : "2024-05-07T11:12:21Z",
      "performer" : [{
        "reference" : "PractitionerRole/3c057f8d-4369-4c5e-86be-f710dff3a91c",
        "display" : "Крылов Максим Михайлович"
      }],
      "valueQuantity" : {
        "value" : 4.4,
        "unit" : "mmol/L",
        "system" : "https://fhir.by/ValueSet/UnitsOfMeasureBy",
        "code" : "mmol/L"
      }
    }
  },
  {
    "fullUrl" : "Observation/HeartRateBundleForTestAnPat",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "HeartRateBundleForTestAnPat",
      "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/PatientBundleForTestAnPat"
      },
      "encounter" : {
        "reference" : "Encounter/EncounterBundleForTestAnPat"
      },
      "effectiveDateTime" : "2024-05-07T11:12:21Z",
      "performer" : [{
        "reference" : "PractitionerRole/3c057f8d-4369-4c5e-86be-f710dff3a91c"
      }],
      "valueQuantity" : {
        "value" : 82,
        "unit" : "/min",
        "system" : "https://fhir.by/ValueSet/UnitsOfMeasureBy",
        "code" : "/min"
      }
    }
  },
  {
    "fullUrl" : "Observation/RespiratorytRateBundleForTestAnPat",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "RespiratorytRateBundleForTestAnPat",
      "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" : "respiratory-rate"
        }]
      },
      "subject" : {
        "reference" : "Patient/PatientBundleForTestAnPat",
        "display" : "Семенов Сергей Сидорович"
      },
      "encounter" : {
        "reference" : "Encounter/EncounterBundleForTestAnPat"
      },
      "effectiveDateTime" : "2024-05-07T11:12:21Z",
      "performer" : [{
        "reference" : "PractitionerRole/3c057f8d-4369-4c5e-86be-f710dff3a91c",
        "display" : "Крылов Максим Михайлович"
      }],
      "valueQuantity" : {
        "value" : 14,
        "unit" : "/min",
        "system" : "https://fhir.by/ValueSet/UnitsOfMeasureBy",
        "code" : "/min"
      }
    }
  },
  {
    "fullUrl" : "Patient/PatientBundleForTestAnPat",
    "resource" : {
      "resourceType" : "Patient",
      "id" : "PatientBundleForTestAnPat",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/AnonymousPatientBy"]
      },
      "identifier" : [{
        "type" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/DocNumbersBy",
            "code" : "ANO"
          }]
        },
        "value" : "331121990999000",
        "period" : {
          "start" : "2024-12-31"
        },
        "assigner" : {
          "reference" : "Organization/9ad86c36-0f29-428d-b476-c8603a7cdd1f"
        }
      }],
      "active" : true,
      "name" : [{
        "family" : "Семенов",
        "given" : ["Сергей",
        "Сидорович"]
      }],
      "telecom" : [{
        "system" : "phone",
        "value" : "89001234567"
      }],
      "birthDate" : "1990-12-31"
    }
  }]
}