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:
@@ -17,7 +17,7 @@ export interface Indicador {
|
||||
tipos_periodo: TipoPeriodo[];
|
||||
filtros?: IndicadorFiltro[];
|
||||
}
|
||||
export type DimensionEstrato = 'grupo_edad' | 'estatus_seguimiento' | 'citologia_alto_grado';
|
||||
export type DimensionEstrato = 'grupo_edad' | 'estatus_seguimiento' | 'citologia_alto_grado' | 'birads';
|
||||
export interface IndicadorFiltro { estrato: string; etiqueta: string; valores: { valor: string; etiqueta: string }[]; }
|
||||
export interface DatosScope { estrato?: DimensionEstrato; filtros?: readonly string[]; }
|
||||
export interface EstratoTotal { periodo: string; grupo: string; estrato: string; n: number | null; suprimido: 0 | 1; }
|
||||
|
||||
Reference in New Issue
Block a user