Mostrar tabla de valores de supervivencia
This commit is contained in:
@@ -568,6 +568,42 @@
|
||||
}
|
||||
@if (domain() === 'cacu') {
|
||||
<app-risk-scales [groups]="survivalScales()" />
|
||||
@for (g of survivalScales(); track $index) {
|
||||
<details data-section="valores-supervivencia">
|
||||
<summary>Modelos y valores</summary>
|
||||
<table class="plain">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Modelo</th>
|
||||
<th>Fecha índice</th>
|
||||
<th>Horizonte</th>
|
||||
<th>Supervivencia</th>
|
||||
<th>IC 95 %</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@for (v of g.scales; track v.label) {
|
||||
<tr>
|
||||
<td>{{ $first ? g.model : '' }}</td>
|
||||
<td>{{ $first ? g.index : '' }}</td>
|
||||
<td>{{ v.risk!.years }} {{ v.risk!.years === 1 ? 'año' : 'años' }}</td>
|
||||
<td>{{ v.risk!.p * 100 | number: '1.1-2' }} %</td>
|
||||
<td>
|
||||
@if (v.risk!.low !== undefined && v.risk!.high !== undefined) {
|
||||
{{ v.risk!.low! * 100 | number: '1.1-2' }}–{{
|
||||
v.risk!.high! * 100 | number: '1.1-2'
|
||||
}}
|
||||
%
|
||||
} @else {
|
||||
—
|
||||
}
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
</details>
|
||||
}
|
||||
<h3>Curva de supervivencia</h3>
|
||||
@if (combination.isLoading()) {
|
||||
<app-loading what="la curva de supervivencia" [figure]="true" />
|
||||
|
||||
Reference in New Issue
Block a user