A demonstration of a SMART-on-FHIR dashboard application built in React that can be launched from within an Electronic Health Record (EHR) system.
Check out the demo video for an example.
To run this software, you will first need to have Node.js version 18+ installed on your system.
- Install dependencies by running
npm install
. - Set the environment variables in
.env.sample
and rename it to.env
.VITE_SMART_CLIENTID
andVITE_SMART_CLIENTSECRET
are the client credentials registered with your EHR system. (Note: If you are testing with the SMART Launcher, it does not validate these, so they can be left blank.)VITE_SMART_SCOPE
is the set of FHIR scopes your app will request access to.
- Start the application locally by running
npm start
. - Load the SMART Launcher in your browser.
- Select Provider EHR Launch and set FHIR Version to R4.
- Select a sample patient and provider.
- Enter
http://localhost:5173/launch
in App Launch URL and launch the app!
Contributions to this project are welcome. Please make sure to read the contribution guidelines and the contributor covenant code of conduct first.
This project is licensed under the MIT License. See Licenses for more information.