Skip to content

Demonstration of a React-based web application that interfaces with an Electronic Health Record (EHR) system

License

Notifications You must be signed in to change notification settings

drdalessandro/SpeziSMARTonFHIR

 
 

Repository files navigation

Spezi SMART-on-FHIR Demo

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.

Installation

To run this software, you will first need to have Node.js version 18+ installed on your system.

  1. Install dependencies by running npm install.
  2. Set the environment variables in .env.sample and rename it to .env.
    • VITE_SMART_CLIENTID and VITE_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.

Testing with the SMART Launcher

  1. Start the application locally by running npm start.
  2. Load the SMART Launcher in your browser.
  3. Select Provider EHR Launch and set FHIR Version to R4.
  4. Select a sample patient and provider.
  5. Enter http://localhost:5173/launch in App Launch URL and launch the app!

Contributing

Contributions to this project are welcome. Please make sure to read the contribution guidelines and the contributor covenant code of conduct first.

License

This project is licensed under the MIT License. See Licenses for more information.

Spezi Footer Spezi Footer

About

Demonstration of a React-based web application that interfaces with an Electronic Health Record (EHR) system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 92.5%
  • CSS 4.0%
  • HTML 3.0%
  • JavaScript 0.5%