👋 New to our project? Be sure to review the OpenMRS 3 Frontend Developer Documentation. You may find the Map of the Project especially helpful. 🧑🏫
This repository contains frontend modules for the OpenMRS SPA. These modules relate to registering and editing patients, searching for existing patients, creating and managing patient lists and managing patient queues in an outpatient setting. The modules within this repository include:
Check out the developer documentation here.
This monorepo uses yarn and lerna.
To start a dev server running all the modules simultaneously, run:
yarn start
This command uses the openmrs tooling to fire up a dev server running esm-patient-chart
as well as the specified module.
Note that this is very resource-intensive.
To start a dev server for a specific module, run:
yarn start --sources 'packages/esm-<insert-package-name>-app'
You could provide yarn start
with as many sources
arguments as you require. For example, to run the patient registration and patient search modules only, use:
yarn start --sources 'packages/esm-patient-search-app' --sources 'packages/esm-patient-registration-app'
Please read our contributing guide.
To run tests, use:
yarn test
The main
branch of this repo is deployed in a demo environment.
This module is designed to be driven by configuration files.