feat(cama): histopathological confirmation drawn like CaCu's, by BI-RADS category
How: CaCu's confirmation view (rates per row with their horizontal Wilson interval, and a donut of biopsy results whose buttons choose what the rates count) takes a VistaConfirmacion: indicator id, stratum, fixed rows (most severe on top), the grade whose group is the base view, the grade read as a false positive, and its words. CONFIRMACION_CACU reproduces the previous behaviour exactly; CONFIRMACION_CAMA reads cama_histopatologia_birads by BI-RADS 6, 5, 4C, 4B and 4A, with "Maligno" (the group of INVASOR) as the base, so the base rate is the cancer detection rate, and "Benigno" alone reads as false positives. The catalog card chooses the view with vistaConfirmacion(dominio, indicador). Implications: the backend must publish cama_histopatologia_birads stratified by `birads`, with exactly two groups of results (plus SIN_DATO/SIN_BIOPSIA kept apart), as cacu_confirmacion_citologia is. The EU7-style view stays available through the catalog's `escenario` field but no CaMa indicator uses it now.
This commit is contained in:
@@ -18,7 +18,7 @@ import { IndicadorEu7Escenario } from './indicador-eu7-escenario';
|
||||
import { vistaEscenario } from './indicadores-eu7-escenario';
|
||||
import { IndicadorTiemposPareados } from './indicador-tiempos-pareados';
|
||||
import { IndicadorConfirmacionCitologia } from './indicador-confirmacion-citologia';
|
||||
import { ID_CONFIRMACION } from './indicadores-confirmacion-citologia';
|
||||
import { vistaConfirmacion } from './indicadores-confirmacion-citologia';
|
||||
import { parTiempos } from './indicadores-tiempos-pareados';
|
||||
|
||||
@Component({
|
||||
@@ -122,7 +122,7 @@ export class IndicadorCatalogCard implements OnChanges, OnDestroy {
|
||||
}
|
||||
get pair() { return dualFigures(this.indicador); }
|
||||
get isEu7() { return !!vistaEscenario(this.dominio, this.indicador); }
|
||||
get isConfirmacion() { return this.dominio === 'cacu' && this.indicador.id === ID_CONFIRMACION; }
|
||||
get isConfirmacion() { return !!vistaConfirmacion(this.dominio, this.indicador); }
|
||||
// Connected time pairs replace the diagnosis card with one coordinated box plot.
|
||||
get tiempos() { return parTiempos(this.dominio, this.indicador.id); }
|
||||
get isDual() { return this.pair.includes(this.selectedFigure ?? ''); }
|
||||
|
||||
Reference in New Issue
Block a user