Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Removed collapsible due to Atlassian bug

Purpose

Excerpt

This control can be configured to view the drug order details (prescription details) for a particular patient.

Add the configuration below in dashboard.json under sections to see it on the dashboard.

Screenshot


Drug Order Details controlImage Modified

Sample

Configuration

1

Sample Config


2
Code Block
3
language
4
js
5
6
7
8
9
10
11
titleAdd to clinical/dashboard.json for it to appear on the patient dashboard
"treatmentsDetails":
{    
 {
    "title":"Treatments Details",
    

    "translationKey"
 
 :
 
 "DASHBOARD_TITLE_TREATMENT_DETAIL",
    

    "type":
 
 "drugOrderDetails",
    

    "displayOrder": 3,
    

    "dashboardConfig":
{    
 {
    "showOnlyActive":true,
                         
                     
    "drugConceptSet":
 
 "All TB Drugs",
    

    "showDetailsButton":
 true
   }
}
 true
   }
}


Key Field Table

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

type of the section or control.

type should be "drugOrderDetails"

Y
drugConceptSetDrug 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 patient dashboard

Y
showOnlyActive

Determines if to display only active drug orders or not. Possible values are true or false.

  • Set this to "true" to display only active drug orders.
  • If "false" or not configured
anything
  • , will show all the drugs
N
showDetailsButtonConfiguration to display audit information when arrow sign is clicked. If set to false, the arrow button will not be displayed.N



Tip
titleOn this Page

Table of Contents


Panel
titleColorWhite
titleBGColor#1FA5A0
titleRelated Display Controls

Child pages (Children Display)
alltrue
pageMedication Controls