Mechanism to configure showing only sections which contain data or all sections

The patient dashboard contains display controls that show specific (by configuration) data in sections. When the dashboard contains a lot of information, it fails to det displayed in a single page and requires the user to scroll through the page to get to the information they want to see.

These display controls also show up with just the header and a blank section if there is no data to display. In order to better optimize what is displayed in the patient dashboard, there is a need in the Amman implementation to only show those sections (display controls) which contain data. The other sections would not appear on the dashboard at all.

An alternative use case is that, in some implementations, the visibility of an empty section on the patient dashboard will prompt the user to record the data to be displayed in that section. Therefore, an empty display control serves as a reminder for the user to record information.

Configuration:

"sectionName": { //Should be a unique name
"translationKey": "Internationalization key or Title", //Title of the display control
"displayType": "Full-Page | Half-Page", //Default is Half-Page
"displayOrder": 0, // All display controls are show in the order mentioned here
"showOnlyInPrint": true/false, //Show this display control only when printing. Default false.
"hideEmptyDisplayControl": true/false //Show this display control only when data is available. Default false.

}