Newer Version Available
Create Your Own Health Cloud Empower Components
Use these examples to help you create custom Health Care Empower components.
- Create a component that works with the care plan selector
-
You can create a component to display custom objects or information for a care plan or for a patient or member. For example:
- For a custom object, display the related list of records for the care plan.
- Display a list of the EHR records for the person, such as medications or visits.
- Display the list of care plan problems or goals.
- Display a graph of medical device measurements or lab results.
- Display details of the care plan.
The custom components are used with the Empower care plan selector, so you must handle the HcCommunityEventCarePlanSelected event.
For example:
.cmp file
controller.js file
- Create a custom component that replaces the care plan selector
- You can create a substitute component for the care plan selector. For example, the custom
component could have a select list that displays different information or behaves differently
than the one included in the package. Or you could add a text search box to find a name or
medical record number.
The component must fire the HcCommunityEventCarePlanSelected event trigger.
.cmp file
controller.js file