Fecha de corte
|
- {{
- row.name ?? row.patient.id!.slice(0, 10)
- }}
+ {{ row.name ?? row.patient.id!.slice(0, 10) }}
@if (row.curp) {
{{ row.curp }}
}
diff --git a/src/app/indicadores/tab-seguimiento.ts b/src/app/indicadores/tab-seguimiento.ts
index 87fd721..c35d163 100644
--- a/src/app/indicadores/tab-seguimiento.ts
+++ b/src/app/indicadores/tab-seguimiento.ts
@@ -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('');
protected readonly size = signal(20);
+ /** "Buscar paciente": her name, CURP or record number, as applied. */
+ protected readonly search = signal('');
private readonly moved = signal(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(),
|