Diagnostic order and report application on SMART Platform
Working directory for Diagnostic Report App is diagnostic_report
###Install node and node package management
sudo apt-get install node nodejs nodejs-legacy npm
###Install dependencies
-
change directory to diagnostic report working directory
-
install all dependencies that is listed in requires.txt
npm install < requires.txt
###Set SMART App config
- create a new app in smart platform (clinical)
- set the clinical_client_id, clinical_client_secret, clinical_launch_uri, clinical_redirect_uri value in diagnostic_report/controllers/configs.js.
Information for your app registry
Launch uri should be like your_server_uri/
Redirect uri should be like your_server_uri/fhir-app/launch.html
Run the program in diagnostic report working directory
npm start