ADOS-2 items shown by the child's module, grouped by domain and subdomain

The patient record ADOS-2 table and the Seguimiento ADOS-2 card list only
the module's items, in the order of core.tea.ados2_items as the FHIR
aggregate Observation carries them: each module item component has the
module's item code and exact title as a second coding (and code.text), and
ados2-domain / ados2-subdomain extensions. Components without those
(items outside the module) are not listed. Association titles and the
concordance look the item up by catalog field instead of by row index, so
they do not depend on which items the module has. ADOS2_ITEMS moves to a
shared src/app/ados2.ts.
This commit is contained in:
2026-11-30 16:56:26 -06:00
parent e5556ebf41
commit b847e04697
8 changed files with 301 additions and 60 deletions
+4 -1
View File
@@ -63,7 +63,10 @@ export function recordSections(patient: TeaPatient, norms: ReadonlyMap<string, C
blocks: patient.ados.map((o) => ({
title: shown(o.effectiveDateTime),
fields: adosSummary(o),
table: { headers: ['Ítem', 'Dominio', 'Puntaje'], rows: adosItems(o) },
table: {
headers: ['Dominio', 'Subdominio', 'Código', 'Ítem', 'Puntaje'],
rows: adosItems(o),
},
})),
},
{