@openmrs/esm-user-dashboard-widgets
v1.0.2
Published
A repo for creating openmrs microfrontend dashboard widgets
Downloads
45
Readme
User Dashboard Widgets
ESM Package serves widgets for OpenMRS Dashboard Engine.
Available Widgets
Todo
Appointment
Charts
Reports
Pre-Requisites
NodeJS
How to Setup?
Run
npm install
to install all the dependenciesRun
npm start -- --https --port 8082
to start application in dev mode.If you are using with OpenMRS Micro Frontend, update/add the port:url in
import-map.json
file ofopenmrs-esm-root-config
.Run
npm run build
for production build.
Widgets
- Appointments
- Charts
- Todos
- Reports
Appointments
This widget shows the list of appointments. It also allows the user to perform various actions like checkin, confirm.
Please refer the Architecture Decision Record for more information about how to configure an appointment widget.
Sample screenshots
Appointments
Todo's
Charts
Charts
This widget shows the charts based on the configuration. Refer below to check list of chart types supported.
Please refer the Architecture Decision Record for more information about how to configure a chart widget.
Chart Types
- LineChart
Reports
This widget shows a list of report links. It will show chart or table based on the configuration when a report link is clicked.
Please refer the Architecture Decision Record for more information about the configure a report widget.