Patient lists have a search box; TEA alterations by their Spanish names
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 { Row, rows, windowStart } from './follow-up';
|
||||
import { PatientSearch, patientSearch } from './patient-search';
|
||||
import { Loading } from '../loading';
|
||||
import { name } from './measures';
|
||||
|
||||
@@ -19,6 +20,7 @@ const STATUSES = ['case', 'pre_colposcopy', 'post_colposcopy', 'post_treatment']
|
||||
@Component({
|
||||
selector: 'app-tab-riesgos',
|
||||
imports: [
|
||||
PatientSearch,
|
||||
DecimalPipe,
|
||||
FormsModule,
|
||||
Loading,
|
||||
@@ -41,6 +43,8 @@ export class TabRiesgos {
|
||||
protected readonly horizon = signal(5);
|
||||
protected readonly sort = signal('-recent');
|
||||
protected readonly size = signal(20);
|
||||
/** "Buscar paciente": her name, CURP or record number, as applied. */
|
||||
protected readonly search = signal('');
|
||||
/** A page the user moved to (`next`/`previous`), else the first. */
|
||||
private readonly moved = signal<Bundle | undefined>(undefined);
|
||||
|
||||
@@ -51,6 +55,7 @@ export class TabRiesgos {
|
||||
params: () => ({
|
||||
domain: this.domain(),
|
||||
'follow-up-window': this.window(),
|
||||
...patientSearch(this.search()),
|
||||
'follow-up-cutoff': this.cutoff() || undefined,
|
||||
'follow-up-status': this.status() || undefined,
|
||||
'risk-horizon': this.horizon(),
|
||||
|
||||
Reference in New Issue
Block a user