Timeline for Health Cloud Empower Component

The Timeline for Health Cloud Empower component lets people see their past, current, and future healthcare events.

The HcCommunityTimeline component displays lists of events for a care plan. The events are shown on three tabs: Today (always shown); Past (can be excluded); and Future (can be excluded). This component is similar to the care team and tasks list in that it handles the plan selected event.

The Community Timeline component filter allows you to select the type of events you want displayed in the timeline by picking from a set of view configuration options.

In the following tables, Label refers to the label for the field in the Experience Builder and the Lightning App Builder. Attributes that do not have a label use a default unless set by a custom use of the component.

Note

NameLabelTypeDescription
carePlanId stringID of the care plan or case for a given care team.
patientId stringAccount 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.
showPastActivityShow past eventsbooleanFlag indicates if the Past tab is included to display past timeline activity. Default is true.
showFutureActivityShow future eventsbooleanFlag indicates if the Future tab is included to display future timeline activity. Default is true.
pageReloadSizePage Reload SizedoubleNumber of activities to be loaded when a care plan is selected, Show More button is clicked, or when filters are changed.
picklistDefaultOptionTextForTimelineText instructing users to select a care plan to view timeline events.stringDefault: Select a care plan to view timeline events.
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 HcCommunityEventCarePlanSelected event that this component handles. The value passed in the event is CaseId (type String). Health Cloud package provides a component, Care Plan Selector, that registers and fires HcCommunityEventCarePlanSelected event with CaseId.

Use as a Child or Nested Component

This component would require carePlanId (type String) as input from its parent component. The value of the carePlanId must be a valid CaseId value.

Use in a Case Record Page

This component can be used in Lightning Record Page for Case object. The Case Record Page sets the recordId attribute to the case Id since it implements the force:hasRecordId interface.

See Also