extension.json
설명
이 파일에는 Clinical App의 환자 검색 탭과 진료 탭 구성이 들어 있습니다.
절차
환자 검색 대기열 구성
Clinical App으로 이동하면 환자 검색 대기열이 표시됩니다. 구성에 따라 여러 환자 대기열 목록이 나타납니다.

Clinical 홈 페이지의 환자 검색 대기열
환자 검색 탭의 기본 구성은 다음과 같습니다.
Another example for patient search tab
"bahmniBillingPatientsSearchActivePatients": {
"id": "bahmni.billing.patients.search.allPatients",
"extensionPointId": "org.bahmni.patient.search",
"type": "config",
"extensionParams": {
"searchHandler": "emrapi.sqlSearch.activePatients",
"translationKey": "SEARCH_PATIENTS_ACTIVE_LABEL",
"forwardUrl": "#/default/patient/{{patientUuid}}/dashboard/treatment"
},
"order": 1,
"requiredPrivilege": "app:billing"
}추가 매개변수를 사용하는 환자 검색 구성 예: 고위험 HIV 환자 검색 탭
Sample Patient Search tab configuration
"bahmniClinicalPatientsSearchHighRiskPatients": {
"id": "bahmni.clinical.patients.search.allPatients",
"extensionPointId": "org.bahmni.patient.search",
"type": "config",
"extensionParams": {
"searchHandler": "emrapi.sqlSearch.highRiskPatients",
"forwardUrl": "#/default/patient/{{patientUuid}}/dashboard?encounterUuid=active",
"translationKey": "High Risk",
"additionalParams": {
"tests": "'HIV ELISA (Blood)', 'HIV ELISA (Serum)', 'ZN Stain (Sputum)', 'HbsAg ELISA'"
}
},
"order": 5,
"requiredPrivilege": "app:clinical"
}| key | description | Mandatory |
|---|---|---|
| id | Unique identifier for patient search queue | N |
| extensionPointId | "org.bahmni.patient.search" | Y |
| type | config | Y |
| searchHandler | This is the global property in OpenMRS. Its value is the SQL markup to fetch the patients for this queue. If not configured default search will be enabled. | N |
| translationKey | This can be used to configure a label for the search tab. The key and value should be defined in the locale.json and key should be assigned to this translationKey. If Key is configured and value is not defined in the locale.json, then it will show the key itself as the label. Here the key isSEARCH_PATIENTS_ACTIVE_LABEL. | Y |
| forwardUrl | The URL which the page is redirected to on clicking on the patients listed in this queue. | Y |
| additionalParams | Contains tests that signify the high-risk patients. Only the patients that have negative results for the tests mentioned in this section will be displayed.(For high risk patients, additional params are mandatory. These are not mandatory for other patient search queues). | N |
| Order | Order of the queue to be displayed. | N |
| requiredPrivilege | Privilege required for the user to be able to access this clinical app. | N |
여러 진료 탭 구성
구성할 수 있는 진료 탭은 다음과 같습니다.
- Observations
- Diagnosis
- Disposition
- Consultation
- Orders
- Medication

여러 진료 탭
Configuration for various Consultation tabs
"observations": {
"id": "bahmni.clinical.consultation.observations",
"extensionPointId": "org.bahmni.clinical.consultation.board",
"type": "link",
"translationKey": "Observations",
"url": "concept-set-group/observations",
"default": true,
"order": 1,
"requiredPrivilege": "app:clinical:observationTab"
},
"diagnosis": {
"id": "bahmni.clinical.consultation.diagnosis",
"extensionPointId": "org.bahmni.clinical.consultation.board",
"type": "link",
"translationKey": "Diagnosis",
"url": "diagnosis",
"order": 2,
"requiredPrivilege": "app:clinical:diagnosisTab"
},
"disposition": {
"id": "bahmni.clinical.consultation.disposition",
"extensionPointId": "org.bahmni.clinical.consultation.board",
"type": "link",
"translationKey": "Disposition",
"url": "disposition",
"order": 3,
"requiredPrivilege": "app:clinical:dispositionTab"
},
"consultationSummary": {
"id": "bahmni.clinical.consultation.summary",
"extensionPointId": "org.bahmni.clinical.consultation.board",
"type": "link",
"translationKey": "Consultation",
"url": "consultation",
"order": 4,
"requiredPrivilege": "app:clinical:consultationTab"
},
"bahmniClinicalConsultationOrders": {
"id": "bahmni.clinical.consultation.orders",
"extensionPointId": "org.bahmni.clinical.consultation.board",
"type": "link",
"translationKey": "Orders",
"url": "orders",
"order": 5,
"requiredPrivilege": "app:clinical:diagnosisTab"
},
"bahmniClinicalBillingTreatmentMedicationTab": {
"id": "bahmni.clinical.billing.treatment",
"extensionPointId": "org.bahmni.clinical.consultation.board",
"type": "link",
"label": "Medications",
"translationKey": "Medications",
"extensionParams": {
"tabConfigName": "allMedicationTabConfig"
},
"url": "treatment",
"order": 6,
"requiredPrivilege": "app:clinical:consultationTab"
}| Key | Description | Mandatory |
|---|---|---|
| id | unique identifier for the consultation tab | N |
| extensionPointId | org.bahmni.clinical.consultation.board | Y |
| type | link | Y |
| label | Label of the tab. This will be shown only if translationKey is not specified. Mandatory if translationKey is not specified. | N |
| translationKey | This key is used for internationalization of the label. Mandatory if label is not specified. | N |
| url | Url of the tab. Refer to the above configuration for url of respective tabs. | Y |
| order | Order of the tab to be displayed | N |
| tabConfigName | It is applicable only to treatment tabs. Multiple treatment tabs can be configured but each should have a unique tabConfigName | N |
| requiredPrivilege | Privilege required for the user to access this tab. | N |
관찰 템플릿을 기본으로 표시
extensionParams에서 default를 true로 설정하면 관찰 페이지를 열자마자 해당 템플릿이 기본으로 표시됩니다.
다음 구성 예시를 참조하십시오.
Config
"bahmniClinicalConceptSetGroupObservationsHistory": {
"id": "bahmni.clinical.conceptSetGroup.observations.history",
"extensionPointId": "org.bahmni.clinical.conceptSetGroup.observations",
"type": "config",
"extensionParams": {
"conceptName": "History and Examination",
"default": true
},
"requiredPrivilege": "app:clinical:history"
}| Key | Description | Mandatory |
|---|---|---|
| id | unique id for the config | N |
| extensionPointId | "org.bahmni.clinical.conceptSetGroup.observations" | Y |
| type | config | Y |
| extensionParams | This contains two variables conceptName and default. conceptName is the name of the template. If default is set to true then this template will come by default in observation page | Y |

원문 정보
원문 보기 ↗Bahmni Wiki · CC BY-SA 4.0