TEA seguimiento: the ADOS-2 relation panel reads the association's rows

This commit is contained in:
ulises
2026-11-21 23:18:39 -06:00
parent 39e1e3e094
commit 34c6f2af3a
3 changed files with 18 additions and 7 deletions
@@ -35,7 +35,8 @@ const CRITERIOS = 'urn:tea:validation';
const FILTRO_EEG: Record<string, string> = { sin_eeg_valido: 'sin-eeg-valido' };
const INTERPRETACION: Record<string, TeaAlteracionEstado> = { H: 'aumentado', L: 'disminuido', N: 'normal' };
// The 10-20 electrodes on the page's head (x left to right, y back to front, radius 1) and the regions they average.
// The 10-20 electrodes on the page's head (x left to right, y back to front, radius 1) and the regions they average,
// the scalp zones of the EEG analysis (`tea.contracts.ZONES`).
export const ELECTRODOS: Record<string, [number, number]> = {
Fp1: [-.25, .77], Fp2: [.25, .77], F7: [-.65, .47], F3: [-.33, .4], Fz: [0, .38], F4: [.33, .4], F8: [.65, .47],
T3: [-.8, 0], C3: [-.4, 0], Cz: [0, 0], C4: [.4, 0], T4: [.8, 0],
@@ -43,7 +44,8 @@ export const ELECTRODOS: Record<string, [number, number]> = {
};
const REGIONES: [string, string, string[]][] = [
['frontal_izq', 'Frontal izquierda', ['Fp1', 'F3', 'F7']], ['frontal_der', 'Frontal derecha', ['Fp2', 'F4', 'F8']],
['central', 'Central', ['Fz', 'C3', 'Cz', 'C4']], ['temporal_izq', 'Temporal izquierda', ['T3', 'T5']],
['frontal_media', 'Frontal media', ['Fz']], ['central', 'Central', ['C3', 'Cz', 'C4']],
['temporal_izq', 'Temporal izquierda', ['T3', 'T5']],
['temporal_der', 'Temporal derecha', ['T4', 'T6']], ['parietal', 'Parietal', ['P3', 'Pz', 'P4']], ['occipital', 'Occipital', ['O1', 'O2']],
];
const EJE = Array.from({ length: 41 }, (_, i) => Math.round((-1 + i * .05) * 100) / 100);