{
  "resourceType" : "Bundle",
  "id" : "BundleEpOCTDCase11",
  "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/CompositionEpOCTDCase11",
    "resource" : {
      "resourceType" : "Composition",
      "id" : "CompositionEpOCTDCase11",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/CompDocument"]
      },
      "status" : "registered",
      "type" : {
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/CompositionType",
          "code" : "general",
          "display" : "Общая медицинская информация"
        }]
      },
      "subject" : [{
        "reference" : "Patient/ExamplePatientPetrovAG"
      }],
      "date" : "2024-05-07T11:12:21Z",
      "author" : [{
        "reference" : "Practitioner/7cc066b9-7db5-4db6-8645-c6edd23ab896IvanovaII"
      }],
      "title" : "CompDocument содержащий сведения о временной нетрудосопособности",
      "custodian" : {
        "reference" : "Organization/9ad86c36-0f29-428d-b476-c8603a7cdd1f"
      },
      "event" : [{
        "detail" : [{
          "reference" : {
            "reference" : "EpisodeOfCare/ExampleTDCase1.1"
          }
        }]
      }]
    }
  },
  {
    "fullUrl" : "Patient/ExamplePatientPetrovAG",
    "resource" : {
      "resourceType" : "Patient",
      "id" : "ExamplePatientPetrovAG",
      "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_7001112A007PB3.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"
      }],
      "identifier" : [{
        "use" : "usual",
        "type" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/PersonalDocumentType",
            "code" : "INP"
          }]
        },
        "value" : "7001112A007PB3"
      },
      {
        "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" : "MP3334567"
      }],
      "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" : "89002234567"
      }],
      "gender" : "male",
      "birthDate" : "1970-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" : "EpisodeOfCare/ExampleTDCase1.1",
    "resource" : {
      "resourceType" : "EpisodeOfCare",
      "id" : "ExampleTDCase1.1",
      "meta" : {
        "lastUpdated" : "2023-10-11T10:30:00Z",
        "profile" : ["https://fhir.by/StructureDefinition/EpisodeOfTemporaryDisability"]
      },
      "extension" : [{
        "url" : "https://fhir.by/StructureDefinition/TemporaryDisabilityKindDisability",
        "valueCodeableConcept" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/TemporaryDisabilityKindDisability",
            "code" : "01",
            "display" : "в связи с заболеванием общим"
          }]
        }
      },
      {
        "url" : "https://fhir.by/StructureDefinition/TemporaryDisabilityPeriodPaid",
        "valueCodeableConcept" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/TemporaryDisabilityPeriodPaidCode",
            "code" : "1"
          }]
        }
      },
      {
        "url" : "https://fhir.by/StructureDefinition/TemporaryDiasabilityEncounterAction",
        "valueCodeableConcept" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/SeakLeavePeriod",
            "code" : "open",
            "display" : "Открытие случая временной нетрудоспособности"
          }]
        }
      },
      {
        "url" : "https://fhir.by/StructureDefinition/TemporaryDisabilityRegime",
        "valueCodeableConcept" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/TemporaryDisabilityRegime",
            "code" : "1",
            "display" : "амбулаторный"
          }]
        }
      },
      {
        "url" : "https://fhir.by/StructureDefinition/HeadOfUnit",
        "valueReference" : {
          "reference" : "PractitionerRole/6ca13d48-b3b0-4efd-89e4-0b0c7c9838dd"
        }
      }],
      "identifier" : [{
        "extension" : [{
          "url" : "https://fhir.by/StructureDefinition/TemporaryDisabilityIssueDate",
          "valueDate" : "2023-10-11"
        }],
        "type" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/TemporaryDisabilityDocType",
            "code" : "tdsheet",
            "display" : "Лист временной нетрудоспособности"
          }]
        },
        "value" : "AB1234560",
        "period" : {
          "start" : "2023-10-11",
          "end" : "2023-10-18"
        }
      }],
      "status" : "active",
      "diagnosis" : [{
        "condition" : [{
          "reference" : {
            "reference" : "Condition/ExampleDiagnosisJ06pre",
            "display" : "J06 ОРВИ средней степени тяжести, острый ринофарингит"
          }
        }]
      }],
      "patient" : {
        "reference" : "Patient/ExamplePatientPetrovAG",
        "display" : "Петров Андрей Григорьевич, 04.11.1976 года рождения, прописан и постоянно проживает в г.Барановичи"
      },
      "managingOrganization" : {
        "reference" : "Organization/9ad86c36-0f29-428d-b476-c8603a7cdd1f"
      },
      "period" : {
        "start" : "2023-10-11",
        "end" : "2023-10-18"
      },
      "careManager" : {
        "reference" : "PractitionerRole/3c057f8d-4369-4c5e-86be-f710dff3a91c",
        "display" : "Лечащий врач Иванова ИИ"
      }
    }
  },
  {
    "fullUrl" : "Condition/ExampleDiagnosisJ06pre",
    "resource" : {
      "resourceType" : "Condition",
      "id" : "ExampleDiagnosisJ06pre",
      "meta" : {
        "profile" : ["https://fhir.by/StructureDefinition/FinalDiagnosis"]
      },
      "extension" : [{
        "url" : "https://fhir.by/StructureDefinition/KindOfDiagnosis",
        "valueCodeableConcept" : {
          "coding" : [{
            "system" : "https://fhir.by/ValueSet/KindOfDiagnosisCode",
            "code" : "Preliminary"
          }]
        }
      },
      {
        "url" : "https://fhir.by/StructureDefinition/AssertedDate",
        "valueDateTime" : "2023-10-11"
      },
      {
        "url" : "https://fhir.by/StructureDefinition/FirstTimeRevealed",
        "valueBoolean" : true
      }],
      "clinicalStatus" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/condition-clinical",
          "code" : "active"
        }]
      },
      "code" : {
        "coding" : [{
          "system" : "https://fhir.by/ValueSet/InternClassificDiseases10",
          "code" : "J06",
          "display" : "J06 - Острые инфекции верхних дыхательных путей множественной и неуточненной локализации"
        }]
      },
      "subject" : {
        "reference" : "Patient/ExamplePatientPetrovAG"
      },
      "onsetDateTime" : "2023-10-11",
      "recordedDate" : "2023-10-11",
      "note" : [{
        "text" : "ОРВИ легкого течения"
      }]
    }
  }]
}