Health Cloud Implementation Guide

User Manual: Pdf

Open the PDF directly: View PDF PDF.
Page Count: 124

DownloadHealth Cloud Implementation Guide
Open PDF In BrowserView PDF
Health Cloud Implementation
Guide
Salesforce, Spring ’18

@salesforcedocs
Last updated: February 1, 2018

© Copyright 2000–2018 salesforce.com, inc. All rights reserved. Salesforce is a registered trademark of salesforce.com, inc.,

as are other names and marks. Other marks appearing herein may be trademarks of their respective owners.

CONTENTS
Salesforce Health Cloud Implementation Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
How Health Cloud Works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
The Health Cloud Data Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Patient Records in Health Cloud . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Health Cloud Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Set Up Health Cloud . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Install the Health Cloud Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Define Your My Domain Subdomain Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Configure Health Cloud Profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Assign the Health Cloud Permission Set License . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Set Field Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Add Health Cloud Users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Control Access to Patient Lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Create Roles for Care Team Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Enable Task Assignment for Community Users Created from Contacts . . . . . . . . . . . . . . 15
Enable Care Gaps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Customize Health Cloud . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Give Your Users the Health Cloud Lightning Experience Console . . . . . . . . . . . . . . . . . . 17
Customize Health Cloud . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Customize the Health Cloud Apps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Show Detailed Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Enable Users to Import Leads as Patients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Migrate More Data with the Patient Creation Job Flow . . . . . . . . . . . . . . . . . . . . . . . . 63
Provide Easy Access to Protocols and Articles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Use Person Accounts in Health Cloud (Optional) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Build Patient Communities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
How Patient Communities Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Switch On Salesforce Communities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Community Setup Checklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
Use Health Cloud Empower Lightning Components . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Reference Information About Health Cloud Empower Components . . . . . . . . . . . . . . . . 91
Use Assessments to Gather Patient Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Enable Surveys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Add Survey Objects to Health Cloud Permission Sets . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Configure Email Invitations for Surveys and Assessments (Optional) . . . . . . . . . . . . . . . 99
Update Sharing Settings for Surveys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
The Assessments Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
Manage Patient Risk with Einstein Analytics for Health Cloud . . . . . . . . . . . . . . . . . . . . . . . 103
Set Up Einstein Analytics for Health Cloud . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105

Contents

Upgrade Picklist Values and Page Layouts for Analytics . . . . . . . . . . . . . . . . . . . . . . . 110
Add Risk Scoring Record Types to the Admin Profile . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Health Cloud Risk Scoring Data Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Recalculate Patient Risk Scores . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
Protect Your Health Data with Salesforce Shield . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120

SALESFORCE HEALTH CLOUD IMPLEMENTATION GUIDE
Delivering outstanding patient care means more than just managing your patients’ information
and healthcare events. It’s about creating a strong, collaborative relationship with patients and
caregivers to help your patients along on their journey to better health. Health Cloud reinvents the
way that care coordinators engage with patients by giving you a consolidated view of critical patient
records, access to a patient’s care team, and the tools to bring it all together to improve healthcare
outcomes.
How Health Cloud Works
Health Cloud is a managed package, installed on top of Salesforce. Its data model is based on
the standard Salesforce object model. You can use it to support your users in delivering quality
care.

EDITIONS
Health Cloud is available in
Salesforce Classic and
Lightning Experience
Available in: Enterprise,
Performance, and
Unlimited Editions

Set Up Health Cloud
When you complete these steps, you’ll have a basic working Health Cloud console that care coordinators can use to manage their
patients and provide excellent care. When you're done, consider customizing your Health Cloud app to make your users even more
efficient.
Customize Health Cloud
You can adapt the Health Cloud user interface to fit your organization’s unique needs. Give your users exactly the information they
need when they need it so they can do their best work.
Build Patient Communities
The private patient community is the heart of collaborative patient care. Communities provide care coordinators, physicians, patients,
and caregivers an easy way to interact with each other whenever and wherever they are. You can set up private patient community
using Salesforce Community Builder with the Customer Service (Napili) template.
Use Assessments to Gather Patient Information
Improve the quality of patient care by gathering information that helps to manage your patients more efficiently. Whether it’s a
pre-surgery assessment or a patient feedback survey, you have the information you need within the patient’s care plan.
The Assessments Tab
The Assessments tab lets you send surveys to your patients, check on a survey’s status, and view completed surveys.
Manage Patient Risk with Einstein Analytics for Health Cloud
Einstein Analytics for Health Cloud: Risk Stratification lets your company identify high-risk patients. You can use this information to
proactively manage those patients and provide preventive care to reduce over-consumption of expensive healthcare resources.
Protect Your Health Data with Salesforce Shield
Salesforce Shield is a set of security tools you can use to comply with regulations on storing sensitive protected health information.
With Platform Encryption, Event Monitoring, and and Field Audit Trail, you can monitor usage, prevent malicious activity, and protect
data at rest while allowing full functionality.

1

Salesforce Health Cloud Implementation Guide

How Health Cloud Works

How Health Cloud Works
Health Cloud is a managed package, installed on top of Salesforce. Its data model is based on the
standard Salesforce object model. You can use it to support your users in delivering quality care.
The Health Cloud Data Model
Health Cloud supports the standard Salesforce data model. You can map clinical data from a
source EHR system to Health Cloud objects and fields that hold patient and engagement data.
Patient Records in Health Cloud
A Health Cloud patient is associated with a patient record, an individual record, and a candidate
patient record.
Health Cloud Limitations
Health Cloud has some specific behaviors and limitations that may be different from your users’
standard Salesforce experience.

EDITIONS
Health Cloud is available in
Salesforce Classic and
Lightning Experience
Available in: Enterprise,
Performance, and
Unlimited Editions

USER PERMISSIONS
To set up case teams for
care teams:
• Customize Application
AND
Manage Users
To add team members:
• Edit on cases

The Health Cloud Data Model
Health Cloud supports the standard Salesforce data model. You can map clinical data from a source
EHR system to Health Cloud objects and fields that hold patient and engagement data.

EDITIONS

Patient and Individual Data Model

Health Cloud is available in
Salesforce Classic and
Lightning Experience

Health Cloud uses the individual model to address the different roles a person can have in relation
Available in: Enterprise,
to an organization. In one context, an individual is a patient; in another, a caregiver; and in another,
Performance, and
an employee. The Health Cloud patient and individual data model is based on a unified object view
Unlimited Editions
consisting of fields and attributes from two standard Salesforce business objects: Account and
Contact. Both objects are a part of the standard Salesforce data model, and within Health Cloud
they are connected through a common field: Individual ID. When a patient is created in
the system, both an account and a contact record are created and linked through the Individual ID field.

The Account object supports the transactions through the Case object to manage the care plan, its tasks, and the care team that supports
the patient. The Contact object supports the communication between the patient, the coordinator, and the care team when Communities
is enabled.

2

Salesforce Health Cloud Implementation Guide

The Health Cloud Data Model

All patient-specific information, including patient medical records, is tied to the account record. Because the contact record doesn’t
contain clinical information, a patient can collaborate with the external care team without them seeing the patient’s medical records.
Together, the account and contact records comprise the information that supports the patient, and are connected to the care plan, EHR
data, and the members of the entire care team.
Health Cloud uses the following standard and custom objects to manage patient data.
• Account—In Health Cloud, the account record represents people instead of a business or an organization. Through the individual
record type, it is also linked to the contact records. Accounts supports the transactions that occur related to the patient. So not only
is the patient contact record connected through the Individual ID, but the contacts and users that represent caregivers or external
healthcare providers are associated with the account through the patient care plan (case record).
• Contact—In the Salesforce data model, contacts are the people associated with the patient, such as family members and specialists
who are outside of your organization. A contact must be related to an account. When you set up and use Salesforce Communities,
the Contact object supports communication within the private patient community. Care team members are added as either external
contacts without community access or as community users and contacts, which gives them community access.
• User—Health Cloud includes internal Salesforce users and community users. Each user type has different access to records and
functions. Internal users have access to patient data, when granted. Community users don’t have access to patient data.
• Case Team Member—The Case Team Membership object represents a patient care team member who is part of the team that
works on tasks in the patient’s care plan. In Health Cloud, care team members can be family members and healthcare providers from
outside of your organization. They can also be internal Salesforce users, like the primary care physician. When Salesforce Communities
is enabled, care team members with access to the community use Case Feed to collaborate around the patient and the care plan.
Care team members who are only contacts can’t log in to Salesforce, so they don’t have access to Chatter in the case feed or to the
patient care plan.
• Case Team Role—The Case Team Role object represents a role for a member of the patient care team, such as Caregiver or
Physiotherapist. Care coordinators assign roles when they add a member to the private patient community. The case team role also
controls access to the case and the care plan, and controls visibility of the user in the community.

3

Salesforce Health Cloud Implementation Guide

Patient Records in Health Cloud

• Case— In Health Cloud, the care plan is associated with the case record. The case permission controls access to the elements of the
care plan, to the care team (Case Team), and to the communication within the patient’s community. All care team members are
associated with the patient’s contact record through the Case object.
• Problems—Each care plan has a list of clinical or non-clinical health issues that must be addressed. The conditions, problems,
concerns, and diagnoses that are managed and mitigated by this plan are represented in the Care Plan Problem custom object.
• Goals—Represents the intended objectives of carrying out a care plan.
• Task—Represents an activity, such as making a phone call, completing a survey, attending a medical appointment, or other to-do
items. Tasks can be directly related to a goal on the care plan, or they can be unrelated to a specific problem or goal.
• EHR Clinical Data Objects—The custom objects that hold patient data that comes from the EHR system of record. For example,
EhrCondition__c represents detailed information about conditions, problems, and diagnoses recognized by a clinician.

Clinical Data Model
Clinical data that comes from EHR or other clinical systems is critical to the planning, execution, and management of coordinated care
plans for patients. Clinical data can be integrated with Salesforce using several standard APIs, to map messages from EHR systems into
Health Cloud objects and fields. These objects and fields closely resemble the HL7® FHIR® standard.
Because the Health Cloud clinical data model is similar to FHIR® standard, it enables easier and more straightforward clinical data
integration from other source systems. When devising an implementation strategy, you or your integration partner map messages from
the EHR system to the correct Health Cloud object. Data is replicated into the clinical data model with read-only access. Data that
originates in the EHR or other clinical systems, Health Cloud is view-only, so the source system remains the system of record.
You can take a deep dive into the Health Cloud data model by using Schema Builder. Schema Builder provides details, such as the field
values, required fields, and how objects are related, by displaying lookup and master-detail relationships. You can view the fields and
relationships for both standard and custom objects. Schema Builder is enabled by default and lets you add the following to your schema:
• Custom objects
• Lookup relationships
• Master-detail relationships
• All custom fields, except geolocation
To access Schema Builder, from Setup, enter schema in the Quick Find box.

Patient Records in Health Cloud
A Health Cloud patient is associated with a patient record, an individual record, and a candidate
patient record.

EDITIONS

Individual

Health Cloud is available in
Salesforce Classic and
Lightning Experience

An individual is composed of both an account and a contact record that each use the individual
record type. These records point to each other (the account has a primary contact lookup field).
Using an individual record type with only a contact or only an account record is invalid.

Available in: Enterprise,
Performance, and
Unlimited Editions

Patient
A patient is an individual (account and contact) that also has a care plan (case) ID in the Care Plan lookup field on the account record.
Also, the patient must be part of a care team (case team) in the role of patient. This relationship can be made to the contact record of
the patient or the community user record, if the patient is enabled for communities. Usually, a Patient also has an EHR Patient record
that points to the account record of the patient.

4

Salesforce Health Cloud Implementation Guide

Health Cloud Limitations

Lead
You can turn existing Salesforce leads into patients using Health Cloud’s custom fields on the Lead object. These additional fields capture
important patient information, like a person’s medical record number and the name of the patient’s care coordinator.

Candidate Patient
A candidate patient is simply a row of data on the Candidate Patient object. Candidate patients can be converted into patients using
the conversion process in the Health Cloud console. The process creates the records and relationships for the individual and patient
records, so that the patient is available in the console.

Health Cloud Limitations
Health Cloud has some specific behaviors and limitations that may be different from your users’
standard Salesforce experience.

EDITIONS

Display

Health Cloud is available in
Salesforce Classic and
Lightning Experience

Health Cloud is available only in Microsoft Internet Explorer 10 or 11; Microsoft Edge; the most
recent stable version of Mozilla Firefox; the most recent stable version of Apple Safari; and the most
recent stable version of Google Chrome.

Available in: Enterprise,
Performance, and
Unlimited Editions

Tip: For best performance, we recommend that console users adopt the Google Chrome
browser and machines with 8 GB of RAM.

Security
Fields protected by Platform Encryption can’t be used as filter or sort criteria.
Encryption is not the same as masking. Fields protected by Platform Encryption are unmasked and visible to Health Cloud users. Use
object-level security and field-level security to restrict the visibility of sensitive data.
Event monitoring doesn’t log which patients appear on the Today page, the Patient List pages, or the Candidate Patients page. Event
monitoring does log that a user went to those pages, but doesn’t log the details on what is displayed on those pages. However, when
you select a patient to view in the Health Cloud console, it logs the ID of that patient.

Behavior and Access
Health Cloud doesn’t meet accessibility requirements.
When you add a task to the care plan, it doesn’t appear on the Timeline until you refresh the Timeline. Refresh the Timeline by selecting
the Timeline from the Patient Card tab switcher.
When you add a task to the care plan, it doesn’t appear on the Today page until you refresh the Today page. You can refresh the Today
page by refreshing your browser.
You can’t sort a column in a list that is based on an encrypted field.
List view pages display up to 500 patients per page. Sorting and searching applies to the data within a single page in the patient list.
Long text fields (such as description fields) and the Address field aren’t supported as filter criteria when creating a patient list. To filter
on an address, use subfields such as the Street field.

5

Salesforce Health Cloud Implementation Guide

Set Up Health Cloud

Localization
Health Cloud supports the following languages: Chinese (Traditional), Dutch, English (United Kingdom), French, German, Japanese,
Korean, Portuguese (Brazil), Spanish, and Spanish (Mexico) (es_MX).
Important: Legal Disclaimer for Language Support and Regulatory Requirements
Although Health Cloud supports a language, it doesn’t indicate that Salesforce has done a legal compliance evaluation for all
countries in which that language is spoken. You are responsible for determining whether there are any legal or regulatory
requirements that apply to using Health Cloud for every country in which you intend to use it.
The column names in the Patient List aren’t localized and in the language used to create them. So if the labels for column names were
created in an English org, they only display in that language.
Users can edit the Patient List only when they have the same language and locale as the org in which the list was created. When someone
edits a list created in a language different from their own, they receive an error.
The delivered All Patients list appears in English only.
The Category and Sub-Category fields in the Patient Card Menu can’t be localized using the Translation Workbench. To display the labels
in another language, deactivate or delete the delivered field configuration record. Then, create a different field record in the language
for that org.
The Friendly Name field used as a display label in the Timeline and Patient Card can’t be localized using the Translation Workbench. To
display the labels in another language, create a different field record in the language for that org and set the language field to the new
label’s language.

Set Up Health Cloud
When you complete these steps, you’ll have a basic working Health Cloud console that care
coordinators can use to manage their patients and provide excellent care. When you're done,
consider customizing your Health Cloud app to make your users even more efficient.
Note: Salesforce Communities provides the collaboration support for Health Cloud. Some
of the collaborative features aren’t available until you enable Salesforce Communities and
create a private patient community.
1. Install the Health Cloud Package
Install the Health Cloud managed package in your org so that you can begin implementing
Health Cloud for your care coordinators.

EDITIONS
Health Cloud is available in
Salesforce Classic and
Lightning Experience
Available in: Enterprise,
Performance, and
Unlimited Editions

2. Define Your My Domain Subdomain Name
To set up a My Domain subdomain, you choose a name for your subdomain and register it with Salesforce domain registries worldwide.
You can try out names and check availability before registering it.
3. Configure Health Cloud Profiles
Adjust users’ profiles to give them access to the Health Cloud fields and records.
4. Assign the Health Cloud Permission Set License
To apply the Health Cloud permission set license, assign a permission set labeled Health Cloud Permission Set License to each user.
5. Set Field Access
Field permissions specify the access level for each field in an object. Whether you’re using profiles or permission sets to control access
to data in Health Cloud, make sure that users have access to these standard fields.

6

Salesforce Health Cloud Implementation Guide

Install the Health Cloud Package

6. Add Health Cloud Users
You can add internal Salesforce users one at a time or in batches of up to 10 users.
7. Control Access to Patient Lists
Use sharing settings to control access to patient lists.
8. Create Roles for Care Team Members
Care team member roles define the access that members have to information in the care plan.
9. Enable Task Assignment for Community Users Created from Contacts
Make sure that care team members created outside of the Health Cloud console can be selected for task assignment.
10. Enable Care Gaps
Health Cloud helps you prioritize efficiently by surfacing gaps in a patient’s care where your team can make a difference. To close a
care gap, you tie it to a support process.

Install the Health Cloud Package
Install the Health Cloud managed package in your org so that you can begin implementing Health
Cloud for your care coordinators.

EDITIONS

Health Cloud functionality is available through several packages. The managed package delivers
most of the features, while the unmanaged extension package delivers functionality to convert
Lead records to Patient records. You can also download and install the Einstein Analytics for Health
Cloud: Risk Stratification package to let administrators view dashboards of at-risk patients.

Health Cloud is available in
Salesforce Classic and
Lightning Experience

This is required to support the Health Cloud data model.

Available in: Enterprise,
Performance, and
Unlimited Editions

a. In Setup, find Accounts and verify that the Setup menu under Accounts includes Account
Contact Relationships.

USER PERMISSIONS

1. Verify that contacts can relate to multiple accounts.

To install packages:
• Download AppExchange
Packages

7

Salesforce Health Cloud Implementation Guide

Define Your My Domain Subdomain Name

If you see these options, then Contacts to Multiple Accounts is enabled in your org.
b. If you don’t see these options, go to Account Settings and find the Contacts to Multiple Accounts Setting section of the page.
If Allow users to relate a contact to multiple accounts is not selected, select it.
2. Verify that Chatter is enabled.
Health Cloud uses Chatter to support easy communication among users.
a. In Setup, find Chatter Settings.
b. If Enable is not selected under Chatter Settings, select it.
3. Paste the URL for the Health Cloud package into the browser navigation bar and press Enter.
You can find the package download URL in the Terms and Conditions section of your contract.
4. Log in as a system administrator.
5. Click Install. You’ll see a message that describes the progress and a confirmation message after the installation is complete.
See Install the Einstein Analytics for Health Cloud: Risk Stratification Package for instructions on downloading and installing the package.
Note: The API version for objects included in the Health Cloud packages is one version behind core Salesforce. For example, if
your org’s API version is 40, the packaged Health Cloud elements including custom objects, components, classes, and triggers are
API version 39.

Define Your My Domain Subdomain Name
To set up a My Domain subdomain, you choose a name for your subdomain and register it with
Salesforce domain registries worldwide. You can try out names and check availability before
registering it.
Start setting up your My Domain subdomain by finding a unique subdomain name and registering
it. Choose your name carefully. When you register, Salesforce updates its domain registries worldwide
with your subdomain. After the name is registered, only Salesforce Customer Support can disable
or change your domain name.
1. From Setup, enter My Domain in the Quick Find box, then select My Domain.
2. Enter the name that you want to use for your My Domain subdomain. Your name can include
up to 40 letters, numbers, and hyphens.
You can’t use these reserved words in your subdomain name:

EDITIONS
Available in: both Salesforce
Classic and Lightning
Experience
Available in: Essentials,
Performance, Unlimited,
Enterprise, Developer,
Professional, and Group
Editions.

USER PERMISSIONS

• www

To define a domain name:
• Customize Application

• salesforce
• heroku
You can’t start the subdomain name with:
• root
• status
• a hyphen (-)
3. Click Check Availability. If your name is already taken, choose a different one.
4. Click Register Domain.
5. You receive an email when your subdomain name is ready for testing. It can take a few minutes.

8

Salesforce Health Cloud Implementation Guide

Configure Health Cloud Profiles

Before making your new My Domain subdomain available to your users, test that your org’s URLs work with your new subdomain name.
Then you can roll it out to your users.

Configure Health Cloud Profiles
Adjust users’ profiles to give them access to the Health Cloud fields and records.
Note: To be able to set up the Health Cloud console, you must make these additions to the System Administrator profile, as well.
1. From Setup, enter Profiles in the Quick Find box, then select Profiles.
2. Select a profile to configure.
Assign your users standard Salesforce profiles. If you need custom profiles to extend visibility and access to certain objects, use a
standard profile, clone it, and edit it to meet your organization’s needs.
3. Add or enable the following items for the profile.
a. Page Layouts
• Account (Individual record type): Patient layout
• Case (Care Plan record type): Care Plan layout
• Contact (Individual record type): Patient layout
• Lead (Patient record type): Patient layout
• Task (Care Plan Task record type): Health Task layout
b. Record Types
• Account: Business, Household, Individual (Default)
• Cases: CarePlan
• Contacts: Business, Individual (Default)
• Lead: Patient
• Tasks: Care Plan Task
4. Click Save.
SEE ALSO:
Salesforce Help: Assign Record Types to Profiles in the Original Profile User Interface
Salesforce Help: Enable and Disable the Translation Workbench

Assign the Health Cloud Permission Set License
To apply the Health Cloud permission set license, assign a permission set labeled Health Cloud
Permission Set License to each user.
Note: Health Cloud Empower users don’t require the Health Cloud permission set license.
The Health Cloud permission set license provides access to the standard version of Health Cloud.
Users with this license have access to the standard Salesforce objects and Health Cloud custom
objects.

9

USER PERMISSIONS
To assign a permission set
license:
• Manage Users

Salesforce Health Cloud Implementation Guide

Set Field Access

Note: If you installed the Health Cloud managed package before the Summer ’17 release, this step is optional.
1. From Setup, enter Permission Sets in the Quick Find box, then select Permission Sets.
2. Click Health Cloud Permission Set License.
3. Click Manage Assignments.
4. Select the users to whom you want to assign the permission set.
5. Click Add Assignments.
6. Save your changes. The Health Cloud permission set license is assigned to the users you selected.
Note: To view assigned permission set licenses, from Setup click Company Profile and then click Company Information.

Set Field Access
Field permissions specify the access level for each field in an object. Whether you’re using profiles or permission sets to control access
to data in Health Cloud, make sure that users have access to these standard fields.
1. Make sure that the following fields have Edit permission:
Object

Field Label

Accounts

• Account Name
• Account Owner
• Care Plan
• Individual ID
• Primary Contact
• Source System
• Source System ID

AccountContactRelation

• End Date
• Is Active
• Roles
• Start Date

Cases

• Account Name
• Case Origin
• Contact Name
• Description
• Priority
• Status
• Subject
• Type

Contacts

• Birthdate

10

Salesforce Health Cloud Implementation Guide

Set Field Access

Object

Field Label
• Mailing Address
• Name
• Phone
• Source System ID
Note: The Birth Date field is a custom formula field
that reformats the date retrieved from Birthdate.
Access is defined in the Health Cloud permission sets.

Tasks

• Comments
• Due Date
• Goal
• Name
• Priority
• Problem
• Public
• Recurrence Interval
• Related To
• Repeat This Task
• Status
• Task Type
• Task Record Type
• Task Subtype

Anyone who adds external users who are contacts to a care team needs Edit access to the following fields on the User object.
Object

Field Label

User

• Alias
• Email
• Last Name
• Nickname
• Profile
• Username
• User License

2. Click Save.

11

Salesforce Health Cloud Implementation Guide

Add Health Cloud Users

Add Health Cloud Users
You can add internal Salesforce users one at a time or in batches of up to 10 users.
1. From Setup, enter Users in the Quick Find box, then select Users.
2. Click New User to add a single user or click Multiple Users to add up to 10 users at a time.
3. If multiple user license types are available in your organization, select the user license to associate with the users you plan to create.
The user license determines the available profiles.
4. Specify the information for each user, including Role and Profile.
Users who need access to the Health Cloud console must have Service Cloud User enabled. If you’re using Salesforce
Knowledge articles to manage protocols, enable Knowledge User for every user needing access to articles.

5. To email a login name and temporary password to each new user, select Generate new password and notify user immediately.
6. To specify more details for the users that you’ve created, edit individual users as needed.

Control Access to Patient Lists
Use sharing settings to control access to patient lists.
By default, any patient list created in your org is available to all users with access to the Health Cloud console.
Field-level and object-level security can also restrict access to an entire patient list or to columns in the patient list.
• Users with profile or permission sets that restrict access to an object can’t create a list using that object. The object doesn’t appear
in the list of records, as a results column, or as a category when creating the list.
• If a user’s field-level security restricts access to a field that's selected on the Add Filters tab, that patient list isn’t available for that
user.
• When a user’s field-level security restricts access to a field used as a display column, the column doesn’t appear in the patient list.
To restrict access to patient lists, you can use standard Salesforce sharing settings on the list. For example, you can grant access to all
care coordinators in a certain department or who share a specific role.
1. To apply sharing settings to a patient list, select the Filter Criteria tab from the Health Cloud - Admin app.
2. On the Filter Criteria Home page, select All in the View field and then select the name of the filter criterion for the patient list you’re
working with.
3. In the Filter Criterion Detail area of the page, select Sharing.

12

Salesforce Health Cloud Implementation Guide

Control Access to Patient Lists

Note: The Sharing button is available when your sharing model is either Private or Public Read Only for a type of record or
related record.
4. Grant access to other users, groups, or roles.
Access Level

Org-Wide Result

Full Access

The user can view, edit, and delete the patient list.

Read/Write

Anyone with access to the Health Cloud console can use and
edit the list.

Private

Only the user who created the list view can view, edit, or delete
the patient list.

Public Read Only

Anyone with access to the Health Cloud console can use the list.

SEE ALSO:
Salesforce Help: Sharing Settings

13

Salesforce Health Cloud Implementation Guide

Create Roles for Care Team Members

Create Roles for Care Team Members
Care team member roles define the access that members have to information in the care plan.
Note: Salesforce Communities provides the collaboration support for Health Cloud. Some
of the collaborative features aren’t available until you enable Salesforce Communities and
create a private patient community.
Every member has a unique role to play in caring for the patient, such as primary care physician,
caregiver, or case manager. Roles determine access to patient information, like read only or read/write
access. You create a list of roles that care coordinators select from when assigning roles to new care
team members. The patient role is automatically assigned during the patient conversion process
in Health Cloud and the care coordinator can be assigned during that process, as well.
Note: Salesforce offers a user role hierarchy that you can use together with sharing settings
to determine the levels of access users have to your organization’s data. Roles within the
hierarchy affect access on key components like records and reports. Unlike standard Salesforce
roles, the access you provide with care team roles applies only to Case records. When an
internal user who is a member of the care team already has a standard Salesforce role, they
retain access that comes with their standard role.
When you set up roles for care team membership, you can include internal users who are already
in your organization, and external contacts. (Contacts are the people associated with the patient
such as family members or specialists outside of your organization.) For each contact, you can store
various kinds of information, such as phone numbers, addresses, titles, and roles. In addition, if
you’ve set up Communities, you can make the contact a community user and add them to the
patient community. That way, they can see the care plan and collaborate in the feed, if given access.

EDITIONS
Health Cloud is available in
Salesforce Classic and
Lightning Experience
Available in: Enterprise,
Performance, and
Unlimited Editions

USER PERMISSIONS
To set up case teams for
care teams:
• Customize Application
AND
Manage Users
To add team members:
• Edit on cases

At a minimum, create a role entitled Care Coordinator and a role entitled Patient. These roles are used by Health Cloud
during patient conversion, and appear as labels throughout the app. To customize the role labels, clone the Careplan Role Care
Coordinator or Careplan Role Patient metadata types in Health Cloud Settings, and rename them. For example, you
can change Care Coordinator to Care Manager, if your organization uses that name for the role.
1. From Setup, enter Case Team Roles in the Quick Find box, then select Case Team Roles.
2. Click New.
3. Enter a name for the role.
Remember that you must create a role entitled Care Coordinator and a role entitled Patient. These roles are used by
Health Cloud during patient conversion, and appear as labels throughout the app.
4. From the Case Access picklist, select the role's level of access to cases. Access levels are:
Access Level

Description

Read/Write

User can view and edit the record and add associated records,
notes, and attachments to it.

Read Only

User can view the record and add associated records to it. The
user can’t edit the record or add notes or attachments.

Private

User can’t access the record.

5. Click Save. Alternatively, click Save & New to save the role and begin creating another role.

14

Salesforce Health Cloud Implementation Guide

Enable Task Assignment for Community Users Created from
Contacts

6. Select Visible in Customer Portal so that care team members with this role are visible to community members.
The care team member roles are now available to assign to different care team members.
SEE ALSO:
Salesforce Help: Create Case Team Roles
Customize the Delivered Care Team Roles

Enable Task Assignment for Community Users Created from Contacts
Make sure that care team members created outside of the Health Cloud console can be selected for task assignment.
When you create care team members from within the Health Cloud console, they are created as users with community access. When
you create a user in the Salesforce Classic Contact page, you can also grant that person community access by enabling them as a customer
user. While you can add customer users to the care team and they have access to the patient’s community, they can’t be assigned tasks
using care plan templates until you manually update their user type.
1. Open the patient’s Detail page, select the case that’s associated with the care plan.
2. In the Case Team related list, find users who have Contact: as a prefix to their name.
These contacts have a user record, but you must update their user type to assign them tasks from the care plan template.
3. Click Update Case Team Members.
4. Next to the user’s name, use the picklist to change their assignment from Contact to Customer Portal User.

Enable Care Gaps
Health Cloud helps you prioritize efficiently by surfacing gaps in a patient’s care where your team can make a difference. To close a care
gap, you tie it to a support process.
The Care Gaps feature was added to Salesforce Health Cloud in the Spring ‘18 release.
Care coordinators can use this capacity to improve patient outcomes. Population health analysts may find it helpful in learning which
patients have the highest likelihood of improvement after a particular intervention. To start using Care Gaps, add it to the Patient Card
dropdown in Custom Settings. Multiple source systems can create Care Gap records in Health Cloud.
1. From Setup enter custom settings in the Quick Find box and select Custom Settings.
2. To add Care Gaps to the Card View drop-down menu, select Card View Dropdown and click on Manage, then New.
3. Create a Care Gaps item in the drop down menu by entering the following into the fields shown:
Name

Care Gaps

Category Name

Engagement

Tab Type

Subtab

Subcategory Name

Care Gaps

Page Type

VFpage

URL

/apex/HealthCloudGA__HcCareGapsPage

Category Label

Engagement

15

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

Default Subtab

checked

Subcategory Label

Tab_Care_Gaps

Subtab Sort Order

enter a unique ordinal, e.g. 4.0

4. Save your settings.
5. Add Care Gaps record type to the user profile. From the Users > Profiles menu item, select the appropriate user profile (for example,
Health Cloud).
6. Under Record Type Settings, click Edit under the Cases record type and add the Care Gaps record type.
7. Save your settings.
Return to the Health Cloud console. The Care Gaps menu item should now appear in the Card View dropdown menu.

Customize Health Cloud
You can adapt the Health Cloud user interface to fit your organization’s unique needs. Give your users exactly the information they need
when they need it so they can do their best work.
Give Your Users the Health Cloud Lightning Experience Console
When you enable the Health Cloud Lightning Experience Console, your users can access the console using the App switcher. To
turn on the Console, just add the app to your org and assign users.
Customize Health Cloud
Health Cloud is a managed package, installed on top of Salesforce Enterprise Edition, Performance, or Unlimited editions. While not
every component or attribute in a managed package is customizable, we’ve given you the ability to edit the key components and
attributes that you’ll need to make your instance of Health Cloud fit your company’s needs.
Customize the Health Cloud Apps
You can change some of the properties of the Health Cloud Apps in your organization. For example, you can add the Knowledge
widget so that care coordinators can see articles and protocols from the console footer. You can also do things like add your company’s
logo, change the color of page elements, and enable keyboard shortcuts in the Health Cloud console.
Show Detailed Error Messages
Configure the Industries Application Config custom setting to display detailed error messages so you can debug access errors quickly
when setting up user profiles.
Enable Users to Import Leads as Patients
Your company can use existing Salesforce Lead records to create the Patient records that are used in Health Cloud.
Migrate More Data with the Patient Creation Job Flow
When patients are first imported into Health Cloud, the information required to identify and represent those patients is created.
Historical medical information associated with patients is not imported into Health Cloud by default; however, you can choose to
map more historical information, as needed. You can implement a custom integration to import historical medical records from the
EHR system and append it to the default patient creation job flow.
Provide Easy Access to Protocols and Articles
Salesforce Knowledge lets you easily create and manage content and make it available to other healthcare professionals and to the
patient and care team members.

16

Salesforce Health Cloud Implementation Guide

Give Your Users the Health Cloud Lightning Experience
Console

Use Person Accounts in Health Cloud (Optional)
If your org uses person accounts to manage people, you can now use Health Cloud without migrating your patient data to the
individual data model. Person accounts store information about individual people by combining certain account and contact fields
into a single record.

Give Your Users the Health Cloud Lightning Experience Console
When you enable the Health Cloud Lightning Experience Console, your users can access the console using the App switcher. To turn
on the Console, just add the app to your org and assign users.
Use the Lightning Experience Migration Assistant as your control center for tackling these steps. From Setup in Salesforce Classic, click
Get Started in the Migration Assistant tile at the top of the menu.
Users with Health Cloud Standard or Health Cloud Admin permission sets can access Health Cloud - Lightning Console app. You need
the Health Cloud Admin permission set to access the Health Cloud - Lightning Admin app.
The Health Cloud console in Salesforce Classic is still here, and it’s easy for Lightning Experience users to move between the old and the
new. So even if Lightning Experience isn’t a perfect fit yet, you and your users can try it on for size without losing out.
Here’s a checklist of tasks to complete before rolling out the Health Cloud Lightning Console to your users.

Enable Lightning Experience
Enable Lightning Experience using the Lightning Experience Migration Assistant.
Define Your My Domain Subdomain Name on page 8.
Switch to Lightning Experience.

Create the Health Cloud Lightning Console App
Use the App Manager to create a new Lightning console app and name it Health Cloud Lightning Console.
Set the app’s primary color, give it a logo, and add a description.
Add items to your app’s utility bar, select the items you want to appear in the app, and assign it to user profiles.

Create the Patient Console Record Flexipage (Required)
In the Lightning App Builder, create a new Lightning record page named Patient Console and select the Account object.
Select the three-column page template.
Drag the Patient Detail for Health Cloud component into the left column.
Customize the other two columns by dragging other components onto the page.
Save your work and select the Activate button.
Select the following org and app defaults.
• Org and App Defaults: Don’t set this flexipage as the org or app default page.
• Select Apps: Health Cloud Lightning Console.
• Selected Record Types: All individual record types that you’ve configured using the Individual Record Type Mapper.
• Selected Profiles: Any profiles that need access to the page.

17

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

Create Optional Flexipages
The Patient Console record flexipage is a required component for the Health Cloud console, but other flexipages are optional and can
be created and added as needed. Follow the steps to create the Patient Console flexipage and use the information listed in this table
for each flexipage you want to add.
Flexipage

Label

Page Layout

Component Name

Patients

Patients

One Column

Patient List View for Health
Cloud

Candidate Patients

Candidate Patients

One Column

Candidate Patient List View for
Health Cloud

Today

Today

Main Column and Right Sidebar Today View for Health Cloud
(for Chatter)

Create Health Cloud Lightning Admin App
Create the Lightning app that lets you and your admins set up and customize the console.
Use the App Manager to create a Lightning app and name it Health Cloud Lightning Admin.
Set the app’s primary color, give it a logo, and add a description.
Select the Standard Navigation option.
Add items to your app’s utility bar and select the items you want to appear in the app. This should include all EHR objects and other
items, as required. Assign it to user profiles and save your work.

Customize Health Cloud
Health Cloud is a managed package, installed on top of Salesforce Enterprise Edition, Performance, or Unlimited editions. While not every
component or attribute in a managed package is customizable, we’ve given you the ability to edit the key components and attributes
that you’ll need to make your instance of Health Cloud fit your company’s needs.
Health Cloud Custom Tabs
We’ve delivered a set of custom tabs to help you customize the Health Cloud Console to align with how your company works with
patients.
Customizing the Patient Details Tab
The Patient Details tab shows patient records that are associated with the Account record. If you prefer to have the Contact record
appear on the tab, you can change the settings for HcFeatureDriver in Health Cloud Settings that are part of Custom Metadata Types.
Refine the Householding Map for Care Coordinators
The householding map brings together patients, care plans, caregivers, households, businesses, and other individuals in one view.
You can change the roles and relationships that appear in the map.
Customize the Patient Card
You can add fields to the patient card and provide care coordinators with the information they need about a patient’s contact
information, conditions, prescriptions, appointments, and other information from their medical records.

18

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

Override Custom Labels
The custom labels that are delivered with Health Cloud package can’t be edited, but you can override them by creating a translated
version of the label.
Configure the Timeline View
Add or remove healthcare events from the timeline view to provide care coordinators and patients with a chronological view of
healthcare events.
Customize the Delivered Care Team Roles
The roles that people have in the healthcare world are incredibly varied. So we’ve given you the flexibility to change the standard
Health Cloud roles to ones that reflect how your organization works.
Use Custom Metadata Settings to Configure Health Cloud
You can add or replace fields in many of the components of Health Cloud using custom metadata.
Customize Problems and Goals
You can customize problems and goals in Lightning Experience by editing the corresponding page layouts. In Salesforce Classic,
use field sets to change the delivered pages. With fields sets, you can add custom fields or change the order of existing fields on the
pages used to create problems and goals.
Customize Tasks
Customize the fields on the New Task page so that the field values reflect the kinds of tasks care coordinators most often assign, and
use rating terminology specific to your organization.
Customize the Create External Member Fields
You can customize the fields that appear on the modal that care coordinators use to create an external care team member.
Customize the Candidate Patient List View
You can customize the fields that appear on the list view that care coordinators use to convert candidate patients to patients in
Health Cloud.
Add Cross-Object Relationships to Customize Patient List Filter Options
Cross-object relationships control which objects and fields appear in the filter selection options when creating patient lists.
Dashboards Give Your Users Access to the Big Picture
Set up your reporting environment, use the report builder to create a basic report, and organize your reports to make it easy to find
information. You can also find great dashboard apps on the Salesforce AppExchange and add them to the console.
Let Care Coordinators Create Concurrent Care Plans for a Patient
When multiple care plans are enabled in your org, care coordinators can create one or more care plans per patient allowing more
focused, manageable care components.
Use Assessments to Gather Patient Information
Improve the quality of patient care by gathering information that helps to manage your patients more efficiently. Whether it’s a
pre-surgery assessment or a patient feedback survey, you have the information you need within the patient’s care plan.
The Assessments Tab
The Assessments tab lets you send surveys to your patients, check on a survey’s status, and view completed surveys.
Create a Care Plan Template
You can create a care plan template within Salesforce by adding problems, goals, and tasks to a care plan template.
Use Data Loader to Import Care Plan Templates
Use Data Loader to make import existing care plan templates into Salesforce and make them available to care coordinators.

19

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

Health Cloud Custom Tabs
We’ve delivered a set of custom tabs to help you customize the Health Cloud Console to align with how your company works with
patients.
Tab Name

Description

Cross Object Relationships

Cross-object relationships control which objects and fields appear
in the filter selection options when creating patient lists.

EHR Custom Objects

These tables contain data from the source record system related
to things like prescriptions, conditions, patients, and immunizations.

(EHR Patients, EHR Encounters, and so on)
Patient Card Configurations

Edit the patient card view to add or remove information from EHR
or other records.

Timeline View Configurations

Add or remove healthcare events from the timeline to provide care
coordinators with the information they need to be more effective
in managing patients.

Customizing the Patient Details Tab
The Patient Details tab shows patient records that are associated with the Account record. If you prefer to have the Contact record appear
on the tab, you can change the settings for HcFeatureDriver in Health Cloud Settings that are part of Custom Metadata Types.
When you change the default settings or if you use a custom page layout, you must also modify the associated page layout. For example,
to modify the Account layout, follow these steps.
1. From Setup, enter Account in the Quick Find box, then select Accounts.
2. Select Edit next to Patient Layout.
3. Select the Custom Console Components link at the top of the page.
4. In the Primary Tab Components section, add the following information to the Left Sidebar section.
Field

Value

Style

Stack

Width px

350

Autosize Components Selected
Type

Visualforce page

Component

PatientProfile_Page

Height %

100

20

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

Refine the Householding Map for Care Coordinators
The householding map brings together patients, care plans, caregivers, households, businesses, and other individuals in one view. You
can change the roles and relationships that appear in the map.
Note: If you don’t see the Household option in the patient card navigation menu, add it using the CardView Dropdown custom
setting. Use permission sets or profiles to grant users access to the contact role and account role record types for the Reciprocal
Role object.
How Are Patient Relationships Modeled?
Health Cloud uses a household model to represent patients and their relationships with the people who participate in their care. A
household is an account with the Household record type. The household is related to the contact part of the individual using the
Account Contact Relationship standard object.
Configure Reciprocal Roles
Within a relationship, a reciprocal role is the role of one entity relative to another entity. For example, husband and wife, or caregiver
and patient. We’ve provided commonly used reciprocal role records. You can edit them to specify more granular roles for extended
families, specific types of caregivers, or various professional affiliations.
Update Roles for Account Contact Relationships
You can create more roles to represent the types of people or companies that care coordinators can add to the Household tab.

How Are Patient Relationships Modeled?
Health Cloud uses a household model to represent patients and their relationships with the people
who participate in their care. A household is an account with the Household record type. The
household is related to the contact part of the individual using the Account Contact Relationship
standard object.
You can relate the patient to relationship groups that include care plans and external contacts and
accounts. Custom objects represent relationships with other caregivers and healthcare business
entities.
Object

Standard or
Custom

Represents

Record Types

Account

Standard

• Business

• Business

• Individual

• Individual

• Institution

• Institution

• Group

• Household

Account Contact
Relationship

Standard

The membership in a N/A
relationship group and
the relationship
between the patient
and an account.
• The membership
in a relationship
group lets you roll
up a member’s

21

EDITIONS
Health Cloud is available in
Salesforce Classic and
Lightning Experience
Available in: Enterprise,
Performance, and
Unlimited Editions

Salesforce Health Cloud Implementation Guide

Object

Standard or Custom

Customize Health Cloud

Represents

Record Types

information to the group.
• For a business account to be
a member of a relationship
group, the business must
first be related to a person
in the group.
Contact-Contact Relationship

Custom

The relationship between two
contacts.

N/A

Reciprocal Role

Custom

The complementary role implied N/A
by the relationship of an
individual to another individual
or entity. For example, Parent is
the reciprocal role for Child.

Configure Reciprocal Roles
Within a relationship, a reciprocal role is the role of one entity relative to another entity. For example, husband and wife, or caregiver
and patient. We’ve provided commonly used reciprocal role records. You can edit them to specify more granular roles for extended
families, specific types of caregivers, or various professional affiliations.
Note: A user must have access to the Contact Role record type to add or edit reciprocal roles. You can grant access in the Record
Type Settings section of the Reciprocal Role object. When you grant console users access to the record type, they can create
reciprocal roles when they’re adding a related contact.
1. In Salesforce Classic, go to the Reciprocal Roles tab. In Lightning Experience, select Reciprocal Roles in the App Launcher.
You can also add reciprocal roles in the Create Contact-Contact Relationship modal on the Household tab. In the Related Role, select
New Reciprocal Role.
2. Click New.
3. Select the Contact Role record type, and click Continue.
4. Enter the name of the role. For example, Parent.
5. Enter the name of the reciprocal role. For example, Child.
6. Save your work.

Update Roles for Account Contact Relationships
You can create more roles to represent the types of people or companies that care coordinators
can add to the Household tab.

EDITIONS

1. From Setup, go to the Object Manager.

Health Cloud is available in
Salesforce Classic and
Lightning Experience

2. Enter Account Contact Relationship in the Quick Find box. Select Fields &
Relationships under Account Contact Relationships.

Available in: Enterprise,
Performance, and
Unlimited Editions

3. Select Roles.
4. Add or remove roles as needed.

22

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

5. Save your changes.

Customize the Patient Card
You can add fields to the patient card and provide care coordinators with the information they need about a patient’s contact information,
conditions, prescriptions, appointments, and other information from their medical records.

The patient card is made up of three different components:
• The patient card navigation menu (1) that lets care coordinators navigate to the pages they need without leaving the patient card.
You can customize the items that appear in the tab navigation list on the patient card using custom settings. So you can add a new
navigation item to one of the default menu categories, or you can add a category with new child navigation options to what you
already have.
• The patient card header (2) that provides basic information on the patient as well as a thumbnail photo, if available.
The patient card header shows identification information for the patient. The following table shows the source of the information
that is displayed for each patient. Fields from the patient card header aren’t available for editing or other customizations.
Field

Source

Thumbnail photo

Chatter profile photo

Patient name

Contact record

Date of birth and age

Formula field based on fields from the contact record

Gender

Gender custom field on Contact record

23

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

• Patient contact and medical record fields (3) that you can add to the patient card. You can customize the patient card and add fields
from the source record system so that care coordinators have the information they need to manage patients. Each field displays up
to 200 characters, after which users can click Show More to expand the section and view the remaining text. There is no upper
limit to the number of fields you can add to the patient card, but we recommend no more than 15-20 fields to ensure optimal
performance.
Customize the Patient Card Navigation Menu and Patient Subtabs
Make it quick and easy for care coordinators to navigate to the pages they need without leaving the patient card. You can also specify
which subtabs open and in what order when a patient record opens in the console.
Add Fields to the Patient Card
You can edit the patient card view to add or remove information from EHR or other records.

Customize the Patient Card Navigation Menu and Patient Subtabs
Make it quick and easy for care coordinators to navigate to the pages they need without leaving
the patient card. You can also specify which subtabs open and in what order when a patient record
opens in the console.
You can also configure the tab navigation menu on the patient card to open standard and custom
pages or URLs as either primary or secondary tabs. Clicking an item in the menu opens a new tab
or subtab related to that patient’s records.
Customize the items that appear in the tab navigation list on the patient card using custom settings.
You can add a navigation item to a default menu category, or a category with new child navigation
options to what you already have. For example, create your own Visualforce page and add it to the
navigation list or you can add a URL to another frequently used page.
The Subtab Sort Order field sets the order that the related subtabs appear in the console. You can
also specify which tabs appear when the patient record opens in the console.
Note: All navigation menu elements appear in alphabetical order. Categories are listed in
alphabetical order, as are the subcategories beneath them.
1. From Setup, enter Custom Settings in the Quick Find box, then select Custom
Settings.

EDITIONS
Health Cloud is available in
Salesforce Classic and
Lightning Experience
Available in: Enterprise,
Performance, and
Unlimited Editions

USER PERMISSIONS
To customize the patient
card navigation menu:
• Manage Profiles and
Permission Sets AND
Customize Application

2. In the list of custom settings, click Manage next to the CardView Dropdown custom
settings.
3. Click New and complete the following fields:
Field

Details

Category Label

Enter the name of the custom label for the parent category that contains
child menu navigation items, for example Tab_Timeline. The category
name is just a heading and isn’t a clickable navigation link. You can use
a localized category name in this field. When a value exists for this field,
the Category Name field isn’t used.

Category Name

Name of the parent category that contains child menu navigation items.
The category name is just a heading and isn’t a clickable navigation link.

Default Subtab

When selected, the related subtab appears by default in the Health Cloud
console.

24

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

Field

Details

Name

Name of the parent category that contains child menu navigation items.
The category name is just a heading and isn’t a clickable navigation link.

Page Type

Content type of the new page. Specify VFpage or URL.
Note: Make sure to add external URLs to the console’s whitelist
so that console users can access that domain.

Subcategory Name

Name of the child category in the menu list. This text is the clickable link
that opens the page or tab.

Subcategory Label

Customized label for the name of the child category in the menu list. This
text is the clickable link that opens the page or tab. Use a custom label
to create a localized category name in this field. When a value exists for
this field, the Subcategory Name field isn’t used.

Subtab Sort Order

Indicates the order in which this tab appears in the console when it’s been
selected as a default tab.
Note: If you add a configuration record to the menu, then modify
the sort order. Since you can’t have two records with the same
assigned sort order, create a different version number for the new
record.

Tab Type

Specify the type of tab to use for this page: Primary or Subtab. A
primary tab is the main item to work on. A subtab is related to an item
on a primary tab.

URL

URL to access the page.

URL Parameter

(Optional) Add more URL parameters to the existing Visualforce page or
URL to open the new tab.

4. Click Save.
Example: The following example shows how to add a subtab entitled All Medical Records to a category named
Medical Records:
Field

Details

Name

All Medical Data.

Category Name

Medical Record

URL Parameter

Not necessary

Tab Type

Subtab

Subcategory Name

All Medical Records

25

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

Field

Details

Page Type

VFpage

Note: Make sure to add external URLs to the console’s whitelist
so that console users can access that domain.
URL

/apex/

Category Label

To use a localized or customized version of the Category Name field,
enter it here. When there is a value in this field, it’s used instead of the
value in Category Name.

Default Subtab

Enabled so that the subtab shows by default when the page loads.

Sort Order

3.0
This category displays in the third position on the menu.

Subcategory Label

To use a localized or customized version of the Subcategory Name field,
enter it here. When there is a value in this field, it’s used instead of the
value in Subcategory Name.

Whitelist Domains for Health Cloud Console
Administrators can let console users access domains outside of Salesforce. For example, you can add www.example.com to a
console’s whitelist so that console users can access that domain.

Whitelist Domains for Health Cloud Console
Administrators can let console users access domains outside of Salesforce. For example, you can add www.example.com to a
console’s whitelist so that console users can access that domain.
1. From Setup, enter Apps in the Quick Find box, then select Apps.
2. Select a console app.
3. Click Edit.
4. In Whitelist Domains, type the domains you want users to access, and separate multiple domains by commas. You don’t
need to add http:// or https:// because those are part of a URL, not a domain.
5. Click Save.

Add Fields to the Patient Card
You can edit the patient card view to add or remove information from EHR or other records.
Watch a Demo:

Add Essential Information to the Patient Card

Health Cloud delivers the patient card with the basic fields that care coordinators commonly use. You can customize the patient card
and add fields from the source record system so that care coordinators have the information necessary to make informed decisions and
provide excellent patient care.

26

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

Each field displays up to 200 characters, after which users can click More to expand the section and view the remaining text. There’s
no limit to the number of fields you can add to the patient card, but we recommend no more than 15-20 fields for optimal performance.
You can add fields from objects that come from the custom EHR tables and other objects, as well. Be sure that the objects that you’re
adding to the patient card are related to the Account object.
Tip: Check the Schema Builder in your org if you’re unsure if an object is related to the Account object.
1. From the Health Cloud - Admin Home page, select the Patient Card Configuration tab, and click New.
2. Enter the following:
Field

Description

Patient Card Configuration Name

Name of the patient card item you’re creating. This name appears
only on setup pages.

Object Name

Name of the object that contains the field to show on the patient
card. Use the exact spelling of the object name to ensure correct
results.

Field Name

Name of the field that contains the information to display on the
patient card.

Friendly Name

Text that appears as a field label on the patient card.
Note: The text in this field isn’t available for localization
using the Translation Workbench. To have this text appear
in another language, clone the configuration record and
enter the text using the language you want to display.
Then, set the Language field of the new record to that
language. The system displays the label text that matches
the user’s language setting.

27

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

Field

Description

Sort Order

Indicates the vertical order in which this field appears on the
patient card.
Note: If you clone a configuration record so that you can
localize the label, then also modify the sort order. Since
you can’t have two records with the same assigned sort
order, create a different version number for the new
record. For example, if the English record has 3 in the
Sort Order field, then assign the Spanish version
3.1.

Sort By

Enter the name of the field used to define the order in which the
results appear. For example, if you have several medication names
returned, you can sort them by the date prescribed. That way,
the most recent prescriptions appear first in the field.

Override Filter Field

If you’re creating your own filter field or adding a field to the
patient card, enter the name of your filter field.
When creating your own filter field to use instead of
IsVisibleOnPatientCard__c, enter the name of your filter field.
Make sure that the new filter field is either a Boolean or a formula
field that returns a checkbox-type value.
Note: If you’re adding a standard Salesforce field (like
Case), this field is required.

Ascending

Select to display results in ascending order. This field works with
the Sort By field.

Active

Select to activate this field and have it appear on the patient card.

Limit

Enter the maximum number of results that can appear in the
field.

Language

The setting that specifies the language of the text in the
Friendly Name field.

Language Code

The code that specifies the language of the text in the
Friendly Name field.

Patient Account Lookup

Name of the lookup to display on the patient card when multiple
lookups to Account exist. The default for this field is Account__c.
Note: To use delivered Account lookups for standard
objects like Contact or Task, you must append Id to the
lookup field name. For example, to configure a lookup
from Contact to Account, use AccountId in this field.
Similarly, for a lookup from Task to What, use WhatId.

28

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

Note: If you don’t see the Language and Language Code fields on the list view, add the fields to the page layout and
to the patient account lookup. Then, refresh the page by selecting All and clicking Go!.

Create a Custom Formula Field for the Patient Card
You can customize the information that appears on the patient card by adding a custom filter field to a specified object.

Create a Custom Formula Field for the Patient Card
You can customize the information that appears on the patient card by adding a custom filter field to a specified object.
By default, the patient card shows fields that provide basic medical and contact information for the patient. To add other items to the
patient card or to change the information that displays from the delivered fields, create a custom formula field on the object you want
to display. For example, to display medical device information, create a custom field on the EHR_Devices object with a formula that
returns the information you want to display on the patient card.
1. From Setup, enter Object in the Quick Find box, then select Objects.
2. Select the name of the custom object that holds the information you want to display on the patient card.
3. In the Custom Fields & Relationships section of the page, click New.
4. Select Formula as the data type and click Next.
5. Enter a field label that identifies the custom field.
6. Select Checkbox for the return type and click Next.
7. Create a formula that returns the results that you want to display on the patient card.
For instructions on using the Advanced Formula tab, search for Build a Formula Field in the Salesforce Help & Training.
Example: The following table shows the objects and fields you can use to add information on the patient card. When there are
multiple entries returned for an item, each value is separated by a vertical bar.
Display Name

Description

Object

Agent/Guardian/Guarantor

Name of person responsible for EHR Related Person
the patient.

IsVisibleOnPatientCard

Language

Preferred language

IsVisibleOnPatientCard

Medications

Name of current medications. EHR Medication Prescription

IsVisibleOnPatientCard

Immunization

Current or valid immunizations. EHR Immunization

IsVisibleOnPatientCard

Medical Conditions

Currently diagnosed conditions EHR Condition

IsVisibleOnPatientCard

Allergies

Known allergies or
intolerances.

IsVisibleOnPatientCard

EHR Patient

EHR AllergyIntolerance

29

Field

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

Display Name

Description

Object

Field

Last Encounter

Description and date of last
medical interaction.

EHR Encounter

IsVisibleOnPatientCard

SEE ALSO:
Salesforce Help: Building Formulas />

Override Custom Labels
The custom labels that are delivered with Health Cloud package can’t be edited, but you can override them by creating a translated
version of the label.
To override custom labels, you must enable the Translation Workbench and add English as a supported language.
1. From Setup, enter Custom Labels in the Quick Find box, then select Custom Labels.
2. Select the name of the custom label to open.
3. In the Translations related list, click New to override the existing label by creating a new translation.
4. Select the language you are translating into. Since Health Cloud is currently not localized, select English.
5. Enter the Translation Text. This text overrides the value specified in the label’s Value field.
Localize Labels in Multilingual Orgs
If you have a multilingual org, use the Translation Workbench to localize the labels in the Health Cloud console. Specify languages
you want to translate, create translations for customizations you’ve made, and override the labels in Health Cloud.
SEE ALSO:
Salesforce Help: Enable and Disable the Translation Workbench

Localize Labels in Multilingual Orgs
If you have a multilingual org, use the Translation Workbench to localize the labels in the Health
Cloud console. Specify languages you want to translate, create translations for customizations
you’ve made, and override the labels in Health Cloud.
Note: Labels that appear in the timeline, patient card, or card view menu can’t be translated
using the Translation Workbench. Instead, you add new custom labels for the values in the
language that replace the delivered English values.
Custom labels are custom text values that can be accessed from Apex classes, Visualforce pages,
or Lightning components. The values can be translated into any language Salesforce supports.
Custom labels enable developers to create multilingual applications by automatically presenting
information (for example, help text or error messages) in a user's native language.
1. To access custom labels, from Setup, enter Custom Labels in the Quick Find box,
then select Custom Labels.
2. Create a view that shows the labels that you want to localize.

30

USER PERMISSIONS
Create, edit, or delete
custom labels:
• Customize Application
Create or override a
translation:
• Manage Translation
OR
View Setup and
Configuration and be
designated as a
translator

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

This example shows a view with custom labels that include the word Patient.

3. Select the name of the custom label you want to translate.
4. In the Translations related list, click New to enter a new translation or Edit next to the language to change a translation. If you click
Delete, Salesforce confirms that you want to delete, then removes the translation from the custom label.
5. Select the Language you are translating into.
6. Enter the Translation Text. This text overrides the value specified in the label's Value field when a user's default language
is the translation language.
7. Click Save.
SEE ALSO:
Salesforce Help: Create and Edit Custom Label Translations
Add Fields to the Patient Card
Configure the Timeline View
Customize the Patient Card Navigation Menu and Patient Subtabs

Configure the Timeline View
Add or remove healthcare events from the timeline view to provide care coordinators and patients with a chronological view of healthcare
events.
On the Timeline View Configurations tab, add different events to the timeline by exposing fields on custom or standard objects. Then,
select icons to represent the data on timeline. Use filters to narrow down which events appear on the timeline and then specify which
timeline the configuration applies to. So you can show only tasks with medium to high priority instead of including tasks that are assigned
lower priorities. Or include medications on the timeline in the Health Cloud console and exclude them from the timeline that the patient
sees in the community. You can target a timeline configuration record to appear only in the Health Cloud console, only the Timeline for
Health Cloud Empower, or in both. We’ve already added a filter on tasks that appears in both the console and the community. Users can
decide to show or hide tasks based on whether they are open or closed.
In your organization-wide sharing defaults, set the Timeline View Configuration and Filter Criterion objects to Public Read/Write
in the Default External Access column. Use permission sets and profiles to give access to the fields you want to expose in the timeline.

31

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

Note: Be sure that the objects that you’re adding to the timeline are related to the Account object. Tasks can be related to the
patient account or to a case related to the patient account. Events must be related to the patient account.
1. From the Health Cloud - Admin Home page, select the Timeline View Configurations tab, and click New.
2. Enter the following:
Field

Description

Timeline View Configuration Name

Name of the timeline event. This name appears only on setup
pages.

Object Category

Name of the category of objects that this event is related to. Use
this field to create a group of events. This name appears in the
Select All Events menu in the console timeline and the filter
dropdown in the community timeline. By default, all
pre-configured objects are either Engagement Data or
Medical Data.

Friendly Name

Label that appears in the timeline for the event.
Note: The text in this field isn’t available for localization
using the Translation Workbench. To have this text appear
in another language, clone the configuration record and
enter the text using the language you want to display.
Then, set the Language field of the new record to that
language. The system displays the label text that matches
the user’s language setting.

Object Name

Name of the object that contains the field that is shown in the
timeline. To ensure correct results, use the exact spelling of the
object—for example, EhrMedicationPrescription__c.

Detail Field

Name of the field that holds the text you want to display as an
event on the timeline.
For example, to display the name of a task, use the Subject field
on the Task object. The text from the Subject field shows on the
timeline along with the icon that you select for that type of
timeline event. To display other fields from the object as hover
text, add them to the Hover Field Name field.
Note: This field isn’t used in the Timeline for Health Cloud
Empower component.
Date field that the system uses to position the event
chronologically on the correct date on the timeline.

Position Field

32

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

Field

Description

Graphical Icon

Name of the image file that represents the event on the timeline.
Upload the image file to the Health Cloud Assets folder in the
Documents tab.
Note: For images to display with the best results in the
timeline, they must be within the recommended file and
frame size. The recommended file size is up to 1 MB.
Salesforce scales the image to roughly 48 x 48 pixels, so
smaller images, and images with an aspect ratio of 1:1
(square) provide the best results.
Indicates the vertical order that the events appear when the
timeline has more than one event on the same date. If you clone
a configuration record so that you can localize the label, then
also modify the sort order. Since you can’t have two records with
the same assigned sort order, create a different version number
for the new record. For example, if the English record has 3 in
the Sort Order field, then assign the Spanish version 3.1.

Sort Order

Note: This field isn’t used in the Timeline for Health Cloud
Empower component.
Active

Select to activate this field and have it appear on the timeline.

Patient Account Lookup

Name of the lookup to display on the timeline when multiple
lookups to Account exist. The default for this field is Account__c.
Note: To use delivered Account lookups for standard
objects like Contact or Task, you must append Id to the
lookup field name. For example, to configure a lookup
from Contact to Account, use AccountId in this field.
Similarly, for a lookup from Task to What, use WhatId.

Language

The setting that specifies the language of the text in the
Friendly Name field.

Language Code

The code that specifies the language of the text in the
Friendly Name field.

Hover Field Name

Enter up to seven comma-separated field names from the object
you want to display. The values from this field appear as hover
text for an event on the timeline. For example, you can display
fields like the due date, performer name, status, and the related
problem for tasks. Make sure to use the API field name and not
the field label. Valid field types are:
• Date
• Combobox
• Number
• Picklist

33

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

Field

Description
• Text
Note: This field isn’t used in the Timeline for Health Cloud
Empower component.

Show on Load

Select to have this event appear by default on the timeline when
the page first loads.
All timeline configurations that have the Active checkbox
selected are available to appear on the timeline when they’re
selected using the events filter. But only those configuration
records with the Show on Load setting selected appear on
the timeline by default.

Filter Criterion

The name of the collection of filters that apply to this
configuration. To create the filter logic for this specific
configuration setting, use the Timeline Filter component at the
bottom of the tab.

Configuration Target

Select the timelines in which to display these fields. You can
create one configuration record for patient communities and
one for the Health Cloud console. To show the same fields in
both the Health Cloud console and the Timeline for Health Cloud
Empower component, select them both.

Note: If you don’t see a field on the tab, add it to the Timeline View Configuration object’s page layout. You may also have
to add it to the patient account lookup. Also be sure to configure visibility for each field according to your organization’s needs.
3. Click Save.
When you create a configuration record, the Timeline Filter doesn’t appear until you’ve saved the configuration.
4. To add filters, click Add Row in the Timeline Filter component.
5. In the first row, click inside the first lookup and type the name of the record to use as a filter. The field displays a dynamic list of
matching records when you start typing in the lookup field.
6. In the second lookup field, type the name of the field in that record to display.
For example, select a priority level for tasks that you want to appear in the timeline.
7. Choose a filter operator.
The operator in a filter is like the verb in a sentence. Use an operator to specify the action you want the filter to take.
8. Enter a value to either match or exclude.
The values that appear in this field are dependent of the type of field you select. For example, if you select High Priority for
tasks, a checkbox field with the value True appears.
Note: There are some filter criteria limitations to consider.
• None is not a value available in picklists.

34

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

• If you select an ID field as a criterion, make sure that you enter a valid ID. ID values are not validated.
• If you select a Date field as a criterion, make sure that you don't leave its value blank or null.
9. Add more rows, if necessary.
10. If you have multiple filter rows, you can fine-tune your criteria further. Enter a logical expression in the Filter Logic text box that
applies filter logic operators to your filters.
• You can apply the filter logic operators AND and OR. For example, the expression (1 AND 2) OR 3 finds records that match both
Filter 1 and Filter 2, or Filter 3. Filter rows that you don't specify in the expression are ignored.
• If you leave the Filter logic text box empty, the default operator AND is applied to all your filter rows.
11. Click Next.
12. Enter the name for the list.
13. Click Save.
Example: For example, to display tasks in both the console and the community, use the Task object.
Field

Description

Timeline View Configuration Name

Tasks

Active

Selected

Object Category

Engagement Data

Friendly Name

Tasks

Object Name

Task

Filter Criterion
Detail Field

Subject

Position Field

ActivityDate

Graphical Icon

timeline_icon_check_png

Sort Order

3

Show On Load

Selected

Patient Account Lookup

WhatId

Hover Field Name

Subject, ActivityDate

Configuration Target

Health Cloud Console App; Timeline For Health Cloud Empower

Upload Timeline View Icons
When you add information from custom objects or fields to the timeline view, make sure to include an icon for the timeline that lets
care coordinators understand the type of event that’s represented.

35

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

Upload Timeline View Icons
When you add information from custom objects or fields to the timeline view, make sure to include
an icon for the timeline that lets care coordinators understand the type of event that’s represented.
Note: For images to display with the best results in the timeline, they must be within the
recommended file and frame size. The recommended file size is up to 1 MB. Salesforce scales
the image to roughly 48 x 48 pixels, so smaller images, and images with an aspect ratio of
1:1 (square) provide the best results.
1. From the Health Cloud - Admin Home page, select the Documents tab, and click New.
2. On the Upload New Document page, specify a descriptive document name for the image file.
To use the file name, leave this field blank. The file name appears automatically when you
upload the file.
3. Enter a unique name to be used by the API.
4. To have the image appear in the timeline, select Externally Available Image.

EDITIONS
Health Cloud is available in
Salesforce Classic and
Lightning Experience
Available in: Enterprise,
Performance, and
Unlimited Editions

USER PERMISSIONS
To upload new documents:
• Create on documents

5. Select the Health Cloud Assets folder for the file.
6. Enter a description and keywords to use later as search criteria.
7. Select the option to upload the image file. Click Choose File, choose the file, and click Open.
8. Click Save.

Customize the Delivered Care Team Roles
The roles that people have in the healthcare world are incredibly varied. So we’ve given you the flexibility to change the standard Health
Cloud roles to ones that reflect how your organization works.
What if your organization is an extended care facility and call the people you manage residents rather than patients? Or instead of care
coordinators, you have case managers who interact with patients. It’s easy to change the text that appears throughout the app.
From Setup, enter Custom metadata in the Quick Find box, then select Custom Metadata Types, then select Health
Cloud Settings. Clone the Careplan Role Care Coordinator setting or the Careplan Role Patient setting.
Modify the Setting Value field to reflect your customized role name. Then, deactivate the original setting and make the new
record active.
Note: When you change the role settings, make sure to also update the corresponding roles in the Assigned To picklist for the
Care Plan Template Task object. When you change role names, existing tasks retain the original role names in the Assigned to field.
You can edit these tasks to change to the new name.

Use Custom Metadata Settings to Configure Health Cloud
You can add or replace fields in many of the components of Health Cloud using custom metadata.
Setting

Controls

Care Plan Record Type

Used to create and manage different types
of care plans.

36

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

Setting

Controls

Group Record Type Mapper

Used to configure a custom household or
group record type.
See GroupRecordTypeMapper in the Health
Cloud Object Reference Guide for more
information.

HcHelpTray

Reserved for internal use.

Health Cloud Settings

A generic dictionary for Health Cloud
specific app configuration key value pairs.
See Manage Health Cloud Settings for more
information.

Individual Record Type
Mapper

Used to configure a custom individual
record type.
See IndividualRecordTypeMapper

Risk Score Age Band
Continued Enrollee

Lookup table of age groups for patients who
have been enrolled in Medicare for more
than a year. For example, patients who are
between 35–44 years old and patients who
are 60–64 are in two different age bands.
This information is used in risk calculation
scoring.

Risk Score Age Band New
Enrollee

Lookup table of age groups for patients who
are newly enrolled in Medicare. For example,
patients who are between 35–44 years old
and patients who are 60–64 are in two
different age bands. This information is used
in risk calculation scoring groups.

Risk Score HCCCode

Lookup table for Hierarchical Condition
Category (HCC) codes and risk scores.

Risk Score Disease
Interaction

Lookup table with disease interaction scores.
This information is used in risk calculation
scoring.

Risk Score Medicaid
Interactions

Lookup table with disease interaction scores
for patients who are enrolled in both
Medicare and Medicaid. This information is
used in risk calculation scoring.

To change the settings, deactivate the setting in Health Cloud Settings. Then, clone the setting record keeping the Setting Name, make
your changes, and then make that record active.
1. From Setup, enter Custom metadata in the Quick Find box, then select Custom Metadata Types.

37

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

2. Click Manage Records next to Health Cloud Settings.
3. Click Edit in the row for the setting you want to override or change.
4. Deselect the Active checkbox, and then click Save.
5. Click the name of the setting you want to override.
6. Click Clone, create a settings record using the exact text found in the Setting Name field of the cloned record, and make the record
active.
Manage Health Cloud Settings
Health Cloud Settings contains a variety of key/value pairs of configuration settings for the Health Cloud application. You can
de-activate the delivered settings and create new settings to fit your business needs.
Configure Custom Record Types for Individuals or Groups
Health Cloud gives you the flexibility to configure custom individual and household (group) record types. For example, custom
record types let you add doctors as a type of individual or hospitals as a group record type. You can easily configure a custom record
type based on the default individual or group record type provided by Health Cloud.
SEE ALSO:
Customize the Delivered Care Team Roles

Manage Health Cloud Settings
Health Cloud Settings contains a variety of key/value pairs of configuration settings for the Health Cloud application. You can de-activate
the delivered settings and create new settings to fit your business needs.
Setting

Controls

Careplan_Role_Care_Coordinator

Label Care Coordinator that appears throughout the app

Careplan_Role_Patient

Label for Patient that appears throughout the app.

HcFeatureDriver

Defines whether a contact or account record appears for a patient
in the Details tab of the console.

HcHelpTray

Reserved for internal use.

HcFieldSet_AddMember

Adds an external care team member.

HcFieldSet_CandidatePatientListView

Fields that appear on the list view for candidate patients.

HcFieldSet_GoalDefaultFieldSet

Fields that appear as part of care plan goals.

HcFieldSet_ProblemDefaultFieldSet

Fields that appear as part of care plan problems.

HcFieldSet_TaskListDefaultFieldSet

Columns that appear in the patient task list.

PatientCreateFlow_default

Patient creation job flow.

PatientCreateMappingGroup_default

Patient creation data mappings.

1. From Setup, enter Custom Metadata in the Quick Find box, then select Custom Metadata Types.
2. Click Health Cloud Setting, then click Manage Health Cloud Settings.

38

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

3. Click name of the setting you want to change and click Edit.
4. Clear the Active checkbox and then click Save.
5. Navigate back to the Health Cloud Settings page, and click New, and fill out the information for your custom setting.
Make sure to use the same Setting Name as the default setting that you are overriding. For example,
Careplan_Role_Patient, if you are creating your own label for patients.
6. Select the Active checkbox to make the setting available.

Configure Custom Record Types for Individuals or Groups
Health Cloud gives you the flexibility to configure custom individual and household (group) record
types. For example, custom record types let you add doctors as a type of individual or hospitals as
a group record type. You can easily configure a custom record type based on the default individual
or group record type provided by Health Cloud.
To configure a custom individual record type, create a custom account record type using the Account
(Patient) Layout and then create a custom contact record type using the Contact (Patient) Layout.
To configure a custom household or group record type, you must first create a custom account
record type using the Account (Household) Layout.

EDITIONS
Health Cloud is available in
Salesforce Classic and
Lightning Experience
Available in: Enterprise,
Performance, and
Unlimited Editions

1. From Setup, enter custom in the Quick Find box, then select Custom Metadata Types.
2. To configure an individual record type, click Individual Record Type Mapper. To configure
a household or group record type, click Group Record Type Mapper.
3. Depending on your record type, click either Manage Individual Record Type Mappers or Manage Group Record Type Mappers.
4. Click New.
5. Complete the following information for the record type mapper.
a. Enter the Label for your custom record type mapper.
The Individual Record Type Mapper Name is filled automatically based on this label. Keep it the same as the
label.
b. For Account Record Type, enter your custom account record type name.
This name is the same as your custom record type.
c. Enter the account namespace for your custom record type’s org.
d. For Contact Record Type, enter your custom contact record type name.
e. Enter the contact namespace for your custom record type’s org.
f. Enter the Lead Record Type to be used when converting Lead records.
Leave this field blank to use the Master record type. If a master record type isn’t found, all available record types are converted
to an Individual record type.
g. Enter the lead namespace for your custom record type’s org.
6. Save your changes.

39

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

Customize Problems and Goals
You can customize problems and goals in Lightning Experience by editing the corresponding page
layouts. In Salesforce Classic, use field sets to change the delivered pages. With fields sets, you can
add custom fields or change the order of existing fields on the pages used to create problems and
goals.

EDITIONS
Health Cloud is available in
Salesforce Classic and
Lightning Experience

Note: The delivered problem and goal pages use a packaged field set, which lets you choose
the fields and the order of appearance on these pages. The delivered pages aren’t available
for edit through the page layout editor.

Available in: Enterprise,
Performance, and
Unlimited Editions

Customize the fields that show up on the pages care coordinators use to create problems and goals
for the care plan. Problems and Goals are both custom objects, and you can add custom groupings
of fields by using Salesforce field sets. A field set is a grouping of fields you create and then add to
an object.

After you create the field sets, you add them to the default field set for that object in the Custom Labels page. For example, to add fields
to the Problems page, you modify the defaultFieldSet for Problems.
1. From Setup, enter Object in the Quick Find box, then select Objects, and select either the Problem custom object or the
Goal custom object.
2. From the management settings for the appropriate object, go to Field Sets, and then click New.
3. Enter a Field Set Label.
4. Optionally, enter a name for your field set.
5. In the Where is this used? area, provide a brief description of which pages use the field set, and for what purpose. This information
helps a subscriber understand where and how an installed field set is being used, so that they can populate it with their own fields
6. Save your changes.
7. To add fields to the field set, drag the fields from the object palette and drop them into the Available for the Field
Set or the In the Field Set container. The fields in the In the Field Set container are visible by default.
Note: In the field set, you can span to fields that reference multiple objects. When you span a field into a field set that references
multiple objects, the only field you can span into is the Name object.
You can drag and drop a field from one container to the other. The vertical order of the In the Field Set list indicates the
order of how the fields render on pages.
8. To remove a field from the field set, drag the element back to the object palette, or click the
9. To make a field required, double-click the element or click the wrench icon (
Note:

icon next to the element.

) next to it and select the Required checkbox.

Indicates that the field is required and must have a value to save the record.

Customize Tasks
Customize the fields on the New Task page so that the field values reflect the kinds of tasks care coordinators most often assign, and use
rating terminology specific to your organization.
You can add to or change the values for the following picklists on the New Task page:
• Status
• Priority
• Task Type

40

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

Add Custom Task Types
Custom task types help your care coordinators create tasks that are specific to the type of patient care that they deliver. For example,
for an outpatient orthopedic surgery center, task types could include Pre-Op Lab Work or Weekly PT.
Add or Edit Task Priority Values
You can change the values that appear in the Priority field that shows the importance of a task.
Add or Edit Task Status Values
You can change the values that appear in the Status field that shows the progress or measures the completion of a task.
Customize the Task List View in the Console and Community
Use field sets to customize the task columns that appear in the Health Cloud console list view and for the fields that display in patient
communities.

Add Custom Task Types
Custom task types help your care coordinators create tasks that are specific to the type of patient
care that they deliver. For example, for an outpatient orthopedic surgery center, task types could
include Pre-Op Lab Work or Weekly PT.
Plan carefully when you create task types so that there aren’t a large number of choices in the
picklist.

EDITIONS
Health Cloud is available in
Salesforce Classic and
Lightning Experience
Available in: Enterprise,
Performance, and
Unlimited Editions

USER PERMISSIONS
To create or change custom
fields:
• Customize Application

1. From Setup, enter Activity Custom Fields in the Quick Find box.
2. Click Task Type.
3. In the Picklist Values section, click New.
4. Add one or more picklist values in the text box. Put each value on its own line
5. Select Care Plan Task so that the new values are associated with the Task Type picklist.
6. Click Save.
7. To change the order in which the values display in the picklist, click Reorder.
8. To specify a default value for the picklist, select the Default checkbox for that task type.

41

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

Add or Edit Task Priority Values
You can change the values that appear in the Priority field that shows the importance of a task.
1. From Setup, enter Task in the Quick Find box and select Task Fields.
2. In the Task Standard Fields list, click Priority.
3. To add a value to the list, click New.
4. Add one or more picklist values in the text box. Put each value on its own line
5. Select Care Plan Task so that the new values are associated with the care plan.
6. Click Save.
7. To change the order in which the values display in the picklist, click Reorder.
8. To specify a default value for the picklist, select the Default checkbox for that priority.
9. Select the value that represents the highest priority for the task.

Add or Edit Task Status Values
You can change the values that appear in the Status field that shows the progress or measures the completion of a task.
1. From Setup, enter Task in the Quick Find box and select Task Fields.
2. In the Task Standard Fields list, click Status.
3. To add a value to the list, click New.
4. Add one or more picklist values in the text box. Put each value on its own line
5. Select Care Plan Task so that the new values are associated with the care plan.
6. Click Save.
7. To change the order in which the values display in the picklist, click Reorder.
8. To specify a default value for the picklist, select the Default checkbox for that status.
9. To select a value that closes the task, select the Closed checkbox for that status.

Customize the Task List View in the Console and Community
Use field sets to customize the task columns that appear in the Health Cloud console list view and for the fields that display in patient
communities.
A field set is a grouping of fields you create and then add to an object. Health Cloud delivers two field sets that control what information
appears in the task lists. The HcCarePlanTaskFields field set controls which fields appear on tasks listed in the patient community. The
HC Task List field set controls the columns in the list view in the Care Plan tab of the console. Since these field sets are part of the Health
Cloud managed package, you have limited editing options. You can change the order of fields in the field set or remove fields. To add
fields, you must create a different field set and use it in place of the delivered field set.
1. From Setup, enter Task in the Quick Find box, then select Task Field Sets.
2. Select New.
3. Enter a Field Set Label. This label is the name presented to subscribers who install the field through a managed package.
4. Enter a name for your field set.
5. In the Where is this used? area, provide a brief description of which pages use the field set, and for what purpose. This information
helps a subscriber understand where and how an installed field set is being used, so that they can populate it with their own fields

42

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

6. Click Save.
7. To add fields to the field set, drag the fields from the object palette and drop them into the Available for the Field
Set or the In the Field Set container. The fields in the In the Field Set container are visible by default.
Note: In the field set, you can span to fields that reference multiple objects. When you span a field into a field set that references
multiple objects, you can only span to the Name object.
You can drag and drop a field from one container to the other. The vertical order of the In the Field Set list indicates the
order of how the fields render on pages.
8. To remove a field from the field set, drag the element back to the object palette, or click the
9. To make a field required, double-click the element or click the wrench icon (
Note:

icon next to the element.

) next to it and select the Required checkbox.

Indicates that the field is required and must have a value to save the record.

10. Save your work.
SEE ALSO:
Manage Health Cloud Settings

Customize the Create External Member Fields
You can customize the fields that appear on the modal that care coordinators use to create an external care team member.
Use field sets to add new fields or change the order of existing fields used to create external care team members.
1. From Setup, enter Accounts in the Quick Find box, then select Field Sets.
2. Select Edit next to the New External Member field set.
3. Drag and drop the fields you want to display on the New External member modal.
Note: You can only add fields from Account and the related primary contact. Fields from other related objects will be ignored.
4. Click Save.

Customize the Candidate Patient List View
You can customize the fields that appear on the list view that care coordinators use to convert candidate patients to patients in Health
Cloud.
Use field sets to add new fields or change the order of existing fields used in the candidate patient list view.
1. From Setup, enter Objects in the Quick Find box, then select Objects.
2. On the Custom Object page, select the Candidate Patient custom object.
3. Scroll to the Field Sets section and click Edit next to the Candidate Patient List View.
4. Drag and drop the fields you want to display on the Candidate Patients list view.
Note: The following fields must be included in the field set and should not be deleted:
• Record ID (Id)
• Name (Name__c)
• Patient Account (AccountId__c)

43

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

• Patient Account Name (AccountId__r.Name)
• Patient Account Primary Contact (AccountId__r.PrimaryContact__c)
5. Click Save.

Add Cross-Object Relationships to Customize Patient List Filter Options
Cross-object relationships control which objects and fields appear in the filter selection options when creating patient lists.
Health Cloud delivers a basic set of filters that you can use when you define a patient list. To add other custom records to the patient
list filter options, create relationships that link records with each other. When your users view records, they can also see related data.
You can define different types of relationships by creating custom relationship fields between objects. For example, to add fields related
to patient immunizations to the patient list filters, you create a relationship between Account and EhrImmunization__c.
Before creating relationships, determine which fields you want to expose in the filter and which object exposes those fields. Relationships
between objects in Health Cloud determine sharing, required fields in page layouts, and which fields are available when you create a
patient list.
Note: The Account object must be one of the two objects in your cross-object relationship.
To see a list of Health Cloud objects and fields, see the Health Cloud Object Reference Guide.
1. To create the relationship that adds a custom object to the patient list filter criteria, select the Cross Object Relationships tab.
2. Specify the details of the relationship:
Field

Description

Cross Object Relationship Name

Name that describes the relationship.

From Object

Name of the parent object. This field is a required field, and in
Health Cloud the object must be Accounts.

To Object

Name of the child object to include as an option in patient list
filter criteria.

Relationship

Optionally, the name of the custom relationship.

Reverse Relationship

Optionally, the name of the object that is the originating or “from”
object.

The following table shows some of the cross object relationships that are pre-configured with Health Cloud. You can use this table as a
reference to create other cross-object relationships and make more records and fields available when creating patient lists.
Cross Object Relationship Name

From Object To Object

AccountToCondition

Account

EhrCondition__c

AccountToContact

Account

Contact

AccountToEhrMedicationPrescriptions

Account

EhrMedicationPrescription__c

AcountToEncounter

Account

EhrEncounter__c

AccountToObservation

Account

EhrObservation__c

44

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

Dashboards Give Your Users Access to the Big Picture
Set up your reporting environment, use the report builder to create a basic report, and organize your reports to make it easy to find
information. You can also find great dashboard apps on the Salesforce AppExchange and add them to the console.
People love the summarized views they get with dashboards, and you can help care coordinators optimize their workload with dashboards.
A dashboard shows data from source reports as visual components, which can be charts, gauges, tables, metrics, or Visualforce pages.
The components provide a snapshot of key metrics and performance indicators for your organization. Each dashboard can have up to
20 components.
You can start with a standard report and customize it to your needs. Users can report on any data they have read or read/write access
to.
For a fun and engaging learning experience, check out the Reports & Dashboards module in the Trailhead Admin Beginner trail.
To save you time, there are many apps available on the AppExchange that you can download and customize. The following sample
dashboard was created using the Salesforce Labs Service & Support Dashboards. Search the AppExchange to find the best app for your
needs.

Once you create your dashboard, remember to add it to the console so that care coordinators can use the tab switcher to access the
dashboard. From Setup, enter Apps in the Quick Find box, then select Apps. Select the Health Cloud app you want to customize
and then add it as a navigation tab item.

Let Care Coordinators Create Concurrent Care Plans for a Patient
When multiple care plans are enabled in your org, care coordinators can create one or more care plans per patient allowing more focused,
manageable care components.

45

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

When enabled, all care plans for a patient appear in a condensed view within the console, allowing easy access to the underlying
problems, goals, and tasks. The patient card menu (1) provides easy access to manage any open care plan associated with the patient.
In the All Care Plans view, care coordinators can see and manage every detail of an individual care plan (2). It’s easy to expand an individual
care plan and see its details or open a care plan and work on it in its own tab (3).
Initially, only the patient’s primary care plan appears in the All Care Plans view. (You can determine the primary care plan by viewing the
value in the Care Plan field on the patient’s Account record.) As care plans are added for the patient, they appear in the order in which
they were created with the newest care plan appearing first. You can create custom care plan record types to give care coordinators
flexibility in tracking and managing their patients by using different types of care plans.
A primary care plan is created for every patient during the conversion process and added to the patient account. The Care Plan field on
Account is automatically populated at the time of initial conversion, but you can add a different care plan in the future. You can set up
a different process for updating that field, and create workflows for managing multiple open and closed care plans.
Enable the Ability to Create Concurrent Care Plans
Give care coordinators the ability to create one or more care plans per patient and organize a patient’s care into focused, manageable
components. Before care coordinators can create multiple care plans, you must enable the option in your org.
Create Multiple Care Plan Record Types
Create custom care plan record types to give care coordinators flexibility in tracking and managing their patients by using different
types of care plans.

Enable the Ability to Create Concurrent Care Plans
Give care coordinators the ability to create one or more care plans per patient and organize a patient’s care into focused, manageable
components. Before care coordinators can create multiple care plans, you must enable the option in your org.
Note: This option is enabled by default in new orgs. You can disable the setting to allow only a single care plan per patient.
1. From Setup, enter Custom Settings in the Quick Find box, then select Custom Settings.
2. In the list of custom settings, click Manage next to the Health Cloud Feature Toggles custom settings.

46

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

3. Click Edit next to Multiple Care Plans.
4. Select the Enabled checkbox.
5. Click Save.

Create Multiple Care Plan Record Types
Create custom care plan record types to give care coordinators flexibility in tracking and managing their patients by using different types
of care plans.
Health Cloud comes with a default care plan that’s ready to use. But care coordinators can manage patients that have vastly different
needs and concerns. Using custom metadata, you can create many types of care plans that care coordinators can apply to their patients
and provide customized care.
Note: Make sure to use record types that are associated with a care plan record when creating custom care plans. Record types
based on standard case records aren't supported for care plans.
To use multiple care plan record types, existing orgs with cloned permission sets must add Read and Edit permissions to the
Care_Plan_Record_Type_Name and Care_Plan_Record_Type_Namespace fields on the Lead object. Users without
permissions on these fields can access the default care plan record type only.
1. From Setup, enter custom in the Quick Find box, then select Custom Metadata Types.
2. Click Manage Records next to Care Plan Record Type.
3. Click New.
4. Complete the following fields.
Field

Description

Label

The name of care plan record type.

Care Plan Record Type
Name

The unique name used by the API and managed packages.

Record Type Namespace

(Optional). If your org has a namespace, enter it here.

Case Record Type Name

The name of the type of case associated with the care plan record type.

Active

Select this field so that the care plan record type is available in Health Cloud.

Default

Select to make this record a default record type. You can have more than one active default
care plan record type. When there are multiple care plan record types, their first letters are
compared. If they differ, then the label whose first letter comes earlier in the alphabet appears
as the default in the picklist.
Note: If a default hasn’t been specified or the user can’t access the record type, then
the patient is converted using the delivered default record type.

You can use the Lead to Patient API to convert leads to patients. Specify a care plan record type name and namespace in the Lead
custom fields that matches an active record type name and namespace. If there the fields don’t match or the current user doesn’t
have access to that record type, the default record type is used. If a default hasn’t been specified or the user can’t access the record
type, then the lead is converted using the delivered default record type.

47

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

Use Assessments to Gather Patient Information
Improve the quality of patient care by gathering information that helps to manage your patients more efficiently. Whether it’s a pre-surgery
assessment or a patient feedback survey, you have the information you need within the patient’s care plan.
Note: We provide Surveys to selected customers through a pilot program that requires agreement to specific terms and conditions.
The Surveys feature is subject to change and isn’t generally available unless or until Salesforce announces its general availability
in documentation or in press releases or public statements. We can’t guarantee general availability within any particular time frame
or at all. Make your purchase decisions only on the basis of generally available products and features.
With Surveys, you can create beautiful, easy-to-use forms for collecting feedback and data from your users or customers. You can
customize survey questions and answers in a simple editor. You can add various types of questions to gather the exact data you need.
View the surveys that are available to send to patients on the Assessments tab of the Health Cloud console. You can also find completed
surveys for patients and drill into to see their answers.
From within each patient’s care plan, see the list of surveys that are available to send to that patient. With a simple click, the email
invitation is on its way to the patient. When the patient clicks the survey link within the email, they can log in to the community and
complete the survey.
To see the survey responses, open the survey from Sent to Patient tab. The Sent to Patient tab lists all the surveys that have been sent
to that patient. Easily view the date the survey was sent, whether it’s been completed, its status, and the version of the survey you’re
viewing.
Enable Surveys
Enable Surveys so your care coordinators can create surveys and send them to patients and other members of the care team.
Add Survey Objects to Health Cloud Permission Sets
Make sure to add access to the survey-related objects for every permission set that interacts with Health Cloud assessments.
Configure Email Invitations for Surveys and Assessments (Optional)
Create a Survey Email Branding configuration to customize the email that patients receive when care coordinators invite them to
take a survey or assessment.
Update Sharing Settings for Surveys
Enable Surveys so your care coordinators can create surveys and send them to patients and other members of the care team.
Enable Surveys
Enable Surveys so your care coordinators can create surveys and send them to patients and other members of the care team.
Add Survey Objects to Health Cloud Permission Sets
Make sure to add access to the survey-related objects for every permission set that interacts with Health Cloud assessments.
Configure Email Invitations for Surveys and Assessments (Optional)
Create a Survey Email Branding configuration to customize the email that patients receive when care coordinators invite them to
take a survey or assessment.
Update Sharing Settings for Surveys
Enable Surveys so your care coordinators can create surveys and send them to patients and other members of the care team.

Enable Surveys
Enable Surveys so your care coordinators can create surveys and send them to patients and other members of the care team.
1. From Setup, enter Surveys in the Quick Find box.
2. Click Survey, then Survey Settings.

48

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

3. Enable Surveys.

Add Survey Objects to Health Cloud Permission Sets
Make sure to add access to the survey-related objects for every permission set that interacts with
Health Cloud assessments.

EDITIONS

To find the list of delivered permission sets, enter Permission Sets in the Quick Find
box, then select Permission Sets.

Health Cloud is available in
Salesforce Classic and
Lightning Experience

In Object Settings, ensure that the following permissions apply to any permission set that requires
access to the Assessments tab.
Object

Permission

Surveys

Read

Survey Invitations

Read, Create, Edit, Delete

Survey Responses

No Access

Available in: Enterprise,
Performance, and
Unlimited Editions

Configure Email Invitations for Surveys and Assessments (Optional)
Create a Survey Email Branding configuration to customize the email that patients receive when care coordinators invite them to take
a survey or assessment.
1. From Setup, enter Survey Email Branding in the Quick Find box.
2. Click Survey Email Branding, then New.
3. Define the branding settings.
Setting

Description

Name

A unique name for the Survey Email Branding object.

Label

Label for the branding setting.

Email Subject

The subject line of the email.

Email Body

The body text of the email.

Email From Address

The email address that appears in the From field of the email.

Header Image for Email

The image that appears in the email’s header.
Note: To add a header or footer image, either select an existing asset file or add an
asset to Salesforce.

Footer Image for Email

The image that appears in the email’s footer.
Note: To add a header or footer image, either select an existing asset file or add an
asset to Salesforce.

4. Save your work.

49

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

Update Sharing Settings for Surveys
Enable Surveys so your care coordinators can create surveys and send them to patients and other members of the care team.
1. From Setup, enter Sharing Settings in the Quick Find box.
2. Click Sharing Settings, then Edit.
3. Update the following sharing settings.
Object

Default Internal Access

Why?

Survey

Public Read Only

This lets any participant view your survey.
That way, anyone who has a link to the
survey can access it without having to ask
for permission from a Salesforce admin.

Survey Invitation

Public Read Only

This lets any participant view a survey
invitation. That way, anyone who receives
a survey invitation can access it without
having to ask for permission from a
Salesforce admin.

Survey Response

Private

This makes all survey responses private;
only the participant and the person who
created the survey invitation can see
participants’ responses. That way, only the
person in charge of sending the survey and
reviewing responses has access to sensitive
data from participants.

The Assessments Tab
The Assessments tab lets you send surveys to your patients, check on a survey’s status, and view completed surveys.

You can find patient assessments by selecting Assessments from the patient card menu (1) or by selecting the Assessments tab for a
patient (2).

50

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

The Assessments tab shows the surveys that you’ve sent to a patient (3) in addition to surveys that are available to send to the patient
(4).

The Available to Send tab shows the list of surveys that you can send to a patient. With a click, the email invitation is on its way to the
patient. Click Send to Patient in  to have the assessment sent to the patient as an email message in one of the
communities to which the patient belongs. When the patient clicks the assessment link within the email, they can log in to the community
and complete the assessment.
The Sent to Patient tab lists all the assessments that have been sent to that patient. Easily view the date the survey was sent, whether
it’s been completed, its status, and the version of the survey you’re viewing. To see the patient’s responses, open the assessment from
Sent to Patient tab.

51

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

The Survey Response page shows a list of questions and their responses. You can drill into the question to see the question name, and
details like which version of the survey the questions is associated with.

The Related subtab of the Survey Response tab shows the questions associated with the assessment and the selected answers or choices
the patient made.

The Details tab shows other important details such as the submitter’s name, the survey invitation link, and the status, completion date,
and version of the survey.

52

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

Create a Care Plan Template
You can create a care plan template within Salesforce by adding problems, goals, and tasks to a
care plan template.

EDITIONS

To create a care plan template along with its associated problems, goals, and tasks, use the Care
Plan Templates tab. Make sure to add the profiles of any users who create templates and add the
tab to the Health Cloud custom apps. You can include any additional fields you need to the Care
Plan Template object’s page layout.

Health Cloud is available in
Salesforce Classic and
Lightning Experience

1. From the Health Cloud - Admin Home page, select the Care Plan Templates tab, and click New.
2. Enter the following:
Field

Description

Care Plan Template Name

Name of the care plan template.

Description

Provide a brief description of the template
and its intended use.

Active

Select to activate this care plan template and
make it available to apply to a patient.

Cloned From

Name of the original template that this
template was cloned or copied from.

3. Click Save. The Care Plan Template Problems tab opens.
4. In the Care Plan Template Problems tab, click New Care Plan Template Problem.

53

Available in: Enterprise,
Performance, and
Unlimited Editions

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

5. Enter the following:
Field

Description

Care Plan Problem Name

Name of the problem for the care plan template.

Care Plan Template

Name of the care plan template this problem is related to.

Description

Provide a brief description of the problem that is being addressed.

Active

Select to activate this care plan problem and make it available
to apply to a patient.

Sort Order

Indicates the vertical order in which this problem appears on the
care plan template.

Priority

The priority of the care plan problem such as low, normal, or
high.

6. Click Save to open the Care Plan Template Goal tab and create a goal. Click Save & New to create more problems.
7. In the Care Plan Template Goals tab, click New Care Plan Template Goal.
8. Enter the following:
Field

Description

Care Plan Template Goal Name

Name of the goal associated with the care plan template.

Description

Provide a brief description of the template and its intended use.

Active

Select to activate this care plan goal and make it available to
apply to a patient.

Sort Order

Indicates the vertical order in which this goal appears within the
list of goals.

Priority

The priority of the care plan goal such as low, normal, or high.

Template Problem

Name of the template problem that this goal is related to.

9. Click Save to open the Care Plan Template Task tab and create a task. Click Save & New to create more goals.
10. In the Care Plan Template Tasks tab, click New Care Plan Template Task.
11. Enter the following:
Field

Description

Care Plan Template Task Name

Name of the task associated with care plan template.

Subject

The subject or name of the task.

Active

Select to activate this care plan task and make it available to apply
to a patient.

54

Salesforce Health Cloud Implementation Guide

Customize Health Cloud

Field

Description

Assigned To

Name of the person who’s assigned to the task.

Care Plan Template Goal

Name of the template goal that this task is related to.

Priority

The priority of the care plan task such as low, normal, or high.

Description

A description of the task.

Sort Order

Indicates the order in which tasks are sorted in the list of tasks.

Status

The status of the care plan task such as in progress, complete, or
new.

Offset

The number of days to add as an offset date. Tasks that have an
offset date add the assigned number of days to the task start
date. For example, if the care plan start date is December 9 and
a task offset is +7 days, the task’s due date is December 16.

Use Data Loader to Import Care Plan Templates
Use Data Loader to make import existing care plan templates into Salesforce and make them
available to care coordinators.
Data Loader is a client application for the bulk import or export of data. Use it to insert, update,
delete, or export Salesforce records.
When importing data, Data Loader reads, extracts, and loads data from comma-separated values
(CSV) files or from a database connection. When exporting data, it outputs CSV files.

EDITIONS
Available in: Enterprise,
Performance, Unlimited,
and Developer Editions

To import existing care plan templates, create a CSV file for each of the target objects in a care plan
template: care plan template, care plan problems, care plan goals, and care plan tasks. Each of the
child CSV files must include the record type ID of the parent object. Make sure to include all required
fields in the CSV file for each object. For a list of the fields you must include, see Create a Care Plan
Template.

USER PERMISSIONS

Import the CSV files in the following sequence.

To use Data Loader:
• API Enabled

1. Care plan template

To access the page to
download Data Loader:
• Modify All Data

AND

2. Care plan problems
3. Care plan goals
4. Care plan tasks
Check Considerations for Installing Data Loader for system requirements and other prerequisites
to using Data Loader.
1. From Setup, enter Data Loader in the Quick Find box, then select Data Loader.
2. Download and configure Data Loader for the correct version of your operating system.
For more information, see Configure Data Loader.
3. Open the Data Loader and click Insert.

55

The appropriate user
permission for the
operation you are doing,
for example, Create on
accounts to insert new
accounts

Salesforce Health Cloud Implementation Guide

Customize the Health Cloud Apps

4. Enter your Salesforce username and password. Click Log in. After your login completes successfully, click Next. (Until you log out
or close the program, you are not asked to log in again.)
5. Select name of the object to receive the imported data. If the object name does not display in the default list, check Show all
objects to see a complete list of the objects that you can access.
6. Click Browse... and select the CSV file that contains the template information that you’re importing.
7. Click Next.
After the object and CSV file are initialized, click OK.
8. Define how the columns in your CSV file map to Salesforce fields. Click Choose an Existing Map to select an existing field mapping,
or click Create or Edit a Map to create a map or modify an existing map. For more details and an example of usage, see Define Data
Loader Field Mappings.
9. Click Next.
10. For every operation, the Data Loader generates two unique CSV log files; one file name starts with “success,” while the other starts
with “error.” Click Browse... and specify a directory for these files.
11. To perform the operation, click Finish, and then click Yes to confirm.
12. As the operation proceeds, a progress information window reports the status of the data movement.
13. After the operation completes, a confirmation window summarizes your results. To view the success file, click View Successes, and
click View Errors to open your errors file, or click OK to close.

Customize the Health Cloud Apps
You can change some of the properties of the Health Cloud Apps in your organization. For example,
you can add the Knowledge widget so that care coordinators can see articles and protocols from
the console footer. You can also do things like add your company’s logo, change the color of page
elements, and enable keyboard shortcuts in the Health Cloud console.
Note: Make sure to assign the Health Cloud - Admin app to the user profile of the Health
Cloud admin.
1. From Setup, enter Apps in the Quick Find box, then select Apps.
2. Click Edit next to the app you want to modify.
Select Health Cloud - Admin, Health Cloud - Worklist, or Health
Cloud - Console.
Note: The only modification that the Health Cloud - Admin app requires is to select the
tabs you want to display as an admin.
The Today page is to be used in the Health Cloud - Console app only. Adding it to the
Health Cloud - Worklist app causes the Today page to display incorrectly.

EDITIONS
Health Cloud is available in
Salesforce Classic and
Lightning Experience
Available in: Enterprise,
Performance, and
Unlimited Editions

USER PERMISSIONS
To view apps:
• View Setup and
Configuration
To manage apps:
• Customize Application

3. Specify a label for the app. The label can have a maximum of 40 characters, including spaces.
This label is the app’s name in the app menu.
4. Optionally, specify a custom logo for the app. Click Insert an image and choose an image file from the document library.
Consider these requirements when choosing a custom app logo for a Classic app from the document library:
• The image must be in GIF or JPEG format and less than 20 KB.
• If the image is larger than 300 pixels wide by 55 pixels high, then it is scaled to fit.

56

Salesforce Health Cloud Implementation Guide

Show Detailed Error Messages

• For the best on-screen display, we recommend that you use an image with a transparent background.
• The Externally Available checkbox must be selected on the document’s properties so that users can view the image.
5. Optionally, to change the color of the app’s page elements, enter the hex code beginning with #.

6. Ensure that Patients, Candidate Patients, and Today are selected as navigation tabs and that they’re configured to
display as primary tabs in the Choose How Records Display selection.
If you create your own custom apps, like a Dashboards tab, select it to display in the Health Cloud app and configure how it displays
in the console. Also, if you’re using the Einstein Analytics for Health Cloud: Risk Scoring App, add the related tabs to the Health Cloud
app. That way, each user profile can see the tabs by default.
7. Optionally, select how the list is placed in the console.
8. In Choose Console Components, add Knowledge One to Selected Items.
When the Knowledge One widget is enabled, care coordinators can access articles and protocols from the console footer.
9. In Align Custom Console Component, choose whether the component appears in the footer’s right or left side.
10. To let care coordinators perform actions using key combinations instead of the mouse, click the Customize Keyboard
Shortcuts.
11. Make sure that Save User Sessions, Enable Multi-Monitor Components, Pin Tabs, and Responsive
Lists are all selected.
12. Select the Visible option for every profile that needs access to the app.
13. Select the Default box to set the app as that profile’s default app.
14. Click Save.

Show Detailed Error Messages
Configure the Industries Application Config custom setting to display detailed error messages so you can debug access errors quickly
when setting up user profiles.
1. From Setup, enter Custom Settings in the Quick Find box, then select Custom Settings.
2. Click Industries Application Config.
3. Click Manage and then click Edit.
4. Select Show Detailed Error Messages.
5. Save your changes.

57

Salesforce Health Cloud Implementation Guide

Enable Users to Import Leads as Patients

A detailed error message includes information about the access type, fields, and object.

Enable Users to Import Leads as Patients
Your company can use existing Salesforce Lead records to create the Patient records that are used in Health Cloud.
Note: As a best practice, we recommended that customers use the Leads object and its associated patient conversion in place
of the Candidate Patients object. If you’re using Candidate Patients, we recommend changing your processes to use Leads. That
way, you can benefit from ongoing enhancements to Leads that aren’t planned to be extended to Candidate Patients.
You can either install the HealthCloudExtensions unmanaged package to install the conversion process or you can create your own
conversion process. Either way, make sure to add the Convert to Patient button to the Leads list view so that care coordinators
can convert lead records to patient records. We also recommend removing the Convert button from the standard Lead Detail section
of the Lead page layout.
Install the Health Cloud Unmanaged Package Extension (Optional)
The unmanaged extension package delivers the process that lets care coordinators convert Lead records into Patient records.
Map Your Custom Lead Fields
Get the most out of records created from leads when you map your custom lead fields to the fields of the patient record.
Manage the Conversion of Lead Record Types
When you convert lead records, use the Individual Record Type Mapper to specify which record types are converted to patients and
which are converted to other record types.
Customize the Leads List View for Patient Conversion
Add the Convert to Patient button to the Leads list view so that care coordinators can convert lead records to patients in
Health Cloud.
Use Process Builder to Convert Leads to Patients
Enable care coordinators to convert leads to patient records within Health Cloud by setting up a simple conversion process in Process
Builder.
SEE ALSO:
Install the Health Cloud Unmanaged Package Extension (Optional)

Install the Health Cloud Unmanaged Package Extension (Optional)
The unmanaged extension package delivers the process that lets care coordinators convert Lead records into Patient records.
After you’ve installed the managed package, install the unmanaged package to enable the process that care coordinators use to convert
Lead records to Patient records. If you don’t want to install the package, you can always create a conversion process in Process Builder.
1. Paste the following URL for the package into your browser navigation bar: http://industries.force.com/healthcloudextension.
2. Press Enter.
3. Enter your Salesforce password.
4. Select Install.
If it takes a while, you can select Done and move on to do something else while installation finishes. Check your email for confirmation
that installation was successful.
5. Verify installation of the unmanaged package.

58

Salesforce Health Cloud Implementation Guide

Enable Users to Import Leads as Patients

a. From Setup, enter Installed Packages in the Quick Find box, then select Installed Packages.
b. Look for HealthCloudExtensions.

Map Your Custom Lead Fields
Get the most out of records created from leads when you map your custom lead fields to the fields of the patient record.
Important: Health Cloud automatically handles the default mappings for delivered custom fields on Lead records. Those field
mappings support duplicate record checking during conversion. Altering the settings for the following delivered fields can cause
unexpected results during the conversion process.
• Birth Date
• Care Coordinator Contact
• Care Coordinator User
• Created from Lead
• Current Generator(s)
• IsMarkedForPatientConversion
• MedicalRecordNumber
• Number of Locations
• Primary
• Product Interest
• SIC Code
• Source System
• Source System ID
If you have your own custom fields on leads, you can map them to fields in the other records and make them available in Health Cloud.
1. From the object management settings for leads, go to the fields section, then click Map Lead Fields.
2. For each custom lead field, choose the field into which you want the information inserted when you convert a lead.
3. Save your work.

Manage the Conversion of Lead Record Types
When you convert lead records, use the Individual Record Type Mapper to specify which record types are converted to patients and
which are converted to other record types.
During lead conversion, Health Cloud automatically maps all lead record types to the Individual account record type and the Individual
contact record type. But if your company has lead record types that are used for other purposes, you can ensure that those leads convert
to your specified record types.
For example, a company uses two Lead record types: Patient, and Unaffiliated Provider. They want to convert Patient Lead record types
to Individual (Patients) account type records, and Unaffiliated Provider record types to another record type. Using the Individual Record
Type Mapper, they create two mapping records. The Patient mapping record specifies IndustriesIndividual as the Account
and Contact record types and the Lead1 mapping specifies IndustriesUnaffiliatedProvider for Account and Contact
record types.
The default Individual Record Type Mapper record only allows editing of the Lead Record Type and Record Type
Namespace (Lead) fields. To create a mapping record for additional record type, clone an existing record and make your changes.

59

Salesforce Health Cloud Implementation Guide

Enable Users to Import Leads as Patients

Note: If you don’t see the Lead Record Type and Record Type Namespace (Lead) fields on the page, add
them to the Individual Record Type Mapper page layout.
1. From Setup, enter custom in the Quick Find box, then select Custom Metadata Types.
2. Click Manage Records next to Individual Record Type Mapper.
3. Click Edit next to Individual.
4. Complete the Lead Record Type and Record Type Namespace (Lead) fields with the record type you’re mapping
to.
Note: Leave this field blank to use any record type. All available record types are converted to an Individual record type unless
there is another mapping specified.

SEE ALSO:
Configure Custom Record Types for Individuals or Groups

Customize the Leads List View for Patient Conversion
Add the Convert to Patient button to the Leads list view so that care coordinators can convert lead records to patients in
Health Cloud.
1. From Setup, enter Leads in the Quick Find box, then select Search Layouts.
2. Select Edit next to Leads List View.
3. Accept the default settings in the Standard Buttons section.
4. In the Custom Buttons section, select and click the right arrow to add the Convert to Patient button.
5. Click Save.

Use Process Builder to Convert Leads to Patients
Enable care coordinators to convert leads to patient records within Health Cloud by setting up a
simple conversion process in Process Builder.

USER PERMISSIONS

1. From Setup, enter Process Builder in the Quick Find box, select Process Builder,
and then click New.

To create, edit, or view
processes:
• Manage Flow

You can also modify an existing active process by cloning a new inactive copy of it. The copy
can be a new process or a new version of the current process.

AND
View All Data

2. Fill out these fields that define your process.
Field

Description

Process
Name

The name for your process, such as Lead to Patient.

API Name

The name that’s used by the API and managed packages.

This name appears in the process management page, so consider naming
your process so that you can differentiate it from other processes.

This name must be unique across all processes and flows. (In flows, this field
is Unique Name.) The name must begin with a letter and use only

60

Salesforce Health Cloud Implementation Guide

Field

Enable Users to Import Leads as Patients

Description
alphanumeric characters and underscores. It can’t include spaces, end with an underscore, or have two
consecutive underscores.
After it’s saved, API Name can’t be changed for the process.

Description

Optional. A description for your process.
The description also appears in the process management page. It’s intended to help you differentiate
between processes, such as to understand what a process does.

The process
starts when

Select the option to start this process when A record changes.

3. Click Save.
4. In the new process, associate the process with an object, and specify when to start the process.
a. Click Add Object and type Lead, then select the Lead object.
b. In the Start the process field, select when a record is created or edited.
5. Click Save.
6. Next, define the criteria that must be true before the process can execute the associated actions.
a. Click Add Criteria.
b. Type Not Converted in the Criteria Name field.
c. Select Conditions are met as the criteria to for executing the action.
d. Set the following conditions:
Field

Operator

Type

Value

IsConverted

Equals

Boolean

False

IsMarkedForPatientConversion Equals

Boolean

True

e. For Conditions, select All of the conditions are met (AND).
f. Click Save.

61

Salesforce Health Cloud Implementation Guide

Enable Users to Import Leads as Patients

7. Next, define the actions that are executed when the criteria are met.
a. Click Add Action.
b. Select Apex in the Action Type field.
c. In the Action Name field, type Lead to Individual.
d. Select the Lead to Individual Apex class.
e. In the Set Apex Variables field, select the following options.
Field

Type

Value

leadIds

Reference

Lead ID

f. Repeat the previous steps and create another Apex action type named Create Care Plan and associate it with the Create
Care Plan and Care Team Apex class.
In the Set Apex Variables field, select the following.
Field

Type

Value

leadIds

Reference

Lead ID

g. Click Save.

62

Salesforce Health Cloud Implementation Guide

Migrate More Data with the Patient Creation Job Flow

8. Click Activate to begin using the process. Salesforce doesn’t start using a process to evaluate records as they’re created or edited
until you activate it.

Migrate More Data with the Patient Creation Job Flow
When patients are first imported into Health Cloud, the information required to identify and represent those patients is created. Historical
medical information associated with patients is not imported into Health Cloud by default; however, you can choose to map more
historical information, as needed. You can implement a custom integration to import historical medical records from the EHR system
and append it to the default patient creation job flow.

Patient Creation Job Flow in Health Cloud
Each patient is initially represented in Health Cloud as a candidate for services that are managed in Health Cloud. As a result, each patient
starts with a CandidatePatient__c record. When the candidate patient is converted, the patient creation process creates corresponding
objects in Salesforce:
• An account and contact representing a patient
• A case representing a care plan
• A care team (case team) linked to the care plan coordinator user and the patient contact
The data copied to the Salesforce objects is based on mapping of fields between CandidatePatient__c and the appropriate Salesforce
objects.
The candidate patient record (CandidatePatient__c) is a cross-reference between the representation of a patient in the EHR system and
in Health Cloud. The records are linked through the medical record number, which is represented in Salesforce by the Medical
Record Number field. Salesforce uses the MedicalRecordNumber__c and SourceSystem__c fields to check for duplicate
patient records during the patient creation process. You can create a validation rule to verify that all candidate patient records have
values in these fields before converting patient records.

63

Salesforce Health Cloud Implementation Guide

Migrate More Data with the Patient Creation Job Flow

The following diagram shows the patient creation job flow. This flow consists of two jobs that perform the steps that occur when a
candidate patient record is converted. The third job (Invoke Patient EHR Migration) is a custom integration that you can implement to
migrate more data for that patient into Health Cloud.

Extend or Override the Default Patient Creation Job Flow
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.
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. The following list shows examples of
useful data migrations after a candidate patient has been converted in Health Cloud.
• Import medical records for a patient from the EHR system, such as:
– The full patient record

64

Salesforce Health Cloud Implementation Guide

Migrate More Data with the Patient Creation Job Flow

– 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
Note: EHR systems can update only the records they create. If records were created in an external system and were migrated,
they are viewable, but not editable in the current system.

Create a Custom Apex Class for the Patient Creation Job Flow
Create a custom Apex class that extends a base class and implements an interface from the Health Cloud package. The custom class
overrides the methods in the base class and the interface.
Customize the Patient Conversion Process
Patient creation includes two processes: a job flow that creates the patients and then a mapping group that maps data from the
Candidate Patient object to other patient objects.

Create a Custom Apex Class for the Patient Creation Job Flow
Create a custom Apex class that extends a base class and implements an interface from the Health Cloud package. The custom class
overrides the methods in the base class and the interface.
Your Apex class extends the HealthCloudGA.MoiJobFlowFactory.MoiJobBase base class and implements the
HealthCloudGA.MoiJobFlowFactory.MoiIJob interface from the Health Cloud package. Your class signature looks as
follows:
public with sharing class InvokePatientDataMigrate
extends HealthCloudGA.MoiJobFlowFactory.MoiJobBase
implements HealthCloudGA.MoiJobFlowFactory.MoiIJob { }

Your class overrides the following methods, which are in the base class.
boolean processJob(HealthCloudGA.MoiJobFlowFactory.MoiIJobContext flowCtxts)
Override this method to implement the logic of your data migration job that is part of the patient creation flow. In this method, you
call another method to make a callout to the external EHR system to get more medical records for the patient.
The patient creation job flow runs all the jobs as a single Apex transaction. Partial data changes aren’t saved if an error occurs because
all changes are rolled back in that transaction. Any callouts must be invoked from a future method so that the data from the first
two jobs is saved even if the callout fails. Future methods are executed asynchronously, in the background. For example, this method
signature represents the callout utility method in our sample.
@Future(callout=true)
private static void invokeIntegration(String jsonPatientIds)

65

Salesforce Health Cloud Implementation Guide

Migrate More Data with the Patient Creation Job Flow

The type of the parameter passed to the processJob() method is the
HealthCloudGA.MoiJobFlowFactory.MoiIJobContext class, installed from the Health Cloud package. The patient
creation job flow uses this context object to pass information about the created objects to the next job. The jobs for creating a patient
populate this context object with the account and contact. Next, the job for creating the care plan accesses the objects in the context
to link the case (care plan record type) to CaseTeam members. You can use the objects in the context parameter to find out which
objects have been created in Health Cloud and link them to the EHR system. The objects you can access from the flowCtxts
parameter are:
• Account
• Contact
• CandidatePatient__c
• Case (CarePlan record type)
You can obtain these objects by calling getContextData() on the flowCtxts parameter. The getContextData()
method returns a list of maps. Each map corresponds to the context of one patient and contains the objects related to that patient.
The map is keyed by the name of the object. For example, this snippet shows how to get the CandidatePatient__c object from a
returned map object:
for (Map flowCtxt : flowCtxts.getContextData()) {
HealthCloudGA__CandidatePatient__c candidatePatient =
(HealthCloudGA__CandidatePatient__c)flowCtxt.get('CandidatePatient__c'); }

HealthCloudGA.MoiJobFlowFactory.MoiIErrorHandler getErrorHandler()
Override this method to add error handling logic when an exception is thrown from processJob(). This method returns an
instance of a class that performs error handling. The class performing the error handling must implement the
HealthCloudGA.MoiJobFlowFactory.MoiIErrorHandler interface and override its method:
public void handleError(HealthCloudGA.MoiJobFlowFactory.MoiIJobContext context, Exception
e)

We’ve provided a sample Apex class that you can copy and modify to suit your needs. The implementation of the callout in the
invokeIntegration helper method is not provided and is left for you to provide. Details of how to communicate with the service
endpoint and fetch data differs based on what you want to accomplish. For information about how to make callouts from Apex, see
Invoking Callouts Using Apex in the Lightning Platform Apex Code Developer's Guide.
You can create an Apex class by using various tools. This walkthrough uses the Developer Console.
1. From Setup, click Your Name and then click Developer Console to open the Developer Console.
2. Click File > New > Apex Class.
3. Enter InvokePatientDataMigrate for the class name, and then press OK.
4. Delete the auto-generated content and paste the following sample.
public with sharing class InvokePatientDataMigrate extends
HealthCloudGA.MoiJobFlowFactory.MoiJobBase
implements HealthCloudGA.MoiJobFlowFactory.MoiIJob {
private
private
private
private

static
static
static
static

final
final
final
final

String
String
String
String

CTXTVAR_ACCOUNT = 'Account';
CTXTVAR_CONTACT = 'Contact';
CTXTVAR_CAREPLAN = 'CarePlan';
CTXTVAR_CANDIDIATEPATIENT = 'CandidatePatient__c';

public with sharing class IntegrationErrorHandler implements
HealthCloudGA.MoiJobFlowFactory.MoiIErrorHandler {

66

Salesforce Health Cloud Implementation Guide

Migrate More Data with the Patient Creation Job Flow

public void handleError(HealthCloudGA.MoiJobFlowFactory.MoiIJobContext context,
Exception e) {
// Code can be placed here to address the failure
System.debug('Exception: '+e+' thrown on Job with context '+context);
//No Exception
}
}
public override HealthCloudGA.MoiJobFlowFactory.MoiIErrorHandler getErrorHandler()
{
return (HealthCloudGA.MoiJobFlowFactory.MoiIErrorHandler)
new IntegrationErrorHandler();
}
// Invokes asynchronous migration of patient data for list of patient identifiers
@Future(callout=true)
private static void invokeIntegration(String jsonPatientIds){
String SalesforceOrgId = System.UserInfo.getOrganizationId();
////////////////////////////////////////////////////////////////////
// Make call to integration system passing patient Identifiers
// and organization Id.
// Integration System should respond asynchronously by push Patient
// EHR records to the org.
////////////////////////////////////////////////////////////////////
}
private class PatientId{
public PatientId(String MedicalRecordNumber, Id accountId, Id contactId,
Id carePlanId){
this.SFDCMedicalRecordNumber = MedicalRecordNumber;
this.SFDCAccountId = accountId;
this.SFDCContactId = contactId;
this.carePlanId = carePlanId;
}
// Id of account created in CreateIndividual Job
public Id SFDCAccountId;
// Id of contact created in CreateIndividual Job
public Id SFDCContactId;
// Id of Careplan created in CreateCarePlan job
public Id carePlanId;
// Medical Record Number of patient in external Electronic
// Health Record System
public String SFDCMedicalRecordNumber;
}

// Override processJob method to be called when this job is invoked
// by MoiJobFlowManager.
public override boolean processJob(HealthCloudGA.MoiJobFlowFactory.MoiIJobContext

67

Salesforce Health Cloud Implementation Guide

Migrate More Data with the Patient Creation Job Flow

flowCtxts) {
System.debug('Entered InvokeIntegration.processJob');
// Compile List of strings with Patient Ids
// {CandidatePatient__c.MedicalRecordNumber_c, Account.Id and Contact.Id}
// to pass to integration system to invoke asynchronous publish
// of patient EHR records.
List patientIds = new List();
for (Map flowCtxt : flowCtxts.getContextData()) {
HealthCloudGA__CandidatePatient__c candidatePatient =
(HealthCloudGA__CandidatePatient__c)flowCtxt.get(
CTXTVAR_CANDIDIATEPATIENT);
if (candidatePatient == null ||
candidatePatient.HealthCloudGA__MedicalRecordNumber__c == '')
throw new IntegrationException(
'Failure: No CandidatePatient record set. ' + candidatePatient);
patientIds.add(
new PatientId(candidatePatient.HealthCloudGA__MedicalRecordNumber__c,
((Account)flowCtxt.get(CTXTVAR_ACCOUNT)).Id,
((Contact)flowCtxt.get(CTXTVAR_CONTACT)).Id,
((Case)flowCtxt.get(CTXTVAR_CAREPLAN)).Id)
);
}/* for Flow Ctxts (on for each patient in creation flow */
System.debug('Calling future method InvokeIntegration('+patientIds+')');
invokeIntegration(JSON.serializePretty(patientIds));
return true;
} // processJob()
class IntegrationException extends Exception{}
} //class InvokePatientDataMigrate

5. Click File > Save.
Register a Remote Site — Before the callout in this integration can be made, the service endpoint must be registered as a remote site
in Salesforce. To register the remote site:
1. From Setup, enter Remote Site Settings in the Quick Find box, then select Remote Site Settings.
2. Click New Remote Site.
3. Enter a descriptive term for the Remote Site Name. For example, ClinicalIntegrationEndPoint.
4. Enter the URL for the remote site.
5. Optionally, enter a description of the site.
6. Click Save.

Customize the Patient Conversion Process
Patient creation includes two processes: a job flow that creates the patients and then a mapping group that maps data from the Candidate
Patient object to other patient objects.

68

Salesforce Health Cloud Implementation Guide

Migrate More Data with the Patient Creation Job Flow

The settings that control these processes are available for customization so that you can control how patient creation and data mapping
occur in your org. From Setup, enter Custom metadata in the Quick Find box, then select Custom Metadata Types.

• Health Cloud Setting (1) contains the configuration values for processes like the job flow that creates patients.
• Job Flow Data Mapping (2) holds the rules that determine which fields from the Candidate Patient object get mapped to patient
objects like Account, Contact, and Case.
• Job Flow Setting (3) contains the actual job flows that execute in the patient creation process.
You can customize the delivered patient creation job flow by creating your own custom Apex class and adding your own job, changing
the order in which the jobs run, or overriding the job entirely and using your own job flow. You can also change which fields are mapped
during patient creation.

Health Cloud Settings
Health Cloud Settings contains a variety of key/value pairs of configuration settings for the Health Cloud application. This includes the
two default settings that control which flow to use when creating patients. PatientCreateFlow_default controls which job
flow to use when creating patients and PatientCreateMappingGroup__default controls which group of mappings is used.
You can deactivate either of these records and create your own patient creation flow or mapping group.
When creating your own job flows, you must rename the Setting Name and Setting Value fields. For readability, it’s helpful
to make the object name and label of Health Cloud Setting record be a combination of the setting name and something about the new
value. For example, you can rename PatientCreateFlow_default to PatientCreateFlow_mynewflow.
To learn more about overriding one of the Health Cloud job settings, see Use Custom Metadata Settings to Configure Health Cloud.

Patient Creation and Data Mapping Job Flows
You can also add new steps to the patient creation job flow or add new mappings to the data mapping process. To deactivate a step in
the job flow, deselect the Active field for the record.
Override the Health Cloud Job Flows
You can override either of the delivered jobs in the default patient creation job flow and use your own custom job to create patients
or to map patient data from the source record system.
Add Your Job to the Patient Creation Job Flow
Whether you have chosen to add a job to the existing patient creation job flow, or have defined an entirely new patient creation
job flow, you must create a JobFlowSetting custom metadata record for every job that you want executed.

69

Salesforce Health Cloud Implementation Guide

Migrate More Data with the Patient Creation Job Flow

Data Mapping to Health Cloud Objects
When a patient is converted, Health Cloud copies patient data from CandidatePatient__c to the corresponding Account, Contact,
and Case (CarePlan record type) objects. A mapping defines how patient data maps to the fields in the destination Salesforce objects.
This mapping is specified in the JobFlowDataMapping__mdt custom metadata object.

Override the Health Cloud Job Flows
You can override either of the delivered jobs in the default patient creation job flow and use your own custom job to create patients or
to map patient data from the source record system.
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.
1. From Setup, enter Custom Metadata in the Quick Find box, then select Custom Metadata Types.
2. Click Health Cloud Setting, then click Manage Health Cloud Settings.
3. 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
4. Clear the Active checkbox and then click Save.
5. 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.
6. Select the Active checkbox to make the setting available.

Add Your Job to the Patient Creation Job Flow
Whether you have chosen to add a job to the existing patient creation job flow, or have defined an entirely new patient creation job
flow, you must create a JobFlowSetting custom metadata record for every job that you want executed.

JobFlowSetting Custom Metadata
Job flows for Health Cloud consist of one or more jobs, each represented by a JobFlowSetting__mdt custom metadata record. Each
record points to an Apex class that implements that job.
The settings for each job are defined as one row. You can insert custom metadata records the same way you'd create an instance of
another sObject. You can also override any of the jobs within the Patient Create job flow by deselecting the Active field on the job.
The jobs that make up the default patient creation job flow are represented by these custom metadata records.
Table 1: Default Patient Create Job Flow
Label

Job Flow Name

Patient
Create
Care Plan
Create

Job Name

Job Order Active

Custom

defaultPatientCreate HcCreatePatientDefaultJobs.CreateIndividualJob

1

true

false

defaultPatientCreate HcCreatePatientDefaultJobs.CreateCarePlanJob

2

true

false

70

Salesforce Health Cloud Implementation Guide

Migrate More Data with the Patient Creation Job Flow

The default Patient Create flow defines the steps for creating a patient record. The jobs in this flow create one Account record and one
Contact record, and a Case record for the patient’s care plan. This flow uses the JobFlowDataMapping__mdt custom metadata object
to define the field mapping from the source CandidatePatient__c to the Account, Contact, and Case records.
The following are descriptions of the fields in the JobFlowSetting__mdt custom metadata type.
Master Label
The friendly name for the job flow entry.
Object Name
The API name of the job flow entry.
Job Flow Name
The name of the job flow. All jobs in the same flow share the job flow name.
Job Name
The name of the Apex class that implements the job. This class extends the
HealthCloudGA.MoiJobFlowFactory.MoiJobBase class and overrides its processJob() method.
Job Order
An integer number that specifies the order of the job in the job flow. Jobs in a job flow must have unique job order numbers, and
their order must be linear.
Active
Indicates whether the job is used (true) or not (false).
Custom
False if provided by default in the Health Cloud package; otherwise true.
Protected Component
Specifies whether this Job Flow Setting component is hidden outside a managed package. This field is unchecked (false) in the
Health Cloud package as the component is accessible outside the package.
To register your custom integration job, insert a record to the JobFlowSetting__mdt custom metadata. To do so in the user interface:
1. From Setup, enter Custom Metadata Types in the Quick Find box, then select Custom Metadata Types.
2. Click Job Flow Setting, then click Manage Job Flows Settings.
3. Click New, and fill out the information for your custom job and Apex class, including the job flow name, job name, and order in
which it runs.
4. Ensure that the Active and Custom checkboxes are checked.
5. Click Save.
For example, to register the sample class that’s provided, enter the following information.
1. For Master Label, enter Create Patient: Invoke Integration.
2. For Object Name, enter CreatePatientInvokeIntegration.
3. For Job Flow Name, enter defaultPatientCreate to append your job to the existing job flow.
4. For Job Name, enter the class name InvokePatientDataMigrate.
5. For Job Order, enter 3 to ensure that Health Cloud invokes this job after the second default job for patient creation.
6. Ensure that the Active and Custom checkboxes are checked.
7. Click Save.

71

Salesforce Health Cloud Implementation Guide

Migrate More Data with the Patient Creation Job Flow

Data Mapping to Health Cloud Objects
When a patient is converted, Health Cloud copies patient data from CandidatePatient__c to the corresponding Account, Contact, and
Case (CarePlan record type) objects. A mapping defines how patient data maps to the fields in the destination Salesforce objects. This
mapping is specified in the JobFlowDataMapping__mdt custom metadata object.
These mappings can’t be changed or deleted. To change the mappings in your org, create another mapping group and specify in the
Health Cloud Settings to use that mapping group instead of the default mappings.
Note: Salesforce uses the MedicalRecordNumber__c and SourceSystem__c fields to check for duplicate patient
records during the patient creation process. You can create a validation rule to verify that all candidate patient records have values
in these fields before converting patient records.
Table 2: JobFlowDataMapping__mdt
MappingGroupName SourceObject

SourceField

TargetObject

TargetField

defaultPatientCreate

CandidatePatient__c

Name__c

Account

Name

defaultPatientCreate

CandidatePatient__c

MedicalRecordNumber__c Account

MedicalRecordNumber__c

defaultPatientCreate

null

Health Cloud Care Plan1

Subject

defaultPatientCreate

CandidatePatient__c

MedicalRecordNumber__c Contact

MedicalRecordNumber__c

defaultPatientCreate

CandidatePatient__c

Address1Line1__c

Contact

MailingStreet

defaultPatientCreate

CandidatePatient__c

GivenName1__c

Contact

FirstName

defaultPatientCreate

CandidatePatient__c

FamilyName1__c

Contact

LastName

defaultPatientCreate

CandidatePatient__c

BirthDate__c

Contact

Birthdate

defaultPatientCreate

CandidatePatient__c

Address1City__c

Contact

MailingCity

defaultPatientCreate

CandidatePatient__c

Address1Country__c

Contact

MailingCountry

defaultPatientCreate

CandidatePatient__c

Telecom1Value__c

Contact

Phone

defaultPatientCreate

CandidatePatient__c

Address1PostalCode__c Contact

Care Plan2

MailingPostalCode

1

Because the source object for this record is null, Health Cloud Care Plan is a string literal and not a field name. This string
value is applied to the target field, Subject.
2

Care Plan is a string literal that corresponds to the object that represents a care plan, namely a Case whose record type is CarePlan.

The following is a description of the fields in the JobFlowDataMapping__mdt custom metadata type that’s used for mapping.
Mapping Group Name
The name of a mapping group, which represents a set of field mappings. The patient creation job flow uses only one mapping group
named defaultPatientCreate.
Source Object
The API name of the sObject from which data is copied to the target object.
Source Field
The API name of the field that is copied to the target object.
Target Object
The API name of the sObject to copy the data to.

72

Salesforce Health Cloud Implementation Guide

Provide Easy Access to Protocols and Articles

Target Field
The API name of the field to copy the data to.
Active
Indicates whether the job is used (true) or not (false).

Mapping Extra Fields
You can add new field mappings by inserting a record in the JobFlowDataMapping__mdt custom metadata object for each new
mapping. Custom mappings can be changed and removed.
To add a mapping in the user interface:
1. From Setup, enter Custom Metadata Types in the Quick Find box, then select Custom Metadata Types.
2. Click Job Flow Data Mapping, then click Manage Job Flow Data Mappings.
3. Click New, and fill out the information for the new mapping.
4. Click Save.
Note: You can also deactivate the delivered JobFlowDataMapping__mdt and use your own custom set of mappings when you
create and activate a new record with the same setting name and setting value.

Provide Easy Access to Protocols and Articles
Salesforce Knowledge lets you easily create and manage content and make it available to other healthcare professionals and to the
patient and care team members.
An article can contain the protocols you use to manage conditions or can hold educational materials you send to patients. When you
set up Salesforce Knowledge, you give your care coordinators access to your organization’s library of articles and protocols. After you
set up Salesforce Knowledge in your organization, users with Knowledge licenses can write, edit, publish, and archive articles using the
Articles Management tab or find and view published articles using the Articles tab.
By setting up the Knowledge One widget, you give care coordinators the ability to search, send, and create articles, all without leaving
the Health Cloud console. Make sure that you’ve added Knowledge One to all the profiles that have access to the console.

Using the Knowledge One widget, articles can be accessed from the console footer, care coordinators can:
• Search for and find relevant articles or protocols
• Attach a published article to a care plan in one click
• Email an article as a PDF, if shared on a public channel

73

Salesforce Health Cloud Implementation Guide

Provide Easy Access to Protocols and Articles

• Create and manage articles, when the user has permission and the correct license.
Enable Knowledge Users
Before you can set up all the great features of Salesforce Knowledge, make sure that you’re a Salesforce Knowledge user.
Create Article Types
Articles types are the first step in creating the articles used to display protocols. An article type defines the structure and the types
of content an author can add to an article or a protocol.
Enable Salesforce Knowledge
Before you can set up Knowledge, you must enable it in the organization.
Drive Learning with Protocols and Articles
Salesforce Knowledge lets you easily create and manage content and make it available to other healthcare professionals and to the
patient and care team members. An article can contain the protocols you use to manage conditions or can hold educational materials
you send to patients. You can write, edit, publish, and archive articles using the Articles Management tab or find and view published
articles using the Articles tab.

Enable Knowledge Users
Before you can set up all the great features of Salesforce Knowledge, make sure that you’re a
Salesforce Knowledge user.

EDITIONS

1. At the top of any Salesforce page, click the down arrow next to your name.

Health Cloud is available in
Salesforce Classic and
Lightning Experience

2. From My Settings, select Personal Settings, enter Advanced User Details in the
Quick Find box, then select Advanced User Details.

Available in: Enterprise,
Performance, and
Unlimited Editions

3. Click Edit.
4. Select Knowledge User.
5. Click Save.

USER PERMISSIONS
To set up Salesforce
Knowledge, and create
article types:
• Customize Application
AND Manage Salesforce
Knowledge

74

Salesforce Health Cloud Implementation Guide

Provide Easy Access to Protocols and Articles

Create Article Types
Articles types are the first step in creating the articles used to display protocols. An article type
defines the structure and the types of content an author can add to an article or a protocol.

EDITIONS

Health Cloud uses the power of Salesforce Knowledge to let you author and manage the article
types that you use for protocols or educational articles.

Health Cloud is available in
Salesforce Classic and
Lightning Experience

Note: You can’t enable Salesforce Knowledge until at least one article type is created.
When creating the article that contains a protocol, the author begins by selecting an article type.
Article types, such as protocols, FAQs, and tutorials, provide the format and structure to control
how an article displays for each audience, known as a channel. For each article type you can create
custom fields, customize the layout by adding or removing sections and fields, and choose a template
for each channel. You can also create workflow rules and approval processes to help your
organization track and manage article creation and publication.
1. From Setup, enter Article Types in the Quick Find box, then select Knowledge
Article Types.
2. Click New Article Type or edit an existing article type.
3. Enter the information for the following fields:
Field

Description

Label

A name used to refer to the article type in any
user interface pages.

Plural Label

The plural name of the object. If you create a
tab for this object, this name is used for the
tab.

Gender

If it is appropriate for your organization’s
default language, specify the gender of the
label. This field appears if the
organization-wide default language expects
gender. Your personal language preference
setting does not affect whether the field
appears. For example, if the organization’s
default language is English and your personal
language is French, you are not prompted for
gender when creating an article type.

Starts with a vowel sound

If it is appropriate for your organization’s
default language, check if your label must be
preceded by "an" instead of "a".

Object Name

(Read only) A unique name used to refer to
the article type when using the API. The
Object Name field can contain only
underscores and alphanumeric characters. It
must be unique, begin with a letter, not
include spaces, not end with an underscore,
and not contain two consecutive underscores.

75

Available in: Enterprise,
Performance, and
Unlimited Editions

USER PERMISSIONS
To create, edit, or delete
article types:
• Customize Application
AND Manage Salesforce
Knowledge

Salesforce Health Cloud Implementation Guide

Provide Easy Access to Protocols and Articles

Field

Description

Description

An optional description of the article type. A meaningful
description helps you remember the differences between your
article types when you are viewing them in a list.

Track Field History

(Optional) Select this option to track the full history of an article
and its versions. The system records and displays field updates,
publishing workflow events, and language versions for the master
article and any translations.

Deployment Status

Indicates whether the article type is visible outside Setup. In
Development means that article managers can’t choose this
article type when creating articles. Only select Deployed after
you are done creating the article type.

4. Click Save.
5. In the Fields section of the Article Type definition, click New.
6. On the New Custom Field page, select Text Area (Rich).
The Rich Text Area field lets authors enter formatted text, add images, videos, and links. The fields hold up to 131,072 characters on
separate lines.
7. Click Next.
8. Enter a field label. The field name is populated based on the field label you enter. Ensure that the custom field name is not identical
to any standard field name for that object.
9. Enter any field attributes, such as Description, and click Next to continue.
10. Set the field-level security to determine whether the field is visible and editable or read only for specific profiles, and click Next.
Field-level security allows you to control which fields are visible in different channels.
11. Ensure that the field Yes, add this custom field to the layout is selected so that the rich text field is included
in the page layout.
12. Click Save to finish or Save & New to create more custom fields.
13. Optionally, rearrange your custom fields on the article-type layout.
Note: Don’t forget to grant article type permissions for each user profile needing access to protocols and articles.

76

Salesforce Health Cloud Implementation Guide

Provide Easy Access to Protocols and Articles

Enable Salesforce Knowledge
Before you can set up Knowledge, you must enable it in the organization.

EDITIONS

1. From Setup, enter Knowledge in the Quick Find box, then select Knowledge Settings.
2. Confirm that you understand the impact of enabling Salesforce Knowledge and click Enable
Salesforce Knowledge and click OK in the dialog box.
3. Click Edit to select your general settings.
a. Select Allow users to create and edit articles from the
Articles tab to enable care coordinators and internal users to edit articles without
going to the Article Management tab.
b. Select Activate Validation Status field to add a Validation Status field
to all articles.
This way, users can attach approved articles to questions instead of ones that haven’t gone
through an approval process.
c. Select Allow users to add external multimedia content to HTML
in the standard editor to allow