{
  "resourceType" : "Bundle",
  "id" : "BundleSelfExam",
  "meta" : {
    "profile" : ["https://fhir.by/AbstractArea/StructureDefinition/Bundle/PatientBundle"]
  },
  "identifier" : {
    "system" : "https://fhir.by/ValueSet/urn:ietf:rfc:3986",
    "value" : "urn:uuid:0c3151bd-1cbf-4d64-b04d-cd9187a4c6t9"
  },
  "type" : "document",
  "timestamp" : "2024-07-22T11:12:23Z",
  "entry" : [{
    "fullUrl" : "Composition/CompDocumentSelfExam",
    "resource" : {
      "resourceType" : "Composition",
      "id" : "CompDocumentSelfExam",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/PatientComposition"]
      },
      "status" : "final",
      "type" : {
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/CompositionType",
          "code" : "patient-self-exam"
        }]
      },
      "subject" : [{
        "reference" : "Patient/PatientForDemo",
        "display" : "Иванов Василий Васильевич"
      }],
      "date" : "2024-07-22T11:12:21Z",
      "author" : [{
        "reference" : "Patient/PatientForDemo",
        "display" : "Иванов Василий Васильевич"
      }],
      "title" : "Personal Characteristics",
      "event" : [{
        "detail" : [{
          "reference" : {
            "reference" : "Observation/BodyHeightSelfExam"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "Observation/BodyWeightSelfExam"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "Observation/BodyBMISelfExam"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "Observation/BodyWaistCircumferenceSelfExam"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "Observation/BodyTemperatureSelfExam"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "Observation/HeartRateSelfExam"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "Observation/RespiratorytRateSelfExam"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "Observation/BloodPressureSelfExam"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "Appointment/ExampleSelfAppointment"
          }
        }]
      }]
    }
  },
  {
    "fullUrl" : "Patient/PatientForDemo",
    "resource" : {
      "resourceType" : "Patient",
      "id" : "PatientForDemo",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/PatientWithIdentificationNumber"]
      },
      "identifier" : [{
        "use" : "usual",
        "type" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/PersonalDocumentType",
            "code" : "INP"
          }]
        },
        "value" : "7005612A009PB3",
        "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" : "MP1234568"
      }],
      "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" : "Observation/BodyHeightSelfExam",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "BodyHeightSelfExam",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/AnthropometricDataBy"]
      },
      "status" : "registered",
      "category" : [{
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/ObservationCategoryCode",
          "code" : "exam",
          "userSelected" : true
        }]
      }],
      "code" : {
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/AnthropoMetricCodes",
          "code" : "body-height"
        }]
      },
      "subject" : {
        "reference" : "Patient/PatientForDemo",
        "display" : "Иванов Василий Васильевич"
      },
      "effectiveDateTime" : "2024-07-22T11:12:21Z",
      "performer" : [{
        "reference" : "Patient/PatientForDemo",
        "display" : "Иванов Василий Васильевич"
      }],
      "valueQuantity" : {
        "value" : 171,
        "unit" : "cm",
        "system" : "https://fhir.by/ValueSet/UnitsOfMeasureBy",
        "code" : "cm"
      }
    }
  },
  {
    "fullUrl" : "Observation/BodyWeightSelfExam",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "BodyWeightSelfExam",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/AnthropometricDataBy"]
      },
      "status" : "registered",
      "category" : [{
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/ObservationCategoryCode",
          "code" : "exam",
          "userSelected" : true
        }]
      }],
      "code" : {
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/AnthropoMetricCodes",
          "code" : "body-weight"
        }]
      },
      "subject" : {
        "reference" : "Patient/PatientForDemo",
        "display" : "Иванов Василий Васильевич"
      },
      "effectiveDateTime" : "2024-07-22T11:12:21Z",
      "performer" : [{
        "reference" : "Patient/PatientForDemo",
        "display" : "Иванов Василий Васильевич"
      }],
      "valueQuantity" : {
        "value" : 95,
        "unit" : "kg",
        "system" : "https://fhir.by/ValueSet/UnitsOfMeasureBy",
        "code" : "kg"
      }
    }
  },
  {
    "fullUrl" : "Observation/BodyBMISelfExam",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "BodyBMISelfExam",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/AnthropometricDataBy"]
      },
      "status" : "registered",
      "category" : [{
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/ObservationCategoryCode",
          "code" : "exam",
          "userSelected" : true
        }]
      }],
      "code" : {
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/AnthropoMetricCodes",
          "code" : "body-mass-index"
        }]
      },
      "subject" : {
        "reference" : "Patient/PatientForDemo",
        "display" : "Иванов Василий Васильевич"
      },
      "effectiveDateTime" : "2024-07-22T11:12:21Z",
      "performer" : [{
        "reference" : "Patient/PatientForDemo",
        "display" : "Иванов Василий Васильевич"
      }],
      "valueQuantity" : {
        "value" : 32.5
      }
    }
  },
  {
    "fullUrl" : "Observation/BodyWaistCircumferenceSelfExam",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "BodyWaistCircumferenceSelfExam",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/AnthropometricDataBy"]
      },
      "status" : "registered",
      "category" : [{
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/ObservationCategoryCode",
          "code" : "exam",
          "userSelected" : true
        }]
      }],
      "code" : {
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/AnthropoMetricCodes",
          "code" : "waist-circumference"
        }]
      },
      "subject" : {
        "reference" : "Patient/PatientForDemo",
        "display" : "Иванов Василий Васильевич"
      },
      "effectiveDateTime" : "2024-07-22T11:12:21Z",
      "performer" : [{
        "reference" : "Patient/PatientForDemo",
        "display" : "Иванов Василий Васильевич"
      }],
      "valueQuantity" : {
        "value" : 102,
        "unit" : "cm",
        "system" : "https://fhir.by/ValueSet/UnitsOfMeasureBy",
        "code" : "cm"
      }
    }
  },
  {
    "fullUrl" : "Observation/BodyTemperatureSelfExam",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "BodyTemperatureSelfExam",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/VitalSignsBy"]
      },
      "status" : "registered",
      "category" : [{
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/ObservationCategoryCode",
          "code" : "vital-signs",
          "userSelected" : true
        }]
      }],
      "code" : {
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/VitalSignsCodes",
          "code" : "body-temperature"
        }]
      },
      "subject" : {
        "reference" : "Patient/PatientForDemo",
        "display" : "Иванов Василий Васильевич"
      },
      "effectiveDateTime" : "2024-07-22T11:12:21Z",
      "performer" : [{
        "reference" : "Patient/PatientForDemo",
        "display" : "Иванов Василий Васильевич"
      }],
      "valueQuantity" : {
        "value" : 36.7,
        "unit" : "Cel",
        "system" : "https://fhir.by/ValueSet/UnitsOfMeasureBy",
        "code" : "Cel"
      }
    }
  },
  {
    "fullUrl" : "Observation/HeartRateSelfExam",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "HeartRateSelfExam",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/VitalSignsBy"]
      },
      "status" : "registered",
      "category" : [{
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/ObservationCategoryCode",
          "code" : "vital-signs",
          "userSelected" : true
        }]
      }],
      "code" : {
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/VitalSignsCodes",
          "code" : "heart-rate"
        }]
      },
      "subject" : {
        "reference" : "Patient/PatientForDemo",
        "display" : "Иванов Василий Васильевич"
      },
      "effectiveDateTime" : "2024-07-22T11:12:21Z",
      "performer" : [{
        "reference" : "Patient/PatientForDemo",
        "display" : "Иванов Василий Васильевич"
      }],
      "valueQuantity" : {
        "value" : 80,
        "unit" : "/min",
        "system" : "https://fhir.by/ValueSet/UnitsOfMeasureBy",
        "code" : "/min"
      }
    }
  },
  {
    "fullUrl" : "Observation/RespiratorytRateSelfExam",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "RespiratorytRateSelfExam",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/VitalSignsBy"]
      },
      "status" : "registered",
      "category" : [{
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/ObservationCategoryCode",
          "code" : "vital-signs",
          "userSelected" : true
        }]
      }],
      "code" : {
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/VitalSignsCodes",
          "code" : "respiratory-rate"
        }]
      },
      "subject" : {
        "reference" : "Patient/PatientForDemo",
        "display" : "Иванов Василий Васильевич"
      },
      "effectiveDateTime" : "2024-07-22T11:12:21Z",
      "performer" : [{
        "reference" : "Patient/PatientForDemo",
        "display" : "Иванов Василий Васильевич"
      }],
      "valueQuantity" : {
        "value" : 14,
        "unit" : "/min",
        "system" : "https://fhir.by/ValueSet/UnitsOfMeasureBy",
        "code" : "/min"
      }
    }
  },
  {
    "fullUrl" : "Observation/BloodPressureSelfExam",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "BloodPressureSelfExam",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/VitalSignsBy"]
      },
      "status" : "registered",
      "category" : [{
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/ObservationCategoryCode",
          "code" : "vital-signs",
          "userSelected" : true
        }]
      }],
      "code" : {
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/VitalSignsCodes",
          "code" : "arterial-blood-pressure"
        }]
      },
      "subject" : {
        "reference" : "Patient/PatientForDemo",
        "display" : "Иванов Василий Васильевич"
      },
      "effectiveDateTime" : "2024-07-22T11:12:21Z",
      "performer" : [{
        "reference" : "Patient/PatientForDemo",
        "display" : "Иванов Василий Васильевич"
      }],
      "component" : [{
        "code" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/VitalSignsCodes",
            "code" : "systolic-arterial-blood-pressure"
          }]
        },
        "valueQuantity" : {
          "value" : 145,
          "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" : 85,
          "unit" : "mm[Hg]",
          "system" : "https://fhir.by/ValueSet/UnitsOfMeasureBy",
          "code" : "mm[Hg]"
        }
      }]
    }
  },
  {
    "fullUrl" : "Appointment/ExampleSelfAppointment",
    "resource" : {
      "resourceType" : "Appointment",
      "id" : "ExampleSelfAppointment",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/AppointmentBy"]
      },
      "extension" : [{
        "url" : "https://fhir.by/StructureDefinition/PaidSlot",
        "valueCodeableConcept" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/EncounterTypeOfService",
            "code" : "free"
          }]
        }
      }],
      "identifier" : [{
        "value" : "A099",
        "assigner" : {
          "reference" : "Organization/9ad86c36-0f29-428d-b476-c8603a7cdd1f"
        }
      }],
      "status" : "pending",
      "serviceCategory" : [{
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/HealthcareServiceCategory",
          "code" : "02/1",
          "display" : "Амбулаторно-поликлиническая помощь взрослому населению"
        }]
      }],
      "serviceType" : [{
        "concept" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/MedicalServiceType",
            "code" : "C003.1",
            "display" : "Прием (осмотр, консультация) врача общей практики"
          }]
        }
      }],
      "specialty" : [{
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/ServiceSpecialtyBy",
          "code" : "C003",
          "display" : "общая практика"
        }]
      }],
      "appointmentType" : {
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/SlotAppointmentTypeBy",
          "code" : "followup",
          "display" : "повторный прием"
        }]
      },
      "reason" : [{
        "concept" : {
          "text" : "Окончание случая временной нетрудоспособности"
        }
      }],
      "priority" : {
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/HealthCareForms",
          "code" : "planned",
          "display" : "Плановая медицинская помощь"
        }]
      },
      "start" : "2024-12-09T11:40:00Z",
      "end" : "2024-12-09T12:00:00Z",
      "slot" : [{
        "reference" : "Slot/SlotGeneralPractitionerFree"
      }],
      "created" : "2024-12-01T08:00:00Z",
      "subject" : {
        "reference" : "Patient/PatientForDemo"
      },
      "participant" : [{
        "actor" : {
          "reference" : "PractitionerRole/3c057f8d-4369-4c5e-86be-f710dff3a91c"
        },
        "status" : "accepted"
      }]
    }
  }]
}