Related resources in single response

We have a use case where we need resources related to a single resource. In the front end part of our application, we have a requirement where we have a dashboard which showcases list of patient information

This list of Patient information includes display of CarePlan info too. We thought of using Bundle however, the bundle can simply list resources with resourceType field.

Question is how to logically put patient and related careplan as related resources in single object. We also have had a look at the compartment search, but fhir site does not show any examples how the sample response will be.

If anyone can tell us a way to group related resources with data(not just references) using fhir models it would be of a great help