CaCu patient record and indicators: risk by follow-up status, screening route reading note, history panels #26

Merged
edgar merged 15 commits from feature/cacu-ficha-riesgo-gobernanza into dev 2026-11-22 23:26:16 -06:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit ec5b8fde6b - Show all commits
@@ -78,7 +78,8 @@ describe('KPI de tratamiento de CaCu', () => {
expect(cards[0].querySelector('.value')).toBeNull();
expect(cards[1].querySelector('.value')?.firstChild?.textContent).toBe('7.75');
expect(cards[1].querySelector('.period')?.textContent).toContain(PERIOD);
expect(cards[1].textContent).toContain('El evento de tratamiento se infiere de notas clínicas');
// the cards carry no provisional notice: what the measure is lives in its technical sheet
expect(cards[1].textContent).not.toContain('Indicador provisional');
expect(root.querySelector('.kpi-section .catalog-grid')?.textContent).not.toContain('diagnóstico a tratamiento');
expect(root.querySelector('.graphic-section app-indicador-catalog-card')).toBeNull();
http.expectNone(() => true);
@@ -22,7 +22,6 @@ const CACU_TRATAMIENTO_C3R = {
unit: 'días (mediana)',
requiresObservations: true,
c3rInfo: (n, q1, q3) => `${n} ${n === 1 ? 'observación' : 'observaciones'}. Primer cuartil de ${q1} días y tercer cuartil de ${q3} días.`,
note: 'Indicador provisional. El evento de tratamiento se infiere de notas clínicas, sin confirmación de que se realizó.',
} satisfies Omit<KpiDefinition, 'id' | 'title'>;
export const CACU_TRATAMIENTO_KPIS: readonly KpiDefinition[] = [