Newer Version Available

This content describes an older version of this product. View Latest

Care Team for Health Cloud Empower Component

The Care Team for Health Cloud Empower component (HcCommunityCareTeamList) displays details for members of the care team.

HcCommunityPatientCard controls the fields and the order in which they appear for the patient or member in the community. HcCommunityTeamMembers controls which fields appear for the rest of the team members in the community and their order.

Table 1. Care Team Component Attributes
Attribute Field Label Type Description
carePlanId string ID of the care plan or case for a given care team.
patientId string Account ID of the person for whom to show care plan members. Setting patientId shows all care plans for that person. Setting carePlanId shows only the details for the referenced care plan. If both are set, carePlanId is used.
patientFieldSet Patient Field Set Name string Name of the field set on the User object. Retrieves the fields to display for the patient or member. Default is HcPatientInfoFields (which is part of the Health Cloud managed package).
teamMemberFieldSet Team Member Field Set Name string Name of the field set that contains the fields to display for the team members. Default is HcTeamMemberInfoFields (which is part of the Health Cloud managed package).
showLabels Show labels boolean Boolean attribute to toggle label visibility. Default is true.
includeOwner Include owner in list boolean Toggle to show the care plan owner in the list of care team members. Default is false.
carePlanOwnerRoleLabel Care Plan Owner Role Name string Label text for the name of the care plan owner's role. For example, if a nurse practitioner creates and owns the care plan, you can show Nurse Practitioner as the role instead of the default.
Table 2. Care Team Component Events Handled
Name (Type) Attributes (Type) Description
HcCommunityEventCarePlanSelected (Application)
  • carePlanId (string)
  • patientId (string)
Event that is fired when a care plan option is selected in the Health Cloud Care Plan Picker component.
Use Alongside Another Component

This component has an event handler for HcCommunityEventCarePlanSelected event.

Your custom component must fire the HcCommunityEventCarePlanSelected event that this component handles. The value passed in the event is CaseId (type string). The Health Cloud package provides the Care Plan Selector component, which registers and fires the HcCommunityEventCarePlanSelected event with CaseId.

Use as a Child or Nested Component

This component requires carePlanId (type string) (or accountId or patientId) as input from its parent component. The value of carePlanId must be a valid CaseId value.

Use in a Case Record or Account Page

You can use this component in a Lightning record page for the Case and Account object. The Case or Account record page fires the Aura attribute force:hasRecordId that this component handle.