Set Up a Custom Flow to Handle Additional Benefits
After you set up a custom object to store the additional benefits of patients from
invoices or other expenses, create a custom flow to help your care coordinators include such
benefits in budget calculations. Set up the custom flow to suit your unique business needs and
preferences and help your home health agency gain flexibility, get greater control, and achieve
accurate budgeting and funding.
Required Editions
Available in: Lightning Experience
Available in: Enterprise and Unlimited Editions with Health Cloud
and the Home Health Add-on license
User Permissions
Needed
To create flows:
Manage Flow
Prerequisite: Create a custom object to store the information about additional
benefits.
Use these instructions as a reference to help you get started with setting up a basic flow.
Include additional elements and resources, if necessary.
Set the custom object that you configured for additional benefits as the data
source and set the filter to get all records. Apply filter conditions by using the
input variables, if necessary.
Store the results in a record collection variable.
Set the record collection variable (from the Get Records element) as the source and
the healthcloudext__HomeVisitPatientBenefitDetails Apex class as the target.
Map the ID (system-generated), Benefit Name, Unit Price, and Unit Count fields in
the source to the benefitId, benefitName, unitPrice, and unitCount fields in the
target, respectively.
We recommend that you use the healthcloudext__HomeVisitPatientBenefitDetails Apex
class as the target. However, you can also create and use a different Apex class, but
make sure that your Apex class includes the benefitId (string), benefitName (string),
unitPrice (decimal), and unitCount (decimal) field to map and transform the data
correctly.
Create an Apex-Defined collection output variable named
homeVisitPatientBenefitDetails for the
healthcloudext__HomeVisitPatientBenefitDetails Apex class.
Add an Assignment element, and assign the output
from the Transform element to the homeVisitPatientBenefitDetails variable.
Save your changes and activate your flow.
The flow is now ready to get additional benefits for the patient.
To help care coordinators get the additional benefits during the budget calculation,
integrate the flow with the Home Visit Budget Lightning component.
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.