@medplum/mock 3.2.21 → 3.2.23

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.
@@ -94,8 +94,14 @@ export declare const ExampleThreadHeader: {
94
94
  topic: {
95
95
  text: string;
96
96
  };
97
- sender: Reference<Practitioner>;
98
- recipient: (Reference<Patient> | Reference<Practitioner>)[];
97
+ sender: Reference<Practitioner> & {
98
+ reference: string;
99
+ };
100
+ recipient: ((Reference<Patient> & {
101
+ reference: string;
102
+ }) | (Reference<Practitioner> & {
103
+ reference: string;
104
+ }))[];
99
105
  sent: string;
100
106
  status: "in-progress";
101
107
  };
@@ -107,21 +113,33 @@ export declare const ExampleThreadMessages: ({
107
113
  }[];
108
114
  sent: string;
109
115
  received: string;
110
- sender: Reference<Practitioner>;
111
- recipient: Reference<Patient>[];
116
+ sender: Reference<Practitioner> & {
117
+ reference: string;
118
+ };
119
+ recipient: (Reference<Patient> & {
120
+ reference: string;
121
+ })[];
112
122
  resourceType: "Communication";
113
123
  status: "completed";
114
- partOf: Reference< {
124
+ partOf: (Reference< {
115
125
  id: string;
116
126
  resourceType: "Communication";
117
127
  topic: {
118
128
  text: string;
119
129
  };
120
- sender: Reference<Practitioner>;
121
- recipient: (Reference<Patient> | Reference<Practitioner>)[];
130
+ sender: Reference<Practitioner> & {
131
+ reference: string;
132
+ };
133
+ recipient: ((Reference<Patient> & {
134
+ reference: string;
135
+ }) | (Reference<Practitioner> & {
136
+ reference: string;
137
+ }))[];
122
138
  sent: string;
123
139
  status: "in-progress";
124
- }>[];
140
+ }> & {
141
+ reference: string;
142
+ })[];
125
143
  } | {
126
144
  id: string;
127
145
  payload: {
@@ -129,42 +147,66 @@ export declare const ExampleThreadMessages: ({
129
147
  }[];
130
148
  sent: string;
131
149
  received: string;
132
- sender: Reference<Patient>;
133
- recipient: Reference<Practitioner>[];
150
+ sender: Reference<Patient> & {
151
+ reference: string;
152
+ };
153
+ recipient: (Reference<Practitioner> & {
154
+ reference: string;
155
+ })[];
134
156
  resourceType: "Communication";
135
157
  status: "completed";
136
- partOf: Reference< {
158
+ partOf: (Reference< {
137
159
  id: string;
138
160
  resourceType: "Communication";
139
161
  topic: {
140
162
  text: string;
141
163
  };
142
- sender: Reference<Practitioner>;
143
- recipient: (Reference<Patient> | Reference<Practitioner>)[];
164
+ sender: Reference<Practitioner> & {
165
+ reference: string;
166
+ };
167
+ recipient: ((Reference<Patient> & {
168
+ reference: string;
169
+ }) | (Reference<Practitioner> & {
170
+ reference: string;
171
+ }))[];
144
172
  sent: string;
145
173
  status: "in-progress";
146
- }>[];
174
+ }> & {
175
+ reference: string;
176
+ })[];
147
177
  } | {
148
178
  payload: {
149
179
  contentString: string;
150
180
  }[];
151
181
  sent: string;
152
182
  received: string;
153
- sender: Reference<Patient>;
154
- recipient: Reference<Practitioner>[];
183
+ sender: Reference<Patient> & {
184
+ reference: string;
185
+ };
186
+ recipient: (Reference<Practitioner> & {
187
+ reference: string;
188
+ })[];
155
189
  resourceType: "Communication";
156
190
  status: "completed";
157
- partOf: Reference< {
191
+ partOf: (Reference< {
158
192
  id: string;
159
193
  resourceType: "Communication";
160
194
  topic: {
161
195
  text: string;
162
196
  };
163
- sender: Reference<Practitioner>;
164
- recipient: (Reference<Patient> | Reference<Practitioner>)[];
197
+ sender: Reference<Practitioner> & {
198
+ reference: string;
199
+ };
200
+ recipient: ((Reference<Patient> & {
201
+ reference: string;
202
+ }) | (Reference<Practitioner> & {
203
+ reference: string;
204
+ }))[];
165
205
  sent: string;
166
206
  status: "in-progress";
167
- }>[];
207
+ }> & {
208
+ reference: string;
209
+ })[];
168
210
  } | {
169
211
  id: string;
170
212
  status: "in-progress";
@@ -172,20 +214,32 @@ export declare const ExampleThreadMessages: ({
172
214
  contentString: string;
173
215
  }[];
174
216
  sent: string;
175
- sender: Reference<Patient>;
176
- recipient: Reference<Practitioner>[];
217
+ sender: Reference<Patient> & {
218
+ reference: string;
219
+ };
220
+ recipient: (Reference<Practitioner> & {
221
+ reference: string;
222
+ })[];
177
223
  resourceType: "Communication";
178
- partOf: Reference< {
224
+ partOf: (Reference< {
179
225
  id: string;
180
226
  resourceType: "Communication";
181
227
  topic: {
182
228
  text: string;
183
229
  };
184
- sender: Reference<Practitioner>;
185
- recipient: (Reference<Patient> | Reference<Practitioner>)[];
230
+ sender: Reference<Practitioner> & {
231
+ reference: string;
232
+ };
233
+ recipient: ((Reference<Patient> & {
234
+ reference: string;
235
+ }) | (Reference<Practitioner> & {
236
+ reference: string;
237
+ }))[];
186
238
  sent: string;
187
239
  status: "in-progress";
188
- }>[];
240
+ }> & {
241
+ reference: string;
242
+ })[];
189
243
  })[];
190
244
 
191
245
  export declare const ExampleUserConfiguration: UserConfiguration;
@@ -94,8 +94,14 @@ export declare const ExampleThreadHeader: {
94
94
  topic: {
95
95
  text: string;
96
96
  };
97
- sender: Reference<Practitioner>;
98
- recipient: (Reference<Patient> | Reference<Practitioner>)[];
97
+ sender: Reference<Practitioner> & {
98
+ reference: string;
99
+ };
100
+ recipient: ((Reference<Patient> & {
101
+ reference: string;
102
+ }) | (Reference<Practitioner> & {
103
+ reference: string;
104
+ }))[];
99
105
  sent: string;
100
106
  status: "in-progress";
101
107
  };
@@ -107,21 +113,33 @@ export declare const ExampleThreadMessages: ({
107
113
  }[];
108
114
  sent: string;
109
115
  received: string;
110
- sender: Reference<Practitioner>;
111
- recipient: Reference<Patient>[];
116
+ sender: Reference<Practitioner> & {
117
+ reference: string;
118
+ };
119
+ recipient: (Reference<Patient> & {
120
+ reference: string;
121
+ })[];
112
122
  resourceType: "Communication";
113
123
  status: "completed";
114
- partOf: Reference< {
124
+ partOf: (Reference< {
115
125
  id: string;
116
126
  resourceType: "Communication";
117
127
  topic: {
118
128
  text: string;
119
129
  };
120
- sender: Reference<Practitioner>;
121
- recipient: (Reference<Patient> | Reference<Practitioner>)[];
130
+ sender: Reference<Practitioner> & {
131
+ reference: string;
132
+ };
133
+ recipient: ((Reference<Patient> & {
134
+ reference: string;
135
+ }) | (Reference<Practitioner> & {
136
+ reference: string;
137
+ }))[];
122
138
  sent: string;
123
139
  status: "in-progress";
124
- }>[];
140
+ }> & {
141
+ reference: string;
142
+ })[];
125
143
  } | {
126
144
  id: string;
127
145
  payload: {
@@ -129,42 +147,66 @@ export declare const ExampleThreadMessages: ({
129
147
  }[];
130
148
  sent: string;
131
149
  received: string;
132
- sender: Reference<Patient>;
133
- recipient: Reference<Practitioner>[];
150
+ sender: Reference<Patient> & {
151
+ reference: string;
152
+ };
153
+ recipient: (Reference<Practitioner> & {
154
+ reference: string;
155
+ })[];
134
156
  resourceType: "Communication";
135
157
  status: "completed";
136
- partOf: Reference< {
158
+ partOf: (Reference< {
137
159
  id: string;
138
160
  resourceType: "Communication";
139
161
  topic: {
140
162
  text: string;
141
163
  };
142
- sender: Reference<Practitioner>;
143
- recipient: (Reference<Patient> | Reference<Practitioner>)[];
164
+ sender: Reference<Practitioner> & {
165
+ reference: string;
166
+ };
167
+ recipient: ((Reference<Patient> & {
168
+ reference: string;
169
+ }) | (Reference<Practitioner> & {
170
+ reference: string;
171
+ }))[];
144
172
  sent: string;
145
173
  status: "in-progress";
146
- }>[];
174
+ }> & {
175
+ reference: string;
176
+ })[];
147
177
  } | {
148
178
  payload: {
149
179
  contentString: string;
150
180
  }[];
151
181
  sent: string;
152
182
  received: string;
153
- sender: Reference<Patient>;
154
- recipient: Reference<Practitioner>[];
183
+ sender: Reference<Patient> & {
184
+ reference: string;
185
+ };
186
+ recipient: (Reference<Practitioner> & {
187
+ reference: string;
188
+ })[];
155
189
  resourceType: "Communication";
156
190
  status: "completed";
157
- partOf: Reference< {
191
+ partOf: (Reference< {
158
192
  id: string;
159
193
  resourceType: "Communication";
160
194
  topic: {
161
195
  text: string;
162
196
  };
163
- sender: Reference<Practitioner>;
164
- recipient: (Reference<Patient> | Reference<Practitioner>)[];
197
+ sender: Reference<Practitioner> & {
198
+ reference: string;
199
+ };
200
+ recipient: ((Reference<Patient> & {
201
+ reference: string;
202
+ }) | (Reference<Practitioner> & {
203
+ reference: string;
204
+ }))[];
165
205
  sent: string;
166
206
  status: "in-progress";
167
- }>[];
207
+ }> & {
208
+ reference: string;
209
+ })[];
168
210
  } | {
169
211
  id: string;
170
212
  status: "in-progress";
@@ -172,20 +214,32 @@ export declare const ExampleThreadMessages: ({
172
214
  contentString: string;
173
215
  }[];
174
216
  sent: string;
175
- sender: Reference<Patient>;
176
- recipient: Reference<Practitioner>[];
217
+ sender: Reference<Patient> & {
218
+ reference: string;
219
+ };
220
+ recipient: (Reference<Practitioner> & {
221
+ reference: string;
222
+ })[];
177
223
  resourceType: "Communication";
178
- partOf: Reference< {
224
+ partOf: (Reference< {
179
225
  id: string;
180
226
  resourceType: "Communication";
181
227
  topic: {
182
228
  text: string;
183
229
  };
184
- sender: Reference<Practitioner>;
185
- recipient: (Reference<Patient> | Reference<Practitioner>)[];
230
+ sender: Reference<Practitioner> & {
231
+ reference: string;
232
+ };
233
+ recipient: ((Reference<Patient> & {
234
+ reference: string;
235
+ }) | (Reference<Practitioner> & {
236
+ reference: string;
237
+ }))[];
186
238
  sent: string;
187
239
  status: "in-progress";
188
- }>[];
240
+ }> & {
241
+ reference: string;
242
+ })[];
189
243
  })[];
190
244
 
191
245
  export declare const ExampleUserConfiguration: UserConfiguration;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/mock",
3
- "version": "3.2.21",
3
+ "version": "3.2.23",
4
4
  "description": "Medplum Mock Client",
5
5
  "keywords": [
6
6
  "medplum",
@@ -54,10 +54,10 @@
54
54
  "test": "jest"
55
55
  },
56
56
  "dependencies": {
57
- "@medplum/core": "3.2.21",
58
- "@medplum/definitions": "3.2.21",
59
- "@medplum/fhir-router": "3.2.21",
60
- "@medplum/fhirtypes": "3.2.21",
57
+ "@medplum/core": "3.2.23",
58
+ "@medplum/definitions": "3.2.23",
59
+ "@medplum/fhir-router": "3.2.23",
60
+ "@medplum/fhirtypes": "3.2.23",
61
61
  "dataloader": "2.2.2",
62
62
  "jest-websocket-mock": "2.5.0",
63
63
  "rfc6902": "5.1.2"