TuftsCTSI / TRDW.jl

This is a Pluto environment with FunSQL for use in Research Requests
Other
2 stars 0 forks source link

tunneling of observation begin/end period #28

Open clarkevans opened 10 months ago

clarkevans commented 10 months ago

In all of these notebooks, I'm currently conflating the cohort begin/end date with the observation window. That's not correct. Ideally we could tunnel the observation begin/end as global variables, such that low-level filters could transparently use observation begin/end if it happens to be set. This is independent of export, since we need the notebook calculations to respect this as well, in this way export won't be materially different.

Cohort begin/end date should be used for hospitalizations or other reentrant cases where a subject enters/exits the cohort multiple times.

clarkevans commented 8 months ago

I understand that Databricks doesn't support query parameters.

With the new resolve() phase and stuffing away type information, would we be able to tunnel variables there?