@metriport/api-sdk 14.0.3 → 14.0.4
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.
- package/dist/medical/client/metriport.d.ts +9 -1
- package/dist/medical/client/metriport.d.ts.map +1 -1
- package/dist/medical/client/metriport.js +15 -0
- package/dist/medical/client/metriport.js.map +1 -1
- package/dist/medical/models/demographics.d.ts +26 -86
- package/dist/medical/models/demographics.d.ts.map +1 -1
- package/dist/medical/models/document.d.ts +42 -42
- package/dist/medical/models/facility.d.ts +20 -18
- package/dist/medical/models/facility.d.ts.map +1 -1
- package/dist/medical/models/fhir.d.ts +10 -4
- package/dist/medical/models/fhir.d.ts.map +1 -1
- package/dist/medical/models/organization.d.ts +6 -4
- package/dist/medical/models/organization.d.ts.map +1 -1
- package/dist/medical/models/patient.d.ts +81 -389
- package/dist/medical/models/patient.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { ConsolidatedQuery } from "./fhir";
|
|
3
|
-
export declare const patientCreateSchema: z.ZodObject<{
|
|
3
|
+
export declare const patientCreateSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
4
4
|
firstName: z.ZodString;
|
|
5
5
|
lastName: z.ZodString;
|
|
6
6
|
dob: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
7
7
|
genderAtBirth: z.ZodEnum<["F", "M", "O", "U"]>;
|
|
8
|
-
personalIdentifiers: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
8
|
+
personalIdentifiers: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
9
9
|
value: z.ZodString;
|
|
10
10
|
period: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
11
11
|
start: z.ZodString;
|
|
@@ -27,6 +27,7 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
27
27
|
start?: string | undefined;
|
|
28
28
|
}>]>>;
|
|
29
29
|
assigner: z.ZodOptional<z.ZodString>;
|
|
30
|
+
}, {
|
|
30
31
|
type: z.ZodEnum<["driversLicense"]>;
|
|
31
32
|
state: z.ZodEffects<z.ZodNativeEnum<{
|
|
32
33
|
AL: import("@metriport/shared/dist/domain/address/state").USState.AL;
|
|
@@ -81,7 +82,7 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
81
82
|
WI: import("@metriport/shared/dist/domain/address/state").USState.WI;
|
|
82
83
|
WY: import("@metriport/shared/dist/domain/address/state").USState.WY;
|
|
83
84
|
}>, import("@metriport/shared/dist/domain/address/state").USState, unknown>;
|
|
84
|
-
}
|
|
85
|
+
}>, "strip", z.ZodTypeAny, {
|
|
85
86
|
type: "driversLicense";
|
|
86
87
|
value: string;
|
|
87
88
|
state: import("@metriport/shared/dist/domain/address/state").USState;
|
|
@@ -96,6 +97,7 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
96
97
|
}, {
|
|
97
98
|
type: "driversLicense";
|
|
98
99
|
value: string;
|
|
100
|
+
state?: unknown;
|
|
99
101
|
period?: {
|
|
100
102
|
start: string;
|
|
101
103
|
end?: string | undefined;
|
|
@@ -104,8 +106,7 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
104
106
|
start?: string | undefined;
|
|
105
107
|
} | undefined;
|
|
106
108
|
assigner?: string | undefined;
|
|
107
|
-
|
|
108
|
-
}>, z.ZodObject<{
|
|
109
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
109
110
|
value: z.ZodString;
|
|
110
111
|
period: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
111
112
|
start: z.ZodString;
|
|
@@ -127,8 +128,9 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
127
128
|
start?: string | undefined;
|
|
128
129
|
}>]>>;
|
|
129
130
|
assigner: z.ZodOptional<z.ZodString>;
|
|
131
|
+
}, {
|
|
130
132
|
type: z.ZodEnum<["ssn"]>;
|
|
131
|
-
}
|
|
133
|
+
}>, "strip", z.ZodTypeAny, {
|
|
132
134
|
type: "ssn";
|
|
133
135
|
value: string;
|
|
134
136
|
period?: {
|
|
@@ -365,46 +367,14 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
365
367
|
phone?: string | null | undefined;
|
|
366
368
|
email?: string | null | undefined;
|
|
367
369
|
}>>]>;
|
|
370
|
+
}, {
|
|
368
371
|
externalId: z.ZodOptional<z.ZodString>;
|
|
369
|
-
}
|
|
372
|
+
}>, "strip", z.ZodTypeAny, {
|
|
370
373
|
firstName: string;
|
|
371
374
|
lastName: string;
|
|
372
375
|
dob: string;
|
|
373
376
|
genderAtBirth: "F" | "M" | "O" | "U";
|
|
374
|
-
address:
|
|
375
|
-
addressLine1: string;
|
|
376
|
-
city: string;
|
|
377
|
-
state: import("@metriport/shared/dist/domain/address/state").USState | import("@metriport/shared/dist/domain/address/territory").USTerritory;
|
|
378
|
-
zip: string;
|
|
379
|
-
country: "USA";
|
|
380
|
-
addressLine2?: string | undefined;
|
|
381
|
-
coordinates?: {
|
|
382
|
-
lat: number;
|
|
383
|
-
lon: number;
|
|
384
|
-
} | undefined;
|
|
385
|
-
} | [{
|
|
386
|
-
addressLine1: string;
|
|
387
|
-
city: string;
|
|
388
|
-
state: import("@metriport/shared/dist/domain/address/state").USState | import("@metriport/shared/dist/domain/address/territory").USTerritory;
|
|
389
|
-
zip: string;
|
|
390
|
-
country: "USA";
|
|
391
|
-
addressLine2?: string | undefined;
|
|
392
|
-
coordinates?: {
|
|
393
|
-
lat: number;
|
|
394
|
-
lon: number;
|
|
395
|
-
} | undefined;
|
|
396
|
-
}, ...{
|
|
397
|
-
addressLine1: string;
|
|
398
|
-
city: string;
|
|
399
|
-
state: import("@metriport/shared/dist/domain/address/state").USState | import("@metriport/shared/dist/domain/address/territory").USTerritory;
|
|
400
|
-
zip: string;
|
|
401
|
-
country: "USA";
|
|
402
|
-
addressLine2?: string | undefined;
|
|
403
|
-
coordinates?: {
|
|
404
|
-
lat: number;
|
|
405
|
-
lon: number;
|
|
406
|
-
} | undefined;
|
|
407
|
-
}[]]) & ({
|
|
377
|
+
address: {
|
|
408
378
|
addressLine1: string;
|
|
409
379
|
city: string;
|
|
410
380
|
state: import("@metriport/shared/dist/domain/address/state").USState | import("@metriport/shared/dist/domain/address/territory").USTerritory;
|
|
@@ -437,7 +407,7 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
437
407
|
lat: number;
|
|
438
408
|
lon: number;
|
|
439
409
|
} | undefined;
|
|
440
|
-
}[]]
|
|
410
|
+
}[]];
|
|
441
411
|
personalIdentifiers?: ({
|
|
442
412
|
type: "driversLicense";
|
|
443
413
|
value: string;
|
|
@@ -475,7 +445,7 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
475
445
|
lastName: string;
|
|
476
446
|
dob: string;
|
|
477
447
|
genderAtBirth: "F" | "M" | "O" | "U";
|
|
478
|
-
address:
|
|
448
|
+
address: {
|
|
479
449
|
addressLine1: string;
|
|
480
450
|
city: string;
|
|
481
451
|
zip: string;
|
|
@@ -508,43 +478,11 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
508
478
|
lon: number;
|
|
509
479
|
} | undefined;
|
|
510
480
|
country?: "USA" | undefined;
|
|
511
|
-
}[]]
|
|
512
|
-
addressLine1: string;
|
|
513
|
-
city: string;
|
|
514
|
-
zip: string;
|
|
515
|
-
addressLine2?: string | undefined;
|
|
516
|
-
state?: unknown;
|
|
517
|
-
coordinates?: {
|
|
518
|
-
lat: number;
|
|
519
|
-
lon: number;
|
|
520
|
-
} | undefined;
|
|
521
|
-
country?: "USA" | undefined;
|
|
522
|
-
} | [{
|
|
523
|
-
addressLine1: string;
|
|
524
|
-
city: string;
|
|
525
|
-
zip: string;
|
|
526
|
-
addressLine2?: string | undefined;
|
|
527
|
-
state?: unknown;
|
|
528
|
-
coordinates?: {
|
|
529
|
-
lat: number;
|
|
530
|
-
lon: number;
|
|
531
|
-
} | undefined;
|
|
532
|
-
country?: "USA" | undefined;
|
|
533
|
-
}, ...{
|
|
534
|
-
addressLine1: string;
|
|
535
|
-
city: string;
|
|
536
|
-
zip: string;
|
|
537
|
-
addressLine2?: string | undefined;
|
|
538
|
-
state?: unknown;
|
|
539
|
-
coordinates?: {
|
|
540
|
-
lat: number;
|
|
541
|
-
lon: number;
|
|
542
|
-
} | undefined;
|
|
543
|
-
country?: "USA" | undefined;
|
|
544
|
-
}[]] | undefined);
|
|
481
|
+
}[]];
|
|
545
482
|
personalIdentifiers?: ({
|
|
546
483
|
type: "driversLicense";
|
|
547
484
|
value: string;
|
|
485
|
+
state?: unknown;
|
|
548
486
|
period?: {
|
|
549
487
|
start: string;
|
|
550
488
|
end?: string | undefined;
|
|
@@ -553,7 +491,6 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
553
491
|
start?: string | undefined;
|
|
554
492
|
} | undefined;
|
|
555
493
|
assigner?: string | undefined;
|
|
556
|
-
state?: unknown;
|
|
557
494
|
} | {
|
|
558
495
|
type: "ssn";
|
|
559
496
|
value: string;
|
|
@@ -576,12 +513,12 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
576
513
|
externalId?: string | undefined;
|
|
577
514
|
}>;
|
|
578
515
|
export type PatientCreate = z.infer<typeof patientCreateSchema>;
|
|
579
|
-
export declare const patientUpdateSchema: z.ZodObject<{
|
|
516
|
+
export declare const patientUpdateSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
580
517
|
firstName: z.ZodString;
|
|
581
518
|
lastName: z.ZodString;
|
|
582
519
|
dob: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
583
520
|
genderAtBirth: z.ZodEnum<["F", "M", "O", "U"]>;
|
|
584
|
-
personalIdentifiers: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
521
|
+
personalIdentifiers: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
585
522
|
value: z.ZodString;
|
|
586
523
|
period: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
587
524
|
start: z.ZodString;
|
|
@@ -603,6 +540,7 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
603
540
|
start?: string | undefined;
|
|
604
541
|
}>]>>;
|
|
605
542
|
assigner: z.ZodOptional<z.ZodString>;
|
|
543
|
+
}, {
|
|
606
544
|
type: z.ZodEnum<["driversLicense"]>;
|
|
607
545
|
state: z.ZodEffects<z.ZodNativeEnum<{
|
|
608
546
|
AL: import("@metriport/shared/dist/domain/address/state").USState.AL;
|
|
@@ -657,7 +595,7 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
657
595
|
WI: import("@metriport/shared/dist/domain/address/state").USState.WI;
|
|
658
596
|
WY: import("@metriport/shared/dist/domain/address/state").USState.WY;
|
|
659
597
|
}>, import("@metriport/shared/dist/domain/address/state").USState, unknown>;
|
|
660
|
-
}
|
|
598
|
+
}>, "strip", z.ZodTypeAny, {
|
|
661
599
|
type: "driversLicense";
|
|
662
600
|
value: string;
|
|
663
601
|
state: import("@metriport/shared/dist/domain/address/state").USState;
|
|
@@ -672,6 +610,7 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
672
610
|
}, {
|
|
673
611
|
type: "driversLicense";
|
|
674
612
|
value: string;
|
|
613
|
+
state?: unknown;
|
|
675
614
|
period?: {
|
|
676
615
|
start: string;
|
|
677
616
|
end?: string | undefined;
|
|
@@ -680,8 +619,7 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
680
619
|
start?: string | undefined;
|
|
681
620
|
} | undefined;
|
|
682
621
|
assigner?: string | undefined;
|
|
683
|
-
|
|
684
|
-
}>, z.ZodObject<{
|
|
622
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
685
623
|
value: z.ZodString;
|
|
686
624
|
period: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
687
625
|
start: z.ZodString;
|
|
@@ -703,8 +641,9 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
703
641
|
start?: string | undefined;
|
|
704
642
|
}>]>>;
|
|
705
643
|
assigner: z.ZodOptional<z.ZodString>;
|
|
644
|
+
}, {
|
|
706
645
|
type: z.ZodEnum<["ssn"]>;
|
|
707
|
-
}
|
|
646
|
+
}>, "strip", z.ZodTypeAny, {
|
|
708
647
|
type: "ssn";
|
|
709
648
|
value: string;
|
|
710
649
|
period?: {
|
|
@@ -941,49 +880,18 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
941
880
|
phone?: string | null | undefined;
|
|
942
881
|
email?: string | null | undefined;
|
|
943
882
|
}>>]>;
|
|
883
|
+
}, {
|
|
944
884
|
externalId: z.ZodOptional<z.ZodString>;
|
|
885
|
+
}>, {
|
|
945
886
|
id: z.ZodString;
|
|
946
887
|
eTag: z.ZodOptional<z.ZodString>;
|
|
947
|
-
}
|
|
888
|
+
}>, "strip", z.ZodTypeAny, {
|
|
948
889
|
id: string;
|
|
949
890
|
firstName: string;
|
|
950
891
|
lastName: string;
|
|
951
892
|
dob: string;
|
|
952
893
|
genderAtBirth: "F" | "M" | "O" | "U";
|
|
953
|
-
address:
|
|
954
|
-
addressLine1: string;
|
|
955
|
-
city: string;
|
|
956
|
-
state: import("@metriport/shared/dist/domain/address/state").USState | import("@metriport/shared/dist/domain/address/territory").USTerritory;
|
|
957
|
-
zip: string;
|
|
958
|
-
country: "USA";
|
|
959
|
-
addressLine2?: string | undefined;
|
|
960
|
-
coordinates?: {
|
|
961
|
-
lat: number;
|
|
962
|
-
lon: number;
|
|
963
|
-
} | undefined;
|
|
964
|
-
} | [{
|
|
965
|
-
addressLine1: string;
|
|
966
|
-
city: string;
|
|
967
|
-
state: import("@metriport/shared/dist/domain/address/state").USState | import("@metriport/shared/dist/domain/address/territory").USTerritory;
|
|
968
|
-
zip: string;
|
|
969
|
-
country: "USA";
|
|
970
|
-
addressLine2?: string | undefined;
|
|
971
|
-
coordinates?: {
|
|
972
|
-
lat: number;
|
|
973
|
-
lon: number;
|
|
974
|
-
} | undefined;
|
|
975
|
-
}, ...{
|
|
976
|
-
addressLine1: string;
|
|
977
|
-
city: string;
|
|
978
|
-
state: import("@metriport/shared/dist/domain/address/state").USState | import("@metriport/shared/dist/domain/address/territory").USTerritory;
|
|
979
|
-
zip: string;
|
|
980
|
-
country: "USA";
|
|
981
|
-
addressLine2?: string | undefined;
|
|
982
|
-
coordinates?: {
|
|
983
|
-
lat: number;
|
|
984
|
-
lon: number;
|
|
985
|
-
} | undefined;
|
|
986
|
-
}[]]) & ({
|
|
894
|
+
address: {
|
|
987
895
|
addressLine1: string;
|
|
988
896
|
city: string;
|
|
989
897
|
state: import("@metriport/shared/dist/domain/address/state").USState | import("@metriport/shared/dist/domain/address/territory").USTerritory;
|
|
@@ -1016,7 +924,8 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
1016
924
|
lat: number;
|
|
1017
925
|
lon: number;
|
|
1018
926
|
} | undefined;
|
|
1019
|
-
}[]]
|
|
927
|
+
}[]];
|
|
928
|
+
eTag?: string | undefined;
|
|
1020
929
|
personalIdentifiers?: ({
|
|
1021
930
|
type: "driversLicense";
|
|
1022
931
|
value: string;
|
|
@@ -1049,14 +958,13 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
1049
958
|
email?: string | null | undefined;
|
|
1050
959
|
}[] | undefined;
|
|
1051
960
|
externalId?: string | undefined;
|
|
1052
|
-
eTag?: string | undefined;
|
|
1053
961
|
}, {
|
|
1054
962
|
id: string;
|
|
1055
963
|
firstName: string;
|
|
1056
964
|
lastName: string;
|
|
1057
965
|
dob: string;
|
|
1058
966
|
genderAtBirth: "F" | "M" | "O" | "U";
|
|
1059
|
-
address:
|
|
967
|
+
address: {
|
|
1060
968
|
addressLine1: string;
|
|
1061
969
|
city: string;
|
|
1062
970
|
zip: string;
|
|
@@ -1089,43 +997,12 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
1089
997
|
lon: number;
|
|
1090
998
|
} | undefined;
|
|
1091
999
|
country?: "USA" | undefined;
|
|
1092
|
-
}[]]
|
|
1093
|
-
|
|
1094
|
-
city: string;
|
|
1095
|
-
zip: string;
|
|
1096
|
-
addressLine2?: string | undefined;
|
|
1097
|
-
state?: unknown;
|
|
1098
|
-
coordinates?: {
|
|
1099
|
-
lat: number;
|
|
1100
|
-
lon: number;
|
|
1101
|
-
} | undefined;
|
|
1102
|
-
country?: "USA" | undefined;
|
|
1103
|
-
} | [{
|
|
1104
|
-
addressLine1: string;
|
|
1105
|
-
city: string;
|
|
1106
|
-
zip: string;
|
|
1107
|
-
addressLine2?: string | undefined;
|
|
1108
|
-
state?: unknown;
|
|
1109
|
-
coordinates?: {
|
|
1110
|
-
lat: number;
|
|
1111
|
-
lon: number;
|
|
1112
|
-
} | undefined;
|
|
1113
|
-
country?: "USA" | undefined;
|
|
1114
|
-
}, ...{
|
|
1115
|
-
addressLine1: string;
|
|
1116
|
-
city: string;
|
|
1117
|
-
zip: string;
|
|
1118
|
-
addressLine2?: string | undefined;
|
|
1119
|
-
state?: unknown;
|
|
1120
|
-
coordinates?: {
|
|
1121
|
-
lat: number;
|
|
1122
|
-
lon: number;
|
|
1123
|
-
} | undefined;
|
|
1124
|
-
country?: "USA" | undefined;
|
|
1125
|
-
}[]] | undefined);
|
|
1000
|
+
}[]];
|
|
1001
|
+
eTag?: string | undefined;
|
|
1126
1002
|
personalIdentifiers?: ({
|
|
1127
1003
|
type: "driversLicense";
|
|
1128
1004
|
value: string;
|
|
1005
|
+
state?: unknown;
|
|
1129
1006
|
period?: {
|
|
1130
1007
|
start: string;
|
|
1131
1008
|
end?: string | undefined;
|
|
@@ -1134,7 +1011,6 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
1134
1011
|
start?: string | undefined;
|
|
1135
1012
|
} | undefined;
|
|
1136
1013
|
assigner?: string | undefined;
|
|
1137
|
-
state?: unknown;
|
|
1138
1014
|
} | {
|
|
1139
1015
|
type: "ssn";
|
|
1140
1016
|
value: string;
|
|
@@ -1155,17 +1031,14 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
1155
1031
|
email?: string | null | undefined;
|
|
1156
1032
|
}[] | undefined;
|
|
1157
1033
|
externalId?: string | undefined;
|
|
1158
|
-
eTag?: string | undefined;
|
|
1159
1034
|
}>;
|
|
1160
1035
|
export type PatientUpdate = z.infer<typeof patientUpdateSchema>;
|
|
1161
|
-
export declare const patientSchema: z.ZodObject<{
|
|
1162
|
-
id: z.ZodString;
|
|
1163
|
-
eTag: z.ZodOptional<z.ZodString>;
|
|
1036
|
+
export declare const patientSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1164
1037
|
firstName: z.ZodString;
|
|
1165
1038
|
lastName: z.ZodString;
|
|
1166
1039
|
dob: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1167
1040
|
genderAtBirth: z.ZodEnum<["F", "M", "O", "U"]>;
|
|
1168
|
-
personalIdentifiers: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
1041
|
+
personalIdentifiers: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
1169
1042
|
value: z.ZodString;
|
|
1170
1043
|
period: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1171
1044
|
start: z.ZodString;
|
|
@@ -1187,6 +1060,7 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
1187
1060
|
start?: string | undefined;
|
|
1188
1061
|
}>]>>;
|
|
1189
1062
|
assigner: z.ZodOptional<z.ZodString>;
|
|
1063
|
+
}, {
|
|
1190
1064
|
type: z.ZodEnum<["driversLicense"]>;
|
|
1191
1065
|
state: z.ZodEffects<z.ZodNativeEnum<{
|
|
1192
1066
|
AL: import("@metriport/shared/dist/domain/address/state").USState.AL;
|
|
@@ -1241,7 +1115,7 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
1241
1115
|
WI: import("@metriport/shared/dist/domain/address/state").USState.WI;
|
|
1242
1116
|
WY: import("@metriport/shared/dist/domain/address/state").USState.WY;
|
|
1243
1117
|
}>, import("@metriport/shared/dist/domain/address/state").USState, unknown>;
|
|
1244
|
-
}
|
|
1118
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1245
1119
|
type: "driversLicense";
|
|
1246
1120
|
value: string;
|
|
1247
1121
|
state: import("@metriport/shared/dist/domain/address/state").USState;
|
|
@@ -1256,6 +1130,7 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
1256
1130
|
}, {
|
|
1257
1131
|
type: "driversLicense";
|
|
1258
1132
|
value: string;
|
|
1133
|
+
state?: unknown;
|
|
1259
1134
|
period?: {
|
|
1260
1135
|
start: string;
|
|
1261
1136
|
end?: string | undefined;
|
|
@@ -1264,8 +1139,7 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
1264
1139
|
start?: string | undefined;
|
|
1265
1140
|
} | undefined;
|
|
1266
1141
|
assigner?: string | undefined;
|
|
1267
|
-
|
|
1268
|
-
}>, z.ZodObject<{
|
|
1142
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1269
1143
|
value: z.ZodString;
|
|
1270
1144
|
period: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1271
1145
|
start: z.ZodString;
|
|
@@ -1287,8 +1161,9 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
1287
1161
|
start?: string | undefined;
|
|
1288
1162
|
}>]>>;
|
|
1289
1163
|
assigner: z.ZodOptional<z.ZodString>;
|
|
1164
|
+
}, {
|
|
1290
1165
|
type: z.ZodEnum<["ssn"]>;
|
|
1291
|
-
}
|
|
1166
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1292
1167
|
type: "ssn";
|
|
1293
1168
|
value: string;
|
|
1294
1169
|
period?: {
|
|
@@ -1525,15 +1400,20 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
1525
1400
|
phone?: string | null | undefined;
|
|
1526
1401
|
email?: string | null | undefined;
|
|
1527
1402
|
}>>]>;
|
|
1403
|
+
}, {
|
|
1528
1404
|
externalId: z.ZodOptional<z.ZodString>;
|
|
1405
|
+
}>, {
|
|
1406
|
+
id: z.ZodString;
|
|
1407
|
+
eTag: z.ZodOptional<z.ZodString>;
|
|
1408
|
+
}>, {
|
|
1529
1409
|
facilityIds: z.ZodArray<z.ZodString, "many">;
|
|
1530
|
-
}
|
|
1410
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1531
1411
|
id: string;
|
|
1532
1412
|
firstName: string;
|
|
1533
1413
|
lastName: string;
|
|
1534
1414
|
dob: string;
|
|
1535
1415
|
genderAtBirth: "F" | "M" | "O" | "U";
|
|
1536
|
-
address:
|
|
1416
|
+
address: {
|
|
1537
1417
|
addressLine1: string;
|
|
1538
1418
|
city: string;
|
|
1539
1419
|
state: import("@metriport/shared/dist/domain/address/state").USState | import("@metriport/shared/dist/domain/address/territory").USTerritory;
|
|
@@ -1566,40 +1446,7 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
1566
1446
|
lat: number;
|
|
1567
1447
|
lon: number;
|
|
1568
1448
|
} | undefined;
|
|
1569
|
-
}[]]
|
|
1570
|
-
addressLine1: string;
|
|
1571
|
-
city: string;
|
|
1572
|
-
state: import("@metriport/shared/dist/domain/address/state").USState | import("@metriport/shared/dist/domain/address/territory").USTerritory;
|
|
1573
|
-
zip: string;
|
|
1574
|
-
country: "USA";
|
|
1575
|
-
addressLine2?: string | undefined;
|
|
1576
|
-
coordinates?: {
|
|
1577
|
-
lat: number;
|
|
1578
|
-
lon: number;
|
|
1579
|
-
} | undefined;
|
|
1580
|
-
} | [{
|
|
1581
|
-
addressLine1: string;
|
|
1582
|
-
city: string;
|
|
1583
|
-
state: import("@metriport/shared/dist/domain/address/state").USState | import("@metriport/shared/dist/domain/address/territory").USTerritory;
|
|
1584
|
-
zip: string;
|
|
1585
|
-
country: "USA";
|
|
1586
|
-
addressLine2?: string | undefined;
|
|
1587
|
-
coordinates?: {
|
|
1588
|
-
lat: number;
|
|
1589
|
-
lon: number;
|
|
1590
|
-
} | undefined;
|
|
1591
|
-
}, ...{
|
|
1592
|
-
addressLine1: string;
|
|
1593
|
-
city: string;
|
|
1594
|
-
state: import("@metriport/shared/dist/domain/address/state").USState | import("@metriport/shared/dist/domain/address/territory").USTerritory;
|
|
1595
|
-
zip: string;
|
|
1596
|
-
country: "USA";
|
|
1597
|
-
addressLine2?: string | undefined;
|
|
1598
|
-
coordinates?: {
|
|
1599
|
-
lat: number;
|
|
1600
|
-
lon: number;
|
|
1601
|
-
} | undefined;
|
|
1602
|
-
}[]] | undefined);
|
|
1449
|
+
}[]];
|
|
1603
1450
|
facilityIds: string[];
|
|
1604
1451
|
eTag?: string | undefined;
|
|
1605
1452
|
personalIdentifiers?: ({
|
|
@@ -1640,40 +1487,7 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
1640
1487
|
lastName: string;
|
|
1641
1488
|
dob: string;
|
|
1642
1489
|
genderAtBirth: "F" | "M" | "O" | "U";
|
|
1643
|
-
address:
|
|
1644
|
-
addressLine1: string;
|
|
1645
|
-
city: string;
|
|
1646
|
-
zip: string;
|
|
1647
|
-
addressLine2?: string | undefined;
|
|
1648
|
-
state?: unknown;
|
|
1649
|
-
coordinates?: {
|
|
1650
|
-
lat: number;
|
|
1651
|
-
lon: number;
|
|
1652
|
-
} | undefined;
|
|
1653
|
-
country?: "USA" | undefined;
|
|
1654
|
-
} | [{
|
|
1655
|
-
addressLine1: string;
|
|
1656
|
-
city: string;
|
|
1657
|
-
zip: string;
|
|
1658
|
-
addressLine2?: string | undefined;
|
|
1659
|
-
state?: unknown;
|
|
1660
|
-
coordinates?: {
|
|
1661
|
-
lat: number;
|
|
1662
|
-
lon: number;
|
|
1663
|
-
} | undefined;
|
|
1664
|
-
country?: "USA" | undefined;
|
|
1665
|
-
}, ...{
|
|
1666
|
-
addressLine1: string;
|
|
1667
|
-
city: string;
|
|
1668
|
-
zip: string;
|
|
1669
|
-
addressLine2?: string | undefined;
|
|
1670
|
-
state?: unknown;
|
|
1671
|
-
coordinates?: {
|
|
1672
|
-
lat: number;
|
|
1673
|
-
lon: number;
|
|
1674
|
-
} | undefined;
|
|
1675
|
-
country?: "USA" | undefined;
|
|
1676
|
-
}[]]) & ({
|
|
1490
|
+
address: {
|
|
1677
1491
|
addressLine1: string;
|
|
1678
1492
|
city: string;
|
|
1679
1493
|
zip: string;
|
|
@@ -1706,12 +1520,13 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
1706
1520
|
lon: number;
|
|
1707
1521
|
} | undefined;
|
|
1708
1522
|
country?: "USA" | undefined;
|
|
1709
|
-
}[]]
|
|
1523
|
+
}[]];
|
|
1710
1524
|
facilityIds: string[];
|
|
1711
1525
|
eTag?: string | undefined;
|
|
1712
1526
|
personalIdentifiers?: ({
|
|
1713
1527
|
type: "driversLicense";
|
|
1714
1528
|
value: string;
|
|
1529
|
+
state?: unknown;
|
|
1715
1530
|
period?: {
|
|
1716
1531
|
start: string;
|
|
1717
1532
|
end?: string | undefined;
|
|
@@ -1720,7 +1535,6 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
1720
1535
|
start?: string | undefined;
|
|
1721
1536
|
} | undefined;
|
|
1722
1537
|
assigner?: string | undefined;
|
|
1723
|
-
state?: unknown;
|
|
1724
1538
|
} | {
|
|
1725
1539
|
type: "ssn";
|
|
1726
1540
|
value: string;
|
|
@@ -1744,14 +1558,12 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
1744
1558
|
}>;
|
|
1745
1559
|
export type Patient = z.infer<typeof patientSchema>;
|
|
1746
1560
|
export declare const patientListSchema: z.ZodObject<{
|
|
1747
|
-
patients: z.ZodArray<z.ZodObject<{
|
|
1748
|
-
id: z.ZodString;
|
|
1749
|
-
eTag: z.ZodOptional<z.ZodString>;
|
|
1561
|
+
patients: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1750
1562
|
firstName: z.ZodString;
|
|
1751
1563
|
lastName: z.ZodString;
|
|
1752
1564
|
dob: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1753
1565
|
genderAtBirth: z.ZodEnum<["F", "M", "O", "U"]>;
|
|
1754
|
-
personalIdentifiers: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
1566
|
+
personalIdentifiers: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
1755
1567
|
value: z.ZodString;
|
|
1756
1568
|
period: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1757
1569
|
start: z.ZodString;
|
|
@@ -1773,6 +1585,7 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
1773
1585
|
start?: string | undefined;
|
|
1774
1586
|
}>]>>;
|
|
1775
1587
|
assigner: z.ZodOptional<z.ZodString>;
|
|
1588
|
+
}, {
|
|
1776
1589
|
type: z.ZodEnum<["driversLicense"]>;
|
|
1777
1590
|
state: z.ZodEffects<z.ZodNativeEnum<{
|
|
1778
1591
|
AL: import("@metriport/shared/dist/domain/address/state").USState.AL;
|
|
@@ -1827,7 +1640,7 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
1827
1640
|
WI: import("@metriport/shared/dist/domain/address/state").USState.WI;
|
|
1828
1641
|
WY: import("@metriport/shared/dist/domain/address/state").USState.WY;
|
|
1829
1642
|
}>, import("@metriport/shared/dist/domain/address/state").USState, unknown>;
|
|
1830
|
-
}
|
|
1643
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1831
1644
|
type: "driversLicense";
|
|
1832
1645
|
value: string;
|
|
1833
1646
|
state: import("@metriport/shared/dist/domain/address/state").USState;
|
|
@@ -1842,6 +1655,7 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
1842
1655
|
}, {
|
|
1843
1656
|
type: "driversLicense";
|
|
1844
1657
|
value: string;
|
|
1658
|
+
state?: unknown;
|
|
1845
1659
|
period?: {
|
|
1846
1660
|
start: string;
|
|
1847
1661
|
end?: string | undefined;
|
|
@@ -1850,8 +1664,7 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
1850
1664
|
start?: string | undefined;
|
|
1851
1665
|
} | undefined;
|
|
1852
1666
|
assigner?: string | undefined;
|
|
1853
|
-
|
|
1854
|
-
}>, z.ZodObject<{
|
|
1667
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1855
1668
|
value: z.ZodString;
|
|
1856
1669
|
period: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1857
1670
|
start: z.ZodString;
|
|
@@ -1873,8 +1686,9 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
1873
1686
|
start?: string | undefined;
|
|
1874
1687
|
}>]>>;
|
|
1875
1688
|
assigner: z.ZodOptional<z.ZodString>;
|
|
1689
|
+
}, {
|
|
1876
1690
|
type: z.ZodEnum<["ssn"]>;
|
|
1877
|
-
}
|
|
1691
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1878
1692
|
type: "ssn";
|
|
1879
1693
|
value: string;
|
|
1880
1694
|
period?: {
|
|
@@ -2111,15 +1925,20 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
2111
1925
|
phone?: string | null | undefined;
|
|
2112
1926
|
email?: string | null | undefined;
|
|
2113
1927
|
}>>]>;
|
|
1928
|
+
}, {
|
|
2114
1929
|
externalId: z.ZodOptional<z.ZodString>;
|
|
1930
|
+
}>, {
|
|
1931
|
+
id: z.ZodString;
|
|
1932
|
+
eTag: z.ZodOptional<z.ZodString>;
|
|
1933
|
+
}>, {
|
|
2115
1934
|
facilityIds: z.ZodArray<z.ZodString, "many">;
|
|
2116
|
-
}
|
|
1935
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2117
1936
|
id: string;
|
|
2118
1937
|
firstName: string;
|
|
2119
1938
|
lastName: string;
|
|
2120
1939
|
dob: string;
|
|
2121
1940
|
genderAtBirth: "F" | "M" | "O" | "U";
|
|
2122
|
-
address:
|
|
1941
|
+
address: {
|
|
2123
1942
|
addressLine1: string;
|
|
2124
1943
|
city: string;
|
|
2125
1944
|
state: import("@metriport/shared/dist/domain/address/state").USState | import("@metriport/shared/dist/domain/address/territory").USTerritory;
|
|
@@ -2152,40 +1971,7 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
2152
1971
|
lat: number;
|
|
2153
1972
|
lon: number;
|
|
2154
1973
|
} | undefined;
|
|
2155
|
-
}[]]
|
|
2156
|
-
addressLine1: string;
|
|
2157
|
-
city: string;
|
|
2158
|
-
state: import("@metriport/shared/dist/domain/address/state").USState | import("@metriport/shared/dist/domain/address/territory").USTerritory;
|
|
2159
|
-
zip: string;
|
|
2160
|
-
country: "USA";
|
|
2161
|
-
addressLine2?: string | undefined;
|
|
2162
|
-
coordinates?: {
|
|
2163
|
-
lat: number;
|
|
2164
|
-
lon: number;
|
|
2165
|
-
} | undefined;
|
|
2166
|
-
} | [{
|
|
2167
|
-
addressLine1: string;
|
|
2168
|
-
city: string;
|
|
2169
|
-
state: import("@metriport/shared/dist/domain/address/state").USState | import("@metriport/shared/dist/domain/address/territory").USTerritory;
|
|
2170
|
-
zip: string;
|
|
2171
|
-
country: "USA";
|
|
2172
|
-
addressLine2?: string | undefined;
|
|
2173
|
-
coordinates?: {
|
|
2174
|
-
lat: number;
|
|
2175
|
-
lon: number;
|
|
2176
|
-
} | undefined;
|
|
2177
|
-
}, ...{
|
|
2178
|
-
addressLine1: string;
|
|
2179
|
-
city: string;
|
|
2180
|
-
state: import("@metriport/shared/dist/domain/address/state").USState | import("@metriport/shared/dist/domain/address/territory").USTerritory;
|
|
2181
|
-
zip: string;
|
|
2182
|
-
country: "USA";
|
|
2183
|
-
addressLine2?: string | undefined;
|
|
2184
|
-
coordinates?: {
|
|
2185
|
-
lat: number;
|
|
2186
|
-
lon: number;
|
|
2187
|
-
} | undefined;
|
|
2188
|
-
}[]] | undefined);
|
|
1974
|
+
}[]];
|
|
2189
1975
|
facilityIds: string[];
|
|
2190
1976
|
eTag?: string | undefined;
|
|
2191
1977
|
personalIdentifiers?: ({
|
|
@@ -2226,7 +2012,7 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
2226
2012
|
lastName: string;
|
|
2227
2013
|
dob: string;
|
|
2228
2014
|
genderAtBirth: "F" | "M" | "O" | "U";
|
|
2229
|
-
address:
|
|
2015
|
+
address: {
|
|
2230
2016
|
addressLine1: string;
|
|
2231
2017
|
city: string;
|
|
2232
2018
|
zip: string;
|
|
@@ -2259,45 +2045,13 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
2259
2045
|
lon: number;
|
|
2260
2046
|
} | undefined;
|
|
2261
2047
|
country?: "USA" | undefined;
|
|
2262
|
-
}[]]
|
|
2263
|
-
addressLine1: string;
|
|
2264
|
-
city: string;
|
|
2265
|
-
zip: string;
|
|
2266
|
-
addressLine2?: string | undefined;
|
|
2267
|
-
state?: unknown;
|
|
2268
|
-
coordinates?: {
|
|
2269
|
-
lat: number;
|
|
2270
|
-
lon: number;
|
|
2271
|
-
} | undefined;
|
|
2272
|
-
country?: "USA" | undefined;
|
|
2273
|
-
} | [{
|
|
2274
|
-
addressLine1: string;
|
|
2275
|
-
city: string;
|
|
2276
|
-
zip: string;
|
|
2277
|
-
addressLine2?: string | undefined;
|
|
2278
|
-
state?: unknown;
|
|
2279
|
-
coordinates?: {
|
|
2280
|
-
lat: number;
|
|
2281
|
-
lon: number;
|
|
2282
|
-
} | undefined;
|
|
2283
|
-
country?: "USA" | undefined;
|
|
2284
|
-
}, ...{
|
|
2285
|
-
addressLine1: string;
|
|
2286
|
-
city: string;
|
|
2287
|
-
zip: string;
|
|
2288
|
-
addressLine2?: string | undefined;
|
|
2289
|
-
state?: unknown;
|
|
2290
|
-
coordinates?: {
|
|
2291
|
-
lat: number;
|
|
2292
|
-
lon: number;
|
|
2293
|
-
} | undefined;
|
|
2294
|
-
country?: "USA" | undefined;
|
|
2295
|
-
}[]] | undefined);
|
|
2048
|
+
}[]];
|
|
2296
2049
|
facilityIds: string[];
|
|
2297
2050
|
eTag?: string | undefined;
|
|
2298
2051
|
personalIdentifiers?: ({
|
|
2299
2052
|
type: "driversLicense";
|
|
2300
2053
|
value: string;
|
|
2054
|
+
state?: unknown;
|
|
2301
2055
|
period?: {
|
|
2302
2056
|
start: string;
|
|
2303
2057
|
end?: string | undefined;
|
|
@@ -2306,7 +2060,6 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
2306
2060
|
start?: string | undefined;
|
|
2307
2061
|
} | undefined;
|
|
2308
2062
|
assigner?: string | undefined;
|
|
2309
|
-
state?: unknown;
|
|
2310
2063
|
} | {
|
|
2311
2064
|
type: "ssn";
|
|
2312
2065
|
value: string;
|
|
@@ -2335,40 +2088,7 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
2335
2088
|
lastName: string;
|
|
2336
2089
|
dob: string;
|
|
2337
2090
|
genderAtBirth: "F" | "M" | "O" | "U";
|
|
2338
|
-
address:
|
|
2339
|
-
addressLine1: string;
|
|
2340
|
-
city: string;
|
|
2341
|
-
state: import("@metriport/shared/dist/domain/address/state").USState | import("@metriport/shared/dist/domain/address/territory").USTerritory;
|
|
2342
|
-
zip: string;
|
|
2343
|
-
country: "USA";
|
|
2344
|
-
addressLine2?: string | undefined;
|
|
2345
|
-
coordinates?: {
|
|
2346
|
-
lat: number;
|
|
2347
|
-
lon: number;
|
|
2348
|
-
} | undefined;
|
|
2349
|
-
} | [{
|
|
2350
|
-
addressLine1: string;
|
|
2351
|
-
city: string;
|
|
2352
|
-
state: import("@metriport/shared/dist/domain/address/state").USState | import("@metriport/shared/dist/domain/address/territory").USTerritory;
|
|
2353
|
-
zip: string;
|
|
2354
|
-
country: "USA";
|
|
2355
|
-
addressLine2?: string | undefined;
|
|
2356
|
-
coordinates?: {
|
|
2357
|
-
lat: number;
|
|
2358
|
-
lon: number;
|
|
2359
|
-
} | undefined;
|
|
2360
|
-
}, ...{
|
|
2361
|
-
addressLine1: string;
|
|
2362
|
-
city: string;
|
|
2363
|
-
state: import("@metriport/shared/dist/domain/address/state").USState | import("@metriport/shared/dist/domain/address/territory").USTerritory;
|
|
2364
|
-
zip: string;
|
|
2365
|
-
country: "USA";
|
|
2366
|
-
addressLine2?: string | undefined;
|
|
2367
|
-
coordinates?: {
|
|
2368
|
-
lat: number;
|
|
2369
|
-
lon: number;
|
|
2370
|
-
} | undefined;
|
|
2371
|
-
}[]]) & ({
|
|
2091
|
+
address: {
|
|
2372
2092
|
addressLine1: string;
|
|
2373
2093
|
city: string;
|
|
2374
2094
|
state: import("@metriport/shared/dist/domain/address/state").USState | import("@metriport/shared/dist/domain/address/territory").USTerritory;
|
|
@@ -2401,7 +2121,7 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
2401
2121
|
lat: number;
|
|
2402
2122
|
lon: number;
|
|
2403
2123
|
} | undefined;
|
|
2404
|
-
}[]]
|
|
2124
|
+
}[]];
|
|
2405
2125
|
facilityIds: string[];
|
|
2406
2126
|
eTag?: string | undefined;
|
|
2407
2127
|
personalIdentifiers?: ({
|
|
@@ -2444,7 +2164,7 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
2444
2164
|
lastName: string;
|
|
2445
2165
|
dob: string;
|
|
2446
2166
|
genderAtBirth: "F" | "M" | "O" | "U";
|
|
2447
|
-
address:
|
|
2167
|
+
address: {
|
|
2448
2168
|
addressLine1: string;
|
|
2449
2169
|
city: string;
|
|
2450
2170
|
zip: string;
|
|
@@ -2477,45 +2197,13 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
2477
2197
|
lon: number;
|
|
2478
2198
|
} | undefined;
|
|
2479
2199
|
country?: "USA" | undefined;
|
|
2480
|
-
}[]]
|
|
2481
|
-
addressLine1: string;
|
|
2482
|
-
city: string;
|
|
2483
|
-
zip: string;
|
|
2484
|
-
addressLine2?: string | undefined;
|
|
2485
|
-
state?: unknown;
|
|
2486
|
-
coordinates?: {
|
|
2487
|
-
lat: number;
|
|
2488
|
-
lon: number;
|
|
2489
|
-
} | undefined;
|
|
2490
|
-
country?: "USA" | undefined;
|
|
2491
|
-
} | [{
|
|
2492
|
-
addressLine1: string;
|
|
2493
|
-
city: string;
|
|
2494
|
-
zip: string;
|
|
2495
|
-
addressLine2?: string | undefined;
|
|
2496
|
-
state?: unknown;
|
|
2497
|
-
coordinates?: {
|
|
2498
|
-
lat: number;
|
|
2499
|
-
lon: number;
|
|
2500
|
-
} | undefined;
|
|
2501
|
-
country?: "USA" | undefined;
|
|
2502
|
-
}, ...{
|
|
2503
|
-
addressLine1: string;
|
|
2504
|
-
city: string;
|
|
2505
|
-
zip: string;
|
|
2506
|
-
addressLine2?: string | undefined;
|
|
2507
|
-
state?: unknown;
|
|
2508
|
-
coordinates?: {
|
|
2509
|
-
lat: number;
|
|
2510
|
-
lon: number;
|
|
2511
|
-
} | undefined;
|
|
2512
|
-
country?: "USA" | undefined;
|
|
2513
|
-
}[]] | undefined);
|
|
2200
|
+
}[]];
|
|
2514
2201
|
facilityIds: string[];
|
|
2515
2202
|
eTag?: string | undefined;
|
|
2516
2203
|
personalIdentifiers?: ({
|
|
2517
2204
|
type: "driversLicense";
|
|
2518
2205
|
value: string;
|
|
2206
|
+
state?: unknown;
|
|
2519
2207
|
period?: {
|
|
2520
2208
|
start: string;
|
|
2521
2209
|
end?: string | undefined;
|
|
@@ -2524,7 +2212,6 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
2524
2212
|
start?: string | undefined;
|
|
2525
2213
|
} | undefined;
|
|
2526
2214
|
assigner?: string | undefined;
|
|
2527
|
-
state?: unknown;
|
|
2528
2215
|
} | {
|
|
2529
2216
|
type: "ssn";
|
|
2530
2217
|
value: string;
|
|
@@ -2556,4 +2243,9 @@ export type GetConsolidatedQueryProgressResponse = {
|
|
|
2556
2243
|
message?: string;
|
|
2557
2244
|
};
|
|
2558
2245
|
export type StartConsolidatedQueryProgressResponse = ConsolidatedQuery;
|
|
2246
|
+
export type PatientHieOptOutResponse = {
|
|
2247
|
+
id: string;
|
|
2248
|
+
hieOptOut: boolean;
|
|
2249
|
+
message: string;
|
|
2250
|
+
};
|
|
2559
2251
|
//# sourceMappingURL=patient.d.ts.map
|