SMART App
A SMART App is an interactive SMART on FHIR client: a user launches it in a browser and it authenticates with the authorization_code grant. Register one from the Smart Apps section of the Developer Portal dashboard.
Register a SMART App
- From the dashboard, click Register New under Smart Apps
- Fill in the app details:
- App name: your application name
- Confidentiality: public or confidential; a confidential client is issued a secret
- Redirect URL: where users return after authorization
- Launch URL: your app's SMART launch endpoint
- Set the SMART on FHIR scopes the app requests (
patient/*,user/*, plus launch and OIDC scopes) - Click Create App
You're redirected to the app's draft page to review, edit, or delete it.
Test your app
Before submitting, test the app in the sandbox:
- Copy the Client ID from the app's page
- Configure your app to use this Client ID
- Click Test Launch in the portal
The test launch uses sample patient data (Patient/test-pt-1) and redirects to your launch URL with the required SMART context.
Submit for review
When the app is ready:
- Open the app's draft page
- Click Submit for Review
- Status changes to Under Review
Administrators review it from the Admin Portal and approve or reject.
App status
| Status | Description |
|---|---|
| Draft | Created, not yet submitted |
| Under Review | Submitted, waiting for admin decision |
| Active | Approved and live in the FHIR App Gallery |
| Rejected | Declined at review, or deactivated after going live |
Example: Growth Chart app
Here's how to test with the Growth Chart demo app.
1. Get the app
git clone git@github.com:smart-on-fhir/growth-chart-app.git
cd growth-chart-app
npm install
npm start
2. Register in the portal
Register a new app with:
- App name: Growth Chart
- Confidentiality: Public
- Redirect URL:
http://localhost:9000/ - Launch URL:
http://localhost:9000/launch.html
3. Configure and launch
- Copy the Client ID from the portal
- Open
growth-chart-app/launch.htmland set theclient_idvalue - Save the file
- Click Test Launch in the portal
The app launches with test patient data.