BBahmni 한국어 매뉴얼검색
한국어 번역 완료
한국어English

OpenMRS Appointments 모듈

목적과 이점

그리고 아래에 지정된 Appointment 모듈 OMOD 버전을 추가하세요.

  • coreapps-1.9.omod, htmlformentry-3.2.omod, htmlformentryui-1.4.omod, htmlformentry19ext-1.7.omod, appui-1.5.1.omod, appointmentschedulingui-1.3.omod, appointmentscheduling-1.4.omod, reporting-0.9.9.omod, reportingrest-1.6.omod

간단히 말해 이 모듈을 사용하면 다음 작업을 수행할 수 있습니다.

  1. 의료 제공자가 환자를 진료할 수 있는 일정을 만듭니다. 의료 제공자 일정에 따라 환자 예약을 만듭니다. 환자가 예약에 맞춰 도착하면 진료소 내 환자 대기열을 관리합니다.

단계

1. Appointment 모듈에 필요한 OMOD 파일을 OpenMRS에 추가

다음 OMOD 파일을 다운로드해 /opt/openmrs/modules에 추가한 뒤 OpenMRS를 다시 시작합니다.

  1. Core Apps 모듈 - https://modules.openmrs.org/#/show/177/core-apps-module
  2. HTML Form Entry 모듈: https://modules.openmrs.org/#/show/58/htmlformentry https://modules.openmrs.org/#/show/60/htmlformentryui https://modules.openmrs.org/#/show/59/htmlformentry19ext
  3. App UI 모듈 - https://modules.openmrs.org/#/show/8/appui관련 문서: https://modules.openmrs.org/#/show/58/htmlformentry
  4. Appointment Scheduling UI 모듈 - https://modules.openmrs.org/#/show/200/appointment-scheduling-ui-module관련 문서: https://modules.openmrs.org/#/show/60/htmlformentryui
  5. Appointment Scheduling 모듈 - https://modules.openmrs.org/#/show/7/appointmentscheduling관련 문서: https://modules.openmrs.org/#/show/59/htmlformentry19ext
  6. Reporting 모듈 - https://modules.openmrs.org/#/show/119/reporting관련 문서: https://modules.openmrs.org/#/show/8/appui
  7. Reporting Rest 모듈 - https://modules.openmrs.org/#/show/121/reportingrest관련 문서: https://modules.openmrs.org/#/show/200/appointment-scheduling-ui-module
관련 문서: https://modules.openmrs.org/#/show/7/appointmentschedulinghttps://modules.openmrs.org/#/show/119/reportinghttps://modules.openmrs.org/#/show/121/reportingrest

위 OMOD를 modules 폴더에 추가하면 ‘App: appointmentschedulingui.home’ 권한과 Appointment 모듈에 필요한 다른 권한이 OpenMRS에 자동으로 추가됩니다.

2. 역할 및 권한 할당

OpenMRS -> Administration -> Manage Roles에서 새 Appointment 역할을 만듭니다. Appointment 모듈 관련 권한을 역할에 할당한 뒤 이 새 역할을 사용자에게 할당합니다.

OpenMRS에서 역할을 만드는 방법은 다음 동영상을 참고하세요: https://www.fuzemeeting.com/replay_meeting/0d7c6e99/7842034

3. SQL 쿼리 실행

Telephone Number Person Attribute Type을 추가하려면 아래 쿼리를 실행합니다. 이미 ‘Telephone Number’ Person Attribute Type이 있으면 오류가 발생하지만 안전하게 무시할 수 있습니다.

SQL Queries
INSERT INTO person_attribute_type (name, description, format, searchable, creator, date_created, retired, sort_weight, uuid) VALUES ('Telephone Number', 'Telephone Number', 'java.lang.String', '0', 1, now(), 0, 3, uuid());
SQL Queries
INSERT INTO person_attribute_type (name, description, format, searchable, creator, date_created, retired, sort_weight, uuid) VALUES ('Unknown patient', 'Unknown Patient', 'java.lang.String', '0', 1, now(), 0, 3, uuid());

4. 대시보드에 Appointment 모듈 추가

‘extension.json’(->/default-config/openmrs/apps/home/)의 다음 설정으로 Appointment 모듈을 Bahmni Application Dashboard에 추가할 수 있습니다.

Appointment Module Configuration
"bahmni.appointments": {
   "id": "bahmni.appointments",
   "extensionPointId": "org.bahmni.home.dashboard",
   "type": "link",
   "label": "Appointments",
   "url": "../../openmrs/appointmentschedulingui/home.page",
   "icon": "fa-user",
   "order": 11,
   "requiredPrivilege":  "App: appointmentschedulingui.home"
}

5. 설치 과정 자동화

3번에서 설명한 것처럼 Appointment 모듈에는 일부 SQL 파일 실행이 필요합니다. 필요하다면 Liquibase Migration을 추가해 이 과정을 자동화할 수 있습니다. Liquibase Migration을 사용하는 Bahmni 구현 예시를 참고하세요.관련 문서: this example

Ansible 설치는 Appointment 모듈 같은 추가 OMOD를 설치 과정에 포함하는 기능을 지원합니다. 자세한 내용은 관련 문서를 참고하세요.

원문 정보

Bahmni Wiki · CC BY-SA 4.0

원문 보기 ↗