🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@openmrs/esm-drugorder-app

Package Overview
Dependencies
Maintainers
16
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openmrs/esm-drugorder-app

Drug order microfrontend for the OpenMRS SPA

latest
Source
npmnpm
Version
0.4.0
Version published
Weekly downloads
11
Maintainers
16
Weekly downloads
 
Created
Source

Build Status

Drug Order ESM

The Drug Order MF module for OpenMRS Version 3.0 Frontend.

Overview

(tbd)

Built With

Installation

Prerequisites

Setup Patient Registration Module

git clone https://github.com/openmrs/openmrs-esm-drugorder.git
  • Install dependencies in the root directory of the repo.
npm i
  • Run the module from localhost:8080.
npm start -- --https

Setup Dev Tools

  • Click Add new module in the dev tools window.
  • Type in the Module Name: @openmrs/esm-drugorder-app.
  • Type in the Override URL: 8080.
  • Go to the browser's development tools (e.g. via Inspect).
  • Go to the Application tab.
  • Go to Local Storage.
  • Find the key: import-map-override:@openmrs/esm-drugorder-app
  • Update the corresponding value to: //localhost:8080/openmrs-esm-drugorder.js.
  • Click on the padlock/warning message next to the URL in the browser.
  • Select the Allow option from the Insecure content dropdown in the browser settings page.
  • 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

Currently, there are no releases for this module and it can only be locally deployed by following the installation instructions.

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.

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

Resources

Acknowledgements

  • Manuel Römer - maintenance, design, analysis, onboarding, and development.
  • Florian Rappl - module scaffolding, onboarding, guidance, and review.

License

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

Keywords

openmrs

FAQs

Package last updated on 27 Nov 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts