Embed Analytics for Healthcare Dashboards in Lightning Pages

Analytics for Healthcare includes dashboards intended for embedding and access in Lightning Experience pages.

For general instructions, see Embed Dashboards in Lightning Pages. Here are examples using dashboards from the Analytics for Healthcare app, with the code for the filter attribute.

Care. Embed in the Account (Patient/Member) page layout. Set the Filter attribute with the following:
1{ 
2   "datasets":{ 
3      "HLS_Care_Request":[ 
4         { 
5            "fields":[ 
6               "MemberId"
7            ],
8            "filter":{ 
9               "operator":"in",
10               "values":[ 
11                  "$Id"
12               ]
13            }
14         }
15      ],
16      "HLS_Care_Plan":[ 
17         { 
18            "fields":[ 
19               "AccountId"
20            ],
21            "filter":{ 
22               "operator":"in",
23               "values":[ 
24                  "$Id"
25               ]
26            }
27         }
28      ],
29      "HLS_Problem":[ 
30         { 
31            "fields":[ 
32               "Account.Id"
33            ],
34            "filter":{ 
35               "operator":"in",
36               "values":[ 
37                  "$Id"
38               ]
39            }
40         }
41      ],
42      "HLS_Task":[ 
43         { 
44            "fields":[ 
45               "AccountId"
46            ],
47            "filter":{ 
48               "operator":"in",
49               "values":[ 
50                  "$Id"
51               ]
52            }
53         }
54      ],
55      "HLS_Goal":[ 
56         { 
57            "fields":[ 
58               "Problem.Account.Id"
59            ],
60            "filter":{ 
61               "operator":"in",
62               "values":[ 
63                  "$Id"
64               ]
65            }
66         }
67      ]
68   }
69}
Converted Patient. Embed in the Opportunity (New Patient) page layout. Set the Filter attribute with the following:
1{ 
2   "datasets":{ 
3      "HLS_Patient":[ 
4         { 
5            "fields":[ 
6               "ConvertedOpportunityId"
7            ],
8            "filter":{ 
9               "operator":"in",
10               "values":[ 
11                  "$Id"
12               ]
13            }
14         }
15      ]
16   }
17}
Referral Patient. Embed in the Lead (Referral) page layout. Set the Filter attribute with the following:
1{ 
2   "datasets":{ 
3      "HLS_Referral":[ 
4         { 
5            "fields":[ 
6               "Id"
7            ],
8            "filter":{ 
9               "operator":"in",
10               "values":[ 
11                  "$Id"
12               ]
13            }
14         }
15      ]
16   }
17}