The presumptive register files has the all the columns that can be displayed on the presumptive register. Refer to theĀ
The metadata attribute defines the options enabled as per overflow menu, its controls whether the following menu items are displayed
- Advanced Search
- Sort List
- Filter List
It also controls the hint displayed on the register search component.
The configuration has the views component which has all the list columns that can be shown on the register.
An example of the presumptive register configuration is shown below
Code Block |
---|
{ "_id": "03be8d09bba527b1b39cb2b58c166def", "_rev": "4-af98b35b4bf65ccf5cebe4427714ee29", "type": "ViewConfiguration", "serverVersion": 1517586627766, "identifier": "presumptive_register", "metadata": { "type": "Register", "enableAdvancedSearch": true, "enableSortList": true, "enableFilterList": true, "searchBarText": "Name and Participant ID" }, "views": [ { "identifier": "patient", "label": "column_patient", "visible": true, "residence": { "position": 0, "layout_weight": "2.4" } }, { "identifier": "results", "label": "column_results", "visible": true, "residence": { "position": 1, "layout_weight": "2" } }, { "identifier": "diagnose", "label": "column_diagnose", "visible": true, "residence": { "position": 2, "layout_weight": "2" } }, { "identifier": "xpert_results", "label": "column_xpert_results", "visible": true, "residence": { "position": 3, "layout_weight": "1.8" } }, { "identifier": "smr_results", "label": "column_smr_results", "visible": true, "residence": { "position": 3, "layout_weight": "1.8" } } ] } |
...