@metriport/commonwell-sdk 3.1.1 → 3.1.2

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.
@@ -16,13 +16,13 @@ export declare const linkSchema: z.ZodObject<{
16
16
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
17
17
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18
18
  }, "strip", z.ZodTypeAny, {
19
- type?: string;
20
19
  href?: string;
21
20
  templated?: boolean;
22
- }, {
23
21
  type?: string;
22
+ }, {
24
23
  href?: string;
25
24
  templated?: boolean;
25
+ type?: string;
26
26
  }>;
27
27
  export type Link = z.infer<typeof linkSchema>;
28
28
  export declare const networkLinkSchema: z.ZodObject<{
@@ -32,80 +32,79 @@ export declare const networkLinkSchema: z.ZodObject<{
32
32
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
33
33
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
34
34
  }, "strip", z.ZodTypeAny, {
35
- type?: string;
36
35
  href?: string;
37
36
  templated?: boolean;
38
- }, {
39
37
  type?: string;
38
+ }, {
40
39
  href?: string;
41
40
  templated?: boolean;
41
+ type?: string;
42
42
  }>>>;
43
43
  upgrade: z.ZodNullable<z.ZodOptional<z.ZodObject<{
44
44
  href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
45
45
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
46
46
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
47
47
  }, "strip", z.ZodTypeAny, {
48
- type?: string;
49
48
  href?: string;
50
49
  templated?: boolean;
51
- }, {
52
50
  type?: string;
51
+ }, {
53
52
  href?: string;
54
53
  templated?: boolean;
54
+ type?: string;
55
55
  }>>>;
56
56
  downgrade: z.ZodNullable<z.ZodOptional<z.ZodObject<{
57
57
  href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
58
58
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
59
59
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
60
60
  }, "strip", z.ZodTypeAny, {
61
- type?: string;
62
61
  href?: string;
63
62
  templated?: boolean;
64
- }, {
65
63
  type?: string;
64
+ }, {
66
65
  href?: string;
67
66
  templated?: boolean;
67
+ type?: string;
68
68
  }>>>;
69
69
  }, "strip", z.ZodTypeAny, {
70
70
  self?: {
71
- type?: string;
72
71
  href?: string;
73
72
  templated?: boolean;
73
+ type?: string;
74
74
  };
75
75
  upgrade?: {
76
- type?: string;
77
76
  href?: string;
78
77
  templated?: boolean;
78
+ type?: string;
79
79
  };
80
80
  downgrade?: {
81
- type?: string;
82
81
  href?: string;
83
82
  templated?: boolean;
83
+ type?: string;
84
84
  };
85
85
  }, {
86
86
  self?: {
87
- type?: string;
88
87
  href?: string;
89
88
  templated?: boolean;
89
+ type?: string;
90
90
  };
91
91
  upgrade?: {
92
- type?: string;
93
92
  href?: string;
94
93
  templated?: boolean;
94
+ type?: string;
95
95
  };
96
96
  downgrade?: {
97
- type?: string;
98
97
  href?: string;
99
98
  templated?: boolean;
99
+ type?: string;
100
100
  };
101
101
  }>>>;
102
102
  assuranceLevel: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
103
103
  patient: z.ZodNullable<z.ZodOptional<z.ZodObject<{
104
104
  details: z.ZodObject<{
105
- identifier: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<z.extendShape<{
105
+ identifier: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
106
106
  system: z.ZodString;
107
107
  key: z.ZodString;
108
- }, {
109
108
  use: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
110
109
  label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
111
110
  period: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -119,7 +118,7 @@ export declare const networkLinkSchema: z.ZodObject<{
119
118
  end?: string;
120
119
  }>>>;
121
120
  assigner: z.ZodNullable<z.ZodOptional<z.ZodString>>;
122
- }>, "strip", z.ZodTypeAny, {
121
+ }, "strip", z.ZodTypeAny, {
123
122
  system?: string;
124
123
  key?: string;
125
124
  use?: string;
@@ -158,27 +157,27 @@ export declare const networkLinkSchema: z.ZodObject<{
158
157
  end?: string;
159
158
  }>>>;
160
159
  }, "strip", z.ZodTypeAny, {
161
- text?: string;
162
160
  use?: string;
163
- period?: {
164
- start?: string;
165
- end?: string;
166
- };
161
+ text?: string;
167
162
  family?: string[];
168
163
  given?: string[];
169
164
  prefix?: string;
170
165
  suffix?: string;
171
- }, {
172
- text?: string;
173
- use?: string;
174
166
  period?: {
175
167
  start?: string;
176
168
  end?: string;
177
169
  };
170
+ }, {
171
+ use?: string;
172
+ text?: string;
178
173
  family?: string[];
179
174
  given?: string[];
180
175
  prefix?: string;
181
176
  suffix?: string;
177
+ period?: {
178
+ start?: string;
179
+ end?: string;
180
+ };
182
181
  }>, "many">;
183
182
  telecom: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
184
183
  use: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
@@ -195,17 +194,17 @@ export declare const networkLinkSchema: z.ZodObject<{
195
194
  end?: string;
196
195
  }>>>;
197
196
  }, "strip", z.ZodTypeAny, {
198
- value?: string;
199
- system?: string;
200
197
  use?: string;
198
+ system?: string;
199
+ value?: string;
201
200
  period?: {
202
201
  start?: string;
203
202
  end?: string;
204
203
  };
205
204
  }, {
206
- value?: string;
207
- system?: string;
208
205
  use?: string;
206
+ system?: string;
207
+ value?: string;
209
208
  period?: {
210
209
  start?: string;
211
210
  end?: string;
@@ -217,12 +216,12 @@ export declare const networkLinkSchema: z.ZodObject<{
217
216
  system: z.ZodNullable<z.ZodOptional<z.ZodString>>;
218
217
  }, "strip", z.ZodTypeAny, {
219
218
  code?: string;
220
- system?: string;
221
219
  display?: string;
220
+ system?: string;
222
221
  }, {
223
222
  code?: string;
224
- system?: string;
225
223
  display?: string;
224
+ system?: string;
226
225
  }>;
227
226
  birthDate: z.ZodUnion<[z.ZodString, z.ZodString]>;
228
227
  address: z.ZodArray<z.ZodObject<{
@@ -244,26 +243,26 @@ export declare const networkLinkSchema: z.ZodObject<{
244
243
  }>>>;
245
244
  }, "strip", z.ZodTypeAny, {
246
245
  use?: string;
247
- period?: {
248
- start?: string;
249
- end?: string;
250
- };
251
246
  line?: string[];
252
247
  city?: string;
253
248
  state?: string;
254
249
  zip?: string;
255
250
  country?: string;
256
- }, {
257
- use?: string;
258
251
  period?: {
259
252
  start?: string;
260
253
  end?: string;
261
254
  };
255
+ }, {
256
+ use?: string;
262
257
  line?: string[];
263
258
  city?: string;
264
259
  state?: string;
265
260
  zip?: string;
266
261
  country?: string;
262
+ period?: {
263
+ start?: string;
264
+ end?: string;
265
+ };
267
266
  }>, "many">;
268
267
  picture: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
269
268
  }, "strip", z.ZodTypeAny, {
@@ -279,21 +278,21 @@ export declare const networkLinkSchema: z.ZodObject<{
279
278
  assigner?: string;
280
279
  }[];
281
280
  name?: {
282
- text?: string;
283
281
  use?: string;
284
- period?: {
285
- start?: string;
286
- end?: string;
287
- };
282
+ text?: string;
288
283
  family?: string[];
289
284
  given?: string[];
290
285
  prefix?: string;
291
286
  suffix?: string;
287
+ period?: {
288
+ start?: string;
289
+ end?: string;
290
+ };
292
291
  }[];
293
292
  telecom?: {
294
- value?: string;
295
- system?: string;
296
293
  use?: string;
294
+ system?: string;
295
+ value?: string;
297
296
  period?: {
298
297
  start?: string;
299
298
  end?: string;
@@ -301,21 +300,21 @@ export declare const networkLinkSchema: z.ZodObject<{
301
300
  }[];
302
301
  gender?: {
303
302
  code?: string;
304
- system?: string;
305
303
  display?: string;
304
+ system?: string;
306
305
  };
307
306
  birthDate?: string;
308
307
  address?: {
309
308
  use?: string;
310
- period?: {
311
- start?: string;
312
- end?: string;
313
- };
314
309
  line?: string[];
315
310
  city?: string;
316
311
  state?: string;
317
312
  zip?: string;
318
313
  country?: string;
314
+ period?: {
315
+ start?: string;
316
+ end?: string;
317
+ };
319
318
  }[];
320
319
  picture?: any;
321
320
  }, {
@@ -331,21 +330,21 @@ export declare const networkLinkSchema: z.ZodObject<{
331
330
  assigner?: string;
332
331
  }[];
333
332
  name?: {
334
- text?: string;
335
333
  use?: string;
336
- period?: {
337
- start?: string;
338
- end?: string;
339
- };
334
+ text?: string;
340
335
  family?: string[];
341
336
  given?: string[];
342
337
  prefix?: string;
343
338
  suffix?: string;
339
+ period?: {
340
+ start?: string;
341
+ end?: string;
342
+ };
344
343
  }[];
345
344
  telecom?: {
346
- value?: string;
347
- system?: string;
348
345
  use?: string;
346
+ system?: string;
347
+ value?: string;
349
348
  period?: {
350
349
  start?: string;
351
350
  end?: string;
@@ -353,21 +352,21 @@ export declare const networkLinkSchema: z.ZodObject<{
353
352
  }[];
354
353
  gender?: {
355
354
  code?: string;
356
- system?: string;
357
355
  display?: string;
356
+ system?: string;
358
357
  };
359
358
  birthDate?: string;
360
359
  address?: {
361
360
  use?: string;
362
- period?: {
363
- start?: string;
364
- end?: string;
365
- };
366
361
  line?: string[];
367
362
  city?: string;
368
363
  state?: string;
369
364
  zip?: string;
370
365
  country?: string;
366
+ period?: {
367
+ start?: string;
368
+ end?: string;
369
+ };
371
370
  }[];
372
371
  picture?: any;
373
372
  }>;
@@ -385,21 +384,21 @@ export declare const networkLinkSchema: z.ZodObject<{
385
384
  assigner?: string;
386
385
  }[];
387
386
  name?: {
388
- text?: string;
389
387
  use?: string;
390
- period?: {
391
- start?: string;
392
- end?: string;
393
- };
388
+ text?: string;
394
389
  family?: string[];
395
390
  given?: string[];
396
391
  prefix?: string;
397
392
  suffix?: string;
393
+ period?: {
394
+ start?: string;
395
+ end?: string;
396
+ };
398
397
  }[];
399
398
  telecom?: {
400
- value?: string;
401
- system?: string;
402
399
  use?: string;
400
+ system?: string;
401
+ value?: string;
403
402
  period?: {
404
403
  start?: string;
405
404
  end?: string;
@@ -407,21 +406,21 @@ export declare const networkLinkSchema: z.ZodObject<{
407
406
  }[];
408
407
  gender?: {
409
408
  code?: string;
410
- system?: string;
411
409
  display?: string;
410
+ system?: string;
412
411
  };
413
412
  birthDate?: string;
414
413
  address?: {
415
414
  use?: string;
416
- period?: {
417
- start?: string;
418
- end?: string;
419
- };
420
415
  line?: string[];
421
416
  city?: string;
422
417
  state?: string;
423
418
  zip?: string;
424
419
  country?: string;
420
+ period?: {
421
+ start?: string;
422
+ end?: string;
423
+ };
425
424
  }[];
426
425
  picture?: any;
427
426
  };
@@ -439,21 +438,21 @@ export declare const networkLinkSchema: z.ZodObject<{
439
438
  assigner?: string;
440
439
  }[];
441
440
  name?: {
442
- text?: string;
443
441
  use?: string;
444
- period?: {
445
- start?: string;
446
- end?: string;
447
- };
442
+ text?: string;
448
443
  family?: string[];
449
444
  given?: string[];
450
445
  prefix?: string;
451
446
  suffix?: string;
447
+ period?: {
448
+ start?: string;
449
+ end?: string;
450
+ };
452
451
  }[];
453
452
  telecom?: {
454
- value?: string;
455
- system?: string;
456
453
  use?: string;
454
+ system?: string;
455
+ value?: string;
457
456
  period?: {
458
457
  start?: string;
459
458
  end?: string;
@@ -461,21 +460,21 @@ export declare const networkLinkSchema: z.ZodObject<{
461
460
  }[];
462
461
  gender?: {
463
462
  code?: string;
464
- system?: string;
465
463
  display?: string;
464
+ system?: string;
466
465
  };
467
466
  birthDate?: string;
468
467
  address?: {
469
468
  use?: string;
470
- period?: {
471
- start?: string;
472
- end?: string;
473
- };
474
469
  line?: string[];
475
470
  city?: string;
476
471
  state?: string;
477
472
  zip?: string;
478
473
  country?: string;
474
+ period?: {
475
+ start?: string;
476
+ end?: string;
477
+ };
479
478
  }[];
480
479
  picture?: any;
481
480
  };
@@ -483,19 +482,19 @@ export declare const networkLinkSchema: z.ZodObject<{
483
482
  }, "strip", z.ZodTypeAny, {
484
483
  _links?: {
485
484
  self?: {
486
- type?: string;
487
485
  href?: string;
488
486
  templated?: boolean;
487
+ type?: string;
489
488
  };
490
489
  upgrade?: {
491
- type?: string;
492
490
  href?: string;
493
491
  templated?: boolean;
492
+ type?: string;
494
493
  };
495
494
  downgrade?: {
496
- type?: string;
497
495
  href?: string;
498
496
  templated?: boolean;
497
+ type?: string;
499
498
  };
500
499
  };
501
500
  assuranceLevel?: string;
@@ -513,21 +512,21 @@ export declare const networkLinkSchema: z.ZodObject<{
513
512
  assigner?: string;
514
513
  }[];
515
514
  name?: {
516
- text?: string;
517
515
  use?: string;
518
- period?: {
519
- start?: string;
520
- end?: string;
521
- };
516
+ text?: string;
522
517
  family?: string[];
523
518
  given?: string[];
524
519
  prefix?: string;
525
520
  suffix?: string;
521
+ period?: {
522
+ start?: string;
523
+ end?: string;
524
+ };
526
525
  }[];
527
526
  telecom?: {
528
- value?: string;
529
- system?: string;
530
527
  use?: string;
528
+ system?: string;
529
+ value?: string;
531
530
  period?: {
532
531
  start?: string;
533
532
  end?: string;
@@ -535,21 +534,21 @@ export declare const networkLinkSchema: z.ZodObject<{
535
534
  }[];
536
535
  gender?: {
537
536
  code?: string;
538
- system?: string;
539
537
  display?: string;
538
+ system?: string;
540
539
  };
541
540
  birthDate?: string;
542
541
  address?: {
543
542
  use?: string;
544
- period?: {
545
- start?: string;
546
- end?: string;
547
- };
548
543
  line?: string[];
549
544
  city?: string;
550
545
  state?: string;
551
546
  zip?: string;
552
547
  country?: string;
548
+ period?: {
549
+ start?: string;
550
+ end?: string;
551
+ };
553
552
  }[];
554
553
  picture?: any;
555
554
  };
@@ -557,19 +556,19 @@ export declare const networkLinkSchema: z.ZodObject<{
557
556
  }, {
558
557
  _links?: {
559
558
  self?: {
560
- type?: string;
561
559
  href?: string;
562
560
  templated?: boolean;
561
+ type?: string;
563
562
  };
564
563
  upgrade?: {
565
- type?: string;
566
564
  href?: string;
567
565
  templated?: boolean;
566
+ type?: string;
568
567
  };
569
568
  downgrade?: {
570
- type?: string;
571
569
  href?: string;
572
570
  templated?: boolean;
571
+ type?: string;
573
572
  };
574
573
  };
575
574
  assuranceLevel?: string;
@@ -587,21 +586,21 @@ export declare const networkLinkSchema: z.ZodObject<{
587
586
  assigner?: string;
588
587
  }[];
589
588
  name?: {
590
- text?: string;
591
589
  use?: string;
592
- period?: {
593
- start?: string;
594
- end?: string;
595
- };
590
+ text?: string;
596
591
  family?: string[];
597
592
  given?: string[];
598
593
  prefix?: string;
599
594
  suffix?: string;
595
+ period?: {
596
+ start?: string;
597
+ end?: string;
598
+ };
600
599
  }[];
601
600
  telecom?: {
602
- value?: string;
603
- system?: string;
604
601
  use?: string;
602
+ system?: string;
603
+ value?: string;
605
604
  period?: {
606
605
  start?: string;
607
606
  end?: string;
@@ -609,21 +608,21 @@ export declare const networkLinkSchema: z.ZodObject<{
609
608
  }[];
610
609
  gender?: {
611
610
  code?: string;
612
- system?: string;
613
611
  display?: string;
612
+ system?: string;
614
613
  };
615
614
  birthDate?: string;
616
615
  address?: {
617
616
  use?: string;
618
- period?: {
619
- start?: string;
620
- end?: string;
621
- };
622
617
  line?: string[];
623
618
  city?: string;
624
619
  state?: string;
625
620
  zip?: string;
626
621
  country?: string;
622
+ period?: {
623
+ start?: string;
624
+ end?: string;
625
+ };
627
626
  }[];
628
627
  picture?: any;
629
628
  };
@@ -634,10 +633,10 @@ export declare const patientLinkProxySchema: z.ZodObject<{
634
633
  relationship: z.ZodNullable<z.ZodOptional<z.ZodString>>;
635
634
  name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
636
635
  }, "strip", z.ZodTypeAny, {
637
- name?: string;
638
636
  relationship?: string;
639
- }, {
640
637
  name?: string;
638
+ }, {
641
639
  relationship?: string;
640
+ name?: string;
642
641
  }>;
643
642
  export type PatientLinkProxy = z.infer<typeof patientLinkProxySchema>;