병동 간호사가 투여한 응급 약제의 진료 제공자 확인
개요
입원 병동(IPD)에서는 병동 간호사가 사전 처방(Rx) 참조 없이 투여한 응급 약제를 기록하고 확인하는 것이 중요합니다. Clinical 모듈에 새로 추가된 'Notifications' 탭을 통해 진료 제공자가 이러한 응급 투여를 확인할 수 있어 정확한 기록 관리와 환자 진료의 연속성을 보장합니다.
구성
Clinical 모듈에 알림 탭 구성
openmrs/apps/clinical/extension.json 파일은 Clinical 모듈의 'Notifications' 탭 구성에 핵심적인 역할을 합니다. 이 파일은 탭의 표시 방식, 모듈 내 위치 및 접근 권한을 정의합니다.
이 구성을 설정하면 진료 제공자 확인(Notification) 탭이 Clinical 모듈에 자연스럽게 통합되어, 의료진이 응급 약제 투여를 효율적으로 확인할 수 있는 인터페이스를 제공합니다.
{
"bahmniClinicalPatientsCustomNotifications": {
"id": "bahmni.clinical.patients.custom.notifications",
"extensionPointId": "org.bahmni.patient.search",
"type": "config",
"extensionParams": {
"translationKey": "MODULE_LABEL_NOTIFICATIONS_KEY",
"templateUrl": "/bahmni_config/openmrs/apps/clinical/customQueues/notifications.html",
"view": "custom"
},
"label": "Notifications",
"order": 4,
"requiredPrivilege": "app:clinical"
}
}openmrs/i18n/clinical/locale_en.json에 탭 레이블을 추가합니다.
{
"MODULE_LABEL_NOTIFICATIONS_KEY": "Notifications"
}locale_en.json 파일은 OpenMRS 국제화(i18n) 시스템의 일부입니다. 번역 키와 그에 대응하는 영어 값을 담고 있어 사용자 언어 설정에 맞는 문구를 애플리케이션에 표시합니다. 'Notifications' 탭에서는 이 파일을 통해 탭 레이블을 올바르게 번역하고 표시합니다.
알림 인터페이스 정의
이제 임상 구성의 openmrs/apps/clinical/customQueues/notifications.html에 사용자 정의 알림 인터페이스를 정의합니다.
notifications.html 파일은 'Notifications' 탭의 구조와 콘텐츠를 정의하는 HTML 템플릿입니다. 레이아웃, 요소 및 전체 사용자 인터페이스를 포함하여 탭의 정보가 사용자에게 표시되는 방식을 결정합니다. 의료진이 응급 약제 투여를 효율적으로 확인할 수 있는 사용하기 쉬운 환경을 만드는 데 필수적인 파일입니다.
Bahmni는 이를 위한 템플릿을 제공합니다. openmrs/apps/clinical/customQueues/notifications.html에 다음 내용을 추가합니다.
<mfe-next-ui-provider-notifications></mfe-next-ui-provider-notifications>미확인 약제를 조회하는 SQL 쿼리 정의
다음은 initializer를 통해 emergencyMedicationToAcknowledge를 추가하는 예입니다.
<config>
<globalProperties>
<globalProperty>
<property>emrapi.sqlSearch.emergencyMedicationToAcknowledge</property>
<value>
SELECT DISTINCT
primaryIdentifier.identifier as identifier,
concat(pn.given_name, ' ', pn.family_name) as name,
p.gender as gender,
p.uuid as patient_uuid,
p.birthdate as date_of_birth,
ma.uuid as medication_administration_uuid,
ma.administered_date_time,
dg.name as administered_drug_name,
ma.dose as administered_dose,
cnd.name as administered_dose_units,
cnr.name as administered_route,
map.uuid as medication_administration_performer_uuid,
v.uuid as visit_uuid
FROM medication_administration_performer map
JOIN provider pr on pr.provider_id = map.actor_id
JOIN medication_administration ma on map.medication_administration_id=ma.medication_administration_id
JOIN drug dg on dg.drug_id = ma.drug_id
JOIN ipd_slot slot on ma.medication_administration_id = slot.medication_administration_id
JOIN ipd_schedule schedule on schedule.schedule_id = slot.schedule_id
JOIN visit v on v.visit_id = schedule.visit_id
JOIN (SELECT pri.patient_id, pri.identifier
FROM patient_identifier pri
JOIN patient_identifier_type pit on pri.identifier_type = pit.patient_identifier_type_id and pri.preferred = 1
JOIN global_property gp on gp.property="bahmni.primaryIdentifierType" and gp.property_value=pit.uuid) primaryIdentifier
ON ma.patient_id = primaryIdentifier.patient_id
JOIN concept_name cn on cn.concept_id = map.performer_function and cn.concept_name_type = "FULLY_SPECIFIED" and cn.locale='en'
JOIN concept_name cnd on cnd.concept_id = ma.dose_units and cnd.concept_name_type = "FULLY_SPECIFIED" and cnd.locale='en'
JOIN concept_name cnr on cnr.concept_id = ma.route and cnr.concept_name_type = "FULLY_SPECIFIED" and cnr.locale='en'
JOIN person_name pn on ma.patient_id = pn.person_id and pn.voided = 0 and pn.preferred = 1
JOIN patient_identifier pi on ma.patient_id = pi.patient_id
JOIN person p on p.person_id = ma.patient_id and p.voided = 0
WHERE cn.concept_name_type="FULLY_SPECIFIED" and cn.name="Witness" and pr.uuid = ${provider_uuid};
</value>
<description>SQL query to get the list of Emergency Medications to be acknowledged</description>
</globalProperty>
</globalProperties>
</config>결론
이 구현자 가이드는 병동 간호사가 투여한 응급 약제를 진료 제공자가 확인하도록 특별히 설계된 Clinical 모듈의 진료 제공자 확인(Notifications) 탭 구성을 설명합니다. 올바르게 구현하면 모든 응급 약제를 정확히 기록하고 검토하여 환자 안전과 진료 연속성을 높일 수 있습니다.
Bahmni Wiki · CC BY-SA 4.0