From 0d458818b52c07dc98a65e5a2f8f5602486c4264 Mon Sep 17 00:00:00 2001 From: edgar Date: Wed, 2 Dec 2026 19:42:36 -0600 Subject: [PATCH] =?UTF-8?q?Ficha:=20dibujar=20el=20intervalo=20sobre=20la?= =?UTF-8?q?=20escala=20y=20llevar=20la=20fecha=20=C3=ADndice=20al=20pie?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/paciente/risk-scales.ts | 35 +++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/src/app/paciente/risk-scales.ts b/src/app/paciente/risk-scales.ts index 3612f4e..340fd6f 100644 --- a/src/app/paciente/risk-scales.ts +++ b/src/app/paciente/risk-scales.ts @@ -79,7 +79,7 @@ export function riskGroups( } @for (g of groups(); track $index) { @if (g.title) { -

{{ g.title }}{{ g.index ? ' · fecha índice ' + g.index : '' }}

+

{{ g.title }}

} @for (s of g.scales; track s.label) {
@@ -97,6 +97,14 @@ export function riskGroups(
@if (s.risk; as r) { + @if (r.low !== undefined && r.high !== undefined) { + + }
} + @if (g.index) { +

Fecha índice {{ g.index }}

+ } } `, styles: ` @@ -124,7 +135,7 @@ export function riskGroups( margin: 0; } .risk-plot { - padding-top: 24px; + padding-top: 30px; position: relative; } .risk-line { @@ -146,6 +157,26 @@ export function riskGroups( #fff 25% ); } + .risk-interval { + border-left: 2px solid #17324d; + border-right: 2px solid #17324d; + height: 8px; + min-width: 2px; + position: absolute; + top: 20px; + } + .risk-interval::before { + background: #17324d; + content: ''; + height: 2px; + left: 0; + position: absolute; + right: 0; + top: 3px; + } + .foot { + font-size: 12px; + } .risk-marker { background: #17324d; bottom: -2px;