Indicadores TEA: Resumen, Trazabilidad, Seguimiento, Análisis de riesgo, periodicities
This commit is contained in:
@@ -9,6 +9,7 @@ import { RouterLink } from '@angular/router';
|
||||
import type { Bundle } from 'fhir/r4';
|
||||
import { Fhir } from '../fhir';
|
||||
import { rows, windowStart } from './follow-up';
|
||||
import { TeaList } from './tea-list';
|
||||
import { name } from './measures';
|
||||
|
||||
const STATUSES = ['case', 'pre_colposcopy', 'post_colposcopy', 'post_treatment'];
|
||||
@@ -25,6 +26,7 @@ const STATUSES = ['case', 'pre_colposcopy', 'post_colposcopy', 'post_treatment']
|
||||
MatInputModule,
|
||||
MatSelectModule,
|
||||
RouterLink,
|
||||
TeaList,
|
||||
],
|
||||
templateUrl: './tab-riesgos.html',
|
||||
styleUrl: './tab-riesgos.scss',
|
||||
@@ -46,15 +48,18 @@ export class TabRiesgos {
|
||||
protected readonly name = name;
|
||||
|
||||
private readonly first = resource({
|
||||
params: () => ({
|
||||
domain: this.domain(),
|
||||
'follow-up-window': this.window(),
|
||||
'follow-up-cutoff': this.cutoff() || undefined,
|
||||
'follow-up-status': this.status() || undefined,
|
||||
'risk-horizon': this.horizon(),
|
||||
_sort: this.sort(),
|
||||
_count: this.size(),
|
||||
}),
|
||||
params: () =>
|
||||
this.domain() === 'tea'
|
||||
? undefined
|
||||
: {
|
||||
domain: this.domain(),
|
||||
'follow-up-window': this.window(),
|
||||
'follow-up-cutoff': this.cutoff() || undefined,
|
||||
'follow-up-status': this.status() || undefined,
|
||||
'risk-horizon': this.horizon(),
|
||||
_sort: this.sort(),
|
||||
_count: this.size(),
|
||||
},
|
||||
loader: ({ params: { domain, ...params } }) => {
|
||||
this.moved.set(undefined);
|
||||
return this.fhir.search(domain, 'Patient', {
|
||||
|
||||
Reference in New Issue
Block a user