Integrate CaMa follow-up, descriptive analysis and L3 with dev
Preserve dev risk batches and governance, individual patient selection, optional access and explicit cohort reader overrides. Register one CaMa implementation and retain legacy Python blueprint consumers. Validated with 681 WebApi tests on the integrated parent and submodules.
This commit is contained in:
@@ -284,6 +284,10 @@ class MeasureQueries:
|
||||
for a in p.at_end if a.known_at}
|
||||
for rule in (getattr(definition, "category", None), getattr(definition, "observation", None)):
|
||||
known |= {definition.dimensions[n] for n in (rule.known_at if rule else ())}
|
||||
# The follow-up fact of a composition (the biopsy of the chosen sample) is compared with the knowledge cut-off too:
|
||||
# its column has to be read as a datetime, or a text compare against the cut-off would be wrong.
|
||||
follow_up = getattr(getattr(definition, "category", None), "follow_up", None)
|
||||
known |= {definition.dimensions[n] for n in (follow_up.known_at if follow_up else ())}
|
||||
self.status = getattr(definition, "population", None)
|
||||
if self.status is not None:
|
||||
names |= {definition.dimensions[n] for n in self.status.columns()}
|
||||
|
||||
Reference in New Issue
Block a user