Versions Compared
Version | Old Version 1 | New Version 2 |
---|---|---|
Changes made by | ||
Saved on |
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Purpose
This control can be configured to view the drug order details (prescription details) for a particular patient.
Image Added
Sample Configuration
Note |
---|
Add the |
configuration below in dashboard.json |
under sections to see it on the dashboard. |

Code Block | ||
---|---|---|
|
1
2
3
4
5
6
7
8
9
10
11
| ||
"treatmentsDetails": |
{ "title":"Treatments Details", |
"translationKey" |
: |
"DASHBOARD_TITLE_TREATMENT_DETAIL", |
"type": |
"drugOrderDetails", |
"displayOrder": 3, |
"dashboardConfig": |
{ "showOnlyActive":true, |
"drugConceptSet": |
"All TB Drugs", |
"showDetailsButton": |
true
}
true } } |
Key | Info | Mandatory |
---|---|---|
title | Indicates the title that will be displayed on the dashboard for the section | Y |
type | The name/id for the control that needs to be picked from the code | Y |
drugConceptSet | Drug orders will be filtered upon the concepts specified as part of this concept set. If not specified, it will display all drug orders. | N |
dashboardConfig | Indicates the configuration for the dashboard | Y |
showOnlyActive | Set this to "true" to display only active drug orders. If "false" or not configured anything will show all the drugs | N |
showDetailsButton | Configuration to display audit information when arrow sign is clicked. If set to false, the arrow button will not be displayed. | N |