Skip to content

Commit

Permalink
Revert "Revert "offline config changes (#60)" (#61)" (#63)
Browse files Browse the repository at this point in the history
This reverts commit 7cb38b2.
  • Loading branch information
Ekirapapaul authored Oct 3, 2019
1 parent 7cb38b2 commit 10b39d4
Show file tree
Hide file tree
Showing 24 changed files with 118 additions and 1,993 deletions.
Binary file removed offline/openmrs/apps/clinical/.extension.json.swp
Binary file not shown.
1 change: 0 additions & 1 deletion offline/openmrs/apps/clinical/clinical.json

This file was deleted.

213 changes: 110 additions & 103 deletions offline/openmrs/apps/clinical/dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,37 +27,6 @@
"showDetailsButton":true,
"displayOrder":1
},
"navigationLinksControl":{
"translationKey":"DASHBOARD_TITLE_NAVIGATION_LINKS_CONTROL_KEY",
"type":"navigationLinksControl",
"displayOrder":2,
"showLinks":[
"home",
"visit",
"registration",
"inpatient",
"enrolment",
"visitAttribute"
]
},
"tuberculosis": {
"title": "Tuberculosis Follow Up",
"type": "tuberculosis",
"isObservation": true,
"dashboardConfig": {
"conceptNames": [
"Tuberculosis Followup Template"
],
"numberOfVisits": 2
}
},
"disposition":{
"translationKey":"DASHBOARD_TITLE_DISPOSITION_KEY",
"showDetailsButton":true,
"type":"disposition",
"numberOfVisits":1,
"displayOrder":7
},
"treatments":{
"translationKey":"DASHBOARD_TITLE_TREATMENTS_KEY",
"type":"treatment",
Expand All @@ -82,60 +51,18 @@
"showDetailsButton":true
}
},
"programs":{
"translationKey":"DASHBOARD_TITLE_PROGRAMS_KEY",
"type":"programs",
"displayOrder":10
},
"radiologyOrders":{
"orderType":"Radiology Order",
"type":"ordersControl",
"translationKey":"DASHBOARD_TITLE_RADIOLOGY_ORDERS_KEY",
"displayOrder":17,
"dashboardConfig":{
"conceptNames":[
"Summary"
],
"numberOfVisits":4
}
},
"labOrdersDisplayControl":{
"translationKey":"DASHBOARD_TITLE_LAB_ORDERS_DISPLAY_CONTROL_KEY",
"type":"ordersControl",
"orderType":"Lab Order",
"showDetailsButton":true,
"displayOrder":9,
"dashboardConfig":{
"conceptNames":[
"Systolic",
"Diastolic",
"Posture",
"Temperature"
]
},
"expandedViewConfig":{
"conceptNames":[
"Systolic",
"Diastolic",
"Posture",
"Temperature"
],
"showDetailsButton":true
}
},
"labResults":{
"translationKey":"DASHBOARD_TITLE_LAB_RESULTS_KEY",
"type":"labOrders",
"displayOrder":6,
"displayOrder":10,
"dashboardConfig":{
"title":null,
"numberOfVisits":6,
"numberOfVisits":1,
"showChart":false,
"showTable":true,
"showNormalLabResults": true,
"showCommentsExpanded": true,
"showAccessionNotes": true,
"showDetailsButton":false
"showDetailsButton":false,
"initialAccessionCount":0,
"latestAccessionCount":1
},
"expandedViewConfig":{
"numberOfVisits":10
Expand Down Expand Up @@ -251,6 +178,52 @@
}
}
},
"gynaecology":{
"translationKey":"DASHBOARD_TITLE_GYNAECOLOGY_KEY",
"type":"gynaecology",
"isObservation":true,
"displayOrder":15,
"dashboardConfig":{
"conceptNames":[
"Gynaecology"
],
"showDetailsButton":true,
"numberOfVisits":2
},
"expandedViewConfig":{
"conceptNames":[
"Gynaecology"
],
"numberOfVisits":2,
"showDetailsButton":true,
"pivotTable":{

}
}
},
"obstetrics":{
"translationKey":"DASHBOARD_TITLE_OBSTETRICS_KEY",
"type":"obstetrics",
"isObservation":true,
"displayOrder":16,
"dashboardConfig":{
"showDetailsButton":true,
"conceptNames":[
"Obstetrics"
],
"numberOfVisits":2
},
"expandedViewConfig":{
"conceptNames":[
"Obstetrics"
],
"numberOfVisits":2,
"showDetailsButton":true,
"pivotTable":{

}
}
},
"visits":{
"translationKey":"DASHBOARD_TITLE_VISITS_KEY",
"type":"visits",
Expand All @@ -261,27 +234,43 @@
"groupByVisits":true
}
},
"conditions": {
"translationKey":"CONDITION_LIST_DISPLAY_CONTROL_TITLE",
"type": "conditionsList",
"displayOrder": 20
},
"formsDisplay": {
"type": "forms",
"displayOrder": 21,
"dashboardConfig": {
"title": null,
"maximumNoOfVisits": 10
"diabetes":{
"title":"Diabetes",
"templateName":"Diabetes Templates",
"type":"diseaseTemplate",
"displayOrder":18,
"dashboardConfig":{
"showOnly":[

]
},
"formGroup": [ ],
"translationKey": "DASHBOARD_TITLE_FORMS_DISPLAY_CONTROL_KEY"
},
"patientAppointments": {
"type": "custom",
"displayOrder": 22,
"config": {
"title": "DASHBOARD_TITLE_APPOINTMENTS_KEY",
"template": "<patient-appointments-dashboard section='config' patient='patient'></patient-appointments-dashboard>"
"expandedViewConfig":{
"showDetailsButton":true,
"pivotTable":{
"numberOfVisits":"15",
"groupBy":"encounters",
"obsConcepts":[
"Weight",
"Height",
"Systolic",
"Diastolic",
"Diabetes, Foot Exam",
"Diabetes, Eye Exam"
],
"drugConcepts":[
"Ipratropium Pressurised",
"Garbhpal Rasa"
],
"labConcepts":[
"RBS",
"FBS",
"PP2BS",
"Hb1AC",
"Creatinine",
"Albumin",
"Polymorph"
]
}
}
}
}
Expand Down Expand Up @@ -315,7 +304,7 @@
},
"growthChart":{
"type":"observationGraph",
"translationKey": "DASHBOARD_TITLE_GROWTH_CHART",
"title":"Growth Chart",
"config":{
"yAxisConcepts":[
"Weight"
Expand All @@ -327,7 +316,7 @@
},
"BP":{
"type":"observationGraph",
"translationKey": "DASHBOARD_TITLE_BLOOD_PRESSURE",
"title":"BP",
"config":{
"yAxisConcepts":[
"Systolic Data",
Expand All @@ -340,7 +329,7 @@
},
"weight/BMI":{
"type":"observationGraph",
"translationKey": "DASHBOARD_TITLE_WEIGHT_BMI",
"title":"Weight/BMI",
"config":{
"yAxisConcepts":[
"Weight",
Expand All @@ -353,7 +342,7 @@
},
"diabetes/BloodSugar":{
"type":"observationGraph",
"translationKey": "DASHBOARD_TITLE_DIABETES_BLOOD_SUGAR",
"title":"Diabetes/Blood Sugar",
"config":{
"yAxisConcepts":[
"Blood Sugar Fasting",
Expand All @@ -366,7 +355,7 @@
},
"observationGraph":{
"type":"observationGraph",
"translationKey": "DASHBOARD_TITLE_PULSE",
"title":"Pulse",
"config":{
"yAxisConcepts":[
"Pulse Data"
Expand Down Expand Up @@ -416,6 +405,23 @@
"translationKey":"DASHBOARD_TAB_PATIENT_SUMMARY_KEY",
"maxRecentlyViewedPatients":10,
"sections":{
"Bacteriology Concept Set":{
"displayType":"Full-Page",
"translationKey":"DASHBOARD_TITLE_BACTERIOLOGY_RESULTS_KEY",
"type":"obsToObsFlowSheet",
"dashboardConfig":{
"numberOfVisits":1,
"templateName":"BACTERIOLOGY CONCEPT SET",
"groupByConcept":"Specimen Collection Date",
"conceptNames":[
"Specimen Id"
]
},
"expandedViewConfig":{
"templateName":"BACTERIOLOGY CONCEPT SET",
"groupByConcept":"Specimen Collection Date"
}
},
"HistoryAndExamination":{
"type":"historyAndExamination",
"isObservation":true,
Expand Down Expand Up @@ -478,3 +484,4 @@
}
}
}

Loading

0 comments on commit 10b39d4

Please sign in to comment.