diff --git a/src/app/features/indicadores/indicadores-cohorte-etiquetas.spec.ts b/src/app/features/indicadores/indicadores-cohorte-etiquetas.spec.ts
index e1132c7..9e4d1e1 100644
--- a/src/app/features/indicadores/indicadores-cohorte-etiquetas.spec.ts
+++ b/src/app/features/indicadores/indicadores-cohorte-etiquetas.spec.ts
@@ -126,7 +126,7 @@ describe('Ficha y archivos de una fila con biopsia reportada y resultado descono
const t = (card.nativeElement.textContent as string).replace(/\s+/g, ' ');
expect(t).toContain('Resultado: No disponible'); expect(t).toContain('Fecha de reporte: 2025-02-15');
expect(t).toContain('Categoría BI-RADS: BI-RADS 5'); expect(t).toContain('50 a 59 años');
- expect(t).toMatch(/Estatus\s*No disponible/); expect(t).not.toMatch(/Estatus de seguimiento|Prioridad|Días de mastografía a diagnóstico/);
+ expect(t).toMatch(/Estatus de seguimiento\s*No disponible/); expect(t).not.toMatch(/Prioridad|Días de mastografía a diagnóstico/);
expect(t).not.toContain('Fecha de biopsia');
const pdf = textos(camaPatientDocument(resumen, NOW, 'data:image/png;base64,AAAA'));
expect(pdf).toContain('Fecha de reporte'); expect(pdf).not.toContain('Fecha de biopsia');
diff --git a/src/app/features/indicadores/paciente-detalle/cama/cama-patient-card.html b/src/app/features/indicadores/paciente-detalle/cama/cama-patient-card.html
index 7a43c4f..44ce13c 100644
--- a/src/app/features/indicadores/paciente-detalle/cama/cama-patient-card.html
+++ b/src/app/features/indicadores/paciente-detalle/cama/cama-patient-card.html
@@ -11,7 +11,7 @@
- {{ p.idLabel }}
- {{ p.patientId }}
- Grupo de edad
- {{ p.ageGroup ?? notAvailable }}
- - Estatus
- {{ p.clinicalScenario ?? notAvailable }}
+ - Estatus de seguimiento
- {{ p.clinicalScenario ?? notAvailable }}
diff --git a/src/app/features/indicadores/paciente-detalle/cama/cama-patient-card.spec.ts b/src/app/features/indicadores/paciente-detalle/cama/cama-patient-card.spec.ts
index efc0674..5ce0f7c 100644
--- a/src/app/features/indicadores/paciente-detalle/cama/cama-patient-card.spec.ts
+++ b/src/app/features/indicadores/paciente-detalle/cama/cama-patient-card.spec.ts
@@ -72,13 +72,14 @@ describe('Ficha CaMa: componente', () => {
String(row['mastografia_fecha']), String(row['biopsia']), String(row['biopsia_fecha'])]) expect(text).toContain(value);
});
- // Fails if the summary brings back the follow-up status, the priority or the days to diagnosis, or loses the "Estatus" label.
- it('shows the clinical scenario as "Estatus" and not the status, priority or days to diagnosis', () => {
- montar({ ...toCamaPatientSummary(complete(), '2026-10-20')!, clinicalScenario: 'En observación' });
+ // Fails if the "Estatus de seguimiento" label carries the row's follow-up status instead of the clinical scenario, or if the priority or the days to diagnosis come back.
+ it('shows the clinical scenario as "Estatus de seguimiento" and not the status, priority or days to diagnosis', () => {
+ montar({ ...toCamaPatientSummary(complete(), '2026-10-20')!, clinicalScenario: 'En observación', status: 'ESTATUS_DE_LA_FILA' });
const labels = [...root().querySelectorAll('header dt')].map(dt => dt.textContent!.trim());
- expect(labels).toEqual(['Identificador seudónimo', 'Grupo de edad', 'Estatus']);
+ expect(labels).toEqual(['Identificador seudónimo', 'Grupo de edad', 'Estatus de seguimiento']);
expect(root().querySelector('header')!.textContent).toContain('En observación');
- for (const label of ['Escenario clínico', 'Estatus de seguimiento', 'Prioridad', 'Días de mastografía a diagnóstico']) expect(root().textContent).not.toContain(label);
+ expect(root().textContent).not.toContain('ESTATUS_DE_LA_FILA');
+ for (const label of ['Escenario clínico', 'Prioridad', 'Días de mastografía a diagnóstico']) expect(root().textContent).not.toContain(label);
});
// Fails if a missing value is left blank or invented instead of reading "No disponible".
diff --git a/src/app/features/indicadores/paciente-detalle/cama/cama-patient-pdf.spec.ts b/src/app/features/indicadores/paciente-detalle/cama/cama-patient-pdf.spec.ts
index e917013..f20ebcd 100644
--- a/src/app/features/indicadores/paciente-detalle/cama/cama-patient-pdf.spec.ts
+++ b/src/app/features/indicadores/paciente-detalle/cama/cama-patient-pdf.spec.ts
@@ -36,9 +36,9 @@ describe('Ficha CaMa: PDF individual', () => {
const p = complete();
const found = texts(definition(p)['content']);
for (const t of [`Paciente ${p.patientId}`, 'Fecha de corte: 2026-10-20', p.birads!, p.mammographyDate!, p.histopathology!, p.biopsyDate!,
- 'Estatus', 'Categoría BI-RADS', 'Fecha de la mastografía', 'Resultado histopatológico', 'Fecha de biopsia']) expect(found).toContain(t);
- // The summary prints the clinical scenario as "Estatus" and leaves out the follow-up status, priority and days to diagnosis.
- for (const t of ['Escenario clínico', 'Estatus de seguimiento', 'Prioridad', 'Días de mastografía a diagnóstico']) expect(found).not.toContain(t);
+ 'Estatus de seguimiento', 'Categoría BI-RADS', 'Fecha de la mastografía', 'Resultado histopatológico', 'Fecha de biopsia']) expect(found).toContain(t);
+ // The summary prints the clinical scenario under "Estatus de seguimiento" and leaves out the priority and the days to diagnosis.
+ for (const t of ['Escenario clínico', 'Prioridad', 'Días de mastografía a diagnóstico']) expect(found).not.toContain(t);
});
// Fails if a missing value is printed as something other than "No disponible".
diff --git a/src/app/features/indicadores/paciente-detalle/cama/cama-patient-pdf.ts b/src/app/features/indicadores/paciente-detalle/cama/cama-patient-pdf.ts
index 0d39941..62d8f52 100644
--- a/src/app/features/indicadores/paciente-detalle/cama/cama-patient-pdf.ts
+++ b/src/app/features/indicadores/paciente-detalle/cama/cama-patient-pdf.ts
@@ -21,7 +21,7 @@ export function camaPatientDocument(patient: CamaPatientSummary, now: Date, logo
...section('Resumen', [
[patient.idLabel, patient.patientId],
['Grupo de edad', patient.ageGroup],
- ['Estatus', patient.clinicalScenario],
+ ['Estatus de seguimiento', patient.clinicalScenario],
]),
...section('Mastografía', [['Categoría BI-RADS', patient.birads], ['Fecha de la mastografía', patient.mammographyDate]]),
...section('Histopatología', [['Resultado histopatológico', patient.histopathology], [patient.biopsyDateLabel ?? 'Fecha de biopsia', patient.biopsyDate]]),