CaCu's page by readings, screening stages, ages and exports

This commit is contained in:
Roberto Treviño
2026-11-30 23:31:58 -06:00
parent 053679c817
commit fe4dd55452
29 changed files with 1831 additions and 212 deletions
+21
View File
@@ -21,6 +21,12 @@
<dt>Fecha de nacimiento</dt>
<dd>{{ p.birthDate ?? 'Sin dato' }}</dd>
</div>
@if (stages()) {
<div>
<dt>Edad</dt>
<dd>{{ age() ?? 'Sin dato' }}</dd>
</div>
}
<div>
<dt>Sexo</dt>
<dd>
@@ -101,6 +107,20 @@
</mat-card-content>
</mat-card>
}
@if (stages(); as s) {
<mat-card appearance="outlined" class="wide" data-section="etapas">
<mat-card-header><mat-card-title>Etapas del tamizaje</mat-card-title></mat-card-header>
<mat-card-content>
<app-stages [stages]="s" [detail]="true" />
<button mat-stroked-button type="button" [disabled]="saving()" (click)="save()">
Exportar PDF
</button>
@if (saveError()) {
<p class="muted" role="alert">{{ saveError() }}</p>
}
</mat-card-content>
</mat-card>
}
<mat-card appearance="outlined">
<mat-card-header><mat-card-title>Historial médico</mat-card-title></mat-card-header>
<mat-card-content>
@@ -169,6 +189,7 @@
><mat-card-title>Riesgos y recomendaciones</mat-card-title></mat-card-header
>
<mat-card-content>
<app-risk-scales [scales]="scales()" />
@if (models().length) {
<table class="plain">
<thead>