Module Design
To See the Module Design Click here
Code Repository
https://github.com/openmrs/openmrs-module-patientqueueing
The Module has an extendable providerDashboard.page which can be extended by creating apps on it.
Extending the Provider Dashboard Page
The Providers page is collection of fragments that have been extended as apps.
In order to add an app to the page three are two main extension pointsto extend this page, You need to create a fragment and include it as an app in the apps directory under resources in the omod directory.
There are three extension points which you can used to extend the provider dashboard page. these include.
- rightColumnFragments. This is where you may include things a clinician has assess to besides patients in list. See Example on how to extent this section see https://github.com/openmrs/openmrs-module-patientqueueing/blob/master/omod/src/main/resources/apps/clinicianDashboard_extension.json
- leftColumnFragments. This is where to include lists a clinician has access to. see how the clinicianQueueList was implemented. See Example on how to extent this section see https://github.com/openmrs/openmrs-module-patientqueueing/blob/master/omod/src/main/resources/apps/providerDashboard_extension.json
- includeFragments. Any other code that may not necessarily have a display or anything you would like to use to extend data is extended here. See example on how to extent this sectionSee https://github.com/openmrs/openmrs-module-patientqueueing/blob/master/omod/src/main/resources/apps/fragmentIncludes_extension.json
Sample App Extension