feat(indicadores): CaMa histopathology by BI-RADS drawn from the published matrix

The card for cama_histopatologia_birads now shows rates with their Wilson
interval per BI-RADS category and a two-ring donut of the biopsy result, with
group and category selection, period navigation and the published values table.
A pure adapter turns the stratified C2 response into rows and figures; the view
only asks for the data and draws what the adapter returns.

BI-RADS 4 is a row of its own. The denominator is benign, B3, in situ and
invasive; no biopsy and no data are reported apart. A published zero is a zero,
a suppressed cell is suppressed, and a cell or stratum the response does not
carry is unavailable, never zero: no rate or donut total is drawn over an
incomplete matrix. The card keeps its place first in the summary and stays
pending while the catalog does not publish the indicator.

The `birads` stratum is added to the accepted dimensions of the data request.
The CaCu cytology confirmation view is not touched.
This commit is contained in:
Angel Capetillo Zavala
2026-11-12 11:12:56 -06:00
parent 8f01f8693d
commit 552e2c194f
11 changed files with 1510 additions and 5 deletions
@@ -66,7 +66,7 @@ export class IndicadoresService {
}
let params = new HttpParams();
if (scope.estrato) {
if (!['grupo_edad', 'estatus_seguimiento', 'citologia_alto_grado'].includes(scope.estrato)) throw new Error('Dimensión no admitida');
if (!['grupo_edad', 'estatus_seguimiento', 'citologia_alto_grado', 'birads'].includes(scope.estrato)) throw new Error('Dimensión no admitida');
params = params.set('estrato', scope.estrato);
}
if (scope.filtros?.length) params = params.set('filtro', scope.filtros.join(','));