T17: sweep of the WebApp after the feature-parity work
Removed the legacy indicator layout, unused chart helpers, styles and exports, the card-actions component, fetch-all and explanatory comments; one pager shared by the four worklists, shared filter-row styles, one FHIR name and CURP reader, downloads through export/, the concept-map editor on Material controls.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<div class="filters card">
|
||||
<div class="filters worklist-filters card">
|
||||
<app-patient-search [(value)]="search" (searched)="index.set(0)" />
|
||||
<mat-form-field appearance="outline" subscriptSizing="dynamic">
|
||||
<mat-label>Fecha de corte</mat-label>
|
||||
@@ -91,14 +91,22 @@
|
||||
<section class="card eeg-summary" aria-labelledby="tea-eeg-summary">
|
||||
<h3 id="tea-eeg-summary">EEG de los pacientes del periodo</h3>
|
||||
<div class="counts">
|
||||
<span><strong>{{ eeg.normal }}</strong> Normales</span>
|
||||
<span><strong>{{ eeg.abnormal }}</strong> Anormales</span>
|
||||
<span><strong>{{ eeg.notValid }}</strong> Sin EEG válido</span>
|
||||
<span
|
||||
><strong>{{ eeg.normal }}</strong> Normales</span
|
||||
>
|
||||
<span
|
||||
><strong>{{ eeg.abnormal }}</strong> Anormales</span
|
||||
>
|
||||
<span
|
||||
><strong>{{ eeg.notValid }}</strong> Sin EEG válido</span
|
||||
>
|
||||
</div>
|
||||
@if (eeg.alterations.length) {
|
||||
<ul class="by-alteration">
|
||||
@for (alteration of eeg.alterations; track alteration.code) {
|
||||
<li>{{ name(alteration.code) }}: <strong>{{ alteration.patients }}</strong></li>
|
||||
<li>
|
||||
{{ name(alteration.code) }}: <strong>{{ alteration.patients }}</strong>
|
||||
</li>
|
||||
}
|
||||
</ul>
|
||||
}
|
||||
@@ -195,9 +203,7 @@
|
||||
<td>{{ (pair.probability | number: '1.0-4') ?? '—' }}</td>
|
||||
<td>{{ (pair.reference | number: '1.0-4') ?? '—' }}</td>
|
||||
<td>
|
||||
{{
|
||||
pair.sameDirection == null ? '—' : pair.sameDirection ? 'Sí' : 'No'
|
||||
}}
|
||||
{{ pair.sameDirection == null ? '—' : pair.sameDirection ? 'Sí' : 'No' }}
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
@@ -215,25 +221,12 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<nav class="pager" aria-label="Páginas de pacientes">
|
||||
<span class="muted">
|
||||
Página {{ index() + 1 }} de {{ pageCount() }} · {{ filtered().length }} registros
|
||||
</span>
|
||||
<button
|
||||
mat-stroked-button
|
||||
type="button"
|
||||
(click)="index.set(index() - 1)"
|
||||
[disabled]="index() === 0"
|
||||
>
|
||||
Anterior
|
||||
</button>
|
||||
<button
|
||||
mat-stroked-button
|
||||
type="button"
|
||||
(click)="index.set(index() + 1)"
|
||||
[disabled]="index() + 1 >= pageCount()"
|
||||
>
|
||||
Siguiente
|
||||
</button>
|
||||
</nav>
|
||||
<app-pager
|
||||
[previousDisabled]="index() === 0"
|
||||
[nextDisabled]="index() + 1 >= pageCount()"
|
||||
(previous)="index.set(index() - 1)"
|
||||
(next)="index.set(index() + 1)"
|
||||
>
|
||||
Página {{ index() + 1 }} de {{ pageCount() }} · {{ filtered().length }} registros
|
||||
</app-pager>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user