Skip to content

Tutorial

Isaac Vetter edited this page May 14, 2020 · 11 revisions

FHIRcast is a specification that enables the synchronization of healthcare applications in real time in order to show the same clinical content to a common user. See more at http://fhircast.org/.

This tutorial will help walk you synchronizing your app with an EHR using the downloadable FHIRcast reference implementation.

After completing this tutorial, you should be able to:

  • Understand how your app is launched from an EHR using the SMART on FHIR
  • Subscribe to a practitioner’s session.
  • Receive notification of a change to the user’s session.
  • Cancel your subscription.

Overview

As part of this tutorial, you will subscribe to user's session, receive notifications when events occur in that session's workflow and finally unsubscribe from the session.

You will download and run the FHIRcast reference implementation. This reference implementation acts as a mock EHR. It simulates a user's workflow events (such as opening a patient's chart). Similarly, this simple python gist can be used as a FHIRcast subscriber.

Setup

The following are required to work with the FHIRcast reference implementation

  • Git installed on your machine
  • A Github account created
  • .NET Core SDK installed on your machine. If installing the SDK, choose the version that is compatible with Visual Studio 2017 (version SDK 2.1.513 should work). (Here's the link for the Windows SDK).
    • The reference implementation is a .Net Core application.
    • To make sure it's ready to use, open your command prompt or terminal console and type the command dotnet --version which should respond with the .Net Core version installed on the machine

The following are required to work with the FHIRcast python gist client

  • python3 (minimum python 3) installed on machine
    • The provided FHIRcast client is a standalone python3 client.
    • To make sure it's ready to use, open your command prompt or terminal console and type the command python --version which should respond with the python version installed on the machine.

Next Step: Run the sandbox