Skip to content
This repository has been archived by the owner on Jun 18, 2021. It is now read-only.

openmrs/openmrs-esm-testresults

Repository files navigation

Node.js CI

Patient Registration ESM

The Patient Registration MF module for OpenMRS Version 3.0 Frontend. The Patient Registration facilitates the registration of a new patient.

Overview

The Patient Registration module consists of a configurable form consisting of multiple custom/basic inputs (fields).

Built With

Installation

Prerequisites

Setup Patient Registration Module

  1. Clone the openmrs-esm-lab-results repo.
git clone https://github.com/openmrs/openmrs-esm-lab-results.git
  1. Install dependencies in the root directory of the repo.
npm i
  1. Run the module from localhost:8080.
npm run serve -- --https

Setup Dev Tools

  1. Click Add new module in the dev tools window.
  2. Type in the Module Name: @openmrs/esm-lab-results-app.
  3. Type in the Override URL: 8080.
  4. Go to the browser's development tools (e.g. via Inspect).
  5. Go to the Application tab.
  6. Go to Local Storage.
  7. Find the key: import-map-override:@openmrs/esm-lab-results-app
  8. Update the corresponding value to: //localhost:8080/openmrs-esm-lab-results.js.
  9. Click on the padlock/warning message next to the URL in the browser.
  10. Select the Allow option from the Insecure content dropdown in the browser settings page.
  11. Refresh the page.

Tests

To verify that all of the tests run:

npm test

Note: Run npm i before running tests for the first time.

Deployment

The master branch of this repo is deployed in a demo environment.

Configuration

This module is designed to be driven by configuration files. These files define the look and functionality required to drive the Patient Registration module.

Resources

License

The project is licensed under the MIT License - see the LICENSE.md file for details.

About

Lab results microfrontend for the OpenMRS SPA

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published