---
schema_version: "1"
id: b702d662371fbb2a373a06ea8f80d5149380b0299b6f28473849ea42804ef7df
title: Embed Analytics for Healthcare Dashboards in Lightning Pages
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/admin_analytics_health_embed_dashboards.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.admin_analytics_health_embed_dashboards.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 1f85067f087577c208f664d1a10403c17494baf6dbd4a0325442e796da0facc4
description: Analytics for Healthcare includes dashboards intended for embedding and access in Lightning Experience pages.
products:
  - Health
release: "264"
---
# 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](https://help.salesforce.com/articleView?id=bi_embed_lightning.htm&language=en_US). 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:

```
{ 
   "datasets":{ 
      "HLS_Care_Request":[ 
         { 
            "fields":[ 
               "MemberId"
            ],
            "filter":{ 
               "operator":"in",
               "values":[ 
                  "$Id"
               ]
            }
         }
      ],
      "HLS_Care_Plan":[ 
         { 
            "fields":[ 
               "AccountId"
            ],
            "filter":{ 
               "operator":"in",
               "values":[ 
                  "$Id"
               ]
            }
         }
      ],
      "HLS_Problem":[ 
         { 
            "fields":[ 
               "Account.Id"
            ],
            "filter":{ 
               "operator":"in",
               "values":[ 
                  "$Id"
               ]
            }
         }
      ],
      "HLS_Task":[ 
         { 
            "fields":[ 
               "AccountId"
            ],
            "filter":{ 
               "operator":"in",
               "values":[ 
                  "$Id"
               ]
            }
         }
      ],
      "HLS_Goal":[ 
         { 
            "fields":[ 
               "Problem.Account.Id"
            ],
            "filter":{ 
               "operator":"in",
               "values":[ 
                  "$Id"
               ]
            }
         }
      ]
   }
}
```

**Converted Patient**: Embed in the Opportunity (New Patient) page layout. Set the Filter attribute with the following:

```
{ 
   "datasets":{ 
      "HLS_Patient":[ 
         { 
            "fields":[ 
               "ConvertedOpportunityId"
            ],
            "filter":{ 
               "operator":"in",
               "values":[ 
                  "$Id"
               ]
            }
         }
      ]
   }
}
```

**Referral Patient**: Embed in the Lead (Referral) page layout. Set the Filter attribute with the following:

```
{ 
   "datasets":{ 
      "HLS_Referral":[ 
         { 
            "fields":[ 
               "Id"
            ],
            "filter":{ 
               "operator":"in",
               "values":[ 
                  "$Id"
               ]
            }
         }
      ]
   }
}
```