Files
WebApp/src/app/features/indicadores/paciente-detalle/paciente-riesgo-tabla.scss
T
edgar 990cab0e37 Patient risk: probabilities in percent, survival as such, covariates, and one row per model
The table says its probabilities are percentages (0 to 100 %) with their 95 % interval, and its covariates under it.
A model whose estimand asks for its complement (survival from a probability of dying) shows 1 − p with its interval
swapped. "Riesgo acumulado" reads "probabilidad". The models' details are a table of one row per model, without
the version or the batch state.
2026-11-22 15:04:13 -06:00

29 lines
2.3 KiB
SCSS

:host { display: block; min-width: 0; max-width: 100%; }
h4 { margin-block: 0 .5rem; font-size: 1.05rem; }
h5 { margin-block: 1rem .5rem; font-size: 1rem; }
.simulated-label { border-inline-start: 3px solid var(--issste-accent); padding: .75rem; font-weight: 600; }
.availability, .recommendations { color: var(--issste-text-secondary); font-size: .9rem; margin-block: .5rem 1rem; }
.metadata { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 1rem; }
.metadata div { min-width: 0; }
dt { color: var(--issste-text-secondary); font-size: .9rem; }
dd { margin: .3rem 0 0; overflow-wrap: anywhere; }
summary { cursor: pointer; padding-block: .75rem; }
.risk-scroll { width: 100%; min-width: 0; max-width: 100%; max-height: 28rem; overflow: auto;
border: 1px solid var(--issste-border); border-radius: .5rem; box-sizing: border-box; }
.risk-scroll:focus-visible, summary:focus-visible { outline: 2px solid var(--issste-accent); outline-offset: 2px; }
table { width: 100%; min-width: 36rem; border-collapse: separate; border-spacing: 0; text-align: start; font-size: .9rem; }
caption { text-align: start; padding: .75rem; color: var(--issste-text-secondary); }
th, td { padding: .85rem .75rem; vertical-align: top; border-bottom: 1px solid var(--issste-border); overflow-wrap: anywhere; }
thead th { position: sticky; top: 0; background: var(--issste-background, var(--issste-surface)); font-weight: 600; z-index: 1; }
tbody th, td { background: var(--issste-surface); }
tbody tr:last-child > * { border-bottom: 0; }
.percentage, .interval { font-variant-numeric: tabular-nums; white-space: nowrap; }
.risk-curve { margin-block: .75rem 0; border: 1px solid var(--issste-border); border-radius: .5rem; padding-inline: .75rem; }
.risk-sentence { margin: .25rem 0 .75rem; line-height: 1.5; }
.risk-details { margin-block: .75rem 0; border: 1px solid var(--issste-border); border-radius: .5rem; padding-inline: .75rem; }
.risk-details h6 { margin: .75rem 0 .25rem; font-size: .95rem; }
.unavailable { color: var(--issste-text-secondary); }
.unavailable-note { color: var(--issste-text-secondary); font-size: .85rem; margin: .5rem 0 0; }
.covariates-note { color: var(--issste-text-secondary); font-size: .85rem; margin: .5rem 0 0; }
table.models { min-width: 48rem; }