Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Note

This page is outdated and no longer receives updates!

Starting with version 1.15, the Core Apps module provides support for context-specific dashboards.

...

The standard clinical dashboard is configured via several extension points, including:

  • patientDashboard.firstColumnFragments

  • patientDashboard.secondColumnFragments

  • patientDashboard.overallActions

  • patientDashboard.visitActions

  • patientDashboard.otherActions

  • patientDashboard.includeFragments

This functionality has been extended so that the clinician-facing dashboard page controller takes in an optional parameter dashboard. If this parameter is present, the controller will look for a different set of extension points, with the "patientDashboard" component of the extension point name replaced with the parameter passed in to "dashboard".  For example, if the page request included "dashboard=myFirstDashboard" then the controller will load any extensions it finds for the following extension points:

  • myFirstDashboard.firstColumnFragments 

  • myFirstDashboard.secondColumnFragments

  • myFirstDashboard.overallActions

  • myFirstDashboard.visitActions

  • myFirstDashboard.otherActions

  • myFirstDashboard.includeFragment

Additionally, if message property is defined in the format myFirstDashboard.custom.title, this title will be rendered at the top of the dashboard (below the patient header but above the two dashboard columns)

...

For example if the implementer has created an HIV program with the uuid "some-uuid-aaaa-bbbb" and configured that program to be listed as part of the Programs List, a custom dashboard could be defined for that program by adding extensions via the following extension points:

  • some-uuid-aaaa-bbbb.firstColumnFragments 

  • some-uuid-aaaa-bbbb.secondColumnFragments

  • some-uuid-aaaa-bbbb.overallActions

  • some-uuid-aaaa-bbbb.visitActions

  • some-uuid-aaaa-bbbb.otherActions

  • some-uuid-aaaa-bbbb.includeFragment

Note that the Program Status and Program History widgets (Patient Summary Widget Documentation)  are specifically designed to appear on a Program-Specific dashboard to facilitate enrolling a patient in a specific program and managing patient program enrollment.

...