Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@ohri/openmrs-esm-ohri-covid-app

UCSF-IGHS1.5kMIT2.3.9

COVID Microfrontend for OpenMRS HIV Reference Implementation (OHRI)

openmrs, covid, ohri

readme

OHRI ESM

A custom microfrontend for OpenMRS HIV Reference Implementation (OHRI)

Badges

Node.js CI Node.js CI

Overview

OpenMRS HIV Reference Implementation (OHRI) packages built on top of OpenMRS Frontend.

🌍DEMO

Available Packages

Installation

Prerequisites

Setup OHRI Module

  1. Clone the openmrs-esm-ohri repo.
git clone https://github.com/UCSF-IGHS/openmrs-esm-ohri.git
  1. Setup repository

    yarn setup
  2. Start all packages on localhost:8080.

yarn start

This command start each package inside the packages directory with the development mode connected to the https://ohri-demo.globalhealthapp.net backend. This is the actual script:

If you would like to run individual packages, you can use the following command:

yarn start:<package-name>

# for example

# To start ohri core
yarn start:core

# To start covid esm
yarn start:covid

# To start hiv esm
yarn start:hiv

# To start cervical-cancer esm
yarn start:cervical-cancer

# To start form-render esm
yarn start:form-render

# To start pmtct esm
yarn start:pmtct

Tests

To verify that all of the tests run:

yarn test

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

Deployment

TBD

Configuration

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

Note: Currently, the module cannot be configured as it is in the early stages of development.

Resources

Optional Steps: To run against a deployment server (to reflect local changes that will be on server upon Deployment): On terminal run -> npx openmrs develop --backend https://{server-address}

(tbd)

Acknowledgements

(tbd)

License

MPL 2.0 w/ HD © OpenMRS Inc.

changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

1.0.9-alpha.1 (2023-06-18)

Note: Version bump only for package @ohri/openmrs-esm-ohri