features/cama-mock
The CaMa stratifiers (age, BRCA1/2, molecular classification, stage, tumour size, early or advanced) now break down quantities of interest (BI-RADS results, histological diagnosis) instead of being distributions of their own. How: - DimensionEstrato and DIMENSIONES_ESTRATO add brca, clasificacion, estadio, tamano and etapa; stratifiedCapabilities offers, in a fixed order, every one the indicator declares in `filtros`. - etiquetaDimension names a dimension's button from the catalog's label; CaCu's two keep their wording. - stratifiedBars takes a measure: counts, or each category's share of its stratum over the published stratum total (or the sum of its cells when all are published); a suppressed or unknown total leaves the stratum without percentages. The hover gives n of total; the values table adds the share. - The bars panel has a «Conteos | Porcentaje en cada estrato» toggle; an indicator can open with the share (`medida_estrato: 'porcentaje'`). Implications: - Shares are derived in the browser from published counts; the server's suppression of small strata and totals is what keeps them safe. - Other domains are unchanged: their dimensions, labels and counts stay.
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%