Decir que la paciente ya fue tratada y nombrar el grado de la citología de referencia
This commit is contained in:
@@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user