Forms Display Control
Purpose
Screenshot

Configuration
Sample Config
Add to clinical/dashboard.json for it to appear on the patient dashboard
"adverseEventsForms": {
"type": "forms",
"displayOrder": 6,
"dashboardConfig": {
"maximumNoOfVisits": 10
},
"formGroup":["Baseline","Treatment Initiation","Serious Adverse Events Template","Pregnancy Report Form Template"],
"translationKey": "DASHBOARD_TITLE_BASELINE_FORMS",
"hideEmptyDisplayControl": false
}Key Field Table
| Key | Info | Mandatory |
|---|---|---|
| type | Indicates the display control.For Forms Control, value of type should be "forms" | Y |
| maximumNoOfVisits | Specifies the maximum number of visits for which to display data | N |
| dashboardConfig | Indicates that all the configurations mentioned under this are for the patient dashboard | Y |
| displayOrder | The order in which the display control will be displayed | N |
| translationKey | Internationalizes the display control | Y |
| formGroup | Observation templates that will be visible. | N |
| hideEmptyDisplayControl | Hides the display control if no value is present for it when set to true, default value is set to false | N |
Display only date without time
Purpose
This configuration is used to display just date with out time on Forms Display Control.
Sample Config
To be added in clinical, app.json under config section
"config" : {
"showFormsDate" : true
}Key Field Table
| Key | Description | Note |
|---|---|---|
| showFormsDate | Determines whether only date (without time) is to be displayed or not | By default both date and time are shown.If value is set to false, only date is shown |
Table of Contents
하위 문서
원문 정보
원문 보기 ↗Bahmni Wiki · CC BY-SA 4.0