@medplum/mock 5.1.18 → 5.1.22

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.
@@ -98,9 +98,9 @@ export declare const ExampleThreadHeader: {
98
98
  sender: Reference<WithId<Practitioner>> & {
99
99
  reference: string;
100
100
  };
101
- recipient: ((Reference<Patient> & {
101
+ recipient: ((Reference<WithId<Practitioner>> & {
102
102
  reference: string;
103
- }) | (Reference<WithId<Practitioner>> & {
103
+ }) | (Reference<Patient> & {
104
104
  reference: string;
105
105
  }))[];
106
106
  sent: string;
@@ -131,9 +131,9 @@ export declare const ExampleThreadMessages: ({
131
131
  sender: Reference<WithId<Practitioner>> & {
132
132
  reference: string;
133
133
  };
134
- recipient: ((Reference<Patient> & {
134
+ recipient: ((Reference<WithId<Practitioner>> & {
135
135
  reference: string;
136
- }) | (Reference<WithId<Practitioner>> & {
136
+ }) | (Reference<Patient> & {
137
137
  reference: string;
138
138
  }))[];
139
139
  sent: string;
@@ -165,9 +165,9 @@ export declare const ExampleThreadMessages: ({
165
165
  sender: Reference<WithId<Practitioner>> & {
166
166
  reference: string;
167
167
  };
168
- recipient: ((Reference<Patient> & {
168
+ recipient: ((Reference<WithId<Practitioner>> & {
169
169
  reference: string;
170
- }) | (Reference<WithId<Practitioner>> & {
170
+ }) | (Reference<Patient> & {
171
171
  reference: string;
172
172
  }))[];
173
173
  sent: string;
@@ -198,9 +198,9 @@ export declare const ExampleThreadMessages: ({
198
198
  sender: Reference<WithId<Practitioner>> & {
199
199
  reference: string;
200
200
  };
201
- recipient: ((Reference<Patient> & {
201
+ recipient: ((Reference<WithId<Practitioner>> & {
202
202
  reference: string;
203
- }) | (Reference<WithId<Practitioner>> & {
203
+ }) | (Reference<Patient> & {
204
204
  reference: string;
205
205
  }))[];
206
206
  sent: string;
@@ -231,9 +231,9 @@ export declare const ExampleThreadMessages: ({
231
231
  sender: Reference<WithId<Practitioner>> & {
232
232
  reference: string;
233
233
  };
234
- recipient: ((Reference<Patient> & {
234
+ recipient: ((Reference<WithId<Practitioner>> & {
235
235
  reference: string;
236
- }) | (Reference<WithId<Practitioner>> & {
236
+ }) | (Reference<Patient> & {
237
237
  reference: string;
238
238
  }))[];
239
239
  sent: string;
@@ -318,6 +318,15 @@ export declare const makeDrAliceSmithSlots: () => WithId<Slot>[];
318
318
 
319
319
  export declare const MargeSimpson: Patient;
320
320
 
321
+ /** Well-known MockClient Practitioner id for Dr. Alice Smith. */
322
+ export declare const MOCK_ALICE_PRACTITIONER_ID = "124";
323
+
324
+ /** Well-known MockClient Patient id for Homer Simpson. */
325
+ export declare const MOCK_HOMER_PATIENT_ID = "123";
326
+
327
+ /** Well-known MockClient Organization id for Test Organization. */
328
+ export declare const MOCK_TEST_ORGANIZATION_ID = "125";
329
+
321
330
  export declare class MockClient extends MedplumClient {
322
331
  readonly router: FhirRouter;
323
332
  readonly repo: MemoryRepository;
@@ -98,9 +98,9 @@ export declare const ExampleThreadHeader: {
98
98
  sender: Reference<WithId<Practitioner>> & {
99
99
  reference: string;
100
100
  };
101
- recipient: ((Reference<Patient> & {
101
+ recipient: ((Reference<WithId<Practitioner>> & {
102
102
  reference: string;
103
- }) | (Reference<WithId<Practitioner>> & {
103
+ }) | (Reference<Patient> & {
104
104
  reference: string;
105
105
  }))[];
106
106
  sent: string;
@@ -131,9 +131,9 @@ export declare const ExampleThreadMessages: ({
131
131
  sender: Reference<WithId<Practitioner>> & {
132
132
  reference: string;
133
133
  };
134
- recipient: ((Reference<Patient> & {
134
+ recipient: ((Reference<WithId<Practitioner>> & {
135
135
  reference: string;
136
- }) | (Reference<WithId<Practitioner>> & {
136
+ }) | (Reference<Patient> & {
137
137
  reference: string;
138
138
  }))[];
139
139
  sent: string;
@@ -165,9 +165,9 @@ export declare const ExampleThreadMessages: ({
165
165
  sender: Reference<WithId<Practitioner>> & {
166
166
  reference: string;
167
167
  };
168
- recipient: ((Reference<Patient> & {
168
+ recipient: ((Reference<WithId<Practitioner>> & {
169
169
  reference: string;
170
- }) | (Reference<WithId<Practitioner>> & {
170
+ }) | (Reference<Patient> & {
171
171
  reference: string;
172
172
  }))[];
173
173
  sent: string;
@@ -198,9 +198,9 @@ export declare const ExampleThreadMessages: ({
198
198
  sender: Reference<WithId<Practitioner>> & {
199
199
  reference: string;
200
200
  };
201
- recipient: ((Reference<Patient> & {
201
+ recipient: ((Reference<WithId<Practitioner>> & {
202
202
  reference: string;
203
- }) | (Reference<WithId<Practitioner>> & {
203
+ }) | (Reference<Patient> & {
204
204
  reference: string;
205
205
  }))[];
206
206
  sent: string;
@@ -231,9 +231,9 @@ export declare const ExampleThreadMessages: ({
231
231
  sender: Reference<WithId<Practitioner>> & {
232
232
  reference: string;
233
233
  };
234
- recipient: ((Reference<Patient> & {
234
+ recipient: ((Reference<WithId<Practitioner>> & {
235
235
  reference: string;
236
- }) | (Reference<WithId<Practitioner>> & {
236
+ }) | (Reference<Patient> & {
237
237
  reference: string;
238
238
  }))[];
239
239
  sent: string;
@@ -318,6 +318,15 @@ export declare const makeDrAliceSmithSlots: () => WithId<Slot>[];
318
318
 
319
319
  export declare const MargeSimpson: Patient;
320
320
 
321
+ /** Well-known MockClient Practitioner id for Dr. Alice Smith. */
322
+ export declare const MOCK_ALICE_PRACTITIONER_ID = "124";
323
+
324
+ /** Well-known MockClient Patient id for Homer Simpson. */
325
+ export declare const MOCK_HOMER_PATIENT_ID = "123";
326
+
327
+ /** Well-known MockClient Organization id for Test Organization. */
328
+ export declare const MOCK_TEST_ORGANIZATION_ID = "125";
329
+
321
330
  export declare class MockClient extends MedplumClient {
322
331
  readonly router: FhirRouter;
323
332
  readonly repo: MemoryRepository;