How to Host Smart FHIR App from GitHub Repository.

Raja Kushwah
2 min readDec 3, 2021

--

The SMART FHIR Application allows a user to extract and display the clinical data from a secured ( smart enabled ) FHIR server.

Steps:-

1. Fork the app repository from https://github.com/rajakushwah1/cernerapp to your GitHub account. This folder contains the sample SMART app which allows you to interact with the registered app to Cerner’s sandbox.

Click here to learn more about app registration in Cerner’s sandbox.

Some of the important files contained within:-

Fhir-client.js -This is an open-source library designed to assist with calling an FHIR API and handling the SMART on FHIR authorization workflow.

Launch.html- This is the initial entry point for our application which can also be referred “launch URL” for this application. This page will kick off the SMART authorization workflow.

Index.html- This page will be invoked via redirect from the Authorization server at the conclusion of the SMART authorization workflow. When this page is invoked, your SMART app will have everything it needs to run and access the FHIR API.

2. Go to the app repository and click on settings

3. Choose Pages from the left menu.

4. Select the main branch and save the changes. With these settings, a URL will be generated to access the application.

--

--