This repository contains a SMART APP which is based on JavaScript-Client Library.
Ensure you have node.js and npm installed locally.
To run the SMART APP locally, Follow the instruction mentioned below:
-
Make sure you have OpenMRS and Keycloak servers running locally on ports 8080 and 8180 respectively or you can run the Dockerized Image also.
-
Clone the SMART APP repository locally
git clone https://github.com/theanandankit/Demo-Smart-App.git
-
Get all dependencies
npm install
-
Run the SMART APP locally
npm start
SMART-APP start running at 9190 port. launch-standalone.html is the entry point of SMART APP and contains all metadata.
For standalone launch enter the url http://127.0.0.1:9090/launch-standalone.html
For EHR launch go to the Patient profile and select DEMO SMART APP option on patient chart.