feat(indicadores): CaMa detection and result-to-diagnosis indicators wired with real payloads
CAM-01 and CAM-02 already had their KPI cards and history panels waiting for the catalog; they are now covered with the answers WebApi gives for the synthetic base, both visible (lowered suppression threshold) and suppressed (normal threshold). Once published they draw only their KPI card in the summary, as the mockup does, instead of an extra generic figure card; their evolution stays in the history. The stacked history figure now keeps a category the catalog announces even when no row carries it, so a missing category is named under the figure instead of silently disappearing. The integration specs also cover the summary and the history with CAM-01, CAM-02 and CAM-03 published.
This commit is contained in:
@@ -69,7 +69,9 @@ export function camaKpiCards(published: (id: string) => boolean): KpiCardSlot[]
|
||||
// Published CaMa indicators whose card the summary does not draw.
|
||||
// The summary draws the paired card and the histopathology card; the rest of CaMa's indicators are in Histórico
|
||||
// and in Datos y definiciones, which still list the whole catalog.
|
||||
export const CAMA_FUERA_DEL_RESUMEN: readonly string[] = ['cama_biopsias', 'cama_confirmacion_birads45', 'cama_dias_toma_diagnostico', 'cama_eu38a'];
|
||||
// The two published opportunity indicators draw their KPI card only; their evolution is in Histórico.
|
||||
export const CAMA_FUERA_DEL_RESUMEN: readonly string[] = ['cama_biopsias', 'cama_confirmacion_birads45', 'cama_dias_toma_diagnostico', 'cama_eu38a',
|
||||
'cama_tasa_deteccion_histopatologica', 'cama_dias_resultado_diagnostico'];
|
||||
export const ID_HISTOPATOLOGIA_CAMA = 'cama_histopatologia_birads';
|
||||
// C1 rows of CaCu/CaMa carry the linkId `total`; TEA's ficha names its single group `TOTAL`.
|
||||
const C1_GROUP: Record<Dominio, string> = { tea: 'TOTAL', cacu: 'total', cama: 'total' };
|
||||
|
||||
Reference in New Issue
Block a user