{
  "resourceType" : "Bundle",
  "id" : "BundleSelfExamAllergy",
  "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-cd9187a4c6t8"
  },
  "type" : "document",
  "timestamp" : "2025-05-02T13:06:23Z",
  "entry" : [{
    "fullUrl" : "Composition/CompDocumentSelfExamAllergy",
    "resource" : {
      "resourceType" : "Composition",
      "id" : "CompDocumentSelfExamAllergy",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/PatientComposition"]
      },
      "status" : "final",
      "type" : {
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/CompositionType",
          "code" : "patient-self-exam"
        }]
      },
      "subject" : [{
        "reference" : "Patient/PatientForSelfExamAllergy",
        "display" : "Петрова Мария Ивановна"
      }],
      "date" : "2025-05-02T13:06:23Z",
      "author" : [{
        "reference" : "RelatedPerson/ExampleRelatedPersonMother",
        "display" : "Петрова Анна Петровна"
      }],
      "title" : "Allergic reaction",
      "event" : [{
        "detail" : [{
          "reference" : {
            "reference" : "RelatedPerson/ExampleRelatedPersonMother"
          }
        }]
      },
      {
        "detail" : [{
          "reference" : {
            "reference" : "QuestionnaireResponse/AlergicReactionForSelfExamAllergy"
          }
        }]
      }]
    }
  },
  {
    "fullUrl" : "Patient/PatientForSelfExamAllergy",
    "resource" : {
      "resourceType" : "Patient",
      "id" : "PatientForSelfExamAllergy",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/PatientWithIdentificationNumber"]
      },
      "identifier" : [{
        "use" : "usual",
        "type" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/PersonalDocumentType",
            "code" : "INP"
          }]
        },
        "value" : "7001112A009PB3"
      },
      {
        "extension" : [{
          "extension" : [{
            "url" : "https://fhir.by/StructureDefinition/PassportIssuedDate",
            "valueDate" : "2024-02-18"
          },
          {
            "url" : "https://fhir.by/StructureDefinition/PassportIssuedString",
            "valueString" : "Центральным РУВД г Минска"
          },
          {
            "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" : "MP7654321"
      }],
      "active" : true,
      "name" : [{
        "family" : "Петрова",
        "given" : ["Мария",
        "Ивановна"]
      }],
      "gender" : "female",
      "birthDate" : "2024-05-02",
      "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"
      }],
      "maritalStatus" : {
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/MaritalStatus",
          "code" : "unmarried"
        }]
      },
      "contact" : [{
        "relationship" : [{
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/RelatedPersonType",
            "code" : "parent"
          }]
        }],
        "name" : {
          "family" : "Петрова",
          "given" : ["Анна",
          "Петровна"]
        },
        "telecom" : [{
          "system" : "phone",
          "value" : "80295478831"
        }],
        "address" : {
          "extension" : [{
            "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"
          }],
          "text" : "Могилевская область, г.Могилев, Переулок Гоголя, д.19",
          "postalCode" : "212011"
        }
      }]
    }
  },
  {
    "fullUrl" : "RelatedPerson/ExampleRelatedPersonMother",
    "resource" : {
      "resourceType" : "RelatedPerson",
      "id" : "ExampleRelatedPersonMother",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/RelatedPersonPermanentBy"]
      },
      "identifier" : [{
        "type" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/PersonalDocumentType",
            "code" : "INP"
          }]
        },
        "value" : "7551000A009PB5",
        "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,
      "patient" : {
        "reference" : "Patient/PatientForSelfExamAllergy"
      },
      "relationship" : [{
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/RelatedPersonType",
          "code" : "mother",
          "display" : "мать"
        }]
      }],
      "name" : [{
        "family" : "Петрова",
        "given" : ["Анна",
        "Петровна"]
      }],
      "telecom" : [{
        "system" : "phone",
        "value" : "+375172000669",
        "period" : {
          "start" : "2024-01-31"
        }
      }],
      "gender" : "female",
      "birthDate" : "1992-10-08",
      "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" : "QuestionnaireResponse/AlergicReactionForSelfExamAllergy",
    "resource" : {
      "resourceType" : "QuestionnaireResponse",
      "id" : "AlergicReactionForSelfExamAllergy",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/QRAllergicReaction"]
      },
      "questionnaire" : "https://fhir.by/Questionnaire/QAllergicReaction",
      "status" : "completed",
      "subject" : {
        "reference" : "Patient/PatientForSelfExamAllergy",
        "display" : "Петрова Мария Ивановна"
      },
      "authored" : "2025-05-02T18:30:00.000Z",
      "author" : {
        "reference" : "RelatedPerson/ExampleRelatedPersonMother",
        "display" : "Петрова Анна Петровна"
      },
      "item" : [{
        "linkId" : "1",
        "text" : "Предполагаемые причины аллергической реакции",
        "answer" : [{
          "valueCoding" : {
            "system" : "https://fhir.by/ValueSet/CausesAllergicReaction",
            "code" : "medical_drugs",
            "display" : "Лекарственное средство/БАД",
            "userSelected" : true
          }
        }]
      },
      {
        "linkId" : "2",
        "text" : "Дополнительная информация об аллергической реакции",
        "answer" : [{
          "valueString" : "Моя дочь вчера начала принимать суспензию Амоксиклав.\n                     Сегодня появилась сыпь яроко-розовогоцвета на коже живота"
        }]
      }]
    }
  }]
}