710790b98e3ba8bf4f35732cace8d1a7385d55ca
How: - The tab is now «Análisis epidemiológico». Its first section, «Indicadores epidemiológicos», shows the cohort's figures at 24 months (GET /<domain>/analisis/indicadores, guarded by analisisIndicadores): cumulative incidence of cancer and of recurrence, follow-up adherence and survival, each with its interval, counts and assumptions. - Stages publish a list of variables (two or more) instead of a fixed pair. The curves have their own menus: one variable and two or more of its values (`grupos`; with all of them the request names none, with one the page asks for another and sends nothing). Cox sits beside them, on the same groups. - The heatmap has its own menus for rows and columns, always two distinct variables (cruceDeEtapa keeps a pair the stage owns); its answer adds the log-rank of each variable, plain and stratified by the other. - A curve click, its «Ver pacientes» button in the risk table, or a coloured cell emits verPacientes with the scenario's population (`filtro_seguimiento`) and the values (seleccionDeCurva, seleccionDeCelda). The page opens Seguimiento with that selection. - IndicadoresSeguimientoTabla takes the selection as an input: it asks the whole cohort (`meses = 0`, «Toda la cohorte», now in MESES_VENTANA) with those filters and says where the list comes from; «Quitar selección» goes back to the 3-month window. A new id applies a repeated click. Implications: - Seguimiento's contract gains `meses = 0` (no time window); the backend must accept it, or answer 400 until it does. - The list behind a curve is patient-level: the drill-down needs the same access rule as Seguimiento, and the figures it comes from stay suppressed. - Two more endpoints for the backend (/analisis/indicadores, and the new parameters grupos, filas and columnas).
WebApp
Interfaz de ISSSTELEON en Angular y Angular Material: conexión e importación de
datos (/conectar), bitácora de cargas (/bitacora), gobernanza y tablero de
indicadores (/indicadores).
npm ci
npx ng serve # http://localhost:4200
npx ng test --watch=false # pruebas unitarias (Vitest)
npx ng build # compilación de producción en dist/WebApp
ng serve envía las rutas de la API a WebApi en localhost:5050
(proxy.conf.json). La imagen de Docker (Dockerfile) sirve la compilación con
nginx (nginx.conf), que reenvía esas mismas rutas al servicio webapi.
Description
Languages
TypeScript
84.8%
HTML
9.6%
SCSS
5.6%