Skip to content

Commit

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

Large diffs are not rendered by default.

213 changes: 103 additions & 110 deletions offline/openmrs/apps/clinical/dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,37 @@
"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 @@ -51,18 +82,60 @@
"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":10,
"displayOrder":6,
"dashboardConfig":{
"title":null,
"numberOfVisits":1,
"numberOfVisits":6,
"showChart":false,
"showTable":true,
"showDetailsButton":false,
"initialAccessionCount":0,
"latestAccessionCount":1
"showNormalLabResults": true,
"showCommentsExpanded": true,
"showAccessionNotes": true,
"showDetailsButton":false
},
"expandedViewConfig":{
"numberOfVisits":10
Expand Down Expand Up @@ -178,52 +251,6 @@
}
}
},
"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 @@ -234,43 +261,27 @@
"groupByVisits":true
}
},
"diabetes":{
"title":"Diabetes",
"templateName":"Diabetes Templates",
"type":"diseaseTemplate",
"displayOrder":18,
"dashboardConfig":{
"showOnly":[

]
"conditions": {
"translationKey":"CONDITION_LIST_DISPLAY_CONTROL_TITLE",
"type": "conditionsList",
"displayOrder": 20
},
"formsDisplay": {
"type": "forms",
"displayOrder": 21,
"dashboardConfig": {
"title": null,
"maximumNoOfVisits": 10
},
"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"
]
}
"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>"
}
}
}
Expand Down Expand Up @@ -304,7 +315,7 @@
},
"growthChart":{
"type":"observationGraph",
"title":"Growth Chart",
"translationKey": "DASHBOARD_TITLE_GROWTH_CHART",
"config":{
"yAxisConcepts":[
"Weight"
Expand All @@ -316,7 +327,7 @@
},
"BP":{
"type":"observationGraph",
"title":"BP",
"translationKey": "DASHBOARD_TITLE_BLOOD_PRESSURE",
"config":{
"yAxisConcepts":[
"Systolic Data",
Expand All @@ -329,7 +340,7 @@
},
"weight/BMI":{
"type":"observationGraph",
"title":"Weight/BMI",
"translationKey": "DASHBOARD_TITLE_WEIGHT_BMI",
"config":{
"yAxisConcepts":[
"Weight",
Expand All @@ -342,7 +353,7 @@
},
"diabetes/BloodSugar":{
"type":"observationGraph",
"title":"Diabetes/Blood Sugar",
"translationKey": "DASHBOARD_TITLE_DIABETES_BLOOD_SUGAR",
"config":{
"yAxisConcepts":[
"Blood Sugar Fasting",
Expand All @@ -355,7 +366,7 @@
},
"observationGraph":{
"type":"observationGraph",
"title":"Pulse",
"translationKey": "DASHBOARD_TITLE_PULSE",
"config":{
"yAxisConcepts":[
"Pulse Data"
Expand Down Expand Up @@ -405,23 +416,6 @@
"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 @@ -484,4 +478,3 @@
}
}
}

Loading

0 comments on commit 7cb38b2

Please sign in to comment.