CaMa patient record: the recurrence figures of the scenarios she meets
This commit is contained in:
@@ -75,6 +75,8 @@ describe('Tabla de seguimiento con pac_id', () => {
|
||||
// Opening a CaMa record asks for the patient's risk; in these tests nobody has one.
|
||||
afterEach(() => {
|
||||
http.match(r => r.url === '/cama/fhir/RiskAssessment').forEach(r => { if (!r.cancelled) r.flush({ resourceType: 'Bundle', type: 'searchset', total: 0 }); });
|
||||
// The record also asks for the recurrence figures of the patient; there is no model for them here.
|
||||
http.match(r => r.url === '/cama/modelo/recurrencia').forEach(r => { if (!r.cancelled) r.flush({ error: 'sin recurrencia' }, { status: 404, statusText: 'Not Found' }); });
|
||||
fixture.destroy(); http.verify();
|
||||
});
|
||||
const root = () => fixture.nativeElement as HTMLElement;
|
||||
|
||||
Reference in New Issue
Block a user