Patient lists have a search box; TEA alterations by their Spanish names

This commit is contained in:
Roberto Treviño
2026-11-29 12:39:07 -06:00
parent 55c4e0b173
commit 2216186d26
8 changed files with 137 additions and 6 deletions
+5
View File
@@ -8,6 +8,7 @@ import { RouterLink } from '@angular/router';
import type { Bundle } from 'fhir/r4';
import { Fhir } from '../fhir';
import { camaRows, windowStart } from './follow-up';
import { PatientSearch, patientSearch } from './patient-search';
import { Loading } from '../loading';
import { name, PRIORITY } from './measures';
@@ -18,6 +19,7 @@ const STATUSES = ['cancer', 'pending_biopsy', 'biopsy_no_result', 'benign_biopsy
@Component({
selector: 'app-tab-seguimiento',
imports: [
PatientSearch,
FormsModule,
Loading,
MatButtonModule,
@@ -37,6 +39,8 @@ export class TabSeguimiento {
protected readonly window = signal(3);
protected readonly status = signal<string>('');
protected readonly size = signal(20);
/** "Buscar paciente": her name, CURP or record number, as applied. */
protected readonly search = signal('');
private readonly moved = signal<Bundle | undefined>(undefined);
protected readonly statuses = STATUSES;
@@ -47,6 +51,7 @@ export class TabSeguimiento {
params: () => ({
domain: this.domain(),
'follow-up-window': this.window(),
...patientSearch(this.search()),
'follow-up-cutoff': this.cutoff() || undefined,
'follow-up-status': this.status() || undefined,
_count: this.size(),