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

환자 검색 및 표시 속성 구성

목적과 이점

Bahmni는 구성 가능한 기준으로 등록 환자를 검색할 수 있습니다. 환자 이름(현지 이름 포함), 주소, 전화번호 또는 환자가 가진 기타 ID를 기준으로 검색할 수 있습니다.

구현자는 검색 결과에 표시할 개인 속성과 주소 속성을 별도로 구성할 수도 있습니다. 이는 Patient ID, Name, Gender, Village 등 Bahmni가 기본으로 표시하는 속성에 추가됩니다. 환자 검색에 프로그램 속성을 구성하면 검색 결과에 기본적으로 표시됩니다. 현재 프로그램 속성 표시는 별도로 구성할 수 없습니다. 즉, 해당 속성을 검색하도록 구성하면 표시 섹션에도 기본으로 나타납니다.

환자 검색 속성 구성 단계

등록 검색은 다음과 같이 등록 모듈에 표시됩니다.

Screen Shot 2015-11-18 at 12.11.14 PM.png

등록 환자를 검색하는 기준은 구현 환경에 맞게 구성합니다. 구성은 JSON 파일에서 관리합니다. Bahmni는 다음 기준의 검색 구성을 지원합니다.

  • 주소 필드
  • 현지 이름, 카스트 등의 사용자 정의 환자 속성
  • 프로그램 등록 ID, 등록 시설 등의 프로그램 속성

JSS 구현의 구성 예시는 https://github.com/Bhamni/jss-config/tree/master/openmrs/apps/registration에서 확인할 수 있습니다.

검색 매개변수를 구성하려면 app.json의 "config" 섹션에 다음을 추가합니다.

"patientSearch": {
  "address": {
    "label": "Rural Ward",
    "placeholder": "Enter ward",
    "field": "address2"
  },
  "customAttributes": {
    "label": "रुग्णाचे नाव",
    "placeholder": "रुग्णाचे नाव",
    "fields": ["givenNameLocal", "middleNameLocal", "familyNameLocal", "caste"]
  },
  "programAttributes": {
    "label": "Registration Number",
    "placeholder": "Enter Reg Number",
    "field": "Registration Number"
  },
  "searchByPatientIdentifier": true
}

예시: https://github.com/Bahmni/clinic-config/blob/663671fd4738054d04e966491b54ca668479d443/openmrs/apps/registration/app.json#L36

주요 필드

FieldDescription
AddressDefines the block to configure the address search details
FieldDescription
labelThe label to be displayed on the patient search page
placeholderThe label to be displayed inside the search text box
fieldThe patient address table field upon which the search will be performed
Custom Patient AttributesDefines the block to configure the patient's custom attributes search
FieldDescription
labelThe label to be displayed on the patient search page
placeholderThe label to be displayed inside the search text box
fieldsList of fields upon which the search will be performed

fields가 Falsy 값이면 customAttributes 검색이 비활성화됩니다.

Program AttributesDefines the block to configure the patient's program attributes search
FieldDescription
labelThe label to be displayed on the patient search page
placeholderThe label to be displayed inside the search text box
fieldField upon which the search will be performed, should be one among several program attribute types
searchByPatientIdentifierIf this field is not configured, then by default Patient ID search box will be shown on the page. If it is configured
ValueDescription
truePatient ID search text box shown on the page, default behavior
falsePatient ID search text box not shown on the page

검색 결과 표시 속성 구성 단계

환자 검색 결과 매개변수를 구성하려면 app.json의 config 섹션에 다음을 추가합니다. 이 구성을 제공하면 검색 결과에는 환자 검색 구성 대신 "patientSearchResults" 섹션 아래의 필드만 표시됩니다. "patientSearchResults"를 제공하지 않으면 "patientSearch" 섹션에서 구성한 필드를 검색 결과에 표시합니다.

"patientSearchResults": {
    "address": {
        "fields" : ["address1", "address2" , "address3"]
    },
    "personAttributes": {
        "fields": ["landHolding", "education","givenNameLocal","familyNameLocal" ]
    }
}

주요 필드

FieldDescription
addressValueDescription
fieldsThe patient address table fields to be displayed in patient search results.
FieldDescription
personAttributesValueDescription
fieldsPatient Attributes to be displayed in patient search results.
원문 정보

Bahmni Wiki · CC BY-SA 4.0

원문 보기 ↗