Giter Site home page Giter Site logo

openmrs-esm-drugorder's Introduction

Node.js CI

Drug Order ESM

The Drug Order MF module for OpenMRS Version 3.0 Frontend.

Overview

(tbd)

Built With

Installation

Prerequisites

Setup Patient Registration Module

  1. Clone the openmrs-esm-drugorder repo.
git clone https://github.com/openmrs/openmrs-esm-drugorder.git
  1. Install dependencies in the root directory of the repo.
  • make sure you are using a relatively recent version of node, LTE is 14.x.x, you can type node -version to find your current version. I would recommend using n to manage your node version: see https://www.npmjs.com/package/n
npm i
  1. Run the module from localhost:8080.
npm run serve

Setup Dev Tools

  1. Click Add new module in the dev tools window.
  2. Type in the Module Name: @openmrs/esm-drugorder-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-drugorder-app
  8. Update the corresponding value to: //localhost:8080/openmrs-esm-drugorder.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

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.

openmrs-esm-drugorder's People

Contributors

florianrappl avatar manuelroemer avatar nk183 avatar prapakaransp avatar

Watchers

Jonathan Dick avatar Michael Seaton avatar James Cloos avatar Burke Mamlin avatar Brandon Istenes avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.