arrow_back Regresar
@if (domain() === 'tea') {
@if (tea.error()) {
No se encontró el paciente.
} @else if (tea.value(); as t) {
@if (risk()) {
Análisis de riesgo TEA
@if (t.patient.name?.[0]?.text; as name) {
{{ name }}
}
} @else {
{{ t.patient.name?.[0]?.text ?? 'Paciente' }}
{{ t.patient.id!.slice(0, 10) }}
@for (row of teaIdentity(); track $index) {
- {{ row[0] }}
- {{ row[1] }}
}
}
@if (exportError()) {
No se pudo exportar el PDF.
}
@for (section of teaSections(); track section.title) {
@if (risk() && section.title === forestTitle) {
Solo zonas alteradas
}
@if (risk() && section.title === probabilityTitle && t.pairs.length) {
Par
@for (pair of t.pairs; track pair.key) {
{{ pair.title }}
}
}
}
} @else {
}
} @else if (error()) {
No se encontró la paciente.
} @else if (patient(); as p) {
{{ identity().name ?? 'Paciente' }} {{ p.id!.slice(0, 10) }}
- CURP
- {{ identity().curp ?? 'Sin dato' }}
- Expedientes
- {{ identity().numbers.join(', ') || 'Sin dato' }}
- Fecha de nacimiento
- {{ p.birthDate ?? 'Sin dato' }}
- Sexo
-
{{ p.gender === 'female' ? 'Femenino' : p.gender === 'male' ? 'Masculino' : 'Sin dato' }}
@if (cama(); as c) {
- Grupo de edad
- {{ c.ageGroup || 'No disponible' }}
- Escenario clínico
- {{ c.scenario }}
- Estatus de seguimiento
-
{{ c.status ?? 'Fuera de la lista (' + c.window + ' meses al ' + c.cutoff + ')' }}
- Prioridad
- {{ c.priority ?? 'No disponible' }}
- Días de mastografía a diagnóstico
- {{ c.days ?? 'No disponible' }}
} @else {
@if (status()) {
- Estatus de seguimiento
- {{ status() }}
}
}
@if (p.deceasedDateTime) {
- Defunción
- {{ p.deceasedDateTime }}
}
@if (cama(); as c) {
Mastografía
Última mastografía
- Categoría BI-RADS
- {{ c.birads ?? 'No disponible' }}
- Fecha
- {{ c.mammogram ?? 'No disponible' }}
Histopatología
Resultado histopatológico
- Resultado
- {{ c.histology ?? 'No disponible' }}
- Fecha de reporte de la biopsia
- {{ c.biopsy ?? 'No disponible' }}
}
Historial médico
| Fecha |
Tipo |
Detalle |
@for (h of history(); track $index) {
| {{ h.date }} |
{{ h.kind }} |
{{ h.text }}
@if (h.code && h.code !== h.text) {
({{ h.code }})
}
|
} @empty {
| Sin registros. |
}
Pruebas y resultados
| Toma |
Estudio |
Reporte |
Resultados |
@for (t of tests(); track $index) {
| {{ t.date }} |
{{ t.kind }} |
{{ t.reported ?? 'Pendiente' }} |
{{ t.results.join(' · ') || '—' }} |
} @empty {
| Sin estudios. |
}
Riesgos y recomendaciones
@if (models().length) {
| Modelo |
Fecha índice |
Horizonte |
Probabilidad |
IC 95 % |
@for (m of models(); track m.model) {
@for (p of m.predictions; track p.years) {
| {{ $first ? m.text : '' }} |
{{ $first ? m.index : '' }} |
{{ p.years }} {{ p.years === 1 ? 'año' : 'años' }} |
{{ p.p * 100 | number: '1.1-2' }} % |
@if (p.low !== undefined) {
{{ p.low * 100 | number: '1.1-2' }}–{{ p.high! * 100 | number: '1.1-2' }}
%
} @else {
—
}
|
}
}
} @else {
Sin evaluación de un modelo en producción.
}
@if (recurrenceModel(); as rm) {
Pronóstico y recomendaciones
Análisis de recurrencia
| Horizonte |
Probabilidad de recurrencia |
@for (p of rm.predictions; track p.years) {
| {{ p.years | number: '1.0-1' }} {{ p.years === 1 ? 'año' : 'años' }} |
{{ p.p * 100 | number: '1.1-1' }} % |
}
@if (recurrence.isLoading()) {
} @else if (recurrence.value(); as s) {
Escenario clínico de la paciente
@for (name of s.scenarios; track name) {
- {{ name }}
}
@for (f of s.figures; track f.title) {
{{ f.title }}
} @empty {
Sus escenarios no tienen recaídas suficientes para trazar curvas.
}
} @else if (recurrence.error()) {
No se pudo leer el informe del modelo.
}
}
@if (models().some((m) => m.model.endsWith('.survival') && m.scenarios.length)) {
Riesgo de muerte
Análisis de supervivencia
@if (survival.isLoading()) {
} @else if (survival.value(); as s) {
Escenario clínico de la paciente
@for (name of s.scenarios; track name) {
- {{ name }}
}
@for (f of s.figures; track f.title) {
{{ f.title }}
} @empty {
Sus escenarios no tienen fallecimientos suficientes para trazar curvas.
}
} @else if (survival.error()) {
No se pudo leer el informe del modelo.
}
}
} @else if (loading()) {
}