Treatment Display Control


Purpose

Treatment/Drug Order Control can be configured to display all the the prescription or drug order details (for configured number of visits) for particular patient.

Screenshot


Configuration

Where to Configure ?

Add to clinical/dashboard.json for it to appear on the patient dashboard or Add to clinical/visit.json for it to appear on the visit dashboard.

Sample Config

Config
"treatment": {
 "title": "Treatments",
 "type": "treatment",
 "dashboardConfig": {
   "showFlowSheet": false,
   "showListView": true,
   "showRoute": false,
   "showDrugForm": false,
   "numberOfVisits": 2,
   "showOtherActive": true,
   "showDetailsButton": false
 },
 "expandedViewConfig": {
   "title": "Treatments",
   "showFlowSheet": false,
   "showListView": true,
   "showRoute": true,
   "showDrugForm": true,
   "numberOfVisits": 5,
   "showOtherActive": true,
   "showDetailsButton": true
 },
 "hideEmptyDisplayControl": false
}

Key Field Table

KeyInfoMandatory
title

Indicates the title that will be displayed on the dashboard/visit page for the section

Y
type

The type of the control.

value of type for this control should be treatment

Y
showFlowSheetConfiguration to display the flowsheet (treatment chart). If it is on, the flowsheet will be displayed along with the treatment details for IPD patients.N
showListViewConfiguration to display the treatment details list. If set to false along with showFlowSheet, only the header will be displayed.N
showRouteConfiguration to display the route information. If you don't specify the "showRoute" in the treatment section, the default value will be false.N
showDrugFormConfiguration to display the drug form information. If you don't specify the "showDrugForm" in the treatment section, the default value will be false.N
numberOfVisitsThe number of visits for which data has to be displayedN
showOtherActiveIf set to true, then a separate section "Other Active Drugs" is displayed with a list of active drugs from other visits.N
showDetailsButtonConfiguration to display audit information. If set to false, the audit information will not be displayed.N
dashboardConfigIndicates the configuration for the dashboardY
expandedViewConfigIndicates the configuration for the details or expanded page (All Treatments Page/)N
hideEmptyDisplayControl

Hides the display control if there are no recorded values present for it when set to true, default value is set to false

N




The Bahmni documentation is licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)