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

OpenMRS 제공자를 OpenELIS 요청자로 표시

EMR에서 검사/패널 주문을 입력하면 검사실 대시보드에 “Samples to collect”로 나타납니다. 결과를 입력하기 전에 검체를 추가하고 접수 번호를 생성해야 합니다.

이 과정에서 접수 정보에 “orderer” 정보를 표시하려면 EMR 제공자를 LIS의 제공자와 매핑하는 다음 설정이 필요합니다. 현재 아래 단계 중 일부는 UI가 없으므로 데이터베이스에서 처리하는 것이 좋습니다.

OpenMRS에서

  • OpenMRS에서 사용자를 만들고 반드시 제공자로 선택합니다. OpenMRS에 로그인합니다. Administration → Users(Manage Users) → Add user로 이동합니다. “Create a Provider account for this user” 옵션을 선택합니다. 생성한 제공자에게 식별자를 할당하는 것이 좋습니다. 사용자를 만든 뒤 Administration → Manage Providers → Find by name으로 이동하여 제공자를 선택하고 Identifier 필드를 업데이트합니다.

OpenMRS에서 사용자에 대응하는 제공자의 고유 ID(UUID)를 확인합니다.

  • Manage Providers로 이동하여 이름으로 검색합니다. 결과 목록에서 제공자 상세 페이지로 이동하여 UUID를 복사합니다. 데이터베이스에서도 UUID를 찾을 수 있습니다. MySQL의 OpenMRS 데이터베이스에 로그인합니다(openmrs-user 로그인 자격 증명 필요). 위에서 할당한 Identifier로 제공자의 UUID를 확인합니다.
> mysql -u openmrs-user -p openmrs
> select uuid from provider where identifier = 'XYZ';
  • 위에서 확인한 제공자 UUID를 기록합니다. OpenELIS provider 테이블에서 “external_id” 참조로 사용합니다.

OpenELIS에서OpenELIS에 사용자와 해당 제공자를 만듭니다.

  • 개인과 해당 제공자를 만듭니다. 위에서 확인한 external_id를 제공자에 매핑합니다.
# login to postgresql:clinlims database, schema clinlims
> psql -Uclinlims clinlims
# identify the latest person ID. In the below SQL, its the first entry
> select * from person order by id desc;

# Increment the ID (+1)and create a person. in the SQL below, last_id is the Id identified above
>  insert into person (id, last_name, first_name, middle_name) values (last_person_id+1, 'Nayar', 'Srijit', 'Kumar');
# Find the latest provider id created in the provider table of clinlims
> select * from provider order by id desc;
# With the person Id created above, and with the incremented the provider id identified above, create a new provider
> insert into provider(id, person_id, external_id) values (last_provider_id+1, <id of person>, '<uuid of OpenMRS Provider>');

person_id가 있는 제공자를 이미 확인했거나 알고 있다면 external_id 참조만 업데이트할 수 있습니다.

> update provider set external_id = '<uuid of OpenMRS Provider>' where id = <identified provider id in Clinlims>;

이제 제공자 이름이 Requester 이름 드롭다운에 표시됩니다. bahmni_lab 서비스를 다시 시작할 수 있습니다.

Bahmni 네이티브 설치의 경우

> systemctl restart bahmni-lab

Bahmni Docker 설치에서는 bahmni_lab 컨테이너를 다시 시작합니다.

원문 정보

Bahmni Wiki · CC BY-SA 4.0

원문 보기 ↗