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

사용자 정의 컨트롤

목적

관련 문서: Patient Monitoring Tool

구성

샘플 구성

Config
"customControl": {
            "type": "custom",
            "config": {
                "title": "Title of the Control",
                "template": "<directive-name></directive-name>"
            }
       }

주요 필드 표

KeyInformationMandatory
typetype of the section or control.type should be "custom"Yes
configkeyInformationMandatory
titletitle to be displayedYes
templatethe directive to be used to show the controlYes

Bahmni에서는 구현 담당자가 자체 사용자 정의 표시 컨트롤을 만들 수 있습니다.

방문 대시보드의 사용자 정의 컨트롤

여러 방문 탭에 사용자 정의 표시 컨트롤을 표시하려면 visit.json(openmrs/apps/clinical/visit.json)에 다음 설정을 추가해야 합니다.

출생 증명서를 구성하는 다음 예제를 살펴보십시오.

"birthCertificate": {
    "title": "Birth Certificate",
    "printing": {
        "title": "Bahmni",
        "header": "Certificate",
        "logo": "../images/bahmniLogo.png"
    },
    "sections": {
        "Birth Certificate": {
            "type": "custom",
            "config": {
                "title": "Birth Certificate",
                "template": "<birth-certificate></birth-certificate>"
            }
        }
    }
}
KeyInformation
titleTitle of the visit tab.Y
printingAdd printing section to enable the print button on visit page.Y
title - Title in print out.
header - Header in print out.
logo - Logo to display in print out.
type"custom" (Required and should always be custom)Y
configconfiguration for the custom display control.
title - title of the custom directiveY
template - the directive which you want to show.Y

환자 대시보드의 사용자 정의 컨트롤

여러 대시보드 탭에 사용자 정의 표시 컨트롤을 표시하려면 dashboard.json(openmrs/apps/clinical/dashboard.json)의 sections 아래에 다음 설정을 추가해야 합니다.

출생 증명서를 구성하는 다음 예제를 살펴보십시오.

"General": {
    "translationKey": "DASHBOARD_TAB_GENERAL_KEY",
    "sections": {
        "Birth Certificate": {
            "type": "custom",
            "config": {
                "title": "Birth Certificate",
                "template": "<birth-certificate></birth-certificate>"
            }
        }
    }
}
KeyInformationMandatory
type*"custom" (Required and should always be custom)Y
configkeyInformation
titletitle of the custom directiveY
templatethe directive which you want to showY

Bahmni는 애플리케이션과 구성 사이의 기본 연결을 제공하는 customDisplayControl 모듈을 제공합니다.

요구사항에 따라 "openmrs/apps/customDisplayControl/js/customControl.js" 파일에 새 지시문을 추가할 수 있습니다. 새 사용자 정의 지시문은 기존 파일에만 만들어야 합니다.

새 지시문은 같은 모듈("bahmni.common.displaycontrol.custom") 아래에 있어야 합니다. 새 지시문의 범위에는 patient, visitUuid 및 config가 있습니다.

목차

목차

관련 문서: 표시 컨트롤

하위 문서

원문 정보

Bahmni Wiki · CC BY-SA 4.0

원문 보기 ↗