Restituir el desglose de la ronda subsecuente y sangrar las citologías anormales

This commit is contained in:
2026-12-04 00:50:27 -06:00
parent 72aa91af04
commit 94c3bb6d82
3 changed files with 48 additions and 4 deletions
+1
View File
@@ -93,6 +93,7 @@ describe('bars', () => {
const aggregate = { label: 'Anormal', color: '#f00', codes: ['LSIL', 'HSIL'] };
const t = bars({ kind: 'counts', label: 'x', measure: 'M', catalog, aggregate }, () => r)!;
expect(t.rows[1].cells).toEqual(['3', '30.0 %']);
expect(t.rows.map((row) => !!row.sub)).toEqual([false, false, true, true, false].slice(0, t.rows.length));
const g = grouped(
{
kind: 'grouped',