@metriport/commonwell-sdk 2.0.1-alpha.4 → 2.0.1-alpha.6

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.
@@ -27,1806 +27,458 @@ export declare const patientLinksSchema: z.ZodObject<{
27
27
  templated?: boolean;
28
28
  }>;
29
29
  networkLink: z.ZodNullable<z.ZodOptional<z.ZodObject<{
30
- _links: z.ZodNullable<z.ZodOptional<z.ZodObject<{
31
- self: z.ZodNullable<z.ZodOptional<z.ZodObject<{
32
- href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
33
- templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
34
- type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
35
- }, "strip", z.ZodTypeAny, {
36
- type?: string;
37
- href?: string;
38
- templated?: boolean;
39
- }, {
40
- type?: string;
41
- href?: string;
42
- templated?: boolean;
43
- }>>>;
44
- upgrade: z.ZodNullable<z.ZodOptional<z.ZodObject<{
45
- href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
46
- templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
47
- type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
30
+ href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
31
+ templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
32
+ type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
33
+ }, "strip", z.ZodTypeAny, {
34
+ type?: string;
35
+ href?: string;
36
+ templated?: boolean;
37
+ }, {
38
+ type?: string;
39
+ href?: string;
40
+ templated?: boolean;
41
+ }>>>;
42
+ person: z.ZodNullable<z.ZodOptional<z.ZodObject<{
43
+ href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
44
+ templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
45
+ type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
46
+ }, "strip", z.ZodTypeAny, {
47
+ type?: string;
48
+ href?: string;
49
+ templated?: boolean;
50
+ }, {
51
+ type?: string;
52
+ href?: string;
53
+ templated?: boolean;
54
+ }>>>;
55
+ personMatch: z.ZodNullable<z.ZodOptional<z.ZodObject<{
56
+ href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
57
+ templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
58
+ type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
59
+ }, "strip", z.ZodTypeAny, {
60
+ type?: string;
61
+ href?: string;
62
+ templated?: boolean;
63
+ }, {
64
+ type?: string;
65
+ href?: string;
66
+ templated?: boolean;
67
+ }>>>;
68
+ upgrade: z.ZodNullable<z.ZodOptional<z.ZodObject<{
69
+ href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
70
+ templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
71
+ type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
72
+ }, "strip", z.ZodTypeAny, {
73
+ type?: string;
74
+ href?: string;
75
+ templated?: boolean;
76
+ }, {
77
+ type?: string;
78
+ href?: string;
79
+ templated?: boolean;
80
+ }>>>;
81
+ downgrade: z.ZodNullable<z.ZodOptional<z.ZodObject<{
82
+ href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
83
+ templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
84
+ type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
85
+ }, "strip", z.ZodTypeAny, {
86
+ type?: string;
87
+ href?: string;
88
+ templated?: boolean;
89
+ }, {
90
+ type?: string;
91
+ href?: string;
92
+ templated?: boolean;
93
+ }>>>;
94
+ }, "strip", z.ZodTypeAny, {
95
+ self?: {
96
+ type?: string;
97
+ href?: string;
98
+ templated?: boolean;
99
+ };
100
+ upgrade?: {
101
+ type?: string;
102
+ href?: string;
103
+ templated?: boolean;
104
+ };
105
+ downgrade?: {
106
+ type?: string;
107
+ href?: string;
108
+ templated?: boolean;
109
+ };
110
+ person?: {
111
+ type?: string;
112
+ href?: string;
113
+ templated?: boolean;
114
+ };
115
+ networkLink?: {
116
+ type?: string;
117
+ href?: string;
118
+ templated?: boolean;
119
+ };
120
+ personMatch?: {
121
+ type?: string;
122
+ href?: string;
123
+ templated?: boolean;
124
+ };
125
+ }, {
126
+ self?: {
127
+ type?: string;
128
+ href?: string;
129
+ templated?: boolean;
130
+ };
131
+ upgrade?: {
132
+ type?: string;
133
+ href?: string;
134
+ templated?: boolean;
135
+ };
136
+ downgrade?: {
137
+ type?: string;
138
+ href?: string;
139
+ templated?: boolean;
140
+ };
141
+ person?: {
142
+ type?: string;
143
+ href?: string;
144
+ templated?: boolean;
145
+ };
146
+ networkLink?: {
147
+ type?: string;
148
+ href?: string;
149
+ templated?: boolean;
150
+ };
151
+ personMatch?: {
152
+ type?: string;
153
+ href?: string;
154
+ templated?: boolean;
155
+ };
156
+ }>;
157
+ export declare const patientSchema: z.ZodObject<{
158
+ active: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
159
+ identifier: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<z.extendShape<{
160
+ system: z.ZodString;
161
+ key: z.ZodString;
162
+ }, {
163
+ use: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
164
+ label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
165
+ period: z.ZodNullable<z.ZodOptional<z.ZodObject<{
166
+ start: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
167
+ end: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
168
+ }, "strip", z.ZodTypeAny, {
169
+ start?: string;
170
+ end?: string;
171
+ }, {
172
+ start?: string;
173
+ end?: string;
174
+ }>>>;
175
+ assigner: z.ZodNullable<z.ZodOptional<z.ZodString>>;
176
+ }>, "strip", z.ZodTypeAny, {
177
+ system?: string;
178
+ key?: string;
179
+ use?: string;
180
+ label?: string;
181
+ period?: {
182
+ start?: string;
183
+ end?: string;
184
+ };
185
+ assigner?: string;
186
+ }, {
187
+ system?: string;
188
+ key?: string;
189
+ use?: string;
190
+ label?: string;
191
+ period?: {
192
+ start?: string;
193
+ end?: string;
194
+ };
195
+ assigner?: string;
196
+ }>, "many">>>;
197
+ provider: z.ZodNullable<z.ZodOptional<z.ZodObject<{
198
+ type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
199
+ reference: z.ZodNullable<z.ZodOptional<z.ZodString>>;
200
+ display: z.ZodNullable<z.ZodOptional<z.ZodString>>;
201
+ }, "strip", z.ZodTypeAny, {
202
+ type?: string;
203
+ display?: string;
204
+ reference?: string;
205
+ }, {
206
+ type?: string;
207
+ display?: string;
208
+ reference?: string;
209
+ }>>>;
210
+ details: z.ZodObject<{
211
+ identifier: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<z.extendShape<{
212
+ system: z.ZodString;
213
+ key: z.ZodString;
214
+ }, {
215
+ use: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
216
+ label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
217
+ period: z.ZodNullable<z.ZodOptional<z.ZodObject<{
218
+ start: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
219
+ end: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
48
220
  }, "strip", z.ZodTypeAny, {
49
- type?: string;
50
- href?: string;
51
- templated?: boolean;
221
+ start?: string;
222
+ end?: string;
52
223
  }, {
53
- type?: string;
54
- href?: string;
55
- templated?: boolean;
224
+ start?: string;
225
+ end?: string;
56
226
  }>>>;
57
- downgrade: z.ZodNullable<z.ZodOptional<z.ZodObject<{
58
- href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
59
- templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
60
- type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
227
+ assigner: z.ZodNullable<z.ZodOptional<z.ZodString>>;
228
+ }>, "strip", z.ZodTypeAny, {
229
+ system?: string;
230
+ key?: string;
231
+ use?: string;
232
+ label?: string;
233
+ period?: {
234
+ start?: string;
235
+ end?: string;
236
+ };
237
+ assigner?: string;
238
+ }, {
239
+ system?: string;
240
+ key?: string;
241
+ use?: string;
242
+ label?: string;
243
+ period?: {
244
+ start?: string;
245
+ end?: string;
246
+ };
247
+ assigner?: string;
248
+ }>, "many">>>;
249
+ name: z.ZodArray<z.ZodObject<{
250
+ use: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
251
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
252
+ family: z.ZodArray<z.ZodString, "many">;
253
+ given: z.ZodArray<z.ZodString, "many">;
254
+ prefix: z.ZodNullable<z.ZodOptional<z.ZodString>>;
255
+ suffix: z.ZodNullable<z.ZodOptional<z.ZodString>>;
256
+ period: z.ZodNullable<z.ZodOptional<z.ZodObject<{
257
+ start: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
258
+ end: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
61
259
  }, "strip", z.ZodTypeAny, {
62
- type?: string;
63
- href?: string;
64
- templated?: boolean;
260
+ start?: string;
261
+ end?: string;
65
262
  }, {
66
- type?: string;
67
- href?: string;
68
- templated?: boolean;
263
+ start?: string;
264
+ end?: string;
69
265
  }>>>;
70
266
  }, "strip", z.ZodTypeAny, {
71
- self?: {
72
- type?: string;
73
- href?: string;
74
- templated?: boolean;
75
- };
76
- upgrade?: {
77
- type?: string;
78
- href?: string;
79
- templated?: boolean;
80
- };
81
- downgrade?: {
82
- type?: string;
83
- href?: string;
84
- templated?: boolean;
267
+ text?: string;
268
+ use?: string;
269
+ period?: {
270
+ start?: string;
271
+ end?: string;
85
272
  };
273
+ family?: string[];
274
+ given?: string[];
275
+ prefix?: string;
276
+ suffix?: string;
86
277
  }, {
87
- self?: {
88
- type?: string;
89
- href?: string;
90
- templated?: boolean;
91
- };
92
- upgrade?: {
93
- type?: string;
94
- href?: string;
95
- templated?: boolean;
96
- };
97
- downgrade?: {
98
- type?: string;
99
- href?: string;
100
- templated?: boolean;
278
+ text?: string;
279
+ use?: string;
280
+ period?: {
281
+ start?: string;
282
+ end?: string;
101
283
  };
102
- }>>>;
103
- assuranceLevel: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
104
- patient: z.ZodNullable<z.ZodOptional<z.ZodObject<{
105
- details: z.ZodObject<{
106
- identifier: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<z.extendShape<{
107
- system: z.ZodString;
108
- key: z.ZodString;
109
- }, {
110
- use: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
111
- label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
112
- period: z.ZodNullable<z.ZodOptional<z.ZodObject<{
113
- start: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
114
- end: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
115
- }, "strip", z.ZodTypeAny, {
116
- start?: string;
117
- end?: string;
118
- }, {
119
- start?: string;
120
- end?: string;
121
- }>>>;
122
- assigner: z.ZodNullable<z.ZodOptional<z.ZodString>>;
123
- }>, "strip", z.ZodTypeAny, {
124
- system?: string;
125
- key?: string;
126
- use?: string;
127
- label?: string;
128
- period?: {
129
- start?: string;
130
- end?: string;
131
- };
132
- assigner?: string;
133
- }, {
134
- system?: string;
135
- key?: string;
136
- use?: string;
137
- label?: string;
138
- period?: {
139
- start?: string;
140
- end?: string;
141
- };
142
- assigner?: string;
143
- }>, "many">>>;
144
- name: z.ZodArray<z.ZodObject<{
145
- use: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
146
- text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
147
- family: z.ZodArray<z.ZodString, "many">;
148
- given: z.ZodArray<z.ZodString, "many">;
149
- prefix: z.ZodNullable<z.ZodOptional<z.ZodString>>;
150
- suffix: z.ZodNullable<z.ZodOptional<z.ZodString>>;
151
- period: z.ZodNullable<z.ZodOptional<z.ZodObject<{
152
- start: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
153
- end: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
154
- }, "strip", z.ZodTypeAny, {
155
- start?: string;
156
- end?: string;
157
- }, {
158
- start?: string;
159
- end?: string;
160
- }>>>;
161
- }, "strip", z.ZodTypeAny, {
162
- text?: string;
163
- use?: string;
164
- period?: {
165
- start?: string;
166
- end?: string;
167
- };
168
- family?: string[];
169
- given?: string[];
170
- prefix?: string;
171
- suffix?: string;
172
- }, {
173
- text?: string;
174
- use?: string;
175
- period?: {
176
- start?: string;
177
- end?: string;
178
- };
179
- family?: string[];
180
- given?: string[];
181
- prefix?: string;
182
- suffix?: string;
183
- }>, "many">;
184
- telecom: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
185
- use: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
186
- system: z.ZodNullable<z.ZodOptional<z.ZodString>>;
187
- value: z.ZodNullable<z.ZodOptional<z.ZodString>>;
188
- period: z.ZodNullable<z.ZodOptional<z.ZodObject<{
189
- start: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
190
- end: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
191
- }, "strip", z.ZodTypeAny, {
192
- start?: string;
193
- end?: string;
194
- }, {
195
- start?: string;
196
- end?: string;
197
- }>>>;
198
- }, "strip", z.ZodTypeAny, {
199
- value?: string;
200
- system?: string;
201
- use?: string;
202
- period?: {
203
- start?: string;
204
- end?: string;
205
- };
206
- }, {
207
- value?: string;
208
- system?: string;
209
- use?: string;
210
- period?: {
211
- start?: string;
212
- end?: string;
213
- };
214
- }>, "many">>>;
215
- gender: z.ZodObject<{
216
- code: z.ZodEnum<[string, ...string[]]>;
217
- display: z.ZodNullable<z.ZodOptional<z.ZodString>>;
218
- system: z.ZodNullable<z.ZodOptional<z.ZodString>>;
219
- }, "strip", z.ZodTypeAny, {
220
- code?: string;
221
- system?: string;
222
- display?: string;
223
- }, {
224
- code?: string;
225
- system?: string;
226
- display?: string;
227
- }>;
228
- birthDate: z.ZodUnion<[z.ZodString, z.ZodString]>;
229
- address: z.ZodArray<z.ZodObject<{
230
- use: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
231
- line: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
232
- city: z.ZodNullable<z.ZodOptional<z.ZodString>>;
233
- state: z.ZodNullable<z.ZodOptional<z.ZodString>>;
234
- zip: z.ZodString;
235
- country: z.ZodNullable<z.ZodOptional<z.ZodString>>;
236
- period: z.ZodNullable<z.ZodOptional<z.ZodObject<{
237
- start: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
238
- end: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
239
- }, "strip", z.ZodTypeAny, {
240
- start?: string;
241
- end?: string;
242
- }, {
243
- start?: string;
244
- end?: string;
245
- }>>>;
246
- }, "strip", z.ZodTypeAny, {
247
- use?: string;
248
- period?: {
249
- start?: string;
250
- end?: string;
251
- };
252
- line?: string[];
253
- city?: string;
254
- state?: string;
255
- zip?: string;
256
- country?: string;
257
- }, {
258
- use?: string;
259
- period?: {
260
- start?: string;
261
- end?: string;
262
- };
263
- line?: string[];
264
- city?: string;
265
- state?: string;
266
- zip?: string;
267
- country?: string;
268
- }>, "many">;
269
- picture: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
284
+ family?: string[];
285
+ given?: string[];
286
+ prefix?: string;
287
+ suffix?: string;
288
+ }>, "many">;
289
+ telecom: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
290
+ use: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
291
+ system: z.ZodNullable<z.ZodOptional<z.ZodString>>;
292
+ value: z.ZodNullable<z.ZodOptional<z.ZodString>>;
293
+ period: z.ZodNullable<z.ZodOptional<z.ZodObject<{
294
+ start: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
295
+ end: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
270
296
  }, "strip", z.ZodTypeAny, {
271
- identifier?: {
272
- system?: string;
273
- key?: string;
274
- use?: string;
275
- label?: string;
276
- period?: {
277
- start?: string;
278
- end?: string;
279
- };
280
- assigner?: string;
281
- }[];
282
- name?: {
283
- text?: string;
284
- use?: string;
285
- period?: {
286
- start?: string;
287
- end?: string;
288
- };
289
- family?: string[];
290
- given?: string[];
291
- prefix?: string;
292
- suffix?: string;
293
- }[];
294
- telecom?: {
295
- value?: string;
296
- system?: string;
297
- use?: string;
298
- period?: {
299
- start?: string;
300
- end?: string;
301
- };
302
- }[];
303
- gender?: {
304
- code?: string;
305
- system?: string;
306
- display?: string;
307
- };
308
- birthDate?: string;
309
- address?: {
310
- use?: string;
311
- period?: {
312
- start?: string;
313
- end?: string;
314
- };
315
- line?: string[];
316
- city?: string;
317
- state?: string;
318
- zip?: string;
319
- country?: string;
320
- }[];
321
- picture?: any;
297
+ start?: string;
298
+ end?: string;
322
299
  }, {
323
- identifier?: {
324
- system?: string;
325
- key?: string;
326
- use?: string;
327
- label?: string;
328
- period?: {
329
- start?: string;
330
- end?: string;
331
- };
332
- assigner?: string;
333
- }[];
334
- name?: {
335
- text?: string;
336
- use?: string;
337
- period?: {
338
- start?: string;
339
- end?: string;
340
- };
341
- family?: string[];
342
- given?: string[];
343
- prefix?: string;
344
- suffix?: string;
345
- }[];
346
- telecom?: {
347
- value?: string;
348
- system?: string;
349
- use?: string;
350
- period?: {
351
- start?: string;
352
- end?: string;
353
- };
354
- }[];
355
- gender?: {
356
- code?: string;
357
- system?: string;
358
- display?: string;
359
- };
360
- birthDate?: string;
361
- address?: {
362
- use?: string;
363
- period?: {
364
- start?: string;
365
- end?: string;
366
- };
367
- line?: string[];
368
- city?: string;
369
- state?: string;
370
- zip?: string;
371
- country?: string;
372
- }[];
373
- picture?: any;
374
- }>;
300
+ start?: string;
301
+ end?: string;
302
+ }>>>;
375
303
  }, "strip", z.ZodTypeAny, {
376
- details?: {
377
- identifier?: {
378
- system?: string;
379
- key?: string;
380
- use?: string;
381
- label?: string;
382
- period?: {
383
- start?: string;
384
- end?: string;
385
- };
386
- assigner?: string;
387
- }[];
388
- name?: {
389
- text?: string;
390
- use?: string;
391
- period?: {
392
- start?: string;
393
- end?: string;
394
- };
395
- family?: string[];
396
- given?: string[];
397
- prefix?: string;
398
- suffix?: string;
399
- }[];
400
- telecom?: {
401
- value?: string;
402
- system?: string;
403
- use?: string;
404
- period?: {
405
- start?: string;
406
- end?: string;
407
- };
408
- }[];
409
- gender?: {
410
- code?: string;
411
- system?: string;
412
- display?: string;
413
- };
414
- birthDate?: string;
415
- address?: {
416
- use?: string;
417
- period?: {
418
- start?: string;
419
- end?: string;
420
- };
421
- line?: string[];
422
- city?: string;
423
- state?: string;
424
- zip?: string;
425
- country?: string;
426
- }[];
427
- picture?: any;
304
+ value?: string;
305
+ system?: string;
306
+ use?: string;
307
+ period?: {
308
+ start?: string;
309
+ end?: string;
428
310
  };
429
311
  }, {
430
- details?: {
431
- identifier?: {
432
- system?: string;
433
- key?: string;
434
- use?: string;
435
- label?: string;
436
- period?: {
437
- start?: string;
438
- end?: string;
439
- };
440
- assigner?: string;
441
- }[];
442
- name?: {
443
- text?: string;
444
- use?: string;
445
- period?: {
446
- start?: string;
447
- end?: string;
448
- };
449
- family?: string[];
450
- given?: string[];
451
- prefix?: string;
452
- suffix?: string;
453
- }[];
454
- telecom?: {
455
- value?: string;
456
- system?: string;
457
- use?: string;
458
- period?: {
459
- start?: string;
460
- end?: string;
461
- };
462
- }[];
463
- gender?: {
464
- code?: string;
465
- system?: string;
466
- display?: string;
467
- };
468
- birthDate?: string;
469
- address?: {
470
- use?: string;
471
- period?: {
472
- start?: string;
473
- end?: string;
474
- };
475
- line?: string[];
476
- city?: string;
477
- state?: string;
478
- zip?: string;
479
- country?: string;
480
- }[];
481
- picture?: any;
482
- };
483
- }>>>;
484
- }, "strip", z.ZodTypeAny, {
485
- _links?: {
486
- self?: {
487
- type?: string;
488
- href?: string;
489
- templated?: boolean;
490
- };
491
- upgrade?: {
492
- type?: string;
493
- href?: string;
494
- templated?: boolean;
495
- };
496
- downgrade?: {
497
- type?: string;
498
- href?: string;
499
- templated?: boolean;
500
- };
501
- };
502
- assuranceLevel?: string;
503
- patient?: {
504
- details?: {
505
- identifier?: {
506
- system?: string;
507
- key?: string;
508
- use?: string;
509
- label?: string;
510
- period?: {
511
- start?: string;
512
- end?: string;
513
- };
514
- assigner?: string;
515
- }[];
516
- name?: {
517
- text?: string;
518
- use?: string;
519
- period?: {
520
- start?: string;
521
- end?: string;
522
- };
523
- family?: string[];
524
- given?: string[];
525
- prefix?: string;
526
- suffix?: string;
527
- }[];
528
- telecom?: {
529
- value?: string;
530
- system?: string;
531
- use?: string;
532
- period?: {
533
- start?: string;
534
- end?: string;
535
- };
536
- }[];
537
- gender?: {
538
- code?: string;
539
- system?: string;
540
- display?: string;
541
- };
542
- birthDate?: string;
543
- address?: {
544
- use?: string;
545
- period?: {
546
- start?: string;
547
- end?: string;
548
- };
549
- line?: string[];
550
- city?: string;
551
- state?: string;
552
- zip?: string;
553
- country?: string;
554
- }[];
555
- picture?: any;
556
- };
557
- };
558
- }, {
559
- _links?: {
560
- self?: {
561
- type?: string;
562
- href?: string;
563
- templated?: boolean;
564
- };
565
- upgrade?: {
566
- type?: string;
567
- href?: string;
568
- templated?: boolean;
569
- };
570
- downgrade?: {
571
- type?: string;
572
- href?: string;
573
- templated?: boolean;
312
+ value?: string;
313
+ system?: string;
314
+ use?: string;
315
+ period?: {
316
+ start?: string;
317
+ end?: string;
574
318
  };
575
- };
576
- assuranceLevel?: string;
577
- patient?: {
578
- details?: {
579
- identifier?: {
580
- system?: string;
581
- key?: string;
582
- use?: string;
583
- label?: string;
584
- period?: {
585
- start?: string;
586
- end?: string;
587
- };
588
- assigner?: string;
589
- }[];
590
- name?: {
591
- text?: string;
592
- use?: string;
593
- period?: {
594
- start?: string;
595
- end?: string;
596
- };
597
- family?: string[];
598
- given?: string[];
599
- prefix?: string;
600
- suffix?: string;
601
- }[];
602
- telecom?: {
603
- value?: string;
604
- system?: string;
605
- use?: string;
606
- period?: {
607
- start?: string;
608
- end?: string;
609
- };
610
- }[];
611
- gender?: {
612
- code?: string;
613
- system?: string;
614
- display?: string;
615
- };
616
- birthDate?: string;
617
- address?: {
618
- use?: string;
619
- period?: {
620
- start?: string;
621
- end?: string;
622
- };
623
- line?: string[];
624
- city?: string;
625
- state?: string;
626
- zip?: string;
627
- country?: string;
628
- }[];
629
- picture?: any;
630
- };
631
- };
632
- }>>>;
633
- person: z.ZodNullable<z.ZodOptional<z.ZodObject<{
634
- href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
635
- templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
636
- type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
637
- }, "strip", z.ZodTypeAny, {
638
- type?: string;
639
- href?: string;
640
- templated?: boolean;
641
- }, {
642
- type?: string;
643
- href?: string;
644
- templated?: boolean;
645
- }>>>;
646
- personMatch: z.ZodNullable<z.ZodOptional<z.ZodObject<{
647
- href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
648
- templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
649
- type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
650
- }, "strip", z.ZodTypeAny, {
651
- type?: string;
652
- href?: string;
653
- templated?: boolean;
654
- }, {
655
- type?: string;
656
- href?: string;
657
- templated?: boolean;
658
- }>>>;
659
- upgrade: z.ZodNullable<z.ZodOptional<z.ZodObject<{
660
- href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
661
- templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
662
- type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
663
- }, "strip", z.ZodTypeAny, {
664
- type?: string;
665
- href?: string;
666
- templated?: boolean;
667
- }, {
668
- type?: string;
669
- href?: string;
670
- templated?: boolean;
671
- }>>>;
672
- downgrade: z.ZodNullable<z.ZodOptional<z.ZodObject<{
673
- href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
674
- templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
675
- type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
676
- }, "strip", z.ZodTypeAny, {
677
- type?: string;
678
- href?: string;
679
- templated?: boolean;
680
- }, {
681
- type?: string;
682
- href?: string;
683
- templated?: boolean;
684
- }>>>;
685
- }, "strip", z.ZodTypeAny, {
686
- self?: {
687
- type?: string;
688
- href?: string;
689
- templated?: boolean;
690
- };
691
- upgrade?: {
692
- type?: string;
693
- href?: string;
694
- templated?: boolean;
695
- };
696
- downgrade?: {
697
- type?: string;
698
- href?: string;
699
- templated?: boolean;
700
- };
701
- person?: {
702
- type?: string;
703
- href?: string;
704
- templated?: boolean;
705
- };
706
- networkLink?: {
707
- _links?: {
708
- self?: {
709
- type?: string;
710
- href?: string;
711
- templated?: boolean;
712
- };
713
- upgrade?: {
714
- type?: string;
715
- href?: string;
716
- templated?: boolean;
717
- };
718
- downgrade?: {
719
- type?: string;
720
- href?: string;
721
- templated?: boolean;
722
- };
723
- };
724
- assuranceLevel?: string;
725
- patient?: {
726
- details?: {
727
- identifier?: {
728
- system?: string;
729
- key?: string;
730
- use?: string;
731
- label?: string;
732
- period?: {
733
- start?: string;
734
- end?: string;
735
- };
736
- assigner?: string;
737
- }[];
738
- name?: {
739
- text?: string;
740
- use?: string;
741
- period?: {
742
- start?: string;
743
- end?: string;
744
- };
745
- family?: string[];
746
- given?: string[];
747
- prefix?: string;
748
- suffix?: string;
749
- }[];
750
- telecom?: {
751
- value?: string;
752
- system?: string;
753
- use?: string;
754
- period?: {
755
- start?: string;
756
- end?: string;
757
- };
758
- }[];
759
- gender?: {
760
- code?: string;
761
- system?: string;
762
- display?: string;
763
- };
764
- birthDate?: string;
765
- address?: {
766
- use?: string;
767
- period?: {
768
- start?: string;
769
- end?: string;
770
- };
771
- line?: string[];
772
- city?: string;
773
- state?: string;
774
- zip?: string;
775
- country?: string;
776
- }[];
777
- picture?: any;
778
- };
779
- };
780
- };
781
- personMatch?: {
782
- type?: string;
783
- href?: string;
784
- templated?: boolean;
785
- };
786
- }, {
787
- self?: {
788
- type?: string;
789
- href?: string;
790
- templated?: boolean;
791
- };
792
- upgrade?: {
793
- type?: string;
794
- href?: string;
795
- templated?: boolean;
796
- };
797
- downgrade?: {
798
- type?: string;
799
- href?: string;
800
- templated?: boolean;
801
- };
802
- person?: {
803
- type?: string;
804
- href?: string;
805
- templated?: boolean;
806
- };
807
- networkLink?: {
808
- _links?: {
809
- self?: {
810
- type?: string;
811
- href?: string;
812
- templated?: boolean;
813
- };
814
- upgrade?: {
815
- type?: string;
816
- href?: string;
817
- templated?: boolean;
818
- };
819
- downgrade?: {
820
- type?: string;
821
- href?: string;
822
- templated?: boolean;
823
- };
824
- };
825
- assuranceLevel?: string;
826
- patient?: {
827
- details?: {
828
- identifier?: {
829
- system?: string;
830
- key?: string;
831
- use?: string;
832
- label?: string;
833
- period?: {
834
- start?: string;
835
- end?: string;
836
- };
837
- assigner?: string;
838
- }[];
839
- name?: {
840
- text?: string;
841
- use?: string;
842
- period?: {
843
- start?: string;
844
- end?: string;
845
- };
846
- family?: string[];
847
- given?: string[];
848
- prefix?: string;
849
- suffix?: string;
850
- }[];
851
- telecom?: {
852
- value?: string;
853
- system?: string;
854
- use?: string;
855
- period?: {
856
- start?: string;
857
- end?: string;
858
- };
859
- }[];
860
- gender?: {
861
- code?: string;
862
- system?: string;
863
- display?: string;
864
- };
865
- birthDate?: string;
866
- address?: {
867
- use?: string;
868
- period?: {
869
- start?: string;
870
- end?: string;
871
- };
872
- line?: string[];
873
- city?: string;
874
- state?: string;
875
- zip?: string;
876
- country?: string;
877
- }[];
878
- picture?: any;
879
- };
880
- };
881
- };
882
- personMatch?: {
883
- type?: string;
884
- href?: string;
885
- templated?: boolean;
886
- };
887
- }>;
888
- export declare const patientSchema: z.ZodObject<{
889
- active: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
890
- identifier: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<z.extendShape<{
891
- system: z.ZodString;
892
- key: z.ZodString;
893
- }, {
894
- use: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
895
- label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
896
- period: z.ZodNullable<z.ZodOptional<z.ZodObject<{
897
- start: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
898
- end: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
899
- }, "strip", z.ZodTypeAny, {
900
- start?: string;
901
- end?: string;
902
- }, {
903
- start?: string;
904
- end?: string;
905
- }>>>;
906
- assigner: z.ZodNullable<z.ZodOptional<z.ZodString>>;
907
- }>, "strip", z.ZodTypeAny, {
908
- system?: string;
909
- key?: string;
910
- use?: string;
911
- label?: string;
912
- period?: {
913
- start?: string;
914
- end?: string;
915
- };
916
- assigner?: string;
917
- }, {
918
- system?: string;
919
- key?: string;
920
- use?: string;
921
- label?: string;
922
- period?: {
923
- start?: string;
924
- end?: string;
925
- };
926
- assigner?: string;
927
- }>, "many">>>;
928
- provider: z.ZodNullable<z.ZodOptional<z.ZodObject<{
929
- type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
930
- reference: z.ZodNullable<z.ZodOptional<z.ZodString>>;
931
- display: z.ZodNullable<z.ZodOptional<z.ZodString>>;
932
- }, "strip", z.ZodTypeAny, {
933
- type?: string;
934
- display?: string;
935
- reference?: string;
936
- }, {
937
- type?: string;
938
- display?: string;
939
- reference?: string;
940
- }>>>;
941
- details: z.ZodObject<{
942
- identifier: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<z.extendShape<{
943
- system: z.ZodString;
944
- key: z.ZodString;
945
- }, {
946
- use: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
947
- label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
948
- period: z.ZodNullable<z.ZodOptional<z.ZodObject<{
949
- start: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
950
- end: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
951
- }, "strip", z.ZodTypeAny, {
952
- start?: string;
953
- end?: string;
954
- }, {
955
- start?: string;
956
- end?: string;
957
- }>>>;
958
- assigner: z.ZodNullable<z.ZodOptional<z.ZodString>>;
959
- }>, "strip", z.ZodTypeAny, {
960
- system?: string;
961
- key?: string;
962
- use?: string;
963
- label?: string;
964
- period?: {
965
- start?: string;
966
- end?: string;
967
- };
968
- assigner?: string;
969
- }, {
970
- system?: string;
971
- key?: string;
972
- use?: string;
973
- label?: string;
974
- period?: {
975
- start?: string;
976
- end?: string;
977
- };
978
- assigner?: string;
979
- }>, "many">>>;
980
- name: z.ZodArray<z.ZodObject<{
981
- use: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
982
- text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
983
- family: z.ZodArray<z.ZodString, "many">;
984
- given: z.ZodArray<z.ZodString, "many">;
985
- prefix: z.ZodNullable<z.ZodOptional<z.ZodString>>;
986
- suffix: z.ZodNullable<z.ZodOptional<z.ZodString>>;
987
- period: z.ZodNullable<z.ZodOptional<z.ZodObject<{
988
- start: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
989
- end: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
990
- }, "strip", z.ZodTypeAny, {
991
- start?: string;
992
- end?: string;
993
- }, {
994
- start?: string;
995
- end?: string;
996
- }>>>;
997
- }, "strip", z.ZodTypeAny, {
998
- text?: string;
999
- use?: string;
1000
- period?: {
1001
- start?: string;
1002
- end?: string;
1003
- };
1004
- family?: string[];
1005
- given?: string[];
1006
- prefix?: string;
1007
- suffix?: string;
1008
- }, {
1009
- text?: string;
1010
- use?: string;
1011
- period?: {
1012
- start?: string;
1013
- end?: string;
1014
- };
1015
- family?: string[];
1016
- given?: string[];
1017
- prefix?: string;
1018
- suffix?: string;
1019
- }>, "many">;
1020
- telecom: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1021
- use: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
1022
- system: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1023
- value: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1024
- period: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1025
- start: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
1026
- end: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
1027
- }, "strip", z.ZodTypeAny, {
1028
- start?: string;
1029
- end?: string;
1030
- }, {
1031
- start?: string;
1032
- end?: string;
1033
- }>>>;
1034
- }, "strip", z.ZodTypeAny, {
1035
- value?: string;
1036
- system?: string;
1037
- use?: string;
1038
- period?: {
1039
- start?: string;
1040
- end?: string;
1041
- };
1042
- }, {
1043
- value?: string;
1044
- system?: string;
1045
- use?: string;
1046
- period?: {
1047
- start?: string;
1048
- end?: string;
1049
- };
1050
- }>, "many">>>;
1051
- gender: z.ZodObject<{
1052
- code: z.ZodEnum<[string, ...string[]]>;
1053
- display: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1054
- system: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1055
- }, "strip", z.ZodTypeAny, {
1056
- code?: string;
1057
- system?: string;
1058
- display?: string;
1059
- }, {
1060
- code?: string;
1061
- system?: string;
1062
- display?: string;
1063
- }>;
1064
- birthDate: z.ZodUnion<[z.ZodString, z.ZodString]>;
1065
- address: z.ZodArray<z.ZodObject<{
1066
- use: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
1067
- line: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1068
- city: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1069
- state: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1070
- zip: z.ZodString;
1071
- country: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1072
- period: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1073
- start: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
1074
- end: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
1075
- }, "strip", z.ZodTypeAny, {
1076
- start?: string;
1077
- end?: string;
1078
- }, {
1079
- start?: string;
1080
- end?: string;
1081
- }>>>;
1082
- }, "strip", z.ZodTypeAny, {
1083
- use?: string;
1084
- period?: {
1085
- start?: string;
1086
- end?: string;
1087
- };
1088
- line?: string[];
1089
- city?: string;
1090
- state?: string;
1091
- zip?: string;
1092
- country?: string;
1093
- }, {
1094
- use?: string;
1095
- period?: {
1096
- start?: string;
1097
- end?: string;
1098
- };
1099
- line?: string[];
1100
- city?: string;
1101
- state?: string;
1102
- zip?: string;
1103
- country?: string;
1104
- }>, "many">;
1105
- picture: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
1106
- }, "strip", z.ZodTypeAny, {
1107
- identifier?: {
1108
- system?: string;
1109
- key?: string;
1110
- use?: string;
1111
- label?: string;
1112
- period?: {
1113
- start?: string;
1114
- end?: string;
1115
- };
1116
- assigner?: string;
1117
- }[];
1118
- name?: {
1119
- text?: string;
1120
- use?: string;
1121
- period?: {
1122
- start?: string;
1123
- end?: string;
1124
- };
1125
- family?: string[];
1126
- given?: string[];
1127
- prefix?: string;
1128
- suffix?: string;
1129
- }[];
1130
- telecom?: {
1131
- value?: string;
1132
- system?: string;
1133
- use?: string;
1134
- period?: {
1135
- start?: string;
1136
- end?: string;
1137
- };
1138
- }[];
1139
- gender?: {
1140
- code?: string;
1141
- system?: string;
1142
- display?: string;
1143
- };
1144
- birthDate?: string;
1145
- address?: {
1146
- use?: string;
1147
- period?: {
1148
- start?: string;
1149
- end?: string;
1150
- };
1151
- line?: string[];
1152
- city?: string;
1153
- state?: string;
1154
- zip?: string;
1155
- country?: string;
1156
- }[];
1157
- picture?: any;
1158
- }, {
1159
- identifier?: {
1160
- system?: string;
1161
- key?: string;
1162
- use?: string;
1163
- label?: string;
1164
- period?: {
1165
- start?: string;
1166
- end?: string;
1167
- };
1168
- assigner?: string;
1169
- }[];
1170
- name?: {
1171
- text?: string;
1172
- use?: string;
1173
- period?: {
1174
- start?: string;
1175
- end?: string;
1176
- };
1177
- family?: string[];
1178
- given?: string[];
1179
- prefix?: string;
1180
- suffix?: string;
1181
- }[];
1182
- telecom?: {
1183
- value?: string;
1184
- system?: string;
1185
- use?: string;
1186
- period?: {
1187
- start?: string;
1188
- end?: string;
1189
- };
1190
- }[];
1191
- gender?: {
1192
- code?: string;
1193
- system?: string;
1194
- display?: string;
1195
- };
1196
- birthDate?: string;
1197
- address?: {
1198
- use?: string;
1199
- period?: {
1200
- start?: string;
1201
- end?: string;
1202
- };
1203
- line?: string[];
1204
- city?: string;
1205
- state?: string;
1206
- zip?: string;
1207
- country?: string;
1208
- }[];
1209
- picture?: any;
1210
- }>;
1211
- _links: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1212
- self: z.ZodObject<{
1213
- href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1214
- templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1215
- type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1216
- }, "strip", z.ZodTypeAny, {
1217
- type?: string;
1218
- href?: string;
1219
- templated?: boolean;
1220
- }, {
1221
- type?: string;
1222
- href?: string;
1223
- templated?: boolean;
1224
- }>;
1225
- networkLink: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1226
- _links: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1227
- self: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1228
- href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1229
- templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1230
- type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1231
- }, "strip", z.ZodTypeAny, {
1232
- type?: string;
1233
- href?: string;
1234
- templated?: boolean;
1235
- }, {
1236
- type?: string;
1237
- href?: string;
1238
- templated?: boolean;
1239
- }>>>;
1240
- upgrade: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1241
- href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1242
- templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1243
- type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1244
- }, "strip", z.ZodTypeAny, {
1245
- type?: string;
1246
- href?: string;
1247
- templated?: boolean;
1248
- }, {
1249
- type?: string;
1250
- href?: string;
1251
- templated?: boolean;
1252
- }>>>;
1253
- downgrade: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1254
- href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1255
- templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1256
- type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1257
- }, "strip", z.ZodTypeAny, {
1258
- type?: string;
1259
- href?: string;
1260
- templated?: boolean;
1261
- }, {
1262
- type?: string;
1263
- href?: string;
1264
- templated?: boolean;
1265
- }>>>;
1266
- }, "strip", z.ZodTypeAny, {
1267
- self?: {
1268
- type?: string;
1269
- href?: string;
1270
- templated?: boolean;
1271
- };
1272
- upgrade?: {
1273
- type?: string;
1274
- href?: string;
1275
- templated?: boolean;
1276
- };
1277
- downgrade?: {
1278
- type?: string;
1279
- href?: string;
1280
- templated?: boolean;
1281
- };
1282
- }, {
1283
- self?: {
1284
- type?: string;
1285
- href?: string;
1286
- templated?: boolean;
1287
- };
1288
- upgrade?: {
1289
- type?: string;
1290
- href?: string;
1291
- templated?: boolean;
1292
- };
1293
- downgrade?: {
1294
- type?: string;
1295
- href?: string;
1296
- templated?: boolean;
1297
- };
1298
- }>>>;
1299
- assuranceLevel: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
1300
- patient: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1301
- details: z.ZodObject<{
1302
- identifier: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<z.extendShape<{
1303
- system: z.ZodString;
1304
- key: z.ZodString;
1305
- }, {
1306
- use: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
1307
- label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1308
- period: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1309
- start: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
1310
- end: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
1311
- }, "strip", z.ZodTypeAny, {
1312
- start?: string;
1313
- end?: string;
1314
- }, {
1315
- start?: string;
1316
- end?: string;
1317
- }>>>;
1318
- assigner: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1319
- }>, "strip", z.ZodTypeAny, {
1320
- system?: string;
1321
- key?: string;
1322
- use?: string;
1323
- label?: string;
1324
- period?: {
1325
- start?: string;
1326
- end?: string;
1327
- };
1328
- assigner?: string;
1329
- }, {
1330
- system?: string;
1331
- key?: string;
1332
- use?: string;
1333
- label?: string;
1334
- period?: {
1335
- start?: string;
1336
- end?: string;
1337
- };
1338
- assigner?: string;
1339
- }>, "many">>>;
1340
- name: z.ZodArray<z.ZodObject<{
1341
- use: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
1342
- text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1343
- family: z.ZodArray<z.ZodString, "many">;
1344
- given: z.ZodArray<z.ZodString, "many">;
1345
- prefix: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1346
- suffix: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1347
- period: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1348
- start: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
1349
- end: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
1350
- }, "strip", z.ZodTypeAny, {
1351
- start?: string;
1352
- end?: string;
1353
- }, {
1354
- start?: string;
1355
- end?: string;
1356
- }>>>;
1357
- }, "strip", z.ZodTypeAny, {
1358
- text?: string;
1359
- use?: string;
1360
- period?: {
1361
- start?: string;
1362
- end?: string;
1363
- };
1364
- family?: string[];
1365
- given?: string[];
1366
- prefix?: string;
1367
- suffix?: string;
1368
- }, {
1369
- text?: string;
1370
- use?: string;
1371
- period?: {
1372
- start?: string;
1373
- end?: string;
1374
- };
1375
- family?: string[];
1376
- given?: string[];
1377
- prefix?: string;
1378
- suffix?: string;
1379
- }>, "many">;
1380
- telecom: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1381
- use: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
1382
- system: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1383
- value: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1384
- period: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1385
- start: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
1386
- end: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
1387
- }, "strip", z.ZodTypeAny, {
1388
- start?: string;
1389
- end?: string;
1390
- }, {
1391
- start?: string;
1392
- end?: string;
1393
- }>>>;
1394
- }, "strip", z.ZodTypeAny, {
1395
- value?: string;
1396
- system?: string;
1397
- use?: string;
1398
- period?: {
1399
- start?: string;
1400
- end?: string;
1401
- };
1402
- }, {
1403
- value?: string;
1404
- system?: string;
1405
- use?: string;
1406
- period?: {
1407
- start?: string;
1408
- end?: string;
1409
- };
1410
- }>, "many">>>;
1411
- gender: z.ZodObject<{
1412
- code: z.ZodEnum<[string, ...string[]]>;
1413
- display: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1414
- system: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1415
- }, "strip", z.ZodTypeAny, {
1416
- code?: string;
1417
- system?: string;
1418
- display?: string;
1419
- }, {
1420
- code?: string;
1421
- system?: string;
1422
- display?: string;
1423
- }>;
1424
- birthDate: z.ZodUnion<[z.ZodString, z.ZodString]>;
1425
- address: z.ZodArray<z.ZodObject<{
1426
- use: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
1427
- line: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1428
- city: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1429
- state: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1430
- zip: z.ZodString;
1431
- country: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1432
- period: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1433
- start: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
1434
- end: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
1435
- }, "strip", z.ZodTypeAny, {
1436
- start?: string;
1437
- end?: string;
1438
- }, {
1439
- start?: string;
1440
- end?: string;
1441
- }>>>;
1442
- }, "strip", z.ZodTypeAny, {
1443
- use?: string;
1444
- period?: {
1445
- start?: string;
1446
- end?: string;
1447
- };
1448
- line?: string[];
1449
- city?: string;
1450
- state?: string;
1451
- zip?: string;
1452
- country?: string;
1453
- }, {
1454
- use?: string;
1455
- period?: {
1456
- start?: string;
1457
- end?: string;
1458
- };
1459
- line?: string[];
1460
- city?: string;
1461
- state?: string;
1462
- zip?: string;
1463
- country?: string;
1464
- }>, "many">;
1465
- picture: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
1466
- }, "strip", z.ZodTypeAny, {
1467
- identifier?: {
1468
- system?: string;
1469
- key?: string;
1470
- use?: string;
1471
- label?: string;
1472
- period?: {
1473
- start?: string;
1474
- end?: string;
1475
- };
1476
- assigner?: string;
1477
- }[];
1478
- name?: {
1479
- text?: string;
1480
- use?: string;
1481
- period?: {
1482
- start?: string;
1483
- end?: string;
1484
- };
1485
- family?: string[];
1486
- given?: string[];
1487
- prefix?: string;
1488
- suffix?: string;
1489
- }[];
1490
- telecom?: {
1491
- value?: string;
1492
- system?: string;
1493
- use?: string;
1494
- period?: {
1495
- start?: string;
1496
- end?: string;
1497
- };
1498
- }[];
1499
- gender?: {
1500
- code?: string;
1501
- system?: string;
1502
- display?: string;
1503
- };
1504
- birthDate?: string;
1505
- address?: {
1506
- use?: string;
1507
- period?: {
1508
- start?: string;
1509
- end?: string;
1510
- };
1511
- line?: string[];
1512
- city?: string;
1513
- state?: string;
1514
- zip?: string;
1515
- country?: string;
1516
- }[];
1517
- picture?: any;
1518
- }, {
1519
- identifier?: {
1520
- system?: string;
1521
- key?: string;
1522
- use?: string;
1523
- label?: string;
1524
- period?: {
1525
- start?: string;
1526
- end?: string;
1527
- };
1528
- assigner?: string;
1529
- }[];
1530
- name?: {
1531
- text?: string;
1532
- use?: string;
1533
- period?: {
1534
- start?: string;
1535
- end?: string;
1536
- };
1537
- family?: string[];
1538
- given?: string[];
1539
- prefix?: string;
1540
- suffix?: string;
1541
- }[];
1542
- telecom?: {
1543
- value?: string;
1544
- system?: string;
1545
- use?: string;
1546
- period?: {
1547
- start?: string;
1548
- end?: string;
1549
- };
1550
- }[];
1551
- gender?: {
1552
- code?: string;
1553
- system?: string;
1554
- display?: string;
1555
- };
1556
- birthDate?: string;
1557
- address?: {
1558
- use?: string;
1559
- period?: {
1560
- start?: string;
1561
- end?: string;
1562
- };
1563
- line?: string[];
1564
- city?: string;
1565
- state?: string;
1566
- zip?: string;
1567
- country?: string;
1568
- }[];
1569
- picture?: any;
1570
- }>;
319
+ }>, "many">>>;
320
+ gender: z.ZodObject<{
321
+ code: z.ZodEnum<[string, ...string[]]>;
322
+ display: z.ZodNullable<z.ZodOptional<z.ZodString>>;
323
+ system: z.ZodNullable<z.ZodOptional<z.ZodString>>;
324
+ }, "strip", z.ZodTypeAny, {
325
+ code?: string;
326
+ system?: string;
327
+ display?: string;
328
+ }, {
329
+ code?: string;
330
+ system?: string;
331
+ display?: string;
332
+ }>;
333
+ birthDate: z.ZodUnion<[z.ZodString, z.ZodString]>;
334
+ address: z.ZodArray<z.ZodObject<{
335
+ use: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
336
+ line: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
337
+ city: z.ZodNullable<z.ZodOptional<z.ZodString>>;
338
+ state: z.ZodNullable<z.ZodOptional<z.ZodString>>;
339
+ zip: z.ZodString;
340
+ country: z.ZodNullable<z.ZodOptional<z.ZodString>>;
341
+ period: z.ZodNullable<z.ZodOptional<z.ZodObject<{
342
+ start: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
343
+ end: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
1571
344
  }, "strip", z.ZodTypeAny, {
1572
- details?: {
1573
- identifier?: {
1574
- system?: string;
1575
- key?: string;
1576
- use?: string;
1577
- label?: string;
1578
- period?: {
1579
- start?: string;
1580
- end?: string;
1581
- };
1582
- assigner?: string;
1583
- }[];
1584
- name?: {
1585
- text?: string;
1586
- use?: string;
1587
- period?: {
1588
- start?: string;
1589
- end?: string;
1590
- };
1591
- family?: string[];
1592
- given?: string[];
1593
- prefix?: string;
1594
- suffix?: string;
1595
- }[];
1596
- telecom?: {
1597
- value?: string;
1598
- system?: string;
1599
- use?: string;
1600
- period?: {
1601
- start?: string;
1602
- end?: string;
1603
- };
1604
- }[];
1605
- gender?: {
1606
- code?: string;
1607
- system?: string;
1608
- display?: string;
1609
- };
1610
- birthDate?: string;
1611
- address?: {
1612
- use?: string;
1613
- period?: {
1614
- start?: string;
1615
- end?: string;
1616
- };
1617
- line?: string[];
1618
- city?: string;
1619
- state?: string;
1620
- zip?: string;
1621
- country?: string;
1622
- }[];
1623
- picture?: any;
1624
- };
345
+ start?: string;
346
+ end?: string;
1625
347
  }, {
1626
- details?: {
1627
- identifier?: {
1628
- system?: string;
1629
- key?: string;
1630
- use?: string;
1631
- label?: string;
1632
- period?: {
1633
- start?: string;
1634
- end?: string;
1635
- };
1636
- assigner?: string;
1637
- }[];
1638
- name?: {
1639
- text?: string;
1640
- use?: string;
1641
- period?: {
1642
- start?: string;
1643
- end?: string;
1644
- };
1645
- family?: string[];
1646
- given?: string[];
1647
- prefix?: string;
1648
- suffix?: string;
1649
- }[];
1650
- telecom?: {
1651
- value?: string;
1652
- system?: string;
1653
- use?: string;
1654
- period?: {
1655
- start?: string;
1656
- end?: string;
1657
- };
1658
- }[];
1659
- gender?: {
1660
- code?: string;
1661
- system?: string;
1662
- display?: string;
1663
- };
1664
- birthDate?: string;
1665
- address?: {
1666
- use?: string;
1667
- period?: {
1668
- start?: string;
1669
- end?: string;
1670
- };
1671
- line?: string[];
1672
- city?: string;
1673
- state?: string;
1674
- zip?: string;
1675
- country?: string;
1676
- }[];
1677
- picture?: any;
1678
- };
348
+ start?: string;
349
+ end?: string;
1679
350
  }>>>;
1680
351
  }, "strip", z.ZodTypeAny, {
1681
- _links?: {
1682
- self?: {
1683
- type?: string;
1684
- href?: string;
1685
- templated?: boolean;
1686
- };
1687
- upgrade?: {
1688
- type?: string;
1689
- href?: string;
1690
- templated?: boolean;
1691
- };
1692
- downgrade?: {
1693
- type?: string;
1694
- href?: string;
1695
- templated?: boolean;
1696
- };
352
+ use?: string;
353
+ period?: {
354
+ start?: string;
355
+ end?: string;
1697
356
  };
1698
- assuranceLevel?: string;
1699
- patient?: {
1700
- details?: {
1701
- identifier?: {
1702
- system?: string;
1703
- key?: string;
1704
- use?: string;
1705
- label?: string;
1706
- period?: {
1707
- start?: string;
1708
- end?: string;
1709
- };
1710
- assigner?: string;
1711
- }[];
1712
- name?: {
1713
- text?: string;
1714
- use?: string;
1715
- period?: {
1716
- start?: string;
1717
- end?: string;
1718
- };
1719
- family?: string[];
1720
- given?: string[];
1721
- prefix?: string;
1722
- suffix?: string;
1723
- }[];
1724
- telecom?: {
1725
- value?: string;
1726
- system?: string;
1727
- use?: string;
1728
- period?: {
1729
- start?: string;
1730
- end?: string;
1731
- };
1732
- }[];
1733
- gender?: {
1734
- code?: string;
1735
- system?: string;
1736
- display?: string;
1737
- };
1738
- birthDate?: string;
1739
- address?: {
1740
- use?: string;
1741
- period?: {
1742
- start?: string;
1743
- end?: string;
1744
- };
1745
- line?: string[];
1746
- city?: string;
1747
- state?: string;
1748
- zip?: string;
1749
- country?: string;
1750
- }[];
1751
- picture?: any;
1752
- };
357
+ line?: string[];
358
+ city?: string;
359
+ state?: string;
360
+ zip?: string;
361
+ country?: string;
362
+ }, {
363
+ use?: string;
364
+ period?: {
365
+ start?: string;
366
+ end?: string;
367
+ };
368
+ line?: string[];
369
+ city?: string;
370
+ state?: string;
371
+ zip?: string;
372
+ country?: string;
373
+ }>, "many">;
374
+ picture: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
375
+ }, "strip", z.ZodTypeAny, {
376
+ identifier?: {
377
+ system?: string;
378
+ key?: string;
379
+ use?: string;
380
+ label?: string;
381
+ period?: {
382
+ start?: string;
383
+ end?: string;
384
+ };
385
+ assigner?: string;
386
+ }[];
387
+ name?: {
388
+ text?: string;
389
+ use?: string;
390
+ period?: {
391
+ start?: string;
392
+ end?: string;
393
+ };
394
+ family?: string[];
395
+ given?: string[];
396
+ prefix?: string;
397
+ suffix?: string;
398
+ }[];
399
+ telecom?: {
400
+ value?: string;
401
+ system?: string;
402
+ use?: string;
403
+ period?: {
404
+ start?: string;
405
+ end?: string;
1753
406
  };
1754
- }, {
1755
- _links?: {
1756
- self?: {
1757
- type?: string;
1758
- href?: string;
1759
- templated?: boolean;
1760
- };
1761
- upgrade?: {
1762
- type?: string;
1763
- href?: string;
1764
- templated?: boolean;
1765
- };
1766
- downgrade?: {
1767
- type?: string;
1768
- href?: string;
1769
- templated?: boolean;
1770
- };
407
+ }[];
408
+ gender?: {
409
+ code?: string;
410
+ system?: string;
411
+ display?: string;
412
+ };
413
+ birthDate?: string;
414
+ address?: {
415
+ use?: string;
416
+ period?: {
417
+ start?: string;
418
+ end?: string;
1771
419
  };
1772
- assuranceLevel?: string;
1773
- patient?: {
1774
- details?: {
1775
- identifier?: {
1776
- system?: string;
1777
- key?: string;
1778
- use?: string;
1779
- label?: string;
1780
- period?: {
1781
- start?: string;
1782
- end?: string;
1783
- };
1784
- assigner?: string;
1785
- }[];
1786
- name?: {
1787
- text?: string;
1788
- use?: string;
1789
- period?: {
1790
- start?: string;
1791
- end?: string;
1792
- };
1793
- family?: string[];
1794
- given?: string[];
1795
- prefix?: string;
1796
- suffix?: string;
1797
- }[];
1798
- telecom?: {
1799
- value?: string;
1800
- system?: string;
1801
- use?: string;
1802
- period?: {
1803
- start?: string;
1804
- end?: string;
1805
- };
1806
- }[];
1807
- gender?: {
1808
- code?: string;
1809
- system?: string;
1810
- display?: string;
1811
- };
1812
- birthDate?: string;
1813
- address?: {
1814
- use?: string;
1815
- period?: {
1816
- start?: string;
1817
- end?: string;
1818
- };
1819
- line?: string[];
1820
- city?: string;
1821
- state?: string;
1822
- zip?: string;
1823
- country?: string;
1824
- }[];
1825
- picture?: any;
1826
- };
420
+ line?: string[];
421
+ city?: string;
422
+ state?: string;
423
+ zip?: string;
424
+ country?: string;
425
+ }[];
426
+ picture?: any;
427
+ }, {
428
+ identifier?: {
429
+ system?: string;
430
+ key?: string;
431
+ use?: string;
432
+ label?: string;
433
+ period?: {
434
+ start?: string;
435
+ end?: string;
1827
436
  };
1828
- }>>>;
1829
- person: z.ZodNullable<z.ZodOptional<z.ZodObject<{
437
+ assigner?: string;
438
+ }[];
439
+ name?: {
440
+ text?: string;
441
+ use?: string;
442
+ period?: {
443
+ start?: string;
444
+ end?: string;
445
+ };
446
+ family?: string[];
447
+ given?: string[];
448
+ prefix?: string;
449
+ suffix?: string;
450
+ }[];
451
+ telecom?: {
452
+ value?: string;
453
+ system?: string;
454
+ use?: string;
455
+ period?: {
456
+ start?: string;
457
+ end?: string;
458
+ };
459
+ }[];
460
+ gender?: {
461
+ code?: string;
462
+ system?: string;
463
+ display?: string;
464
+ };
465
+ birthDate?: string;
466
+ address?: {
467
+ use?: string;
468
+ period?: {
469
+ start?: string;
470
+ end?: string;
471
+ };
472
+ line?: string[];
473
+ city?: string;
474
+ state?: string;
475
+ zip?: string;
476
+ country?: string;
477
+ }[];
478
+ picture?: any;
479
+ }>;
480
+ _links: z.ZodNullable<z.ZodOptional<z.ZodObject<{
481
+ self: z.ZodObject<{
1830
482
  href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1831
483
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1832
484
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1838,8 +490,8 @@ export declare const patientSchema: z.ZodObject<{
1838
490
  type?: string;
1839
491
  href?: string;
1840
492
  templated?: boolean;
1841
- }>>>;
1842
- personMatch: z.ZodNullable<z.ZodOptional<z.ZodObject<{
493
+ }>;
494
+ networkLink: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1843
495
  href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1844
496
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1845
497
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1852,7 +504,7 @@ export declare const patientSchema: z.ZodObject<{
1852
504
  href?: string;
1853
505
  templated?: boolean;
1854
506
  }>>>;
1855
- upgrade: z.ZodNullable<z.ZodOptional<z.ZodObject<{
507
+ person: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1856
508
  href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1857
509
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1858
510
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1865,7 +517,7 @@ export declare const patientSchema: z.ZodObject<{
1865
517
  href?: string;
1866
518
  templated?: boolean;
1867
519
  }>>>;
1868
- downgrade: z.ZodNullable<z.ZodOptional<z.ZodObject<{
520
+ personMatch: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1869
521
  href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1870
522
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1871
523
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1878,101 +530,57 @@ export declare const patientSchema: z.ZodObject<{
1878
530
  href?: string;
1879
531
  templated?: boolean;
1880
532
  }>>>;
1881
- }, "strip", z.ZodTypeAny, {
1882
- self?: {
1883
- type?: string;
1884
- href?: string;
1885
- templated?: boolean;
1886
- };
1887
- upgrade?: {
1888
- type?: string;
1889
- href?: string;
1890
- templated?: boolean;
1891
- };
1892
- downgrade?: {
1893
- type?: string;
1894
- href?: string;
1895
- templated?: boolean;
1896
- };
1897
- person?: {
1898
- type?: string;
1899
- href?: string;
1900
- templated?: boolean;
1901
- };
1902
- networkLink?: {
1903
- _links?: {
1904
- self?: {
1905
- type?: string;
1906
- href?: string;
1907
- templated?: boolean;
1908
- };
1909
- upgrade?: {
1910
- type?: string;
1911
- href?: string;
1912
- templated?: boolean;
1913
- };
1914
- downgrade?: {
1915
- type?: string;
1916
- href?: string;
1917
- templated?: boolean;
1918
- };
1919
- };
1920
- assuranceLevel?: string;
1921
- patient?: {
1922
- details?: {
1923
- identifier?: {
1924
- system?: string;
1925
- key?: string;
1926
- use?: string;
1927
- label?: string;
1928
- period?: {
1929
- start?: string;
1930
- end?: string;
1931
- };
1932
- assigner?: string;
1933
- }[];
1934
- name?: {
1935
- text?: string;
1936
- use?: string;
1937
- period?: {
1938
- start?: string;
1939
- end?: string;
1940
- };
1941
- family?: string[];
1942
- given?: string[];
1943
- prefix?: string;
1944
- suffix?: string;
1945
- }[];
1946
- telecom?: {
1947
- value?: string;
1948
- system?: string;
1949
- use?: string;
1950
- period?: {
1951
- start?: string;
1952
- end?: string;
1953
- };
1954
- }[];
1955
- gender?: {
1956
- code?: string;
1957
- system?: string;
1958
- display?: string;
1959
- };
1960
- birthDate?: string;
1961
- address?: {
1962
- use?: string;
1963
- period?: {
1964
- start?: string;
1965
- end?: string;
1966
- };
1967
- line?: string[];
1968
- city?: string;
1969
- state?: string;
1970
- zip?: string;
1971
- country?: string;
1972
- }[];
1973
- picture?: any;
1974
- };
1975
- };
533
+ upgrade: z.ZodNullable<z.ZodOptional<z.ZodObject<{
534
+ href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
535
+ templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
536
+ type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
537
+ }, "strip", z.ZodTypeAny, {
538
+ type?: string;
539
+ href?: string;
540
+ templated?: boolean;
541
+ }, {
542
+ type?: string;
543
+ href?: string;
544
+ templated?: boolean;
545
+ }>>>;
546
+ downgrade: z.ZodNullable<z.ZodOptional<z.ZodObject<{
547
+ href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
548
+ templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
549
+ type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
550
+ }, "strip", z.ZodTypeAny, {
551
+ type?: string;
552
+ href?: string;
553
+ templated?: boolean;
554
+ }, {
555
+ type?: string;
556
+ href?: string;
557
+ templated?: boolean;
558
+ }>>>;
559
+ }, "strip", z.ZodTypeAny, {
560
+ self?: {
561
+ type?: string;
562
+ href?: string;
563
+ templated?: boolean;
564
+ };
565
+ upgrade?: {
566
+ type?: string;
567
+ href?: string;
568
+ templated?: boolean;
569
+ };
570
+ downgrade?: {
571
+ type?: string;
572
+ href?: string;
573
+ templated?: boolean;
574
+ };
575
+ person?: {
576
+ type?: string;
577
+ href?: string;
578
+ templated?: boolean;
579
+ };
580
+ networkLink?: {
581
+ type?: string;
582
+ href?: string;
583
+ templated?: boolean;
1976
584
  };
1977
585
  personMatch?: {
1978
586
  type?: string;
@@ -2001,79 +609,9 @@ export declare const patientSchema: z.ZodObject<{
2001
609
  templated?: boolean;
2002
610
  };
2003
611
  networkLink?: {
2004
- _links?: {
2005
- self?: {
2006
- type?: string;
2007
- href?: string;
2008
- templated?: boolean;
2009
- };
2010
- upgrade?: {
2011
- type?: string;
2012
- href?: string;
2013
- templated?: boolean;
2014
- };
2015
- downgrade?: {
2016
- type?: string;
2017
- href?: string;
2018
- templated?: boolean;
2019
- };
2020
- };
2021
- assuranceLevel?: string;
2022
- patient?: {
2023
- details?: {
2024
- identifier?: {
2025
- system?: string;
2026
- key?: string;
2027
- use?: string;
2028
- label?: string;
2029
- period?: {
2030
- start?: string;
2031
- end?: string;
2032
- };
2033
- assigner?: string;
2034
- }[];
2035
- name?: {
2036
- text?: string;
2037
- use?: string;
2038
- period?: {
2039
- start?: string;
2040
- end?: string;
2041
- };
2042
- family?: string[];
2043
- given?: string[];
2044
- prefix?: string;
2045
- suffix?: string;
2046
- }[];
2047
- telecom?: {
2048
- value?: string;
2049
- system?: string;
2050
- use?: string;
2051
- period?: {
2052
- start?: string;
2053
- end?: string;
2054
- };
2055
- }[];
2056
- gender?: {
2057
- code?: string;
2058
- system?: string;
2059
- display?: string;
2060
- };
2061
- birthDate?: string;
2062
- address?: {
2063
- use?: string;
2064
- period?: {
2065
- start?: string;
2066
- end?: string;
2067
- };
2068
- line?: string[];
2069
- city?: string;
2070
- state?: string;
2071
- zip?: string;
2072
- country?: string;
2073
- }[];
2074
- picture?: any;
2075
- };
2076
- };
612
+ type?: string;
613
+ href?: string;
614
+ templated?: boolean;
2077
615
  };
2078
616
  personMatch?: {
2079
617
  type?: string;
@@ -2129,139 +667,69 @@ export declare const patientSchema: z.ZodObject<{
2129
667
  address?: {
2130
668
  use?: string;
2131
669
  period?: {
2132
- start?: string;
2133
- end?: string;
2134
- };
2135
- line?: string[];
2136
- city?: string;
2137
- state?: string;
2138
- zip?: string;
2139
- country?: string;
2140
- };
2141
- id?: string;
2142
- }, {
2143
- name?: string;
2144
- address?: {
2145
- use?: string;
2146
- period?: {
2147
- start?: string;
2148
- end?: string;
2149
- };
2150
- line?: string[];
2151
- city?: string;
2152
- state?: string;
2153
- zip?: string;
2154
- country?: string;
2155
- };
2156
- id?: string;
2157
- }>, "many">>>;
2158
- }, "strip", z.ZodTypeAny, {
2159
- identifier?: {
2160
- system?: string;
2161
- key?: string;
2162
- use?: string;
2163
- label?: string;
2164
- period?: {
2165
- start?: string;
2166
- end?: string;
2167
- };
2168
- assigner?: string;
2169
- }[];
2170
- _links?: {
2171
- self?: {
2172
- type?: string;
2173
- href?: string;
2174
- templated?: boolean;
2175
- };
2176
- upgrade?: {
2177
- type?: string;
2178
- href?: string;
2179
- templated?: boolean;
2180
- };
2181
- downgrade?: {
2182
- type?: string;
2183
- href?: string;
2184
- templated?: boolean;
2185
- };
2186
- person?: {
2187
- type?: string;
2188
- href?: string;
2189
- templated?: boolean;
2190
- };
2191
- networkLink?: {
2192
- _links?: {
2193
- self?: {
2194
- type?: string;
2195
- href?: string;
2196
- templated?: boolean;
2197
- };
2198
- upgrade?: {
2199
- type?: string;
2200
- href?: string;
2201
- templated?: boolean;
2202
- };
2203
- downgrade?: {
2204
- type?: string;
2205
- href?: string;
2206
- templated?: boolean;
2207
- };
2208
- };
2209
- assuranceLevel?: string;
2210
- patient?: {
2211
- details?: {
2212
- identifier?: {
2213
- system?: string;
2214
- key?: string;
2215
- use?: string;
2216
- label?: string;
2217
- period?: {
2218
- start?: string;
2219
- end?: string;
2220
- };
2221
- assigner?: string;
2222
- }[];
2223
- name?: {
2224
- text?: string;
2225
- use?: string;
2226
- period?: {
2227
- start?: string;
2228
- end?: string;
2229
- };
2230
- family?: string[];
2231
- given?: string[];
2232
- prefix?: string;
2233
- suffix?: string;
2234
- }[];
2235
- telecom?: {
2236
- value?: string;
2237
- system?: string;
2238
- use?: string;
2239
- period?: {
2240
- start?: string;
2241
- end?: string;
2242
- };
2243
- }[];
2244
- gender?: {
2245
- code?: string;
2246
- system?: string;
2247
- display?: string;
2248
- };
2249
- birthDate?: string;
2250
- address?: {
2251
- use?: string;
2252
- period?: {
2253
- start?: string;
2254
- end?: string;
2255
- };
2256
- line?: string[];
2257
- city?: string;
2258
- state?: string;
2259
- zip?: string;
2260
- country?: string;
2261
- }[];
2262
- picture?: any;
2263
- };
670
+ start?: string;
671
+ end?: string;
672
+ };
673
+ line?: string[];
674
+ city?: string;
675
+ state?: string;
676
+ zip?: string;
677
+ country?: string;
678
+ };
679
+ id?: string;
680
+ }, {
681
+ name?: string;
682
+ address?: {
683
+ use?: string;
684
+ period?: {
685
+ start?: string;
686
+ end?: string;
2264
687
  };
688
+ line?: string[];
689
+ city?: string;
690
+ state?: string;
691
+ zip?: string;
692
+ country?: string;
693
+ };
694
+ id?: string;
695
+ }>, "many">>>;
696
+ }, "strip", z.ZodTypeAny, {
697
+ identifier?: {
698
+ system?: string;
699
+ key?: string;
700
+ use?: string;
701
+ label?: string;
702
+ period?: {
703
+ start?: string;
704
+ end?: string;
705
+ };
706
+ assigner?: string;
707
+ }[];
708
+ _links?: {
709
+ self?: {
710
+ type?: string;
711
+ href?: string;
712
+ templated?: boolean;
713
+ };
714
+ upgrade?: {
715
+ type?: string;
716
+ href?: string;
717
+ templated?: boolean;
718
+ };
719
+ downgrade?: {
720
+ type?: string;
721
+ href?: string;
722
+ templated?: boolean;
723
+ };
724
+ person?: {
725
+ type?: string;
726
+ href?: string;
727
+ templated?: boolean;
728
+ };
729
+ networkLink?: {
730
+ type?: string;
731
+ href?: string;
732
+ templated?: boolean;
2265
733
  };
2266
734
  personMatch?: {
2267
735
  type?: string;
@@ -2378,79 +846,9 @@ export declare const patientSchema: z.ZodObject<{
2378
846
  templated?: boolean;
2379
847
  };
2380
848
  networkLink?: {
2381
- _links?: {
2382
- self?: {
2383
- type?: string;
2384
- href?: string;
2385
- templated?: boolean;
2386
- };
2387
- upgrade?: {
2388
- type?: string;
2389
- href?: string;
2390
- templated?: boolean;
2391
- };
2392
- downgrade?: {
2393
- type?: string;
2394
- href?: string;
2395
- templated?: boolean;
2396
- };
2397
- };
2398
- assuranceLevel?: string;
2399
- patient?: {
2400
- details?: {
2401
- identifier?: {
2402
- system?: string;
2403
- key?: string;
2404
- use?: string;
2405
- label?: string;
2406
- period?: {
2407
- start?: string;
2408
- end?: string;
2409
- };
2410
- assigner?: string;
2411
- }[];
2412
- name?: {
2413
- text?: string;
2414
- use?: string;
2415
- period?: {
2416
- start?: string;
2417
- end?: string;
2418
- };
2419
- family?: string[];
2420
- given?: string[];
2421
- prefix?: string;
2422
- suffix?: string;
2423
- }[];
2424
- telecom?: {
2425
- value?: string;
2426
- system?: string;
2427
- use?: string;
2428
- period?: {
2429
- start?: string;
2430
- end?: string;
2431
- };
2432
- }[];
2433
- gender?: {
2434
- code?: string;
2435
- system?: string;
2436
- display?: string;
2437
- };
2438
- birthDate?: string;
2439
- address?: {
2440
- use?: string;
2441
- period?: {
2442
- start?: string;
2443
- end?: string;
2444
- };
2445
- line?: string[];
2446
- city?: string;
2447
- state?: string;
2448
- zip?: string;
2449
- country?: string;
2450
- }[];
2451
- picture?: any;
2452
- };
2453
- };
849
+ type?: string;
850
+ href?: string;
851
+ templated?: boolean;
2454
852
  };
2455
853
  personMatch?: {
2456
854
  type?: string;
@@ -2876,608 +1274,17 @@ export declare const patientSearchRespSchema: z.ZodObject<{
2876
1274
  templated?: boolean;
2877
1275
  }>;
2878
1276
  networkLink: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2879
- _links: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2880
- self: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2881
- href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2882
- templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
2883
- type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2884
- }, "strip", z.ZodTypeAny, {
2885
- type?: string;
2886
- href?: string;
2887
- templated?: boolean;
2888
- }, {
2889
- type?: string;
2890
- href?: string;
2891
- templated?: boolean;
2892
- }>>>;
2893
- upgrade: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2894
- href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2895
- templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
2896
- type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2897
- }, "strip", z.ZodTypeAny, {
2898
- type?: string;
2899
- href?: string;
2900
- templated?: boolean;
2901
- }, {
2902
- type?: string;
2903
- href?: string;
2904
- templated?: boolean;
2905
- }>>>;
2906
- downgrade: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2907
- href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2908
- templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
2909
- type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2910
- }, "strip", z.ZodTypeAny, {
2911
- type?: string;
2912
- href?: string;
2913
- templated?: boolean;
2914
- }, {
2915
- type?: string;
2916
- href?: string;
2917
- templated?: boolean;
2918
- }>>>;
2919
- }, "strip", z.ZodTypeAny, {
2920
- self?: {
2921
- type?: string;
2922
- href?: string;
2923
- templated?: boolean;
2924
- };
2925
- upgrade?: {
2926
- type?: string;
2927
- href?: string;
2928
- templated?: boolean;
2929
- };
2930
- downgrade?: {
2931
- type?: string;
2932
- href?: string;
2933
- templated?: boolean;
2934
- };
2935
- }, {
2936
- self?: {
2937
- type?: string;
2938
- href?: string;
2939
- templated?: boolean;
2940
- };
2941
- upgrade?: {
2942
- type?: string;
2943
- href?: string;
2944
- templated?: boolean;
2945
- };
2946
- downgrade?: {
2947
- type?: string;
2948
- href?: string;
2949
- templated?: boolean;
2950
- };
2951
- }>>>;
2952
- assuranceLevel: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
2953
- patient: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2954
- details: z.ZodObject<{
2955
- identifier: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<z.extendShape<{
2956
- system: z.ZodString;
2957
- key: z.ZodString;
2958
- }, {
2959
- use: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
2960
- label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2961
- period: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2962
- start: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
2963
- end: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
2964
- }, "strip", z.ZodTypeAny, {
2965
- start?: string;
2966
- end?: string;
2967
- }, {
2968
- start?: string;
2969
- end?: string;
2970
- }>>>;
2971
- assigner: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2972
- }>, "strip", z.ZodTypeAny, {
2973
- system?: string;
2974
- key?: string;
2975
- use?: string;
2976
- label?: string;
2977
- period?: {
2978
- start?: string;
2979
- end?: string;
2980
- };
2981
- assigner?: string;
2982
- }, {
2983
- system?: string;
2984
- key?: string;
2985
- use?: string;
2986
- label?: string;
2987
- period?: {
2988
- start?: string;
2989
- end?: string;
2990
- };
2991
- assigner?: string;
2992
- }>, "many">>>;
2993
- name: z.ZodArray<z.ZodObject<{
2994
- use: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
2995
- text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2996
- family: z.ZodArray<z.ZodString, "many">;
2997
- given: z.ZodArray<z.ZodString, "many">;
2998
- prefix: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2999
- suffix: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3000
- period: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3001
- start: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
3002
- end: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
3003
- }, "strip", z.ZodTypeAny, {
3004
- start?: string;
3005
- end?: string;
3006
- }, {
3007
- start?: string;
3008
- end?: string;
3009
- }>>>;
3010
- }, "strip", z.ZodTypeAny, {
3011
- text?: string;
3012
- use?: string;
3013
- period?: {
3014
- start?: string;
3015
- end?: string;
3016
- };
3017
- family?: string[];
3018
- given?: string[];
3019
- prefix?: string;
3020
- suffix?: string;
3021
- }, {
3022
- text?: string;
3023
- use?: string;
3024
- period?: {
3025
- start?: string;
3026
- end?: string;
3027
- };
3028
- family?: string[];
3029
- given?: string[];
3030
- prefix?: string;
3031
- suffix?: string;
3032
- }>, "many">;
3033
- telecom: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
3034
- use: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
3035
- system: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3036
- value: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3037
- period: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3038
- start: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
3039
- end: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
3040
- }, "strip", z.ZodTypeAny, {
3041
- start?: string;
3042
- end?: string;
3043
- }, {
3044
- start?: string;
3045
- end?: string;
3046
- }>>>;
3047
- }, "strip", z.ZodTypeAny, {
3048
- value?: string;
3049
- system?: string;
3050
- use?: string;
3051
- period?: {
3052
- start?: string;
3053
- end?: string;
3054
- };
3055
- }, {
3056
- value?: string;
3057
- system?: string;
3058
- use?: string;
3059
- period?: {
3060
- start?: string;
3061
- end?: string;
3062
- };
3063
- }>, "many">>>;
3064
- gender: z.ZodObject<{
3065
- code: z.ZodEnum<[string, ...string[]]>;
3066
- display: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3067
- system: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3068
- }, "strip", z.ZodTypeAny, {
3069
- code?: string;
3070
- system?: string;
3071
- display?: string;
3072
- }, {
3073
- code?: string;
3074
- system?: string;
3075
- display?: string;
3076
- }>;
3077
- birthDate: z.ZodUnion<[z.ZodString, z.ZodString]>;
3078
- address: z.ZodArray<z.ZodObject<{
3079
- use: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
3080
- line: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
3081
- city: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3082
- state: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3083
- zip: z.ZodString;
3084
- country: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3085
- period: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3086
- start: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
3087
- end: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
3088
- }, "strip", z.ZodTypeAny, {
3089
- start?: string;
3090
- end?: string;
3091
- }, {
3092
- start?: string;
3093
- end?: string;
3094
- }>>>;
3095
- }, "strip", z.ZodTypeAny, {
3096
- use?: string;
3097
- period?: {
3098
- start?: string;
3099
- end?: string;
3100
- };
3101
- line?: string[];
3102
- city?: string;
3103
- state?: string;
3104
- zip?: string;
3105
- country?: string;
3106
- }, {
3107
- use?: string;
3108
- period?: {
3109
- start?: string;
3110
- end?: string;
3111
- };
3112
- line?: string[];
3113
- city?: string;
3114
- state?: string;
3115
- zip?: string;
3116
- country?: string;
3117
- }>, "many">;
3118
- picture: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
3119
- }, "strip", z.ZodTypeAny, {
3120
- identifier?: {
3121
- system?: string;
3122
- key?: string;
3123
- use?: string;
3124
- label?: string;
3125
- period?: {
3126
- start?: string;
3127
- end?: string;
3128
- };
3129
- assigner?: string;
3130
- }[];
3131
- name?: {
3132
- text?: string;
3133
- use?: string;
3134
- period?: {
3135
- start?: string;
3136
- end?: string;
3137
- };
3138
- family?: string[];
3139
- given?: string[];
3140
- prefix?: string;
3141
- suffix?: string;
3142
- }[];
3143
- telecom?: {
3144
- value?: string;
3145
- system?: string;
3146
- use?: string;
3147
- period?: {
3148
- start?: string;
3149
- end?: string;
3150
- };
3151
- }[];
3152
- gender?: {
3153
- code?: string;
3154
- system?: string;
3155
- display?: string;
3156
- };
3157
- birthDate?: string;
3158
- address?: {
3159
- use?: string;
3160
- period?: {
3161
- start?: string;
3162
- end?: string;
3163
- };
3164
- line?: string[];
3165
- city?: string;
3166
- state?: string;
3167
- zip?: string;
3168
- country?: string;
3169
- }[];
3170
- picture?: any;
3171
- }, {
3172
- identifier?: {
3173
- system?: string;
3174
- key?: string;
3175
- use?: string;
3176
- label?: string;
3177
- period?: {
3178
- start?: string;
3179
- end?: string;
3180
- };
3181
- assigner?: string;
3182
- }[];
3183
- name?: {
3184
- text?: string;
3185
- use?: string;
3186
- period?: {
3187
- start?: string;
3188
- end?: string;
3189
- };
3190
- family?: string[];
3191
- given?: string[];
3192
- prefix?: string;
3193
- suffix?: string;
3194
- }[];
3195
- telecom?: {
3196
- value?: string;
3197
- system?: string;
3198
- use?: string;
3199
- period?: {
3200
- start?: string;
3201
- end?: string;
3202
- };
3203
- }[];
3204
- gender?: {
3205
- code?: string;
3206
- system?: string;
3207
- display?: string;
3208
- };
3209
- birthDate?: string;
3210
- address?: {
3211
- use?: string;
3212
- period?: {
3213
- start?: string;
3214
- end?: string;
3215
- };
3216
- line?: string[];
3217
- city?: string;
3218
- state?: string;
3219
- zip?: string;
3220
- country?: string;
3221
- }[];
3222
- picture?: any;
3223
- }>;
3224
- }, "strip", z.ZodTypeAny, {
3225
- details?: {
3226
- identifier?: {
3227
- system?: string;
3228
- key?: string;
3229
- use?: string;
3230
- label?: string;
3231
- period?: {
3232
- start?: string;
3233
- end?: string;
3234
- };
3235
- assigner?: string;
3236
- }[];
3237
- name?: {
3238
- text?: string;
3239
- use?: string;
3240
- period?: {
3241
- start?: string;
3242
- end?: string;
3243
- };
3244
- family?: string[];
3245
- given?: string[];
3246
- prefix?: string;
3247
- suffix?: string;
3248
- }[];
3249
- telecom?: {
3250
- value?: string;
3251
- system?: string;
3252
- use?: string;
3253
- period?: {
3254
- start?: string;
3255
- end?: string;
3256
- };
3257
- }[];
3258
- gender?: {
3259
- code?: string;
3260
- system?: string;
3261
- display?: string;
3262
- };
3263
- birthDate?: string;
3264
- address?: {
3265
- use?: string;
3266
- period?: {
3267
- start?: string;
3268
- end?: string;
3269
- };
3270
- line?: string[];
3271
- city?: string;
3272
- state?: string;
3273
- zip?: string;
3274
- country?: string;
3275
- }[];
3276
- picture?: any;
3277
- };
3278
- }, {
3279
- details?: {
3280
- identifier?: {
3281
- system?: string;
3282
- key?: string;
3283
- use?: string;
3284
- label?: string;
3285
- period?: {
3286
- start?: string;
3287
- end?: string;
3288
- };
3289
- assigner?: string;
3290
- }[];
3291
- name?: {
3292
- text?: string;
3293
- use?: string;
3294
- period?: {
3295
- start?: string;
3296
- end?: string;
3297
- };
3298
- family?: string[];
3299
- given?: string[];
3300
- prefix?: string;
3301
- suffix?: string;
3302
- }[];
3303
- telecom?: {
3304
- value?: string;
3305
- system?: string;
3306
- use?: string;
3307
- period?: {
3308
- start?: string;
3309
- end?: string;
3310
- };
3311
- }[];
3312
- gender?: {
3313
- code?: string;
3314
- system?: string;
3315
- display?: string;
3316
- };
3317
- birthDate?: string;
3318
- address?: {
3319
- use?: string;
3320
- period?: {
3321
- start?: string;
3322
- end?: string;
3323
- };
3324
- line?: string[];
3325
- city?: string;
3326
- state?: string;
3327
- zip?: string;
3328
- country?: string;
3329
- }[];
3330
- picture?: any;
3331
- };
3332
- }>>>;
1277
+ href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1278
+ templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1279
+ type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3333
1280
  }, "strip", z.ZodTypeAny, {
3334
- _links?: {
3335
- self?: {
3336
- type?: string;
3337
- href?: string;
3338
- templated?: boolean;
3339
- };
3340
- upgrade?: {
3341
- type?: string;
3342
- href?: string;
3343
- templated?: boolean;
3344
- };
3345
- downgrade?: {
3346
- type?: string;
3347
- href?: string;
3348
- templated?: boolean;
3349
- };
3350
- };
3351
- assuranceLevel?: string;
3352
- patient?: {
3353
- details?: {
3354
- identifier?: {
3355
- system?: string;
3356
- key?: string;
3357
- use?: string;
3358
- label?: string;
3359
- period?: {
3360
- start?: string;
3361
- end?: string;
3362
- };
3363
- assigner?: string;
3364
- }[];
3365
- name?: {
3366
- text?: string;
3367
- use?: string;
3368
- period?: {
3369
- start?: string;
3370
- end?: string;
3371
- };
3372
- family?: string[];
3373
- given?: string[];
3374
- prefix?: string;
3375
- suffix?: string;
3376
- }[];
3377
- telecom?: {
3378
- value?: string;
3379
- system?: string;
3380
- use?: string;
3381
- period?: {
3382
- start?: string;
3383
- end?: string;
3384
- };
3385
- }[];
3386
- gender?: {
3387
- code?: string;
3388
- system?: string;
3389
- display?: string;
3390
- };
3391
- birthDate?: string;
3392
- address?: {
3393
- use?: string;
3394
- period?: {
3395
- start?: string;
3396
- end?: string;
3397
- };
3398
- line?: string[];
3399
- city?: string;
3400
- state?: string;
3401
- zip?: string;
3402
- country?: string;
3403
- }[];
3404
- picture?: any;
3405
- };
3406
- };
1281
+ type?: string;
1282
+ href?: string;
1283
+ templated?: boolean;
3407
1284
  }, {
3408
- _links?: {
3409
- self?: {
3410
- type?: string;
3411
- href?: string;
3412
- templated?: boolean;
3413
- };
3414
- upgrade?: {
3415
- type?: string;
3416
- href?: string;
3417
- templated?: boolean;
3418
- };
3419
- downgrade?: {
3420
- type?: string;
3421
- href?: string;
3422
- templated?: boolean;
3423
- };
3424
- };
3425
- assuranceLevel?: string;
3426
- patient?: {
3427
- details?: {
3428
- identifier?: {
3429
- system?: string;
3430
- key?: string;
3431
- use?: string;
3432
- label?: string;
3433
- period?: {
3434
- start?: string;
3435
- end?: string;
3436
- };
3437
- assigner?: string;
3438
- }[];
3439
- name?: {
3440
- text?: string;
3441
- use?: string;
3442
- period?: {
3443
- start?: string;
3444
- end?: string;
3445
- };
3446
- family?: string[];
3447
- given?: string[];
3448
- prefix?: string;
3449
- suffix?: string;
3450
- }[];
3451
- telecom?: {
3452
- value?: string;
3453
- system?: string;
3454
- use?: string;
3455
- period?: {
3456
- start?: string;
3457
- end?: string;
3458
- };
3459
- }[];
3460
- gender?: {
3461
- code?: string;
3462
- system?: string;
3463
- display?: string;
3464
- };
3465
- birthDate?: string;
3466
- address?: {
3467
- use?: string;
3468
- period?: {
3469
- start?: string;
3470
- end?: string;
3471
- };
3472
- line?: string[];
3473
- city?: string;
3474
- state?: string;
3475
- zip?: string;
3476
- country?: string;
3477
- }[];
3478
- picture?: any;
3479
- };
3480
- };
1285
+ type?: string;
1286
+ href?: string;
1287
+ templated?: boolean;
3481
1288
  }>>>;
3482
1289
  person: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3483
1290
  href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -3553,79 +1360,9 @@ export declare const patientSearchRespSchema: z.ZodObject<{
3553
1360
  templated?: boolean;
3554
1361
  };
3555
1362
  networkLink?: {
3556
- _links?: {
3557
- self?: {
3558
- type?: string;
3559
- href?: string;
3560
- templated?: boolean;
3561
- };
3562
- upgrade?: {
3563
- type?: string;
3564
- href?: string;
3565
- templated?: boolean;
3566
- };
3567
- downgrade?: {
3568
- type?: string;
3569
- href?: string;
3570
- templated?: boolean;
3571
- };
3572
- };
3573
- assuranceLevel?: string;
3574
- patient?: {
3575
- details?: {
3576
- identifier?: {
3577
- system?: string;
3578
- key?: string;
3579
- use?: string;
3580
- label?: string;
3581
- period?: {
3582
- start?: string;
3583
- end?: string;
3584
- };
3585
- assigner?: string;
3586
- }[];
3587
- name?: {
3588
- text?: string;
3589
- use?: string;
3590
- period?: {
3591
- start?: string;
3592
- end?: string;
3593
- };
3594
- family?: string[];
3595
- given?: string[];
3596
- prefix?: string;
3597
- suffix?: string;
3598
- }[];
3599
- telecom?: {
3600
- value?: string;
3601
- system?: string;
3602
- use?: string;
3603
- period?: {
3604
- start?: string;
3605
- end?: string;
3606
- };
3607
- }[];
3608
- gender?: {
3609
- code?: string;
3610
- system?: string;
3611
- display?: string;
3612
- };
3613
- birthDate?: string;
3614
- address?: {
3615
- use?: string;
3616
- period?: {
3617
- start?: string;
3618
- end?: string;
3619
- };
3620
- line?: string[];
3621
- city?: string;
3622
- state?: string;
3623
- zip?: string;
3624
- country?: string;
3625
- }[];
3626
- picture?: any;
3627
- };
3628
- };
1363
+ type?: string;
1364
+ href?: string;
1365
+ templated?: boolean;
3629
1366
  };
3630
1367
  personMatch?: {
3631
1368
  type?: string;
@@ -3654,79 +1391,9 @@ export declare const patientSearchRespSchema: z.ZodObject<{
3654
1391
  templated?: boolean;
3655
1392
  };
3656
1393
  networkLink?: {
3657
- _links?: {
3658
- self?: {
3659
- type?: string;
3660
- href?: string;
3661
- templated?: boolean;
3662
- };
3663
- upgrade?: {
3664
- type?: string;
3665
- href?: string;
3666
- templated?: boolean;
3667
- };
3668
- downgrade?: {
3669
- type?: string;
3670
- href?: string;
3671
- templated?: boolean;
3672
- };
3673
- };
3674
- assuranceLevel?: string;
3675
- patient?: {
3676
- details?: {
3677
- identifier?: {
3678
- system?: string;
3679
- key?: string;
3680
- use?: string;
3681
- label?: string;
3682
- period?: {
3683
- start?: string;
3684
- end?: string;
3685
- };
3686
- assigner?: string;
3687
- }[];
3688
- name?: {
3689
- text?: string;
3690
- use?: string;
3691
- period?: {
3692
- start?: string;
3693
- end?: string;
3694
- };
3695
- family?: string[];
3696
- given?: string[];
3697
- prefix?: string;
3698
- suffix?: string;
3699
- }[];
3700
- telecom?: {
3701
- value?: string;
3702
- system?: string;
3703
- use?: string;
3704
- period?: {
3705
- start?: string;
3706
- end?: string;
3707
- };
3708
- }[];
3709
- gender?: {
3710
- code?: string;
3711
- system?: string;
3712
- display?: string;
3713
- };
3714
- birthDate?: string;
3715
- address?: {
3716
- use?: string;
3717
- period?: {
3718
- start?: string;
3719
- end?: string;
3720
- };
3721
- line?: string[];
3722
- city?: string;
3723
- state?: string;
3724
- zip?: string;
3725
- country?: string;
3726
- }[];
3727
- picture?: any;
3728
- };
3729
- };
1394
+ type?: string;
1395
+ href?: string;
1396
+ templated?: boolean;
3730
1397
  };
3731
1398
  personMatch?: {
3732
1399
  type?: string;
@@ -3842,79 +1509,9 @@ export declare const patientSearchRespSchema: z.ZodObject<{
3842
1509
  templated?: boolean;
3843
1510
  };
3844
1511
  networkLink?: {
3845
- _links?: {
3846
- self?: {
3847
- type?: string;
3848
- href?: string;
3849
- templated?: boolean;
3850
- };
3851
- upgrade?: {
3852
- type?: string;
3853
- href?: string;
3854
- templated?: boolean;
3855
- };
3856
- downgrade?: {
3857
- type?: string;
3858
- href?: string;
3859
- templated?: boolean;
3860
- };
3861
- };
3862
- assuranceLevel?: string;
3863
- patient?: {
3864
- details?: {
3865
- identifier?: {
3866
- system?: string;
3867
- key?: string;
3868
- use?: string;
3869
- label?: string;
3870
- period?: {
3871
- start?: string;
3872
- end?: string;
3873
- };
3874
- assigner?: string;
3875
- }[];
3876
- name?: {
3877
- text?: string;
3878
- use?: string;
3879
- period?: {
3880
- start?: string;
3881
- end?: string;
3882
- };
3883
- family?: string[];
3884
- given?: string[];
3885
- prefix?: string;
3886
- suffix?: string;
3887
- }[];
3888
- telecom?: {
3889
- value?: string;
3890
- system?: string;
3891
- use?: string;
3892
- period?: {
3893
- start?: string;
3894
- end?: string;
3895
- };
3896
- }[];
3897
- gender?: {
3898
- code?: string;
3899
- system?: string;
3900
- display?: string;
3901
- };
3902
- birthDate?: string;
3903
- address?: {
3904
- use?: string;
3905
- period?: {
3906
- start?: string;
3907
- end?: string;
3908
- };
3909
- line?: string[];
3910
- city?: string;
3911
- state?: string;
3912
- zip?: string;
3913
- country?: string;
3914
- }[];
3915
- picture?: any;
3916
- };
3917
- };
1512
+ type?: string;
1513
+ href?: string;
1514
+ templated?: boolean;
3918
1515
  };
3919
1516
  personMatch?: {
3920
1517
  type?: string;
@@ -4031,79 +1628,9 @@ export declare const patientSearchRespSchema: z.ZodObject<{
4031
1628
  templated?: boolean;
4032
1629
  };
4033
1630
  networkLink?: {
4034
- _links?: {
4035
- self?: {
4036
- type?: string;
4037
- href?: string;
4038
- templated?: boolean;
4039
- };
4040
- upgrade?: {
4041
- type?: string;
4042
- href?: string;
4043
- templated?: boolean;
4044
- };
4045
- downgrade?: {
4046
- type?: string;
4047
- href?: string;
4048
- templated?: boolean;
4049
- };
4050
- };
4051
- assuranceLevel?: string;
4052
- patient?: {
4053
- details?: {
4054
- identifier?: {
4055
- system?: string;
4056
- key?: string;
4057
- use?: string;
4058
- label?: string;
4059
- period?: {
4060
- start?: string;
4061
- end?: string;
4062
- };
4063
- assigner?: string;
4064
- }[];
4065
- name?: {
4066
- text?: string;
4067
- use?: string;
4068
- period?: {
4069
- start?: string;
4070
- end?: string;
4071
- };
4072
- family?: string[];
4073
- given?: string[];
4074
- prefix?: string;
4075
- suffix?: string;
4076
- }[];
4077
- telecom?: {
4078
- value?: string;
4079
- system?: string;
4080
- use?: string;
4081
- period?: {
4082
- start?: string;
4083
- end?: string;
4084
- };
4085
- }[];
4086
- gender?: {
4087
- code?: string;
4088
- system?: string;
4089
- display?: string;
4090
- };
4091
- birthDate?: string;
4092
- address?: {
4093
- use?: string;
4094
- period?: {
4095
- start?: string;
4096
- end?: string;
4097
- };
4098
- line?: string[];
4099
- city?: string;
4100
- state?: string;
4101
- zip?: string;
4102
- country?: string;
4103
- }[];
4104
- picture?: any;
4105
- };
4106
- };
1631
+ type?: string;
1632
+ href?: string;
1633
+ templated?: boolean;
4107
1634
  };
4108
1635
  personMatch?: {
4109
1636
  type?: string;
@@ -4222,79 +1749,9 @@ export declare const patientSearchRespSchema: z.ZodObject<{
4222
1749
  templated?: boolean;
4223
1750
  };
4224
1751
  networkLink?: {
4225
- _links?: {
4226
- self?: {
4227
- type?: string;
4228
- href?: string;
4229
- templated?: boolean;
4230
- };
4231
- upgrade?: {
4232
- type?: string;
4233
- href?: string;
4234
- templated?: boolean;
4235
- };
4236
- downgrade?: {
4237
- type?: string;
4238
- href?: string;
4239
- templated?: boolean;
4240
- };
4241
- };
4242
- assuranceLevel?: string;
4243
- patient?: {
4244
- details?: {
4245
- identifier?: {
4246
- system?: string;
4247
- key?: string;
4248
- use?: string;
4249
- label?: string;
4250
- period?: {
4251
- start?: string;
4252
- end?: string;
4253
- };
4254
- assigner?: string;
4255
- }[];
4256
- name?: {
4257
- text?: string;
4258
- use?: string;
4259
- period?: {
4260
- start?: string;
4261
- end?: string;
4262
- };
4263
- family?: string[];
4264
- given?: string[];
4265
- prefix?: string;
4266
- suffix?: string;
4267
- }[];
4268
- telecom?: {
4269
- value?: string;
4270
- system?: string;
4271
- use?: string;
4272
- period?: {
4273
- start?: string;
4274
- end?: string;
4275
- };
4276
- }[];
4277
- gender?: {
4278
- code?: string;
4279
- system?: string;
4280
- display?: string;
4281
- };
4282
- birthDate?: string;
4283
- address?: {
4284
- use?: string;
4285
- period?: {
4286
- start?: string;
4287
- end?: string;
4288
- };
4289
- line?: string[];
4290
- city?: string;
4291
- state?: string;
4292
- zip?: string;
4293
- country?: string;
4294
- }[];
4295
- picture?: any;
4296
- };
4297
- };
1752
+ type?: string;
1753
+ href?: string;
1754
+ templated?: boolean;
4298
1755
  };
4299
1756
  personMatch?: {
4300
1757
  type?: string;
@@ -4413,79 +1870,9 @@ export declare const patientSearchRespSchema: z.ZodObject<{
4413
1870
  templated?: boolean;
4414
1871
  };
4415
1872
  networkLink?: {
4416
- _links?: {
4417
- self?: {
4418
- type?: string;
4419
- href?: string;
4420
- templated?: boolean;
4421
- };
4422
- upgrade?: {
4423
- type?: string;
4424
- href?: string;
4425
- templated?: boolean;
4426
- };
4427
- downgrade?: {
4428
- type?: string;
4429
- href?: string;
4430
- templated?: boolean;
4431
- };
4432
- };
4433
- assuranceLevel?: string;
4434
- patient?: {
4435
- details?: {
4436
- identifier?: {
4437
- system?: string;
4438
- key?: string;
4439
- use?: string;
4440
- label?: string;
4441
- period?: {
4442
- start?: string;
4443
- end?: string;
4444
- };
4445
- assigner?: string;
4446
- }[];
4447
- name?: {
4448
- text?: string;
4449
- use?: string;
4450
- period?: {
4451
- start?: string;
4452
- end?: string;
4453
- };
4454
- family?: string[];
4455
- given?: string[];
4456
- prefix?: string;
4457
- suffix?: string;
4458
- }[];
4459
- telecom?: {
4460
- value?: string;
4461
- system?: string;
4462
- use?: string;
4463
- period?: {
4464
- start?: string;
4465
- end?: string;
4466
- };
4467
- }[];
4468
- gender?: {
4469
- code?: string;
4470
- system?: string;
4471
- display?: string;
4472
- };
4473
- birthDate?: string;
4474
- address?: {
4475
- use?: string;
4476
- period?: {
4477
- start?: string;
4478
- end?: string;
4479
- };
4480
- line?: string[];
4481
- city?: string;
4482
- state?: string;
4483
- zip?: string;
4484
- country?: string;
4485
- }[];
4486
- picture?: any;
4487
- };
4488
- };
1873
+ type?: string;
1874
+ href?: string;
1875
+ templated?: boolean;
4489
1876
  };
4490
1877
  personMatch?: {
4491
1878
  type?: string;
@@ -4641,79 +2028,9 @@ export declare const patientSearchRespSchema: z.ZodObject<{
4641
2028
  templated?: boolean;
4642
2029
  };
4643
2030
  networkLink?: {
4644
- _links?: {
4645
- self?: {
4646
- type?: string;
4647
- href?: string;
4648
- templated?: boolean;
4649
- };
4650
- upgrade?: {
4651
- type?: string;
4652
- href?: string;
4653
- templated?: boolean;
4654
- };
4655
- downgrade?: {
4656
- type?: string;
4657
- href?: string;
4658
- templated?: boolean;
4659
- };
4660
- };
4661
- assuranceLevel?: string;
4662
- patient?: {
4663
- details?: {
4664
- identifier?: {
4665
- system?: string;
4666
- key?: string;
4667
- use?: string;
4668
- label?: string;
4669
- period?: {
4670
- start?: string;
4671
- end?: string;
4672
- };
4673
- assigner?: string;
4674
- }[];
4675
- name?: {
4676
- text?: string;
4677
- use?: string;
4678
- period?: {
4679
- start?: string;
4680
- end?: string;
4681
- };
4682
- family?: string[];
4683
- given?: string[];
4684
- prefix?: string;
4685
- suffix?: string;
4686
- }[];
4687
- telecom?: {
4688
- value?: string;
4689
- system?: string;
4690
- use?: string;
4691
- period?: {
4692
- start?: string;
4693
- end?: string;
4694
- };
4695
- }[];
4696
- gender?: {
4697
- code?: string;
4698
- system?: string;
4699
- display?: string;
4700
- };
4701
- birthDate?: string;
4702
- address?: {
4703
- use?: string;
4704
- period?: {
4705
- start?: string;
4706
- end?: string;
4707
- };
4708
- line?: string[];
4709
- city?: string;
4710
- state?: string;
4711
- zip?: string;
4712
- country?: string;
4713
- }[];
4714
- picture?: any;
4715
- };
4716
- };
2031
+ type?: string;
2032
+ href?: string;
2033
+ templated?: boolean;
4717
2034
  };
4718
2035
  personMatch?: {
4719
2036
  type?: string;
@@ -4842,79 +2159,9 @@ export declare const patientSearchRespSchema: z.ZodObject<{
4842
2159
  templated?: boolean;
4843
2160
  };
4844
2161
  networkLink?: {
4845
- _links?: {
4846
- self?: {
4847
- type?: string;
4848
- href?: string;
4849
- templated?: boolean;
4850
- };
4851
- upgrade?: {
4852
- type?: string;
4853
- href?: string;
4854
- templated?: boolean;
4855
- };
4856
- downgrade?: {
4857
- type?: string;
4858
- href?: string;
4859
- templated?: boolean;
4860
- };
4861
- };
4862
- assuranceLevel?: string;
4863
- patient?: {
4864
- details?: {
4865
- identifier?: {
4866
- system?: string;
4867
- key?: string;
4868
- use?: string;
4869
- label?: string;
4870
- period?: {
4871
- start?: string;
4872
- end?: string;
4873
- };
4874
- assigner?: string;
4875
- }[];
4876
- name?: {
4877
- text?: string;
4878
- use?: string;
4879
- period?: {
4880
- start?: string;
4881
- end?: string;
4882
- };
4883
- family?: string[];
4884
- given?: string[];
4885
- prefix?: string;
4886
- suffix?: string;
4887
- }[];
4888
- telecom?: {
4889
- value?: string;
4890
- system?: string;
4891
- use?: string;
4892
- period?: {
4893
- start?: string;
4894
- end?: string;
4895
- };
4896
- }[];
4897
- gender?: {
4898
- code?: string;
4899
- system?: string;
4900
- display?: string;
4901
- };
4902
- birthDate?: string;
4903
- address?: {
4904
- use?: string;
4905
- period?: {
4906
- start?: string;
4907
- end?: string;
4908
- };
4909
- line?: string[];
4910
- city?: string;
4911
- state?: string;
4912
- zip?: string;
4913
- country?: string;
4914
- }[];
4915
- picture?: any;
4916
- };
4917
- };
2162
+ type?: string;
2163
+ href?: string;
2164
+ templated?: boolean;
4918
2165
  };
4919
2166
  personMatch?: {
4920
2167
  type?: string;