DEV-41584: Parameterize ms_cidatables, update call sites and docs #13

Open scarnecchia.net
targeting staging from DEV-41584
Open opened by and assigned to scarnecchia.net
targeting staging from DEV-41584

ms_cidatables previously resolved runid, type, typefile, cidatablesgroup, cohortfile, agedatecohort, surveillancemode, and analysis through dynamic macro scope. With this commit the macro takes them as explicit parameters, validates them fail-fast, and delegates to the shared macros plus the file-local ms_mergedenomcounts helper. The nested createNumTableEntries definition is removed. dplocal.&RUNID._numcounts keeps its numerator source and msoc.&RUNID._t&type._cida its merged source.

The ms_cidanum call sites pass the values explicitly. As on the t4 side, covarstrat is now reset before each rebuild: same variable set, possible covariate column-order change, recorded in type-usage-matrix.md.

Change-Id: I164feefd5e604c8e30475f5799dc9632cc86aa2c

Commits 0