# Contact-summary value exposure and report usage

**URL:** <https://forum.communityhealthtoolkit.org/t/contact-summary-value-exposure-and-report-usage/3090>\
**Category:** Development\
**Tags:** tasks, configuration\
**Created:** [October 4, 2023, 4:49pm UTC](https://forum.communityhealthtoolkit.org/t/contact-summary-value-exposure-and-report-usage/3090 "2023-10-04T16:49:16Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![jkuester](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/jkuester/32/806_2.png) [@jkuester](https://forum.communityhealthtoolkit.org/u/jkuester)\
**Post date:** [October 5, 2023, 5:54pm UTC](https://forum.communityhealthtoolkit.org/t/contact-summary-value-exposure-and-report-usage/3090/4 "2023-10-05T17:54:35Z")

</div>

👍 Got it. Makes sense! I believe that the `context.expression` should affect both the available forms on the People tab and on the Reports tab.

> For now, is there a way to access previous report data within that context.expression?

The recommended mechanism for doing something like this is really to just include the data you need in your contact-summary (which, as you noted, is accessible from the `content.expression`). [This thread](https://forum.communityhealthtoolkit.org/t/limit-access-to-forms-based-on-health-district-id/2613/2) has a pretty good walk-though of what this config can look at, but I think the workflow would be something like:

- Update the contact-summary configuration to set a consent field based on the contact’s consent status.
- For the relevant forms, update the `content.expression` to check for that consent field in the `summary`.

---

_[View the full topic](https://forum.communityhealthtoolkit.org/t/contact-summary-value-exposure-and-report-usage/3090)._
