Ajustar pestañas y etiquetas de días

This commit is contained in:
2026-12-02 21:54:54 -06:00
parent 5201340a13
commit c08a0b8874
7 changed files with 53 additions and 29 deletions
+4 -4
View File
@@ -39,25 +39,25 @@ import { Loading } from '../loading';
<mat-tab [label]="domain() === 'tea' ? 'Resumen' : 'Indicadores'">
<app-tab-indicadores [domain]="domain()" [measures]="measures.value()!" />
</mat-tab>
<mat-tab label="Trazabilidad">
<mat-tab label="Histórico">
<ng-template matTabContent>
<app-tab-trazabilidad [domain]="domain()" [measures]="measures.value()!" />
</ng-template>
</mat-tab>
@if (domain() === 'cacu') {
<mat-tab label="Análisis de riesgos">
<mat-tab label="Seguimiento">
<ng-template matTabContent>
<app-tab-riesgos [domain]="domain()" />
</ng-template>
</mat-tab>
} @else if (domain() === 'tea') {
<mat-tab label="Análisis de Riesgo">
<mat-tab label="Seguimiento">
<ng-template matTabContent>
<app-tab-riesgos-tea [domain]="domain()" />
</ng-template>
</mat-tab>
} @else if (domain() === 'cama') {
<mat-tab label="Análisis de riesgos">
<mat-tab label="Seguimiento">
<ng-template matTabContent>
<app-tab-seguimiento [domain]="domain()" />
</ng-template>
+18 -4
View File
@@ -212,7 +212,10 @@ export const CACU: Page = {
{ label: 'Días de toma de citología a resultado', measure: 'CACU_EU_TIEMPO_REPORTE' },
{ label: 'Resultado de colposcopía', measure: 'CACU_DIAS_TOMA_COLPOSCOPIA' },
{ label: 'Resultado de biopsia', measure: 'CACU_DIAS_TOMA_BIOPSIA' },
{ label: 'Diagnóstico tras biopsia', measure: 'CACU_DIAS_TOMA_DIAGNOSTICO_POST_BIOPSIA' },
{
label: 'Diagnóstico tras biopsia',
measure: 'CACU_DIAS_TOMA_DIAGNOSTICO_POST_BIOPSIA',
},
],
},
{
@@ -221,7 +224,10 @@ export const CACU: Page = {
label: 'Por pasos',
caption: 'Cada paso mide a sus propias pacientes: las medianas no se suman.',
steps: [
{ label: 'Días de toma de citología a resultado', measure: 'CACU_EU_TIEMPO_REPORTE' },
{
label: 'Días de toma de citología a resultado',
measure: 'CACU_EU_TIEMPO_REPORTE',
},
{ label: 'Resultado a colposcopía', measure: 'CACU_DIAS_RESULTADO_COLPOSCOPIA' },
{ label: 'Colposcopía a biopsia', measure: 'CACU_DIAS_COLPOSCOPIA_BIOPSIA' },
{ label: 'Biopsia a diagnóstico', measure: 'CACU_DIAS_BIOPSIA_DIAGNOSTICO' },
@@ -237,7 +243,12 @@ export const CACU: Page = {
kind: 'days',
tint: TINT,
label: 'Diagnóstico tras biopsia',
steps: [{ label: 'Toma a diagnóstico tras biopsia', measure: 'CACU_DIAS_TOMA_DIAGNOSTICO_POST_BIOPSIA' }],
steps: [
{
label: 'Toma a diagnóstico tras biopsia',
measure: 'CACU_DIAS_TOMA_DIAGNOSTICO_POST_BIOPSIA',
},
],
},
],
},
@@ -272,7 +283,10 @@ export const CACU: Page = {
catalog: HPV,
hidden: HPV_HIDDEN,
},
...groupViews('CACU_VPH_GENOTIPO', HPV, 'reportes', { ofAll: true, hidden: HPV_HIDDEN }),
...groupViews('CACU_VPH_GENOTIPO', HPV, 'reportes', {
ofAll: true,
hidden: HPV_HIDDEN,
}),
],
},
{
+5 -5
View File
@@ -263,16 +263,16 @@ export const PAGES: Record<string, Page> = {
},
{
measure: 'CAMA_EU38A',
title: 'Tiempo de toma de mastografía a interpretación radiológica',
title: 'Días de toma de mastografía a interpretación radiológica',
...CAMA_DAYS,
},
{
measure: 'CAMA_DIAS_RESULTADO_DIAGNOSTICO',
title: 'Tiempo de interpretación radiológica a diagnóstico',
title: 'Días de interpretación radiológica a diagnóstico',
...CAMA_DAYS,
},
{
title: 'Tiempo de diagnóstico a tratamiento',
title: 'Días de diagnóstico a tratamiento',
value: 'Indicador no disponible',
note: PENDING,
},
@@ -280,12 +280,12 @@ export const PAGES: Record<string, Page> = {
opportunity: [
{
kind: 'route',
title: 'Tiempo de tamizaje a diagnóstico',
title: 'Días de tamizaje a diagnóstico',
// from the mammography: only the two measures that start at it
sample: [
{ label: 'Interpretación radiológica', measure: 'CAMA_EU38A' },
{
label: 'Diagnóstico (tiempo total de tamizaje a diagnóstico)',
label: 'Diagnóstico (días de tamizaje a diagnóstico)',
measure: 'CAMA_DIAS_TOMA_DIAGNOSTICO',
},
],
+2 -2
View File
@@ -33,10 +33,10 @@ interface Drawn {
</mat-button-toggle-group>
</section>
@if (series.isLoading()) {
<app-loading what="la trazabilidad" text="Cargando trazabilidad…" />
<app-loading what="el histórico" text="Cargando histórico…" />
} @else if (series.error()) {
<p class="muted" role="alert">
No se pudo cargar la trazabilidad.
No se pudo cargar el histórico.
<button type="button" class="retry" (click)="series.reload()">Reintentar</button>
</p>
} @else {