Decir que la paciente ya fue tratada y nombrar el grado de la citología de referencia

This commit is contained in:
2026-12-04 16:47:40 -06:00
parent c28cf31e2a
commit c128448317
4 changed files with 13 additions and 9 deletions
+6
View File
@@ -28,4 +28,10 @@ describe('ineligibility', () => {
expect(ineligibility(state, 'case', '2025-06-01')).toBeUndefined();
expect(ineligibility({ kind: 'error' }, 'pre_colposcopy', '2025-06-01')).toBeUndefined();
});
it('says of a treated patient only that she was already treated', () => {
const text = 'No disponible por: paciente ya tratada.';
expect(ineligibility(state, 'post_treatment', '2025-06-01')).toBe(text);
expect(ineligibility({ kind: 'error' }, 'post_treatment', '2025-06-01')).toBe(text);
});
});