Related resources in single response

Hi,
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

see https://stackoverflow.com/questions/58837187/related-resources-in-single-response-in-fhir