Руководство к использованию стандарта FHIR в ЦИСЗ
0.2.6803 - ci-build

Предоставление информации о заданном пакете медицинских данных

Метод предназначен для получения из ЦИСЗ информации о заданном пакете медицинских данных.

Программные интерфейсы ЦИСЗ защищены сервером авторизации с использованием технологии OAuth 2.0 (см. вкладку “Авторизация в ЦИСЗ”). При каждом вызове метода клиентское приложение (МИС) должно передавать токен доступа (токен медицинского работника) в заголовке запроса.

Вызов метода предоставления сводной информации о заданном пакете медицинских данных пациента осуществляется с помощью HTTP GET команды:

GET [FHIR_BASE]/Bundle/[BundleId]

Входные данные метода:

Название Тип Описание
BundleId ID пакета медицинских данных Идентификатор пакета медицинских данных

Выходные данные метода:

Название Профиль Описание
Resource Bundle В случае успешного нахождения ресурса возвращается ответ типа Resource, содержащий информацию о пакете медицинских данных

Метод возвращает:

  • HTTP статус 200 ОК;

  • HTTP статус серии 4xx или 5xx: операция не выполнена. К сбою операции могут привести ошибки в контенте (например, неверный набор символов, неверный JSON и т. д.).

Пример запроса на получение информации о заданном пакете медицинских данных:

GET [FHIR_BASE]/Bundle/144927c5-2898-11ef-903b-c35b09e9a965

Пример ответа на запрос получения информации о заданном пакете медицинских данных:

{ "resourceType": "Bundle", "id": "144927c5-2898-11ef-903b-c35b09e9a965", "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/ExampleDoctor" } ], "title": "CompDocument для наполненного Bundle", "custodian": { "reference": "Organization/OrganizationCISM" }, "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/ApartmetnRoom", "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/OrganizationCISM" }, "participant": [ { "actor": { "reference": "PractitionerRole/ExampleTherapist", "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/ExampleTherapist", "display": "Филатов Олег Михайлович" } } ] } }, { "fullUrl": "Observation/HeightFullBundle", "resource": { "resourceType": "Observation", "id": "HeightFullBundle", "meta": { "profile": [ "https://fhir.by/StructureDefinition/AnthropometricDataBy" ] }, "status": "registered", "category": [ { "coding": [ { "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/ExampleTherapist", "display": "Филатов Олег Михайлович" } ], "valueQuantity": { "value": 180, "unit": "cm", "system": "http://unitsofmeasure.org", "code": "cm" } } }, { "fullUrl": "Observation/WeightFullBundle", "resource": { "resourceType": "Observation", "id": "WeightFullBundle", "meta": { "profile": [ "https://fhir.by/StructureDefinition/AnthropometricDataBy" ] }, "status": "registered", "category": [ { "coding": [ { "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/ExampleTherapist", "display": "Филатов Олег Михайлович" } ], "valueQuantity": { "value": 90, "unit": "kg", "system": "http://unitsofmeasure.org", "code": "kg" } } }, { "fullUrl": "Observation/BMIFullBundle", "resource": { "resourceType": "Observation", "id": "BMIFullBundle", "meta": { "profile": [ "https://fhir.by/StructureDefinition/AnthropometricDataBy" ] }, "status": "registered", "category": [ { "coding": [ { "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/ExampleTherapist", "display": "Филатов Олег Михайлович" } ], "valueQuantity": { "value": 30 } } }, { "fullUrl": "Observation/ArterialBloodPressureFullBundle", "resource": { "resourceType": "Observation", "id": "ArterialBloodPressureFullBundle", "meta": { "profile": [ "https://fhir.by/StructureDefinition/VitalSignsBy" ] }, "status": "registered", "category": [ { "coding": [ { "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/ExampleTherapist", "display": "Филатов Олег Михайлович" } ], "component": [ { "code": { "coding": [ { "system": "https://fhir.by/ValueSet/VitalSignsCodes", "code": "systolic-arterial-blood-pressure" } ] }, "valueQuantity": { "value": 140, "unit": "mm[Hg]", "system": "http://unitsofmeasure.org", "code": "mm[Hg]" } }, { "code": { "coding": [ { "system": "https://fhir.by/ValueSet/VitalSignsCodes", "code": "diastolic-arterial-blood-pressure" } ] }, "valueQuantity": { "value": 95, "unit": "mm[Hg]", "system": "http://unitsofmeasure.org", "code": "mm[Hg]" } } ] } }, { "fullUrl": "Observation/HeartRateFullBundle", "resource": { "resourceType": "Observation", "id": "HeartRateFullBundle", "meta": { "profile": [ "https://fhir.by/StructureDefinition/VitalSignsBy" ] }, "status": "registered", "category": [ { "coding": [ { "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/ExampleTherapist", "display": "Филатов Олег Михайлович" } ], "valueQuantity": { "value": 80, "unit": "/min", "system": "http://unitsofmeasure.org", "code": "/min" } } }, { "fullUrl": "Observation/TemperatureFullBundle", "resource": { "resourceType": "Observation", "id": "TemperatureFullBundle", "meta": { "profile": [ "https://fhir.by/StructureDefinition/VitalSignsBy" ] }, "status": "registered", "category": [ { "coding": [ { "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/ExampleTherapist", "display": "Филатов Олег Михайлович" } ], "valueQuantity": { "value": 36.5, "unit": "Cel", "system": "http://unitsofmeasure.org", "code": "Cel" } } } ] }
▲ Вверх