app.json
설명
구성 파일은 웹 서버의 bahmni_config/openmrs/apps/clinical 아래에 있습니다. Bahmni는 json 파일로 구성하며, app.json에는 애플리케이션 수준 구성이 모두 포함됩니다. 다른 json 파일은 Clinical App 섹션에서 설명합니다.
구성
app.json 기본 섹션
app.json 기본 섹션에는 모든 앱 수준 구성이 있으며, 앱 확장에 사용할 확장도 정의합니다.
{
"id": "bahmni.clinical" // Unique ID used for the app
"extensionPoints": [
{
"id": "org.bahmni.clinical.consultation.board", // Unique ID for the extension
"description": "Bahmni Clinical Consultation Page" // Brief description of the extension
},
{
"id": "org.bahmni.clinical.conceptSetGroup.*",
"description": "Define conceptsets part of a conceptset group"
},
{
"id": "org.bahmni.clinical.orders",
"description": "Bahmni Orders Page"
},
{
"id": "org.bahmni.patient.search",
"description": "Bahmni Patient search, lookups Page"
}
],
"contextModel": [
"patientUuid",
"visitUuid"
],
"config": {} //A custom object that can be used by the application. Each application has settings that it can use
}app.json config 섹션
"config" : {
"quickPrints":false, // [Optional] To enable quick print functionality in dashboard set to `true`
"diagnosisStatus": "Inactive",
"hideFormName": true, // [Optional] By setting the "hideFormName": true, the form name will no longer be displayed, ensuring only observation details are shown. By default the form name will be displayed.
"program": {
"patientInformation": {
"ageLimit":100
}
},
"obsIgnoreList" : [], // Optional array of concepts that should not be shown in clinical
"otherInvestigationsMap": {
"Radiology": "Radiology Order",
"Endoscopy": "Endoscopy Order"
},
"allowConsultationWhenNoOpenVisit": false,
"defaultVisitType": "OPD",
"visitTypeForRetrospectiveEntries": "Special OPD",
"maxConceptSetLevels": 3,
"allowOnlyCodedDiagnosis": false,
"ignoredTabularViewHeadings": ["extraIdentifierVal","uuid","activeVisitUuid","hasBeenAdmitted","display","image","$$hashKey","birthDate","extraIdentifiers","personId","deathDate","addressFieldValue","dateCreated","customAttribute","patientProgramAttributeValue"], // [Required] To ignore columns when viewing clinical queues in tabular view
"identifierHeadings": ["identifier"], // [Required] To set a particular column as an identifier when viewing clinical queue in tabular view
"conceptSetUI": {
"Chief Complaint Data": {
"allowAddMore" : true
"autocomplete" : true,
"durationRequired" : false,
"codedConceptName" : "Chief Complaint",
"nonCodedConceptName" : "Non-Coded Chief Complaint"
},
"Posture" : {
"buttonSelect" : true
},
"P/A Presenting Part" : {
"buttonSelect" : true
},
"FHS" : {
"buttonSelect" : true
},
"P/S (Per Speculum) - Cervix" : {
"grid" : true
},
"Anaemia, Stopped Since When" : {
"conciseText" : true
},
"Examination Notes" :{
"conciseText" : true
},
"P/A Presenting Part" : {
"multiSelect" : true
},
"Tuberculosis Intake Template" : {
"computeDrugs" : true
},
"Set1" :{
"allowAddMore" :true
},
"Set2" :{
"allowAddMore" :true
},
"Coded3" :{
"multiSelect" :true
},
"Image" :{
"allowAddMore" :true
},
"Gynaecology, Gravida" :{
"stepper" :true
},
"Accepted Family Planning methods":{
"multiSelect": true
},
"defaults" : {
"Number of living children" : 1,
"Accepted Family Planning methods": ["Condoms", "Pills"],
"Pain management given": true,
"Safe Abortion, Remarks": "Remarks",
"Malaria, Death Date": "2015-12-01"
}
},
"visitPage": {
"observationDisplay" : {
"conceptNames": []
}
},
"drugOrder": {
"defaultDurationUnit": "Day(s)",
"defaultInstructions": "As directed",
"frequencyDefaultDurationUnitsMap": [
{"minFrequency":5, "maxFrequency": null, "defaultDurationUnit": "Hour(s)"},
{"minFrequency":"1/7", "maxFrequency": 5, "defaultDurationUnit": "Day(s)"},
{"minFrequency":"1/30", "maxFrequency": "1/7", "defaultDurationUnit": "Week(s)"},
{"minFrequency":null, "maxFrequency": "1/30", "defaultDurationUnit": "Month(s)"}
],
"drugFormDefaults": {
"Ayurvedic": {
"doseUnits": "Teaspoon",
"route": "Oral"
},
"Capsule": {
"doseUnits": "Capsule(s)",
"route": "Oral"
},
"Cream": {
"route": "Topical"
},
"Drops": {
"doseUnits": "Drop",
"route": "Topical"
},
"Food Supplement": {
"doseUnits": "Unit(s)",
"route": "Oral"
},
"Gel": {
"route": "Topical"
},
"Granule": {
"doseUnits": "Unit(s)",
"route": "Oral"
},
"Inhaler": {
"doseUnits": "Puff(s)",
"route": "Inhalation"
},
"Injection": {
"doseUnits": "mg",
"route": "Intravenous"
},
"Jelly": {
"route": "Topical"
},
"Liquid": {
"doseUnits": "ml",
"route": "Oral"
},
"Lotion": {
"route": "Topical"
},
"Ointment": {
"route": "Topical"
},
"Pessary": {
"doseUnits": "Unit(s)",
"route": "Per Vaginal"
},
"Powder": {
"doseUnits": "mg",
"route": "Topical"
},
"Solution": {
"doseUnits": "ml",
"route": "Topical"
},
"Spray": {
"doseUnits": "Puff(s)",
"route": "Nasal"
},
"Syrup": {
"doseUnits": "ml",
"route": "Oral"
},
"Tablet": {
"doseUnits": "Tablet(s)",
"route": "Oral"
}
}
}
}원문 정보
원문 보기 ↗Bahmni Wiki · CC BY-SA 4.0