feat(indicadores): CaMa summary keeps the paired card and a pending histopathology card

Confirmation, screening-to-diagnosis and exam-to-result cards leave the summary (they stay in Histórico and Datos y definiciones). The histopathological result by BI-RADS keeps its place and structure as a pending card, with no figure or number, until the catalog publishes its indicator. The patients KPI uses the reference's wording.
This commit is contained in:
Angel Capetillo Zavala
2026-11-12 09:26:55 -06:00
parent 8aa66c6277
commit 0914b8db23
7 changed files with 104 additions and 9 deletions
@@ -91,7 +91,7 @@
<div class="catalog-heading">
<h2 id="graphic-section-title" class="section-title">{{ dominio === 'cacu' || dominio === 'cama' ? 'Indicadores clínicos' : 'Indicadores gráficos' }}</h2>
@if (!catalogLoading() && !catalogError() && catalog().length) {
<p class="catalog-count" role="status">{{ shownIndicators }} indicadores publicados</p>
<p class="catalog-count" role="status">{{ shownIndicators }} {{ shownIndicators === 1 ? 'indicador publicado' : 'indicadores publicados' }}</p>
}
</div>
@if (catalogLoading()) {
@@ -126,6 +126,7 @@
</p>
}
<div class="catalog-grid">
@if (histopatologiaPendiente) { <app-indicador-histopatologia-pendiente /> }
@for (item of searchResults().items; 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)" />