Conectar dialog by kind of source; plain-language canvas; login page and guard; loading indicators as the old app; survival curves of her clinical scenarios in the CaMa record
This commit is contained in:
@@ -8,11 +8,13 @@ import { TabIndicadores } from './tab-indicadores';
|
||||
import { TabRiesgos } from './tab-riesgos';
|
||||
import { TabSeguimiento } from './tab-seguimiento';
|
||||
import { TabTrazabilidad } from './tab-trazabilidad';
|
||||
import { Loading } from '../loading';
|
||||
|
||||
/** A domain's indicator page: four tabs over its FHIR measures and patients. */
|
||||
@Component({
|
||||
selector: 'app-indicadores',
|
||||
imports: [
|
||||
Loading,
|
||||
MatTabsModule,
|
||||
TabIndicadores,
|
||||
TabTrazabilidad,
|
||||
@@ -27,7 +29,7 @@ import { TabTrazabilidad } from './tab-trazabilidad';
|
||||
Indicadores de calidad y oportunidad del tamizaje, a partir de los datos cargados.
|
||||
</p>
|
||||
@if (measures.isLoading()) {
|
||||
<p class="muted">Cargando indicadores…</p>
|
||||
<app-loading what="los indicadores" />
|
||||
} @else if (measures.error()) {
|
||||
<p class="muted" role="alert">No se pudieron leer los indicadores.</p>
|
||||
} @else if (!measures.value()?.length) {
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
</div>
|
||||
|
||||
@if (reports.isLoading()) {
|
||||
<p class="muted">Calculando…</p>
|
||||
<app-loading what="los indicadores" text="Calculando los indicadores…" />
|
||||
}
|
||||
|
||||
@if (kpis().length) {
|
||||
|
||||
@@ -23,12 +23,14 @@ import {
|
||||
STRATA,
|
||||
strataBars,
|
||||
} from './measures';
|
||||
import { Loading } from '../loading';
|
||||
|
||||
/** The period's indicators: the timeliness KPIs, the screening route, and a card per
|
||||
* clinical measure with its figures. */
|
||||
@Component({
|
||||
selector: 'app-tab-indicadores',
|
||||
imports: [
|
||||
Loading,
|
||||
FormsModule,
|
||||
MatButtonModule,
|
||||
MatButtonToggleModule,
|
||||
|
||||
@@ -5,11 +5,12 @@ import type { Measure, MeasureReport } from 'fhir/r4';
|
||||
import { Fhir, resources } from '../fhir';
|
||||
import { Figure, Plot } from '../plot';
|
||||
import { history, periods, PeriodType, periodTypes, reading } from './measures';
|
||||
import { Loading } from '../loading';
|
||||
|
||||
/** Each measure over time: every period of the chosen kind, oldest first. */
|
||||
@Component({
|
||||
selector: 'app-tab-trazabilidad',
|
||||
imports: [MatButtonToggleModule, MatCardModule, Plot],
|
||||
imports: [Loading, MatButtonToggleModule, MatCardModule, Plot],
|
||||
template: `
|
||||
<div class="bar">
|
||||
<mat-button-toggle-group
|
||||
@@ -22,7 +23,7 @@ import { history, periods, PeriodType, periodTypes, reading } from './measures';
|
||||
</mat-button-toggle-group>
|
||||
</div>
|
||||
@if (series.isLoading()) {
|
||||
<p class="muted">Calculando…</p>
|
||||
<app-loading what="las series" text="Calculando las series del periodo…" />
|
||||
}
|
||||
<div class="grid">
|
||||
@for (item of figures(); track item.measure.id) {
|
||||
|
||||
Reference in New Issue
Block a user