Bulk Clinical Data Ingestion from EMR into Data Cloud

(0 reviews)

Setup

Prerequisites

  1. Sign up for an EMR Account and create a client application in the EMR system.

  2. Set up Data Cloud:

    • Log in to your Salesforce Data Cloud instance.
    • Go to Setup and click Data Cloud Setup.
    • Click on Ingestion API, and then click New.
    • Name the Ingestion API EMRClinical, and click SAVE.
    • Upload the schema and save it.
    • Click on the App launcher and select Data Cloud.
    • Click Data Streams and click NEW.
    • Select the Ingestion API box and click on Next.
    • Select the Ingestion API name from the dropdown (this is the source API name you created in the previous steps), and then select the object names and click Next.
    • Select each object and choose category appropriately.
    • After all the objects and their fields have been selected, click Next.
    • On the next page, verify the details like the Data stream name and object, and then click Deploy.
    • Follow this link for setting up a connected app.

Setup

  1. Set up Bulk Clinical Data application on MuleSoft:
    • Log in to Salesforce and navigate to the Setup page.
    • Search for the ‘Integrations Setup’ page, and select the Bulk Data Ingestion from EMR into Data Cloud application, and then click Enable.
    • Enter the application display name, target business group, environment for deployment, Update Deployment Target and then click Next.
    • Select Bulk Data Ingestion from EMR into Data Cloud tab and enter the following details to configure the application properties.
Key nameSample valueDescription
1Base path for kick-off endpointCerner: /Group/
Epic: /api/FHIR/R4/Group/
Base path for kick-off endpoint.
2Client ID for DataCloud instance-Client ID for DataCloud instance.
3Client secret for DataCloud instance-Client secret for DataCloud instance.
4Username for DataCloud instance-Username for DataCloud instance.
5Password for DataCloud instance-Password for DataCloud instance.
6DataCloud instance Urlhttps://test-instance.salesforce.comDataCloud instance URL.
7DataCloud source API nameEMRClinicalSource API Name for DataCloud Objects.
  • To add optional configuration, Click Add Additional parameters and enter the required details. Refer below table for configuration details.
SNoApplication property name(Key name)Sample valueDescription
1emr.scope-Scopes to access resources in EMR
Default value: system/Patient.read system/Condition.read system/Encounter.read system/Procedure.read system/MedicationRequest.read
2emr.algorithmRS384Preferred algoritm for JWT Authentication. Default value: RS384.
Supported Algorithms: RS256, RS384, RS512
  • Select Generic FHIR Client tab and select Authorization protocol as appropriate.
  • Below is an example for JWT Authorization Protocol with Cerner sandbox for generic FHIR client application:
Key nameSample valueDescription
1Base URLhttps://fhir-ehr-code.cerner.com/r4/123abc-5678-9123Base URL of the end system.
2Token URLhttps://authorization.cerner.com/tenants/123abc-5678-9123/protocols/oauth2/profiles/smart-v1/tokenToken URL of the end system.
3Client ID-Client ID for the end system.
4Private Key-Upload the private key file
5File Password-Private Key file password
  • To add optional configuration ,Click Add Additional parameters and enter the required details. Refer below table for configuration details.
SNoApplication property name(Key name)Sample valueDescription
1lob.JWT.exp5Expiration time for JWT (In Minutes)
Default: 5
2lob.JWT.kid-Key Identifier for JWT
  • Click Proceed to deploy the application.

Post Deployment

Troubleshooting:
  • In case the application crashes and Bulk jobs are stuck in the “InProgress” state, the job can be aborted using the Abort functionality.
  • The main app requires minimum of 0.2 vCores and additional 0.1 vCore for Generic FHIR Client app.

Reviews

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

Asset versions for 1.0.x

Asset versions
VersionActions
1.0.2
1.0.1