Agrupar las tarjetas de CaMa y elegir el periodo en Trazabilidad

This commit is contained in:
2026-12-03 22:21:59 -06:00
parent 84769cb0f4
commit 2a84eb56ca
12 changed files with 142 additions and 120 deletions
+20 -12
View File
@@ -249,6 +249,7 @@ export const PAGES: Record<string, Page> = {
},
cama: {
anchor: 'CAMA_BIRADS456_PACIENTE',
// every single-number card, together at the start, in the order asked for
kpis: [
{
measure: 'CAMA_EU38A',
@@ -260,18 +261,27 @@ export const PAGES: Record<string, Page> = {
title: 'Tiempo de interpretación radiológica a diagnóstico',
...CAMA_DAYS,
},
{
measure: 'CAMA_DIAS_RESULTADO_BIOPSIA',
title: 'Tiempo de interpretación radiológica a resultado de biopsia',
...CAMA_DAYS,
},
{
title: 'Tiempo de diagnóstico a tratamiento',
value: 'Indicador no disponible',
note: 'Indicador no publicado en el catálogo institucional.',
},
{
measure: 'CAMA_DIAS_TOMA_DIAGNOSTICO',
title: 'Tiempo de tamizaje a diagnóstico',
...CAMA_DAYS,
},
{
measure: 'CAMA_BIRADS456_PACIENTE',
title: 'Pacientes evaluadas con BI-RADS 4, 5 o 6',
value: '{n} pacientes',
note: 'Pacientes con mastografía BI-RADS 4, 5 o 6 en el periodo.',
},
{
measure: 'CAMA_TASA_DETECCION_HISTOPATOLOGICA',
title: 'Tasa de detección histopatológica',
value: '{pct} %',
note: '{num} de {den} biopsias con grado conocido presentan carcinoma (in situ o invasor).',
},
],
opportunity: [
{
@@ -356,9 +366,7 @@ export const PAGES: Record<string, Page> = {
section: {
kind: 'readings',
title: 'Resultado de biopsias',
headline: 'CAMA_TASA_DETECCION_HISTOPATOLOGICA',
unit: 'biopsias',
note: 'Biopsias con resultado reportado, por fecha del reporte (no son pacientes ni mastografías). La tasa divide los carcinomas (in situ o invasor) entre biopsias con grado conocido. Los porcentajes de la distribución incluyen todas las biopsias reportadas, también «Sin dato» (sin grado), por lo que sus denominadores pueden ser distintos.',
note: 'Biopsias con resultado reportado, por fecha del reporte (no son pacientes ni mastografías). Los porcentajes incluyen todas las biopsias reportadas, también «Sin dato» (sin grado).',
modes: [
{
kind: 'counts',
@@ -380,7 +388,7 @@ export const PAGES: Record<string, Page> = {
title: 'Mastografías con biopsia',
headline: 'CAMA_CONFIRMACION_BIRADS45',
unit: 'mastografías',
note: 'Mastografías BI-RADS 4, 4A, 4B, 4C o 5 con reporte, por fecha del examen: cuántas tienen un reporte de biopsia. Mide el seguimiento, no el resultado de la biopsia; no es equivalente a la tasa de detección.',
note: 'Mastografías BI-RADS 4, 4A, 4B, 4C o 5 con reporte, por fecha del examen: cuántas tienen un reporte de biopsia. Mide el seguimiento, no el resultado de la biopsia.',
modes: [
{
kind: 'split',
@@ -496,7 +504,7 @@ export const HISTORY: Record<string, History> = {
kind: 'median',
},
{
title: 'Tiempo de diagnóstico a tratamiento',
title: 'Tiempo de diagnóstico tras biopsia a tratamiento',
measure: 'CACU_DIAS_DIAGNOSTICO_TRATAMIENTO',
kind: 'median',
},
@@ -546,7 +554,7 @@ export const HISTORY: Record<string, History> = {
['no_data', 'Sin dato', GREY],
]),
{
title: 'Tasa de confirmación histopatológica',
title: 'Confirmación histopatológica',
measure: 'CAMA_CONFIRMACION_BIRADS45',
kind: 'percent',
},