CaCu: the surveillance PIM with cancer as the outcome (cancer_pim)

The same dataflow, cohort, index and prediction index as the CIN2+ surveillance model, with carcinoma as the only
event, like the cancer column of KPNC's tables: the patient's two risks are of the same visit. The subgroup report
template serves it too.
This commit is contained in:
2026-11-22 09:34:35 -06:00
parent 835817930d
commit 28858c6966
4 changed files with 126 additions and 1 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ def test_the_cacu_templates_are_listed_with_the_scenarios_they_serve():
found = {t["id"]: t for t in notebook_templates("cacu")}
pim, survival = found["cacu/cin2_pim/reporte_subgrupos"], found["cacu/survival/reporte_subgrupos"]
assert pim["scenarios"] == ["cin2_pim", "cin2_pim_post_colposcopy", "cin2_pim_post_treatment"]
assert pim["scenarios"] == ["cancer_pim", "cin2_pim", "cin2_pim_post_colposcopy", "cin2_pim_post_treatment"]
assert survival["scenarios"] == ["survival"] and survival["domain"] == "cacu" and survival["title"]