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:
Angel Capetillo Zavala
2026-11-17 10:44:07 -06:00
parent 0571b5e6af
commit b1bbbc25b4
27 changed files with 2729 additions and 12 deletions
+4
View File
@@ -9,4 +9,8 @@ def configure_cama_cohort(app):
with get_cama_session() as session:
return CamaCohort(session).rows(cutoff)
read._cama_default_reader = True
# Distinguish the historical default from an explicit integration override.
# Normal create_app uses L1-L3; consumers that replace the callback keep dev's contract.
read._cama_default_reader = True
app.config['CAMA_COHORT_READER'] = read