This repository contains a simple demo React application to access SMART/FHIR-based data from the Epic App Orchard. This demo was used by Farhan Ahmad (HealthDecision) during his presentation titled "App Architecture to Reassure CSOs: SPAs in React" at the 2018 Epic App Orchard Conference.
To keep the demo simple, some values are hard coded after retrieving the actual FHIR resources. In addition to the actual workflow, the code also contains some dummy data that can used without an actual EHR.
- Clone the repository
- Install the needed modules (assumes you already have yarn installed):
yarn install
- Add your app credentials to
credentials.js
- Run using yarn:
yarn start
. If you need to run HTTPS then use thestart-https
task which depends onsudo
and will require your administrator password:yarn start-https
. You can now browse the sample data at http://localhost:3000 or continue to the next step. - Launch from Epic App Orchard Simulator. The launch URL will be
https://YOUR_HOST_NAME/fhir/epic/launch