청구/약국 앱
목적과 이점
약사가 환자에게 직접 약품을 조제하도록 Billing App 위젯을 사용할 수 있습니다.
구성
1단계: 아래 화면처럼 새 권한 app:billing을 추가합니다.

2단계: 새 역할 Billing-App을 추가하고 아래 화면처럼 새 권한과 필요한 다른 권한을 할당합니다.


3단계: 사용자를 수정하고 새로 만든 역할을 할당합니다.

4단계: 홈 화면/대시보드에 위젯을 표시합니다.
/openmrs/apps/home/extension.json 경로의 파일을 편집하여 아래 블록을 포함합니다.
"bahmniBilling": {
"id": "bahmni.billing",
"extensionPointId": "org.bahmni.home.dashboard",
"type": "link",
"label": "Prescription",
"url": "../clinical/#/default/patient/search",
"icon": "fa-inr",
"order": 8,
"requiredPrivilege": "app:billing"
},5단계: 아래 BLOCK1을 사용해 위젯 클릭 시 수행할 동작 또는 이동할 URL을 정의합니다.
추가로 아래 BLOCK2를 사용해 Medication 탭에 사용자를 Quotations로 이동시키는 버튼을 제공합니다.
/openmrs/apps/clinical/extension.json 경로의 파일을 편집하여 아래 두 블록을 포함합니다.
"bahmniBillingPatientsSearchActivePatients": {
"id": "bahmni.billing.patients.search.activePatients",
"extensionPointId": "org.bahmni.patient.search",
"type": "config",
"extensionParams": {
"searchHandler": "emrapi.sqlSearch.activePatients",
"display": "Active",
"forwardUrl": "#/default/patient/{{patientUuid}}/dashboard/treatment?tabConfigName=allMedicationTabConfig"
},
"label": "Active",
"order": 1,
"requiredPrivilege": "app:billing"
},"bahmniClinicalTreatmentLinks": {
"id": "bahmni.clinical.treatment.links",
"extensionPointId": "org.bahmni.clinical.treatment.links",
"type": "link",
"label": "Open <u>Q</u>uotation",
"url": "http://192.168.33.14:8069/quotations/latest?patient_ref={{patient_ref}}&dispensed=false&location_ref={{location_ref}}",
"shortcutKey": "q",
"requiredPrivilege": "app:billing"
},6단계: Billing App 권한이 할당된 새 사용자 자격 증명으로 로그인합니다.
홈 페이지에는 로그인한 사용자의 접근 권한 또는 이용 가능한 권한에 따라 할당된 위젯이 표시됩니다.

홈 화면에서 "Prescription" 위젯을 클릭하면 위 블록에 정의된 환자 검색 대기열이 표시됩니다.

대기열에서 환자를 선택하면 환자의 처방을 직접 볼 수 있습니다.
7단계: "Open Quotation" 버튼을 클릭합니다. ERP에 이미 로그인되어 있으면 Quotations로 자동 이동하고, 그렇지 않으면 ERP 로그인 화면이 표시됩니다.
Bahmni Wiki · CC BY-SA 4.0