Newer Version Available
Override the Health Cloud Job Flows
Your custom integration consists of an Apex class that extends a base class and implements an interface from the Health Cloud package. The previous job passes your job relevant patient record information through a context parameter. By providing your own implementation for this custom job, you can choose which patient records you want to migrate to Health Cloud.
Because Health Cloud populates objects with minimal information when a patient is converted, you can add a custom integration to import more medical records. To migrate more data, append your custom integration as the last job in the patient creation job flow. You can also deactivate either of the delivered jobs and add your own customized job instead. Or, you can override the entire delivered job flow and instead use a custom job flow that you create.
Useful data migrations after a candidate patient has been converted in Health Cloud might include:
- Import medical records for a patient from the EHR system, such as:
- The full patient record
- Encounters
- Conditions
- Observations
- Diagnosis
- Treatments
- Flag EHR patient data to be published to Health Cloud if it is changed or created.
- Establish cross-references of patient records between Health Cloud and the EHR
system. This cross-reference linkage enables posting data back to the EHR system
through another integration. For example, when one of the following records is
created in Health Cloud, it can be updated in the EHR system later.
- Encounters: phone calls to the patient, emails, or Chatter messages
- Observations: Performed remotely by patient or caregivers, or performed by devices
You can deactivate the delivered jobs and use your own custom job when you create and activate a new record with the same job flow name. Since you’re not deleting the delivered setting, you can reactivate it and use it in the future.
- From Setup, enter Custom Metadata in the Quick Find box, then select Custom Metadata Types.
- Click Health Cloud Setting, then click Manage Health Cloud Settings.
-
Click name of the setting you want to change and click
Edit.
- To override the delivered patient creation job, click PatientCreateFlow_default.
- To override the delivered patient data mapping job, click PatientCreateMappingGroup_default
- Clear the Active checkbox and then click Save.
-
Navigate back to the Health Cloud Settings page, and click
New, and fill out the information for your custom job
and Apex class.
Make sure to use the same Setting Name as the default job flow that you are overriding. For example, PatientCreateFlow, if you are overriding the default patient creation job flow with your own entirely new job flow.
- Select the Active checkbox to make the setting available.