Demo Application for SMART on FHIR. This application demonstrates steps involved into SMART App Launch. SMART App Launch
- Register App with EHR (one-time step)
- Launch App: EHR Launch
- Retrieve .well-known/smart-configuration
- Obtain authorization code
- Obtain access token
- Access FHIR API
This app has been tested against Logica Sandbox
Register your application in Logica Sandbox and update appName, issuer, clientId and clientSecret
into backend/src/registry/registration.json
Run all commands inside frontend
directory
Install all dependencies
npm install
Run Test
npm run test
Run Linting
npm run lint
Run Dev
npm run dev
Build for Production
This will build assets into backend/client
directory for static serve from backend.
npm run build
Run all commands inside backend
directory
Install all dependencies
npm install
Run Test
npm run test
Run Linting
npm run lint
Run Dev
npm run start:dev
This will start application on port 3000
You can go Logica Sandbox and launch application.
Build for production
npm run build
Please use FireFox browswer to test as Chrome does not allow third party cookies to be set.