@medplum/mock 2.0.2 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16685,7 +16685,11 @@
16685
16685
  menu: [
16686
16686
  {
16687
16687
  title: 'Favorites',
16688
- link: [{ name: 'Patients', target: '/Patient' }],
16688
+ link: [
16689
+ { name: 'Patients', target: '/Patient' },
16690
+ { name: 'Active Orders', target: '/ServiceRequest?status=active' },
16691
+ { name: 'Completed Orders', target: '/ServiceRequest?status=completed' },
16692
+ ],
16689
16693
  },
16690
16694
  {
16691
16695
  title: 'Admin',
@@ -16746,6 +16750,7 @@
16746
16750
  }
16747
16751
  return Promise.resolve({
16748
16752
  ok: true,
16753
+ status: response?.resourceType === 'OperationOutcome' ? core.getStatus(response) : 200,
16749
16754
  blob: () => Promise.resolve(response),
16750
16755
  json: () => Promise.resolve(response),
16751
16756
  });