diff --git a/src/app/app-encabezado.spec.ts b/src/app/app-encabezado.spec.ts
index fbb0da1..87f0214 100644
--- a/src/app/app-encabezado.spec.ts
+++ b/src/app/app-encabezado.spec.ts
@@ -80,7 +80,8 @@ describe('Encabezado del marco', () => {
await ir(url);
expect(selector()).toBeNull();
expect(root().querySelector('.platform-title')).toBeNull();
- expect(root().querySelector('.site-header__section')?.textContent).toBe('Análisis de información');
+ expect(root().querySelector('.site-header__section')).toBeNull();
+ expect(root().querySelector('.site-header__nav')?.textContent).not.toContain('Análisis de información');
expect(root().querySelector('.app-shell--indicadores')).toBeNull();
if (url !== '/') expect(root().querySelector('.site-header__crumb')?.textContent).toContain(url === '/conectar' ? 'Conectar datos' : 'Gobernanza de modelos');
});
diff --git a/src/app/app.html b/src/app/app.html
index b4ff016..afd2da8 100644
--- a/src/app/app.html
+++ b/src/app/app.html
@@ -20,9 +20,8 @@
}
} @else {
}
diff --git a/src/app/app.scss b/src/app/app.scss
index 92c26ab..4fc3505 100644
--- a/src/app/app.scss
+++ b/src/app/app.scss
@@ -41,14 +41,6 @@
font-weight: 600;
}
-.site-header__section {
- text-decoration: none;
- color: var(--color-text);
- font-size: 15px;
- font-weight: 500;
- letter-spacing: 0.01em;
-}
-
.app-main {
display: flex;
flex: 1;
@@ -89,11 +81,6 @@
width: clamp(132px, 42vw, 170px);
}
- .site-header__section {
- font-size: 13px;
- text-align: right;
- }
-
.site-footer__content {
min-height: 76px;
padding: 0 20px;
diff --git a/src/app/app.spec.ts b/src/app/app.spec.ts
index 0994bcd..4862b6d 100644
--- a/src/app/app.spec.ts
+++ b/src/app/app.spec.ts
@@ -60,6 +60,15 @@ describe('App', () => {
expect(page.querySelector('.site-footer')).not.toBeNull();
});
+ it('home shows only the brand name as eyebrow and names the risk models action', async () => {
+ // Fails if the eyebrow regains the section text or the action goes back to «Indicadores».
+ const page = await render('/');
+ expect(page.querySelector('.home__eyebrow')?.textContent?.trim()).toBe('ISSSTELEON');
+ const acciones = Array.from(page.querySelectorAll('.home__action')).map(a => a.textContent?.replace(/\s+/g, ' ').trim());
+ expect(acciones.some(t => t?.endsWith('Modelos predictivos de riesgo'))).toBe(true);
+ expect(acciones.some(t => t?.endsWith('Indicadores'))).toBe(false);
+ });
+
it('/conectar opens the full-height workspace (breadcrumb, no footer)', async () => {
const page = await render('/conectar');
expect(page.querySelector('app-connect-page')).not.toBeNull();
diff --git a/src/app/features/indicadores/fhir.ts b/src/app/features/indicadores/fhir.ts
index e184f26..71d0754 100644
--- a/src/app/features/indicadores/fhir.ts
+++ b/src/app/features/indicadores/fhir.ts
@@ -6,7 +6,7 @@ export interface Concept { coding?: Coding[]; text?: string }
export interface Quantity { value?: number; unit?: string }
export interface Extension {
url: string;
- valueCode?: string; valueString?: string; valueInteger?: number; valueDecimal?: number;
+ valueCode?: string; valueString?: string; valueInteger?: number; valueDecimal?: number; valueBoolean?: boolean;
valueDate?: string; valueDateTime?: string; valueCoding?: Coding; valueReference?: { reference?: string };
extension?: Extension[];
}
diff --git a/src/app/features/indicadores/indicadores-analisis-descriptivo.ts b/src/app/features/indicadores/indicadores-analisis-descriptivo.ts
index 4757120..1ca2332 100644
--- a/src/app/features/indicadores/indicadores-analisis-descriptivo.ts
+++ b/src/app/features/indicadores/indicadores-analisis-descriptivo.ts
@@ -97,13 +97,13 @@ export function detalleTarjeta(t: TarjetaAnalisis): string {
| Categoría | Pacientes | Porcentaje (IC 95 %) | Seguimiento |
|---|---|---|---|
| Categoría | Pacientes | Porcentaje (IC 95 %) | Análisis de riesgos |
| {{ i.etiqueta }} | {{ i.suprimido ? 'No publicado' : miles(i.n!) }} | {{ i.suprimido || i.porcentaje === null ? 'No disponible' : decimal(i.porcentaje) + ' % (' + decimal(i.ic_bajo!) + ' a ' + decimal(i.ic_alto!) + ')' }} | @if (!i.suprimido && i.n) { } |
Una categoría con menos de {{ d.umbral_supresion }} pacientes no se publica; para que su cifra no se pueda deducir, otra categoría puede quedar sin publicar.
} @@ -155,7 +155,7 @@ export function detalleTarjeta(t: TarjetaAnalisis): string { } @if (m(); as mm) {Las celdas en blanco no se publican (menos de {{ mm.umbral_supresion }} pacientes, o se ocultan para que otra no se pueda deducir). Una celda publicada abre sus pacientes en Seguimiento.
+Las celdas en blanco no se publican (menos de {{ mm.umbral_supresion }} pacientes, o se ocultan para que otra no se pueda deducir). Una celda publicada abre sus pacientes en Análisis de riesgos.
| BI-RADS | Grupo de edad | Pacientes | Con carcinoma entre los de resultado conocido |
|---|
| Categoría | Pacientes | Seguimiento | ||
|---|---|---|---|---|
| Categoría | Pacientes | Análisis de riesgos | ||
| {{ etiqueta(g.codigo) }} | {{ g.suprimido ? 'No publicado' : miles(g.n!) }} | @if (g.suprimido) { {{ motivo }} } - @else { } | + @else { }||
| {{ biomarcador[f.biomarcador] ?? f.biomarcador }}{{ f.zona_etiqueta }} · z = {{ f.valor_z }}@if (zonaAlterada(f)) { · alterada} | +{{ f.biomarcador }}{{ f.zona_etiqueta }} · z = {{ f.valor_z }}@if (zonaAlterada(f)) { · alterada} | {{ f.resultado_etiqueta }}{{ f.tipo === 'item' ? 'Reactivo' : 'Dominio' }} | OR {{ f.or }}IC 95 % {{ f.ic_inf }}–{{ f.ic_sup }} · q {{ qTexto(f.q) }}{{ direccion(f) }} |
diff --git a/src/app/features/indicadores/tea-paciente-resumen.ts b/src/app/features/indicadores/tea-paciente-resumen.ts
index 2f073cd..1f99f7a 100644
--- a/src/app/features/indicadores/tea-paciente-resumen.ts
+++ b/src/app/features/indicadores/tea-paciente-resumen.ts
@@ -7,9 +7,6 @@ import {
TeaRelacionAdos2, TeaRelacionModelo, TeaSeguimientoService, TeaAdos2,
} from './tea-seguimiento.service';
-const BIOMARCADOR: Record
- ISSSTELEON · Análisis de información +ISSSTELEON Analiza tu informaciónConecta archivos, bases de datos y documentos PDF, mapea sus columnas a la base del proyecto y carga datos validados. @@ -12,7 +12,7 @@ - Indicadores + Modelos predictivos de riesgo |