Understanding the Flow of Orders

My goal is to use the “Orders” functionality to make requests of our lab and pharmacy (we do not have a radiology unit).

So far I have been able to describe the tests pretty effectively and request them using Clinical/Consultation/Orders and the Order is nicely presented under the main dashboard orders function.

I have assumed, is this correct, that the main dashboard orders function indicated the to-do list of the unit receiving the order. However having completed the order fulfillment form the order remains on the to-do list until the a visit is closed. Is this the intention?

I have verified that this is the way things also work in the demo system.

To date I have been trying to keep things simple and not add OpenElis to our implementation, but I need a way to communicate the results of the requested tests to the requester and add to the patient record. The Lab Order Fulfillment form seems to be the way to do this (correct?) however, this is a common form across all tests where I had expected that I could use the specific concepts from the requested order to gather the test results - currently I am using the base concept of Lab Samples to display all possible tests but I find this confusing particularly where many tests are concerned. Perhaps you can advise on how to come closer to my goal.

Finally back at the patient dashboard the completed test is indicated under Lab Results with time and title Lab Order Fulfillment Form but it is not possible to view the contents of the form. Curiously a Lab Order Fulfillment Form link shows under the Radiology heading and when the link is followed an image display carousel appears with no image. I am not sure if this is related but on the demo system tracking a Radiology order end with a working link under the PACS heading but nothing under radiology?

Hi @mafrica,

Which display control is configured to view the Lab Results for the tests fulfilled through Order Fulfilment flow? Please configure Order fulfilment Display Control.

This is strange. Can you give a screenshot?

Please refer https://bahmni.atlassian.net/wiki/display/BAH/Radiology+and+PACS+Integration for more understanding. If the Radiology order is done i.e xray taken through PACS Integration then the link will work and will lead to Oviyam2 Web viewer.

Yes. when you want to keep it simple Order fulfilment is the right way but you need to compromise on the test specific result entry as in OpenELIS i.e based on test type the result field type will be ex: Numeric , decimal, notes etc. There are pros and cons with both the ways of getting Results on to EMR.

Firstly Order Fulfilment flow in Bahmni EMR is not targeted or Lab Orders. This meant to be generic for any type of order hence it is made this way i.e a form for every type of Order.

So far the way i have preferred was to configure form with notes and Abnormal check box and use the free text entry to enter any type results and check Abnormal box if the value is not normal.

I hope it helps.

Thanks for all of the input it is much appreciated.

Here is a couple of screen shots. Note there is an error message when the patient dashboard is first displayed.

and then following the Lab test Fulfillment Link

Progressing a little further I find what appears to be another manifestation of this. I upload a test patient document not tagged in anyway as radiology (perhaps referral letter) and the document is added to the radiology tab. Following the link nicely shows the uploaded document but it has nothing to do with radiology. It also raises the question of how one knows that documents have been uploaded for a patient as the dashboard does not seem to have a tab for this type of document.

Hi @mafrica, Can you also share a screen shot of your orders screen page?

How did you configure your Order Tab, order fulfilment and what all types of orders did you configure?

So here here is the lab orders screen:

and here the lab samples concept set

and finally the fulfillment form when viewed from the patient dashboard

It seems that much patient information is gravitating towards the radiology tab. I had added a few items to the 2nd registration pages including transport information and this is also being listed here. It is worth noting that an error message as shown on the next screen generally appears on the dashboard. Could it be that following that the error is somehow impacting the discrimination of the data into the appropriate categories

Can you please share your Dashboard config?

Here it is:

{
“general”:{
“translationKey”:“DASHBOARD_TAB_GENERAL_KEY”, “displayByDefault”:true, “maxRecentlyViewedPatients”:10, “sections”:{
“patientInformation”:{
“translationKey”:“DASHBOARD_TITLE_PATIENT_INFORMATION_KEY”, “type”:“patientInformation”, “displayOrder”:0, “ageLimit”:100, “patientAttributes”:[

            ],
            "addressFields":[  
                "address1",
                "address2",
                "cityVillage",
                "countryDistrict"
            ]
        },
        "diagnosis":{  
            "translationKey":"DASHBOARD_TITLE_DIAGNOSIS_KEY",
            "type":"diagnosis",
            "showCertainty":true,
            "showOrder":true,
            "showDetailsButton":true,
            "displayOrder":1
        },
        "navigationLinksControl":{  
            "translationKey":"DASHBOARD_TITLE_NAVIGATION_LINKS_CONTROL_KEY",
            "type":"navigationLinksControl",
            "displayOrder":2,
            "showLinks":[  
                "home",
                "visit",
                "registration",
                "inpatient",
                "enrolment",
                "visitAttribute"
            ]
        },
        "disposition":{  
            "translationKey":"DASHBOARD_TITLE_DISPOSITION_KEY",
            "showDetailsButton":true,
            "type":"disposition",
            "numberOfVisits":1,
            "displayOrder":3
        },
        "treatments":{  
            "translationKey":"DASHBOARD_TITLE_TREATMENTS_KEY",
            "type":"treatment",
            "displayOrder":4,
            "dashboardConfig":{  
                "showFlowSheet":true,
                "showListView":true,
                "showRoute":true,
                "showDrugForm":true,
                "numberOfVisits":5,
                "showOtherActive":true,
                "showDetailsButton":true
            },
            "expandedViewConfig":{  
                "translationKey":"DASHBOARD_TITLE_TREATMENTS_KEY",
                "showFlowSheet":true,
                "showListView":true,
                "showRoute":true,
                "showDrugForm":true,
                "numberOfVisits":10,
                "showOtherActive":true,
                "showDetailsButton":true
            }
        },
        "programs":{  
            "translationKey":"DASHBOARD_TITLE_PROGRAMS_KEY",
            "type":"programs",
            "displayOrder":6
        },
        "labOrdersDisplayControl":{  
            "translationKey":"DASHBOARD_TITLE_LAB_ORDERS_DISPLAY_CONTROL_KEY",
            "type":"ordersControl",
            "orderType":"Lab Order",
            "showDetailsButton":true,
            "displayOrder":9,
            "dashboardConfig":{  
                "conceptNames":[  
                    "Booking Bloods",
                    "Diastolic",
                    "Posture",
                    "Temperature"
                ]
            },
            "expandedViewConfig":{  
                "conceptNames":[  
                    "Booking Bloods",
                    "Diastolic",
                    "Posture",
                    "Temperature"
                ],
                "showDetailsButton":true
            }
        },
        "labResults":{  
            "translationKey":"DASHBOARD_TITLE_LAB_RESULTS_KEY",
            "type":"labOrders",
            "displayOrder":10,
            "dashboardConfig":{  
                "title":null,
                "numberOfVisits":1,
                "showChart":true,
                "showTable":true,
                "showDetailsButton":true,
                "initialAccessionCount":0,
                "latestAccessionCount":1
            },
            "expandedViewConfig":{  
                "numberOfVisits":10
            }
        },
        "nutritionalValues":{  
            "translationKey":"DASHBOARD_TITLE_NUTRITIONAL_VALUES_KEY",
            "type":"vitals",
            "isObservation":true,
            "displayOrder":11,
            "dashboardConfig":{  
                "conceptNames":[  
                    "HEIGHT",
                    "Weight",
                    "BMI Data",
                    "BMI Status Data"
                ],
                "showDetailsButton":true,
                "numberOfVisits":2
            },
            "expandedViewConfig":{  
                "conceptNames":[  
                    "HEIGHT",
                    "Weight",
                    "BMI",
                    "BMI STATUS"
                ],
                "numberOfVisits":2,
                "scope":"latest",
                "showDetailsButton":true,
                "pivotTable":{  

                }
            }
        },
        "vitals":{  
            "translationKey":"DASHBOARD_TITLE_VITALS_KEY",
            "type":"vitals",
            "isObservation":true,
            "displayOrder":12,
            "dashboardConfig":{  
                "showDetailsButton":true,
                "conceptNames":[  
                    "Vitals"
                ],
                "numberOfVisits":2
            },
            "expandedViewConfig":{  
                "conceptNames":[  
                    "Vitals"
                ],
                "numberOfVisits":2,
                "showDetailsButton":true,
                "pivotTable":{  
                    "numberOfVisits":"10",
                    "groupBy":"encounters",
                    "obsConcepts":[  
                        "Weight",
                        "Vitals"
                    ],
                    "drugConcepts":[  

                    ],
                    "labConcepts":[  

                    ]
                }
            }
        },
        "secondVitals":{  
            "translationKey":"DASHBOARD_TITLE_SECOND_VITALS_KEY",
            "type":"second vitals",
            "isObservation":true,
            "displayOrder":13,
            "dashboardConfig":{  
                "showDetailsButton":true,
                "conceptNames":[  
                    "Second Vitals"
                ],
                "numberOfVisits":2
            },
            "expandedViewConfig":{  
                "conceptNames":[  
                    "Second Vitals"
                ],
                "numberOfVisits":2,
                "showDetailsButton":true,
                "pivotTable":{  

                }
            }
        },
        "historyAndExaminations":{  
            "translationKey":"DASHBOARD_TITLE_HISTORY_AND_EXAMINATIONS_KEY",
            "type":"vitals",
            "isObservation":true,
            "displayOrder":14,
            "dashboardConfig":{  
                "showDetailsButton":true,
                "conceptNames":[  
                    "History and Examination"
                ],
                "numberOfVisits":2
            },
            "expandedViewConfig":{  
                "conceptNames":[  
                    "History and Examination"
                ],
                "numberOfVisits":2,
                "showDetailsButton":true,
                "pivotTable":{  

                }
            }
        },
        "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",
            "displayOrder":17,
            "dashboardConfig":{  
                "title":null,
                "maximumNoOfVisits":8,
                "groupByVisits":true
            }
        },
        "diabetes":{  
            "title":"Diabetes",
            "templateName":"Diabetes Templates",
            "type":"diseaseTemplate",
            "displayOrder":18,
            "dashboardConfig":{  
                "showOnly":[  

                ]
            },
            "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"
                    ]
                }
            }
        },
        "admissionDetails":{  
            "translationKey":"DASHBOARD_TITLE_ADMISSION_DETAILS_KEY",
            "type":"admissionDetails",
            "displayOrder":19,
            "showDetailsButton":true
        }
    }
},
"trends":{  
    "translationKey":"DASHBOARD_TAB_TRENDS_KEY",
    "maxRecentlyViewedPatients":10,
    "sections":{  
        "patientInformation":{  
            "translationKey":"DASHBOARD_TITLE_PATIENT_INFORMATION_KEY",
            "type":"patientInformation",
            "patientAttributes":[  
                "caste",
                "class",
                "education",
                "occupation",
                "debt",
                "distanceFromCenter",
                "isUrban",
                "cluster",
                "RationCard",
                "familyIncome"
            ],
            "addressFields":[  
                "address1",
                "address2",
                "cityVillage",
                "countryDistrict"
            ],
            "displayOrder":0
        },
        "growthChart":{  
            "type":"observationGraph",
            "title":"Growth Chart",
            "config":{  
                "yAxisConcepts":[  
                    "Weight"
                ],
                "referenceData":"growthChartReference.csv",
                "numberOfVisits":20
            },
            "displayOrder":1
        },
        "BP":{  
            "type":"observationGraph",
            "title":"BP",
            "config":{  
                "yAxisConcepts":[  
                    "Systolic Data",
                    "Diastolic Data"
                ],
                "xAxisConcept":"observationDateTime",
                "numberOfVisits":10
            },
            "displayOrder":2
        },
        "weight/BMI":{  
            "type":"observationGraph",
            "title":"Weight/BMI",
            "config":{  
                "yAxisConcepts":[  
                    "Weight",
                    "BMI"
                ],
                "xAxisConcept":"observationDateTime",
                "numberOfVisits":10
            },
            "displayOrder":3
        },
        "diabetes/BloodSugar":{  
            "type":"observationGraph",
            "title":"Diabetes/Blood Sugar",
            "config":{  
                "yAxisConcepts":[  
                    "Blood Sugar Fasting",
                    "Blood Sugar P.P"
                ],
                "xAxisConcept":"observationDateTime",
                "numberOfVisits":10
            },
            "displayOrder":4
        },
        "observationGraph":{  
            "type":"observationGraph",
            "title":"Pulse",
            "config":{  
                "yAxisConcepts":[  
                    "Pulse Data"
                ],
                "xAxisConcept":"observationDateTime",
                "numberOfVisits":10
            },
            "displayOrder":5
        },
        "diabetes":{  
            "title":"Diabetes",
            "templateName":"Diabetes, Progress",
            "type":"diseaseTemplate",
            "dashboardConfig":{  
                "showOnly":[  

                ]
            },
            "expandedViewConfig":{  
                "showDetailsButton":true,
                "pivotTable":{  
                    "numberOfVisits":"10",
                    "groupBy":"visits",
                    "obsConcepts":[  
                        "Diabetes, Blood Pressure",
                        "Diabetes, A1C",
                        "Diabetes, LDL",
                        "Diabetes, Ulcers on Feet",
                        "Blood Sugar Fasting",
                        "Blood Sugar PP"
                    ],
                    "labConcepts":[  
                        "RBS",
                        "FBS",
                        "PP2BS",
                        "Hb1AC",
                        "Creatinine",
                        "Cholesterol"
                    ]
                }
            },
            "displayOrder":6
        }
    }
},
"patientSummary":{  
    "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,
            "displayType":"Full-Page",
            "dashboardConfig":{  
                "showGroupDateTime":false,
                "conceptNames":[  
                    "Chief Complaint Data",
                    "Examination Notes",
                    "Smoking History",
                    "Clief COmplaint Notes",
                    "Blood Pressure"
                ]
            },
            "displayOrder":6,
            "translationKey":"DASHBOARD_TITLE_HISTORY_AND_EXAMINATIONS_KEY"
        },
        "drugOther":{  
            "translationKey":"DASHBOARD_TITLE_TREATMENTS_KEY",
            "type":"drugOrderDetails",
            "displayType":"Full-Page",
            "showDetailsButton":true,
            "displayOrder":24,
            "dashboardConfig":{  
                "showOnlyActive":true,
                "drugConceptSet":"All Other Drugs"
            }
        },
        "malaria":{  
            "title":"Malaria",
            "type":"obsToObsFlowSheet",
            "displayType":"Full-Page",
            "displayOrder":26,
            "dashboardConfig":{  
                "groupByConcept":"Malaria, Treatment Start Date",
                "templateName":"Malaria",
                "conceptNames":[  
                    "Malaria, Parents Name",
                    "Malaria, drug regimen",
                    "Malaria, Malaria Type",
                    "Malaria, Source"
                ]
            }
        },
        "Chronic Treatment Chart":{  
            "displayType":"Full-Page",
            "title":"Chronic Treatment Chart",
            "type":"chronicTreatmentChart",
            "dashboardConfig":{  
                "drugs":[  

                ]
            },
            "expandedViewConfig":{  
                "drugs":[  

                ]
            }
        }
    }
}

}

Hi @mafrica,

Below are the 2 issues i see.

  • Your dashboard screenshot has got Radiology related 2 sections which are not present your config. Did you pull your config from /var/www/bahmni_config/openmrs/apps/clinical/dashboard.json?

  • The Lab Order Display control config you have has got the “Booking Bloods” concept name configured under labOrdersDisplayControl->dashboardConfig->conceptNames. Do you have this concept in your system? when did you get this from. Note : Any concept name you use in config should be fully specified name.

Many apologies I sent you the code for a test version of dashboard where I was trying out ideas to try and get the lab results to show. We do not use radiology and so I had eliminated that components in the test as well. The screen dumps were from the base version that came with the vagrant distro. Booking Bloods is a concept set that I created as “panel” for a set of antenatal blood test. Here is the dashboard.json that matches the screen dumps and came with the distro:

{
“general”:{
“translationKey”:“DASHBOARD_TAB_GENERAL_KEY”, “displayByDefault”:true, “maxRecentlyViewedPatients”:10, “sections”:{
“patientInformation”:{
“translationKey”:“DASHBOARD_TITLE_PATIENT_INFORMATION_KEY”, “type”:“patientInformation”, “displayOrder”:0, “ageLimit”:100, “patientAttributes”:[

            ],
            "addressFields":[  
                "address1",
                "address2",
                "cityVillage",
                "countryDistrict"
            ]
        },
        "diagnosis":{  
            "translationKey":"DASHBOARD_TITLE_DIAGNOSIS_KEY",
            "type":"diagnosis",
            "showCertainty":true,
            "showOrder":true,
            "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":3
        },
        "treatments":{  
            "translationKey":"DASHBOARD_TITLE_TREATMENTS_KEY",
            "type":"treatment",
            "displayOrder":4,
            "dashboardConfig":{  
                "showFlowSheet":true,
                "showListView":true,
                "showRoute":true,
                "showDrugForm":true,
                "numberOfVisits":5,
                "showOtherActive":true,
                "showDetailsButton":true
            },
            "expandedViewConfig":{  
                "translationKey":"DASHBOARD_TITLE_TREATMENTS_KEY",
                "showFlowSheet":true,
                "showListView":true,
                "showRoute":true,
                "showDrugForm":true,
                "numberOfVisits":10,
                "showOtherActive":true,
                "showDetailsButton":true
            }
        },
        "radiology":{  
            "translationKey":"DASHBOARD_TITLE_RADIOLOGY_KEY",
            "type":"radiology",
            "showDetailsButton":true,
            "displayOrder":5
        },
        "programs":{  
            "translationKey":"DASHBOARD_TITLE_PROGRAMS_KEY",
            "type":"programs",
            "displayOrder":6
        },
        "radiologyOrders":{  
            "orderType":"Radiology Order",
            "type":"ordersControl",
            "translationKey":"DASHBOARD_TITLE_RADIOLOGY_ORDERS_KEY",
            "displayOrder":7,
            "dashboardConfig":{  
                "conceptNames":[  
                    "Summary"
                ],
                "numberOfVisits":4
            }
        },
        "pacs":{  
            "orderType":"Radiology Order",
            "type":"pacsOrders",
            "translationKey":"DASHBOARD_TITLE_PACS_KEY",
            "displayOrder":8,
            "dashboardConfig":{  
                "pacsImageUrl":"/oviyam2/viewer.html?patientID={{patientID}}&accessionNumber={{orderNumber}}",
                "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
            }
        },
        "bacteriologyResults":{  
            "translationKey":"DASHBOARD_TITLE_BACTERIOLOGY_RESULTS_KEY",
            "type":"bacteriologyResultsControl",
            "scope":"All",
            "orderType":"",
            "dashboardConfig":{  
                "conceptNames":[  
                    "BACTERIOLOGY CONCEPT SET"
                ]
            }
        },
        "labResults":{  
            "translationKey":"DASHBOARD_TITLE_LAB_RESULTS_KEY",
            "type":"labOrders",
            "displayOrder":10,
            "dashboardConfig":{  
                "title":null,
                "numberOfVisits":1,
                "showChart":false,
                "showTable":true,
                "showDetailsButton":false,
                "initialAccessionCount":0,
                "latestAccessionCount":1
            },
            "expandedViewConfig":{  
                "numberOfVisits":10
            }
        },
        "nutritionalValues":{  
            "translationKey":"DASHBOARD_TITLE_NUTRITIONAL_VALUES_KEY",
            "type":"vitals",
            "isObservation":true,
            "displayOrder":11,
            "dashboardConfig":{  
                "conceptNames":[  
                    "HEIGHT",
                    "Weight",
                    "BMI Data",
                    "BMI Status Data"
                ],
                "showDetailsButton":true,
                "numberOfVisits":2
            },
            "expandedViewConfig":{  
                "conceptNames":[  
                    "HEIGHT",
                    "Weight",
                    "BMI",
                    "BMI STATUS"
                ],
                "numberOfVisits":2,
                "scope":"latest",
                "showDetailsButton":true,
                "pivotTable":{  

                }
            }
        },
        "vitals":{  
            "translationKey":"DASHBOARD_TITLE_VITALS_KEY",
            "type":"vitals",
            "isObservation":true,
            "displayOrder":12,
            "dashboardConfig":{  
                "showDetailsButton":true,
                "conceptNames":[  
                    "Vitals"
                ],
                "numberOfVisits":2
            },
            "expandedViewConfig":{  
                "conceptNames":[  
                    "Vitals"
                ],
                "numberOfVisits":2,
                "showDetailsButton":true,
                "pivotTable":{  
                    "numberOfVisits":"10",
                    "groupBy":"encounters",
                    "obsConcepts":[  
                        "Weight",
                        "Vitals"
                    ],
                    "drugConcepts":[  

                    ],
                    "labConcepts":[  

                    ]
                }
            }
        },
        "secondVitals":{  
            "translationKey":"DASHBOARD_TITLE_SECOND_VITALS_KEY",
            "type":"second vitals",
            "isObservation":true,
            "displayOrder":13,
            "dashboardConfig":{  
                "showDetailsButton":true,
                "conceptNames":[  
                    "Second Vitals"
                ],
                "numberOfVisits":2
            },
            "expandedViewConfig":{  
                "conceptNames":[  
                    "Second Vitals"
                ],
                "numberOfVisits":2,
                "showDetailsButton":true,
                "pivotTable":{  

                }
            }
        },
        "historyAndExaminations":{  
            "translationKey":"DASHBOARD_TITLE_HISTORY_AND_EXAMINATIONS_KEY",
            "type":"vitals",
            "isObservation":true,
            "displayOrder":14,
            "dashboardConfig":{  
                "showDetailsButton":true,
                "conceptNames":[  
                    "History and Examination"
                ],
                "numberOfVisits":2
            },
            "expandedViewConfig":{  
                "conceptNames":[  
                    "History and Examination"
                ],
                "numberOfVisits":2,
                "showDetailsButton":true,
                "pivotTable":{  

                }
            }
        },
        "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",
            "displayOrder":17,
            "dashboardConfig":{  
                "title":null,
                "maximumNoOfVisits":8,
                "groupByVisits":true
            }
        },
        "diabetes":{  
            "title":"Diabetes",
            "templateName":"Diabetes Templates",
            "type":"diseaseTemplate",
            "displayOrder":18,
            "dashboardConfig":{  
                "showOnly":[  

                ]
            },
            "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"
                    ]
                }
            }
        },
        "admissionDetails":{  
            "translationKey":"DASHBOARD_TITLE_ADMISSION_DETAILS_KEY",
            "type":"admissionDetails",
            "displayOrder":19,
            "showDetailsButton":true
        }
    }
},
"trends":{  
    "translationKey":"DASHBOARD_TAB_TRENDS_KEY",
    "maxRecentlyViewedPatients":10,
    "sections":{  
        "patientInformation":{  
            "translationKey":"DASHBOARD_TITLE_PATIENT_INFORMATION_KEY",
            "type":"patientInformation",
            "patientAttributes":[  
                "caste",
                "class",
                "education",
                "occupation",
                "debt",
                "distanceFromCenter",
                "isUrban",
                "cluster",
                "RationCard",
                "familyIncome"
            ],
            "addressFields":[  
                "address1",
                "address2",
                "cityVillage",
                "countryDistrict"
            ],
            "displayOrder":0
        },
        "growthChart":{  
            "type":"observationGraph",
            "title":"Growth Chart",
            "config":{  
                "yAxisConcepts":[  
                    "Weight"
                ],
                "referenceData":"growthChartReference.csv",
                "numberOfVisits":20
            },
            "displayOrder":1
        },
        "BP":{  
            "type":"observationGraph",
            "title":"BP",
            "config":{  
                "yAxisConcepts":[  
                    "Systolic Data",
                    "Diastolic Data"
                ],
                "xAxisConcept":"observationDateTime",
                "numberOfVisits":10
            },
            "displayOrder":2
        },
        "weight/BMI":{  
            "type":"observationGraph",
            "title":"Weight/BMI",
            "config":{  
                "yAxisConcepts":[  
                    "Weight",
                    "BMI"
                ],
                "xAxisConcept":"observationDateTime",
                "numberOfVisits":10
            },
            "displayOrder":3
        },
        "diabetes/BloodSugar":{  
            "type":"observationGraph",
            "title":"Diabetes/Blood Sugar",
            "config":{  
                "yAxisConcepts":[  
                    "Blood Sugar Fasting",
                    "Blood Sugar P.P"
                ],
                "xAxisConcept":"observationDateTime",
                "numberOfVisits":10
            },
            "displayOrder":4
        },
        "observationGraph":{  
            "type":"observationGraph",
            "title":"Pulse",
            "config":{  
                "yAxisConcepts":[  
                    "Pulse Data"
                ],
                "xAxisConcept":"observationDateTime",
                "numberOfVisits":10
            },
            "displayOrder":5
        },
        "diabetes":{  
            "title":"Diabetes",
            "templateName":"Diabetes, Progress",
            "type":"diseaseTemplate",
            "dashboardConfig":{  
                "showOnly":[  

                ]
            },
            "expandedViewConfig":{  
                "showDetailsButton":true,
                "pivotTable":{  
                    "numberOfVisits":"10",
                    "groupBy":"visits",
                    "obsConcepts":[  
                        "Diabetes, Blood Pressure",
                        "Diabetes, A1C",
                        "Diabetes, LDL",
                        "Diabetes, Ulcers on Feet",
                        "Blood Sugar Fasting",
                        "Blood Sugar PP"
                    ],
                    "labConcepts":[  
                        "RBS",
                        "FBS",
                        "PP2BS",
                        "Hb1AC",
                        "Creatinine",
                        "Cholesterol"
                    ]
                }
            },
            "displayOrder":6
        }
    }
},
"patientSummary":{  
    "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,
            "displayType":"Full-Page",
            "dashboardConfig":{  
                "showGroupDateTime":false,
                "conceptNames":[  
                    "Chief Complaint Data",
                    "Examination Notes",
                    "Smoking History",
                    "Clief COmplaint Notes",
                    "Blood Pressure"
                ]
            },
            "displayOrder":6,
            "translationKey":"DASHBOARD_TITLE_HISTORY_AND_EXAMINATIONS_KEY"
        },
        "drugOther":{  
            "translationKey":"DASHBOARD_TITLE_TREATMENTS_KEY",
            "type":"drugOrderDetails",
            "displayType":"Full-Page",
            "showDetailsButton":true,
            "displayOrder":24,
            "dashboardConfig":{  
                "showOnlyActive":true,
                "drugConceptSet":"All Other Drugs"
            }
        },
        "malaria":{  
            "title":"Malaria",
            "type":"obsToObsFlowSheet",
            "displayType":"Full-Page",
            "displayOrder":26,
            "dashboardConfig":{  
                "groupByConcept":"Malaria, Treatment Start Date",
                "templateName":"Malaria",
                "conceptNames":[  
                    "Malaria, Parents Name",
                    "Malaria, drug regimen",
                    "Malaria, Malaria Type",
                    "Malaria, Source"
                ]
            }
        },
        "Chronic Treatment Chart":{  
            "displayType":"Full-Page",
            "title":"Chronic Treatment Chart",
            "type":"chronicTreatmentChart",
            "dashboardConfig":{  
                "drugs":[  

                ]
            },
            "expandedViewConfig":{  
                "drugs":[  

                ]
            }
        }
    }
}

}

Can you provide the below details.

  • Can you right click on patient dashboard->inspect->Console and copy paste the error here.

  • Screen shot of Lab Order Fulfilment Form Concept view from openmrs.

Herewith the console display. FYI the inclusion of systolic etc seems curious under the lab display control (came with the distro) and these concepts are not as yet defined in my dictionary.

Here is the fulfillment form concept. NB I used lab samples as an effort to get the lab results fed back to the dashboard. I have also used a simple plain text concept (see the second screen shot) with just the same results.

The null error was due to Systolic Diastolic concept names in config. Please fix the config to display the concept you have configured to capture Lab Results.

Many thanks,I think we are beginning to make progress. So far I have knocked out the inherited (from the distro) Lab display control references to :
“Systolic”, “Diastolic”, “Posture”, “Temperature” and the Null error has disappeared as you suggested. I am a little confused on the difference between Lab Results and Lab Orders Display Control. The wiki page https://bahmni.atlassian.net/wiki/display/BAH/Lab+Order+Control headed Lab Order Control seems to describe configuration of the Lab Results tab. I would be grateful for your input on what the intention of the 2 tabs really is. Nonetheless I have pressed on and added the overarching concept of Lab Samples as my child to Lab Order Fulfillment Form and as the concept invoked in the dashboard.json labOrdersDisplayControl and I now have visibility of the Lab results (under Lab Order Display Control) - see below. However, Radiology still seems to be a “catch-all” for lab results and visit details and I guess most other stuff. I note that there is not a comparable “dasthboardConfig” for Radiology and thought maybe default is to list everything, but when I declared a specific (in fact just copied the Lab Orders Display Control version) it made no difference.

In Bahmni once you order a Lab Test there are 2 ways to capture the results as below.

  1. OpenELIS WorkFlow : Here the orders/ Lab Tests ordered are synched to OpenELIS where in the results are entered and synched back to Bahmni as Obs. Lab Orders Display Control can display the results synched back from OpenELIS.

  2. Bahmni Order Fulfillment : This is where a concept/form is configured for capturing results for tests/orders. Orders Control/Order Fulfilment control can display results for any order fulfilment.

This display control is targeted to display the Radiology Documents uploaded in a visit under “Radiology Upload” Module in Bahmni. But in your case it’s really behaving weird. Remove this control config if you don’t need it.

As I mentioned before I have no immediate plans for OpenELIS.

OK. I can remove radiology. However, I had in the back of my mind the intention to clone the radiology functions for the capture of ultrasound images, perhaps I will defer that for a while.

I am sorry but I am still confused why we have 2 headings for lab: Results and Order Display Control particularly as it seems the results end under the Order Display Control and not results. I guess I can again lose results and retitle Order Display Control but I sense I am missing something. Could it be that Order display control was/is intended to indicate the status of an order eg outstanding or fulfilled?

No It’s not as complicate as the names suggest. Both are for displaying results. but the difference is 1 displays the observations(which can be any concept / form configured as order fulfilment form) and the other is to display observations of the same order concept which sync from ELIS to Bahmni EMR. They are just named differently but the name doesn’t suggest anything complex.

2 Likes

A post was split to a new topic: How do I configure the tabs shown in the Consultation screen in the Clinical app?