EMR Integration in Real Time Using Generic FHIR Client

(0 reviews)

Setup

Pre-requisites

Customers must understand the FHIR servers' connection policies. They must connect to and get the appropriate credentials for connection. Almost all FHIR servers support OAuth 2.0-based connectivity.

Setup
  1. Log in to Salesforce and navigate to the Setup page.
  2. Search for the ‘Integrations Setup’ page.
  3. Select the Generic FHIR Client application and click Enable.
  4. Enter the application display name, target business group, environment for deployment, and Update Deployment Target, then click Next.
  5. Select the appropriate Authorization protocol with the external FHIR server.
  6. Enter the required parameters as per the authorization protocol chosen.
  7. If adding additional parameters as required by the FHIR server, for example, scope, click Add Additional parameters and enter the following details to configure the application properties:
    • Application property name(Key name) : for example, scope
    • Sample value : for example, system/Observation.read system/Patient.read
    • Description : for example, Scopes required to send to an external FHIR server
Serial NumberApplication property name(Key name)Sample valueDescription
1scopesystem/Patient.read system/Condition.readScopes to access resources in the FHIR server
2lob.JWT.algorithmRS256Preferred algorithm for JWT Authentication. Default value: RS256.
Supported Algorithms: RS256, RS384, RS512
3lob.JWT.exp5Expiration time for JWT (In Minutes)
Default: 5
4lob.JWT.kid-Key Identifier for JWT
  1. Click Proceed to deploy the application.
Post-Deployment

You can deploy multiple instances of the application , each one connecting to a different FHIR server.
However, if you want to deploy just one instance of the integration and decide at run time which FHIR server to route to, you can pass the FHIR server credentials in the header parameters.

The credentials passed in the header parameters precede the authorization protocol chosen during setup.
Refer to the API Spec for more details.

To edit the app locally:
1. Download the JAR from Exchange.
2. Import the JAR into Anypoint Studio.
3. Extract the generic FHIR client JAR.
4. Look for the authorization library JAR within "repository" > "org" > "mule" > "examples".
5. Import the authorization library as a dependent plugin.
6. Use the Postman collection from the src.test.resources folder to test the application.


Reviews

TypeExample
OrganizationMuleSoft
Published by
MuleSoft Organization
Published onJun 13, 2024
Asset overview
Industries CloudHealth
Custom fields

Asset versions for 1.2.x

Asset versions
VersionActions
1.2.2
1.2.1