An OpenMRS seed application for building microfrontends
npm install @technicise-healthcare/ssssh-technicise-his-appThis repository provides a starting point for creating your own
OpenMRS Microfrontend.
For more information, please see the
OpenMRS Frontend Developer Documentation.
In particular, the Setup section can help you get started developing microfrontends in general. The Creating a microfrontend section provides information about how to use this repository to create your own microfrontend.
``sh`
yarn # to install dependencies
yarn start # to run the dev server
Once it is running, a browser window
should open with the OpenMRS 3 application. Log in and then navigate to /openmrs/spa/root.
1. Start by finding and replacing all instances of "template" with the name
of your microfrontend.
2. Update index.ts as appropriate, at least changing the feature name and the page name and route.root.*
3. Rename the family of files to have the name of your first page.config-schema
4. Delete the contents of the objects in . Start filling them back in once you have a clear idea what will need to be configured.greeter
5. Delete the and patient-getter directories, and the contents of root.component.tsx.translations/en.json
6. Delete the contents of ..github/workflows
7. Open up and adapt it to your needs. If you're writingtemplate` with your microfrontend's name.
a microfrontend that will be managed by the community, you might be able to
just replace all instances of
However, if you're writing a microfrontend for a specific organization or
implementation, you will probably need to configure GitHub Actions differently.
8. Delete the contents of this README and write a short explanation of what
you intend to build. Links to planning or design documents can be very helpful.
At this point, you should be able to write your first page as a React application.
Check out the Medication dispensing app for an example of a non-trivial app built using the Template.
Please see Creating a Frontend Module.