# Seeking guidance Regarding "Dynamic EHR"

**URL:** <https://talk.openmrs.org/t/seeking-guidance-regarding-dynamic-ehr/48930>\
**Category:** Uncategorized\
**Created:** [March 20, 2026, 7:24pm UTC](https://talk.openmrs.org/t/seeking-guidance-regarding-dynamic-ehr/48930 "2026-03-20T19:24:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sourav](https://talk.openmrs.org/user_avatar/talk.openmrs.org/sourav/32/21592_2.png) [@sourav](https://talk.openmrs.org/u/sourav)\
**Post date:** [March 20, 2026, 7:24pm UTC](https://talk.openmrs.org/t/seeking-guidance-regarding-dynamic-ehr/48930/1 "2026-03-20T19:24:32Z")

</div>

Hello everyone, I’m currently exploring the **[Dynamic EHR GSoC project](https://openmrs.atlassian.net/wiki/spaces/RES/pages/752844801/Summer+of+Code+2026#:~:text=Dynamic%20EHR%3A%20Custom%20Home%20screen%20(and%20other%20screens)%20based%20on%20User%20roles%2C%20locations%20and%20other%20values.%20(doc))**[,](https://openmrs.atlassian.net/wiki/spaces/RES/pages/752844801/Summer+of+Code+2026#:~:text=Dynamic%20EHR%3A%20Custom%20Home%20screen%20(and%20other%20screens)%20based%20on%20User%20roles%2C%20locations%20and%20other%20values.%20(doc)) mentored by @nethmi . Since the requirement document is quite limited [Doc](https://docs.google.com/document/d/17m6F0NSssWZskaXdcfl5cwVILNEOMscoWJ61HJMmSA4/edit?tab=t.0) , I could really use some guidance

**Goal** : Show relevant UI elements on the O3 home page and other Pages based on User Location, currenting displayed Visit / Encounter etc.

1. There is this Pr “ [O3-4931: Add ability to evaluate expressions in extensions by CynthiaKamau · Pull Request #1422 · openmrs/openmrs-esm-core · GitHub](https://github.com/openmrs/openmrs-esm-core/pull/1422) “ raised by CynthiaKamau . i guess this pr implemented some features what the project asks for. For instance, It implements expression-based display conditions for extensions. In broader context the project is asking for implementing this feature to navigations , pages right ?

2. in this particular pr is using Store-level evaluation, the question is whether i should follow this same pattern (centralized store-level evaluation) or need something different .

```auto
   observation:
// This slot's expressions CAN access patientUuid 
<ExtensionSlot name="patient-chart-widgets" state={{ patientUuid, visit }} /> 

// This slot's expressions CANNOT — no state passed 
<ExtensionSlot name="homepage-widgets" />

So even though evaluation happens at the store level, the context data enters through the component level.

```

1. could you please explain a bit more what “reduced set of JavaScript expressions“ mentioned in the [doc](https://docs.google.com/document/d/17m6F0NSssWZskaXdcfl5cwVILNEOMscoWJ61HJMmSA4/edit?tab=t.0) ? Is there an existing spec.

refrences

1. [O3: Privileges Plan? - #4 by florianrappl](https://talk.openmrs.org/t/o3-privileges-plan/36038/4)
2. [Location Based Access Control - v0.1.0 Released](https://talk.openmrs.org/t/location-based-access-control-v0-1-0-released/19525)

Would really appreciate any guidance here. Thanks a lot!

cc: @ibacher @dennis @veronica
