Port TEA and CaCu section 1 adjustments onto the Histórico integration

TEA: Indicadores tab, opportunity summary with real contract values, ordered
opportunity and clinical figures, «No aceptable» label for the EEG quality.
CaCu: renamed lab-result KPI, six time figures under «Tiempo de tamizaje a
diagnóstico», clinical figures with the pending «Progresión por grupo de riesgo».
CaCu's colposcopy and biopsy times use the measures the screening route
publishes and leave them to the route chart while it is shown.
This commit is contained in:
Angel Capetillo Zavala
2026-11-22 02:20:31 -06:00
parent 10773edcc1
commit e3c9849e29
23 changed files with 491 additions and 70 deletions
@@ -43,7 +43,7 @@
<p role="status">La búsqueda inicial se detuvo para conservar tu selección. Pulsa Aplicar para consultar.</p>
}
@let kpis = kpiCards;
@if (kpis.length && !initialPeriodBlocked) {
@if ((kpis.length || (dominio === 'tea' && oportunidadSlots().length)) && !initialPeriodBlocked) {
<section class="kpi-section" aria-labelledby="kpi-section-title" [attr.data-domain]="dominio">
@let resumen = teaResumenPeriodo;
<div class="kpi-heading">
@@ -70,6 +70,19 @@
additionalInfo="Este indicador aún no está publicado por el catálogo institucional." />
}
</div>
@if (oportunidadSlots().length) {
@if (dominio === 'cacu') { <h3 class="subsection-title">Tiempo de tamizaje a diagnóstico</h3> }
<div class="catalog-grid">
@for (slot of oportunidadSlots(); track slot.item ? cardIdentity(slot.item) : slot.titulo) {
@if (slot.item; as item) {
<app-indicador-catalog-card [id]="cardElementId(item)" [dominio]="dominio" [indicador]="item" [tema]="tema" [applied]="figureApplied(item)" [independentPeriods]="independentPeriods(item)"
[pinned]="isPinned(item)" [individual]="true" (pinChanged)="togglePinned(item)" />
} @else {
<app-indicador-figura-pendiente [titulo]="slot.titulo" />
}
}
</div>
}
</section>
}
@@ -118,10 +131,11 @@
@if (screeningRouteAvailable) { <app-indicador-screening-route [dominio]="dominio" [tema]="tema" /> }
<div class="catalog-grid">
@if (histopatologiaPendiente) { <app-indicador-histopatologia-pendiente /> }
@for (item of searchResults().items; track cardIdentity(item)) {
@for (item of clinicosItems(); track cardIdentity(item)) {
<app-indicador-catalog-card [id]="cardElementId(item)" [dominio]="dominio" [indicador]="item" [tema]="tema" [applied]="figureApplied(item)" [independentPeriods]="independentPeriods(item)"
[pinned]="isPinned(item)" (pinChanged)="togglePinned(item)" />
}
@if (dominio === 'cacu') { <app-indicador-figura-pendiente [titulo]="figuraClinicaPendiente" /> }
</div>
}
</section>