@metriport/api-sdk 7.6.0-alpha.0 → 7.6.1-alpha.0
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 +7 -7
- package/dist/medical/client/metriport.js +7 -7
- package/dist/medical/models/common/address.d.ts +3 -3
- package/dist/medical/models/common/address.js +1 -1
- package/dist/medical/models/common/address.js.map +1 -1
- package/dist/medical/models/demographics.d.ts +14 -14
- package/dist/medical/models/facility.d.ts +17 -17
- package/dist/medical/models/organization.d.ts +10 -10
- package/dist/medical/models/patient.d.ts +115 -101
- package/dist/medical/models/patient.d.ts.map +1 -1
- package/dist/medical/models/patient.js +3 -1
- package/dist/medical/models/patient.js.map +1 -1
- package/dist/medical/models/patientDTO.d.ts +1 -0
- package/dist/medical/models/patientDTO.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -236,8 +236,8 @@ export declare class MetriportMedicalApi {
|
|
|
236
236
|
/**
|
|
237
237
|
* @deprecated - Use createDocumentReference() instead.
|
|
238
238
|
* Returns a URL to upload a file to Metriport and make the document available to other HIEs.
|
|
239
|
-
* To upload your file contents, execute a PUT request using this
|
|
240
|
-
* Refer to Metriport
|
|
239
|
+
* To upload your file contents, execute a PUT request using this URL with the file contents as the request body.
|
|
240
|
+
* Refer to Metriport documentation for more details:
|
|
241
241
|
* https://docs.metriport.com/medical-api/api-reference/document/post-upload-url
|
|
242
242
|
*
|
|
243
243
|
* @param patientId - the ID of the patient.
|
|
@@ -264,12 +264,12 @@ export declare class MetriportMedicalApi {
|
|
|
264
264
|
* Verifies the signature of a webhook request.
|
|
265
265
|
* Refer to Metriport's documentation for more details: https://docs.metriport.com/medical-api/more-info/webhooks.
|
|
266
266
|
*
|
|
267
|
-
* @param wh_key - your webhook key
|
|
268
|
-
* @param cxId - your cxID
|
|
269
|
-
* @param req.body - the body of the webhook request
|
|
270
|
-
* @param signature - the signature obtained from the webhook request header
|
|
267
|
+
* @param wh_key - your webhook key.
|
|
268
|
+
* @param cxId - your cxID.
|
|
269
|
+
* @param req.body - the body of the webhook request.
|
|
270
|
+
* @param signature - the signature obtained from the webhook request header.
|
|
271
271
|
*
|
|
272
|
-
* @returns True if the signature is verified, false otherwise
|
|
272
|
+
* @returns True if the signature is verified, false otherwise.
|
|
273
273
|
*/
|
|
274
274
|
verifyWebhookSignature: (wh_key: string, reqBody: string, signature: string) => boolean;
|
|
275
275
|
}
|
|
@@ -34,12 +34,12 @@ class MetriportMedicalApi {
|
|
|
34
34
|
* Verifies the signature of a webhook request.
|
|
35
35
|
* Refer to Metriport's documentation for more details: https://docs.metriport.com/medical-api/more-info/webhooks.
|
|
36
36
|
*
|
|
37
|
-
* @param wh_key - your webhook key
|
|
38
|
-
* @param cxId - your cxID
|
|
39
|
-
* @param req.body - the body of the webhook request
|
|
40
|
-
* @param signature - the signature obtained from the webhook request header
|
|
37
|
+
* @param wh_key - your webhook key.
|
|
38
|
+
* @param cxId - your cxID.
|
|
39
|
+
* @param req.body - the body of the webhook request.
|
|
40
|
+
* @param signature - the signature obtained from the webhook request header.
|
|
41
41
|
*
|
|
42
|
-
* @returns True if the signature is verified, false otherwise
|
|
42
|
+
* @returns True if the signature is verified, false otherwise.
|
|
43
43
|
*/
|
|
44
44
|
this.verifyWebhookSignature = (wh_key, reqBody, signature) => {
|
|
45
45
|
const signatureAsString = String(signature);
|
|
@@ -429,8 +429,8 @@ class MetriportMedicalApi {
|
|
|
429
429
|
/**
|
|
430
430
|
* @deprecated - Use createDocumentReference() instead.
|
|
431
431
|
* Returns a URL to upload a file to Metriport and make the document available to other HIEs.
|
|
432
|
-
* To upload your file contents, execute a PUT request using this
|
|
433
|
-
* Refer to Metriport
|
|
432
|
+
* To upload your file contents, execute a PUT request using this URL with the file contents as the request body.
|
|
433
|
+
* Refer to Metriport documentation for more details:
|
|
434
434
|
* https://docs.metriport.com/medical-api/api-reference/document/post-upload-url
|
|
435
435
|
*
|
|
436
436
|
* @param patientId - the ID of the patient.
|
|
@@ -3,20 +3,20 @@ export declare const addressSchema: z.ZodObject<{
|
|
|
3
3
|
addressLine1: z.ZodString;
|
|
4
4
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
5
5
|
city: z.ZodString;
|
|
6
|
-
state: z.
|
|
6
|
+
state: z.ZodNativeEnum<typeof import("./us-data").USState>;
|
|
7
7
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
8
8
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
10
|
addressLine1: string;
|
|
11
11
|
city: string;
|
|
12
|
-
state:
|
|
12
|
+
state: import("./us-data").USState;
|
|
13
13
|
zip: string;
|
|
14
14
|
country: "USA";
|
|
15
15
|
addressLine2?: string | undefined;
|
|
16
16
|
}, {
|
|
17
17
|
addressLine1: string;
|
|
18
18
|
city: string;
|
|
19
|
-
state:
|
|
19
|
+
state: import("./us-data").USState;
|
|
20
20
|
zip: string;
|
|
21
21
|
addressLine2?: string | undefined;
|
|
22
22
|
country?: "USA" | undefined;
|
|
@@ -9,7 +9,7 @@ exports.addressSchema = zod_1.z.object({
|
|
|
9
9
|
addressLine1: shared_1.defaultString.min(1, { message: "Address line must be specified." }),
|
|
10
10
|
addressLine2: shared_1.defaultOptionalString,
|
|
11
11
|
city: shared_1.defaultString.min(1, { message: "City must be specified." }),
|
|
12
|
-
state: us_data_1.usStateSchema
|
|
12
|
+
state: us_data_1.usStateSchema,
|
|
13
13
|
zip: zod_1.z.coerce
|
|
14
14
|
.string()
|
|
15
15
|
.transform(zipStr => (0, shared_1.stripNonNumericChars)(zipStr))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"address.js","sourceRoot":"","sources":["../../../../src/medical/models/common/address.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,uCAA0C;AAC1C,4CAA6F;AAE7F,MAAM,SAAS,GAAG,CAAC,CAAC;AACP,QAAA,aAAa,GAAG,OAAC,CAAC,MAAM,CAAC;IACpC,YAAY,EAAE,sBAAa,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,iCAAiC,EAAE,CAAC;IAClF,YAAY,EAAE,8BAAqB;IACnC,IAAI,EAAE,sBAAa,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,yBAAyB,EAAE,CAAC;IAClE,KAAK,EAAE,uBAAa
|
|
1
|
+
{"version":3,"file":"address.js","sourceRoot":"","sources":["../../../../src/medical/models/common/address.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,uCAA0C;AAC1C,4CAA6F;AAE7F,MAAM,SAAS,GAAG,CAAC,CAAC;AACP,QAAA,aAAa,GAAG,OAAC,CAAC,MAAM,CAAC;IACpC,YAAY,EAAE,sBAAa,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,iCAAiC,EAAE,CAAC;IAClF,YAAY,EAAE,8BAAqB;IACnC,IAAI,EAAE,sBAAa,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,yBAAyB,EAAE,CAAC;IAClE,KAAK,EAAE,uBAAa;IACpB,GAAG,EAAE,OAAC,CAAC,MAAM;SACV,MAAM,EAAE;SACR,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC,IAAA,6BAAoB,EAAC,MAAM,CAAC,CAAC;SACjD,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,MAAM,KAAK,SAAS,EAAE;QACvC,OAAO,EAAE,sCAAsC,SAAS,WAAW;KACpE,CAAC;IACJ,OAAO,EAAE,OAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;CACpD,CAAC,CAAC"}
|
|
@@ -134,20 +134,20 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
134
134
|
addressLine1: z.ZodString;
|
|
135
135
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
136
136
|
city: z.ZodString;
|
|
137
|
-
state: z.
|
|
137
|
+
state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
|
|
138
138
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
139
139
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
140
140
|
}, "strip", z.ZodTypeAny, {
|
|
141
141
|
addressLine1: string;
|
|
142
142
|
city: string;
|
|
143
|
-
state:
|
|
143
|
+
state: import("./common/us-data").USState;
|
|
144
144
|
zip: string;
|
|
145
145
|
country: "USA";
|
|
146
146
|
addressLine2?: string | undefined;
|
|
147
147
|
}, {
|
|
148
148
|
addressLine1: string;
|
|
149
149
|
city: string;
|
|
150
|
-
state:
|
|
150
|
+
state: import("./common/us-data").USState;
|
|
151
151
|
zip: string;
|
|
152
152
|
addressLine2?: string | undefined;
|
|
153
153
|
country?: "USA" | undefined;
|
|
@@ -155,20 +155,20 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
155
155
|
addressLine1: z.ZodString;
|
|
156
156
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
157
157
|
city: z.ZodString;
|
|
158
|
-
state: z.
|
|
158
|
+
state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
|
|
159
159
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
160
160
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
161
161
|
}, "strip", z.ZodTypeAny, {
|
|
162
162
|
addressLine1: string;
|
|
163
163
|
city: string;
|
|
164
|
-
state:
|
|
164
|
+
state: import("./common/us-data").USState;
|
|
165
165
|
zip: string;
|
|
166
166
|
country: "USA";
|
|
167
167
|
addressLine2?: string | undefined;
|
|
168
168
|
}, {
|
|
169
169
|
addressLine1: string;
|
|
170
170
|
city: string;
|
|
171
|
-
state:
|
|
171
|
+
state: import("./common/us-data").USState;
|
|
172
172
|
zip: string;
|
|
173
173
|
addressLine2?: string | undefined;
|
|
174
174
|
country?: "USA" | undefined;
|
|
@@ -208,28 +208,28 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
208
208
|
address: ({
|
|
209
209
|
addressLine1: string;
|
|
210
210
|
city: string;
|
|
211
|
-
state:
|
|
211
|
+
state: import("./common/us-data").USState;
|
|
212
212
|
zip: string;
|
|
213
213
|
country: "USA";
|
|
214
214
|
addressLine2?: string | undefined;
|
|
215
215
|
} | {
|
|
216
216
|
addressLine1: string;
|
|
217
217
|
city: string;
|
|
218
|
-
state:
|
|
218
|
+
state: import("./common/us-data").USState;
|
|
219
219
|
zip: string;
|
|
220
220
|
country: "USA";
|
|
221
221
|
addressLine2?: string | undefined;
|
|
222
222
|
}[]) & ({
|
|
223
223
|
addressLine1: string;
|
|
224
224
|
city: string;
|
|
225
|
-
state:
|
|
225
|
+
state: import("./common/us-data").USState;
|
|
226
226
|
zip: string;
|
|
227
227
|
country: "USA";
|
|
228
228
|
addressLine2?: string | undefined;
|
|
229
229
|
} | {
|
|
230
230
|
addressLine1: string;
|
|
231
231
|
city: string;
|
|
232
|
-
state:
|
|
232
|
+
state: import("./common/us-data").USState;
|
|
233
233
|
zip: string;
|
|
234
234
|
country: "USA";
|
|
235
235
|
addressLine2?: string | undefined;
|
|
@@ -262,28 +262,28 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
262
262
|
address: ({
|
|
263
263
|
addressLine1: string;
|
|
264
264
|
city: string;
|
|
265
|
-
state:
|
|
265
|
+
state: import("./common/us-data").USState;
|
|
266
266
|
zip: string;
|
|
267
267
|
addressLine2?: string | undefined;
|
|
268
268
|
country?: "USA" | undefined;
|
|
269
269
|
} | {
|
|
270
270
|
addressLine1: string;
|
|
271
271
|
city: string;
|
|
272
|
-
state:
|
|
272
|
+
state: import("./common/us-data").USState;
|
|
273
273
|
zip: string;
|
|
274
274
|
addressLine2?: string | undefined;
|
|
275
275
|
country?: "USA" | undefined;
|
|
276
276
|
}[]) & ({
|
|
277
277
|
addressLine1: string;
|
|
278
278
|
city: string;
|
|
279
|
-
state:
|
|
279
|
+
state: import("./common/us-data").USState;
|
|
280
280
|
zip: string;
|
|
281
281
|
addressLine2?: string | undefined;
|
|
282
282
|
country?: "USA" | undefined;
|
|
283
283
|
} | {
|
|
284
284
|
addressLine1: string;
|
|
285
285
|
city: string;
|
|
286
|
-
state:
|
|
286
|
+
state: import("./common/us-data").USState;
|
|
287
287
|
zip: string;
|
|
288
288
|
addressLine2?: string | undefined;
|
|
289
289
|
country?: "USA" | undefined;
|
|
@@ -8,20 +8,20 @@ export declare const facilityCreateSchema: z.ZodObject<{
|
|
|
8
8
|
addressLine1: z.ZodString;
|
|
9
9
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
10
10
|
city: z.ZodString;
|
|
11
|
-
state: z.
|
|
11
|
+
state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
|
|
12
12
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
13
13
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
15
|
addressLine1: string;
|
|
16
16
|
city: string;
|
|
17
|
-
state:
|
|
17
|
+
state: import("./common/us-data").USState;
|
|
18
18
|
zip: string;
|
|
19
19
|
country: "USA";
|
|
20
20
|
addressLine2?: string | undefined;
|
|
21
21
|
}, {
|
|
22
22
|
addressLine1: string;
|
|
23
23
|
city: string;
|
|
24
|
-
state:
|
|
24
|
+
state: import("./common/us-data").USState;
|
|
25
25
|
zip: string;
|
|
26
26
|
addressLine2?: string | undefined;
|
|
27
27
|
country?: "USA" | undefined;
|
|
@@ -32,7 +32,7 @@ export declare const facilityCreateSchema: z.ZodObject<{
|
|
|
32
32
|
address: {
|
|
33
33
|
addressLine1: string;
|
|
34
34
|
city: string;
|
|
35
|
-
state:
|
|
35
|
+
state: import("./common/us-data").USState;
|
|
36
36
|
zip: string;
|
|
37
37
|
country: "USA";
|
|
38
38
|
addressLine2?: string | undefined;
|
|
@@ -45,7 +45,7 @@ export declare const facilityCreateSchema: z.ZodObject<{
|
|
|
45
45
|
address: {
|
|
46
46
|
addressLine1: string;
|
|
47
47
|
city: string;
|
|
48
|
-
state:
|
|
48
|
+
state: import("./common/us-data").USState;
|
|
49
49
|
zip: string;
|
|
50
50
|
addressLine2?: string | undefined;
|
|
51
51
|
country?: "USA" | undefined;
|
|
@@ -63,20 +63,20 @@ export declare const facilitySchema: z.ZodObject<{
|
|
|
63
63
|
addressLine1: z.ZodString;
|
|
64
64
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
65
65
|
city: z.ZodString;
|
|
66
|
-
state: z.
|
|
66
|
+
state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
|
|
67
67
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
68
68
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
69
69
|
}, "strip", z.ZodTypeAny, {
|
|
70
70
|
addressLine1: string;
|
|
71
71
|
city: string;
|
|
72
|
-
state:
|
|
72
|
+
state: import("./common/us-data").USState;
|
|
73
73
|
zip: string;
|
|
74
74
|
country: "USA";
|
|
75
75
|
addressLine2?: string | undefined;
|
|
76
76
|
}, {
|
|
77
77
|
addressLine1: string;
|
|
78
78
|
city: string;
|
|
79
|
-
state:
|
|
79
|
+
state: import("./common/us-data").USState;
|
|
80
80
|
zip: string;
|
|
81
81
|
addressLine2?: string | undefined;
|
|
82
82
|
country?: "USA" | undefined;
|
|
@@ -90,7 +90,7 @@ export declare const facilitySchema: z.ZodObject<{
|
|
|
90
90
|
address: {
|
|
91
91
|
addressLine1: string;
|
|
92
92
|
city: string;
|
|
93
|
-
state:
|
|
93
|
+
state: import("./common/us-data").USState;
|
|
94
94
|
zip: string;
|
|
95
95
|
country: "USA";
|
|
96
96
|
addressLine2?: string | undefined;
|
|
@@ -105,7 +105,7 @@ export declare const facilitySchema: z.ZodObject<{
|
|
|
105
105
|
address: {
|
|
106
106
|
addressLine1: string;
|
|
107
107
|
city: string;
|
|
108
|
-
state:
|
|
108
|
+
state: import("./common/us-data").USState;
|
|
109
109
|
zip: string;
|
|
110
110
|
addressLine2?: string | undefined;
|
|
111
111
|
country?: "USA" | undefined;
|
|
@@ -125,20 +125,20 @@ export declare const facilityListSchema: z.ZodObject<{
|
|
|
125
125
|
addressLine1: z.ZodString;
|
|
126
126
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
127
127
|
city: z.ZodString;
|
|
128
|
-
state: z.
|
|
128
|
+
state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
|
|
129
129
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
130
130
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
131
131
|
}, "strip", z.ZodTypeAny, {
|
|
132
132
|
addressLine1: string;
|
|
133
133
|
city: string;
|
|
134
|
-
state:
|
|
134
|
+
state: import("./common/us-data").USState;
|
|
135
135
|
zip: string;
|
|
136
136
|
country: "USA";
|
|
137
137
|
addressLine2?: string | undefined;
|
|
138
138
|
}, {
|
|
139
139
|
addressLine1: string;
|
|
140
140
|
city: string;
|
|
141
|
-
state:
|
|
141
|
+
state: import("./common/us-data").USState;
|
|
142
142
|
zip: string;
|
|
143
143
|
addressLine2?: string | undefined;
|
|
144
144
|
country?: "USA" | undefined;
|
|
@@ -152,7 +152,7 @@ export declare const facilityListSchema: z.ZodObject<{
|
|
|
152
152
|
address: {
|
|
153
153
|
addressLine1: string;
|
|
154
154
|
city: string;
|
|
155
|
-
state:
|
|
155
|
+
state: import("./common/us-data").USState;
|
|
156
156
|
zip: string;
|
|
157
157
|
country: "USA";
|
|
158
158
|
addressLine2?: string | undefined;
|
|
@@ -167,7 +167,7 @@ export declare const facilityListSchema: z.ZodObject<{
|
|
|
167
167
|
address: {
|
|
168
168
|
addressLine1: string;
|
|
169
169
|
city: string;
|
|
170
|
-
state:
|
|
170
|
+
state: import("./common/us-data").USState;
|
|
171
171
|
zip: string;
|
|
172
172
|
addressLine2?: string | undefined;
|
|
173
173
|
country?: "USA" | undefined;
|
|
@@ -184,7 +184,7 @@ export declare const facilityListSchema: z.ZodObject<{
|
|
|
184
184
|
address: {
|
|
185
185
|
addressLine1: string;
|
|
186
186
|
city: string;
|
|
187
|
-
state:
|
|
187
|
+
state: import("./common/us-data").USState;
|
|
188
188
|
zip: string;
|
|
189
189
|
country: "USA";
|
|
190
190
|
addressLine2?: string | undefined;
|
|
@@ -201,7 +201,7 @@ export declare const facilityListSchema: z.ZodObject<{
|
|
|
201
201
|
address: {
|
|
202
202
|
addressLine1: string;
|
|
203
203
|
city: string;
|
|
204
|
-
state:
|
|
204
|
+
state: import("./common/us-data").USState;
|
|
205
205
|
zip: string;
|
|
206
206
|
addressLine2?: string | undefined;
|
|
207
207
|
country?: "USA" | undefined;
|
|
@@ -15,20 +15,20 @@ export declare const organizationCreateSchema: z.ZodObject<{
|
|
|
15
15
|
addressLine1: z.ZodString;
|
|
16
16
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
17
17
|
city: z.ZodString;
|
|
18
|
-
state: z.
|
|
18
|
+
state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
|
|
19
19
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
20
20
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
21
21
|
}, "strip", z.ZodTypeAny, {
|
|
22
22
|
addressLine1: string;
|
|
23
23
|
city: string;
|
|
24
|
-
state:
|
|
24
|
+
state: import("./common/us-data").USState;
|
|
25
25
|
zip: string;
|
|
26
26
|
country: "USA";
|
|
27
27
|
addressLine2?: string | undefined;
|
|
28
28
|
}, {
|
|
29
29
|
addressLine1: string;
|
|
30
30
|
city: string;
|
|
31
|
-
state:
|
|
31
|
+
state: import("./common/us-data").USState;
|
|
32
32
|
zip: string;
|
|
33
33
|
addressLine2?: string | undefined;
|
|
34
34
|
country?: "USA" | undefined;
|
|
@@ -39,7 +39,7 @@ export declare const organizationCreateSchema: z.ZodObject<{
|
|
|
39
39
|
location: {
|
|
40
40
|
addressLine1: string;
|
|
41
41
|
city: string;
|
|
42
|
-
state:
|
|
42
|
+
state: import("./common/us-data").USState;
|
|
43
43
|
zip: string;
|
|
44
44
|
country: "USA";
|
|
45
45
|
addressLine2?: string | undefined;
|
|
@@ -50,7 +50,7 @@ export declare const organizationCreateSchema: z.ZodObject<{
|
|
|
50
50
|
location: {
|
|
51
51
|
addressLine1: string;
|
|
52
52
|
city: string;
|
|
53
|
-
state:
|
|
53
|
+
state: import("./common/us-data").USState;
|
|
54
54
|
zip: string;
|
|
55
55
|
addressLine2?: string | undefined;
|
|
56
56
|
country?: "USA" | undefined;
|
|
@@ -64,20 +64,20 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
64
64
|
addressLine1: z.ZodString;
|
|
65
65
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
66
66
|
city: z.ZodString;
|
|
67
|
-
state: z.
|
|
67
|
+
state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
|
|
68
68
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
69
69
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
70
70
|
}, "strip", z.ZodTypeAny, {
|
|
71
71
|
addressLine1: string;
|
|
72
72
|
city: string;
|
|
73
|
-
state:
|
|
73
|
+
state: import("./common/us-data").USState;
|
|
74
74
|
zip: string;
|
|
75
75
|
country: "USA";
|
|
76
76
|
addressLine2?: string | undefined;
|
|
77
77
|
}, {
|
|
78
78
|
addressLine1: string;
|
|
79
79
|
city: string;
|
|
80
|
-
state:
|
|
80
|
+
state: import("./common/us-data").USState;
|
|
81
81
|
zip: string;
|
|
82
82
|
addressLine2?: string | undefined;
|
|
83
83
|
country?: "USA" | undefined;
|
|
@@ -92,7 +92,7 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
92
92
|
location: {
|
|
93
93
|
addressLine1: string;
|
|
94
94
|
city: string;
|
|
95
|
-
state:
|
|
95
|
+
state: import("./common/us-data").USState;
|
|
96
96
|
zip: string;
|
|
97
97
|
country: "USA";
|
|
98
98
|
addressLine2?: string | undefined;
|
|
@@ -106,7 +106,7 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
106
106
|
location: {
|
|
107
107
|
addressLine1: string;
|
|
108
108
|
city: string;
|
|
109
|
-
state:
|
|
109
|
+
state: import("./common/us-data").USState;
|
|
110
110
|
zip: string;
|
|
111
111
|
addressLine2?: string | undefined;
|
|
112
112
|
country?: "USA" | undefined;
|
|
@@ -1,5 +1,48 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const patientCreateSchema: z.ZodObject<{
|
|
3
|
+
address: z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
4
|
+
addressLine1: z.ZodString;
|
|
5
|
+
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
6
|
+
city: z.ZodString;
|
|
7
|
+
state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
|
|
8
|
+
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
9
|
+
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
addressLine1: string;
|
|
12
|
+
city: string;
|
|
13
|
+
state: import("./common/us-data").USState;
|
|
14
|
+
zip: string;
|
|
15
|
+
country: "USA";
|
|
16
|
+
addressLine2?: string | undefined;
|
|
17
|
+
}, {
|
|
18
|
+
addressLine1: string;
|
|
19
|
+
city: string;
|
|
20
|
+
state: import("./common/us-data").USState;
|
|
21
|
+
zip: string;
|
|
22
|
+
addressLine2?: string | undefined;
|
|
23
|
+
country?: "USA" | undefined;
|
|
24
|
+
}>, "many">, z.ZodObject<{
|
|
25
|
+
addressLine1: z.ZodString;
|
|
26
|
+
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
27
|
+
city: z.ZodString;
|
|
28
|
+
state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
|
|
29
|
+
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
30
|
+
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
31
|
+
}, "strip", z.ZodTypeAny, {
|
|
32
|
+
addressLine1: string;
|
|
33
|
+
city: string;
|
|
34
|
+
state: import("./common/us-data").USState;
|
|
35
|
+
zip: string;
|
|
36
|
+
country: "USA";
|
|
37
|
+
addressLine2?: string | undefined;
|
|
38
|
+
}, {
|
|
39
|
+
addressLine1: string;
|
|
40
|
+
city: string;
|
|
41
|
+
state: import("./common/us-data").USState;
|
|
42
|
+
zip: string;
|
|
43
|
+
addressLine2?: string | undefined;
|
|
44
|
+
country?: "USA" | undefined;
|
|
45
|
+
}>]>;
|
|
3
46
|
firstName: z.ZodString;
|
|
4
47
|
lastName: z.ZodString;
|
|
5
48
|
dob: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -53,49 +96,6 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
53
96
|
} | undefined;
|
|
54
97
|
assigner?: string | undefined;
|
|
55
98
|
}>, "many">>;
|
|
56
|
-
address: z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
57
|
-
addressLine1: z.ZodString;
|
|
58
|
-
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
59
|
-
city: z.ZodString;
|
|
60
|
-
state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.ZodString]>;
|
|
61
|
-
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
62
|
-
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
63
|
-
}, "strip", z.ZodTypeAny, {
|
|
64
|
-
addressLine1: string;
|
|
65
|
-
city: string;
|
|
66
|
-
state: string;
|
|
67
|
-
zip: string;
|
|
68
|
-
country: "USA";
|
|
69
|
-
addressLine2?: string | undefined;
|
|
70
|
-
}, {
|
|
71
|
-
addressLine1: string;
|
|
72
|
-
city: string;
|
|
73
|
-
state: string;
|
|
74
|
-
zip: string;
|
|
75
|
-
addressLine2?: string | undefined;
|
|
76
|
-
country?: "USA" | undefined;
|
|
77
|
-
}>, "many">, z.ZodObject<{
|
|
78
|
-
addressLine1: z.ZodString;
|
|
79
|
-
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
80
|
-
city: z.ZodString;
|
|
81
|
-
state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.ZodString]>;
|
|
82
|
-
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
83
|
-
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
84
|
-
}, "strip", z.ZodTypeAny, {
|
|
85
|
-
addressLine1: string;
|
|
86
|
-
city: string;
|
|
87
|
-
state: string;
|
|
88
|
-
zip: string;
|
|
89
|
-
country: "USA";
|
|
90
|
-
addressLine2?: string | undefined;
|
|
91
|
-
}, {
|
|
92
|
-
addressLine1: string;
|
|
93
|
-
city: string;
|
|
94
|
-
state: string;
|
|
95
|
-
zip: string;
|
|
96
|
-
addressLine2?: string | undefined;
|
|
97
|
-
country?: "USA" | undefined;
|
|
98
|
-
}>]>;
|
|
99
99
|
contact: z.ZodUnion<[z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
100
100
|
phone: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>]>;
|
|
101
101
|
email: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>]>;
|
|
@@ -127,32 +127,33 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
127
127
|
phone?: string | undefined;
|
|
128
128
|
email?: string | undefined;
|
|
129
129
|
}>>]>;
|
|
130
|
+
externalId: z.ZodOptional<z.ZodString>;
|
|
130
131
|
}, "strip", z.ZodTypeAny, {
|
|
131
132
|
address: ({
|
|
132
133
|
addressLine1: string;
|
|
133
134
|
city: string;
|
|
134
|
-
state:
|
|
135
|
+
state: import("./common/us-data").USState;
|
|
135
136
|
zip: string;
|
|
136
137
|
country: "USA";
|
|
137
138
|
addressLine2?: string | undefined;
|
|
138
139
|
} | {
|
|
139
140
|
addressLine1: string;
|
|
140
141
|
city: string;
|
|
141
|
-
state:
|
|
142
|
+
state: import("./common/us-data").USState;
|
|
142
143
|
zip: string;
|
|
143
144
|
country: "USA";
|
|
144
145
|
addressLine2?: string | undefined;
|
|
145
146
|
}[]) & ({
|
|
146
147
|
addressLine1: string;
|
|
147
148
|
city: string;
|
|
148
|
-
state:
|
|
149
|
+
state: import("./common/us-data").USState;
|
|
149
150
|
zip: string;
|
|
150
151
|
country: "USA";
|
|
151
152
|
addressLine2?: string | undefined;
|
|
152
153
|
} | {
|
|
153
154
|
addressLine1: string;
|
|
154
155
|
city: string;
|
|
155
|
-
state:
|
|
156
|
+
state: import("./common/us-data").USState;
|
|
156
157
|
zip: string;
|
|
157
158
|
country: "USA";
|
|
158
159
|
addressLine2?: string | undefined;
|
|
@@ -181,32 +182,33 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
181
182
|
phone?: string | undefined;
|
|
182
183
|
email?: string | undefined;
|
|
183
184
|
}[] | undefined;
|
|
185
|
+
externalId?: string | undefined;
|
|
184
186
|
}, {
|
|
185
187
|
address: ({
|
|
186
188
|
addressLine1: string;
|
|
187
189
|
city: string;
|
|
188
|
-
state:
|
|
190
|
+
state: import("./common/us-data").USState;
|
|
189
191
|
zip: string;
|
|
190
192
|
addressLine2?: string | undefined;
|
|
191
193
|
country?: "USA" | undefined;
|
|
192
194
|
} | {
|
|
193
195
|
addressLine1: string;
|
|
194
196
|
city: string;
|
|
195
|
-
state:
|
|
197
|
+
state: import("./common/us-data").USState;
|
|
196
198
|
zip: string;
|
|
197
199
|
addressLine2?: string | undefined;
|
|
198
200
|
country?: "USA" | undefined;
|
|
199
201
|
}[]) & ({
|
|
200
202
|
addressLine1: string;
|
|
201
203
|
city: string;
|
|
202
|
-
state:
|
|
204
|
+
state: import("./common/us-data").USState;
|
|
203
205
|
zip: string;
|
|
204
206
|
addressLine2?: string | undefined;
|
|
205
207
|
country?: "USA" | undefined;
|
|
206
208
|
} | {
|
|
207
209
|
addressLine1: string;
|
|
208
210
|
city: string;
|
|
209
|
-
state:
|
|
211
|
+
state: import("./common/us-data").USState;
|
|
210
212
|
zip: string;
|
|
211
213
|
addressLine2?: string | undefined;
|
|
212
214
|
country?: "USA" | undefined;
|
|
@@ -235,6 +237,7 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
235
237
|
phone?: string | undefined;
|
|
236
238
|
email?: string | undefined;
|
|
237
239
|
}[] | undefined;
|
|
240
|
+
externalId?: string | undefined;
|
|
238
241
|
}>;
|
|
239
242
|
export type PatientCreate = z.infer<typeof patientCreateSchema>;
|
|
240
243
|
export declare const patientUpdateSchema: z.ZodObject<{
|
|
@@ -242,20 +245,20 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
242
245
|
addressLine1: z.ZodString;
|
|
243
246
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
244
247
|
city: z.ZodString;
|
|
245
|
-
state: z.
|
|
248
|
+
state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
|
|
246
249
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
247
250
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
248
251
|
}, "strip", z.ZodTypeAny, {
|
|
249
252
|
addressLine1: string;
|
|
250
253
|
city: string;
|
|
251
|
-
state:
|
|
254
|
+
state: import("./common/us-data").USState;
|
|
252
255
|
zip: string;
|
|
253
256
|
country: "USA";
|
|
254
257
|
addressLine2?: string | undefined;
|
|
255
258
|
}, {
|
|
256
259
|
addressLine1: string;
|
|
257
260
|
city: string;
|
|
258
|
-
state:
|
|
261
|
+
state: import("./common/us-data").USState;
|
|
259
262
|
zip: string;
|
|
260
263
|
addressLine2?: string | undefined;
|
|
261
264
|
country?: "USA" | undefined;
|
|
@@ -263,20 +266,20 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
263
266
|
addressLine1: z.ZodString;
|
|
264
267
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
265
268
|
city: z.ZodString;
|
|
266
|
-
state: z.
|
|
269
|
+
state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
|
|
267
270
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
268
271
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
269
272
|
}, "strip", z.ZodTypeAny, {
|
|
270
273
|
addressLine1: string;
|
|
271
274
|
city: string;
|
|
272
|
-
state:
|
|
275
|
+
state: import("./common/us-data").USState;
|
|
273
276
|
zip: string;
|
|
274
277
|
country: "USA";
|
|
275
278
|
addressLine2?: string | undefined;
|
|
276
279
|
}, {
|
|
277
280
|
addressLine1: string;
|
|
278
281
|
city: string;
|
|
279
|
-
state:
|
|
282
|
+
state: import("./common/us-data").USState;
|
|
280
283
|
zip: string;
|
|
281
284
|
addressLine2?: string | undefined;
|
|
282
285
|
country?: "USA" | undefined;
|
|
@@ -365,6 +368,7 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
365
368
|
phone?: string | undefined;
|
|
366
369
|
email?: string | undefined;
|
|
367
370
|
}>>]>;
|
|
371
|
+
externalId: z.ZodOptional<z.ZodString>;
|
|
368
372
|
id: z.ZodString;
|
|
369
373
|
eTag: z.ZodOptional<z.ZodString>;
|
|
370
374
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -372,28 +376,28 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
372
376
|
address: ({
|
|
373
377
|
addressLine1: string;
|
|
374
378
|
city: string;
|
|
375
|
-
state:
|
|
379
|
+
state: import("./common/us-data").USState;
|
|
376
380
|
zip: string;
|
|
377
381
|
country: "USA";
|
|
378
382
|
addressLine2?: string | undefined;
|
|
379
383
|
} | {
|
|
380
384
|
addressLine1: string;
|
|
381
385
|
city: string;
|
|
382
|
-
state:
|
|
386
|
+
state: import("./common/us-data").USState;
|
|
383
387
|
zip: string;
|
|
384
388
|
country: "USA";
|
|
385
389
|
addressLine2?: string | undefined;
|
|
386
390
|
}[]) & ({
|
|
387
391
|
addressLine1: string;
|
|
388
392
|
city: string;
|
|
389
|
-
state:
|
|
393
|
+
state: import("./common/us-data").USState;
|
|
390
394
|
zip: string;
|
|
391
395
|
country: "USA";
|
|
392
396
|
addressLine2?: string | undefined;
|
|
393
397
|
} | {
|
|
394
398
|
addressLine1: string;
|
|
395
399
|
city: string;
|
|
396
|
-
state:
|
|
400
|
+
state: import("./common/us-data").USState;
|
|
397
401
|
zip: string;
|
|
398
402
|
country: "USA";
|
|
399
403
|
addressLine2?: string | undefined;
|
|
@@ -422,34 +426,35 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
422
426
|
phone?: string | undefined;
|
|
423
427
|
email?: string | undefined;
|
|
424
428
|
}[] | undefined;
|
|
429
|
+
externalId?: string | undefined;
|
|
425
430
|
eTag?: string | undefined;
|
|
426
431
|
}, {
|
|
427
432
|
id: string;
|
|
428
433
|
address: ({
|
|
429
434
|
addressLine1: string;
|
|
430
435
|
city: string;
|
|
431
|
-
state:
|
|
436
|
+
state: import("./common/us-data").USState;
|
|
432
437
|
zip: string;
|
|
433
438
|
addressLine2?: string | undefined;
|
|
434
439
|
country?: "USA" | undefined;
|
|
435
440
|
} | {
|
|
436
441
|
addressLine1: string;
|
|
437
442
|
city: string;
|
|
438
|
-
state:
|
|
443
|
+
state: import("./common/us-data").USState;
|
|
439
444
|
zip: string;
|
|
440
445
|
addressLine2?: string | undefined;
|
|
441
446
|
country?: "USA" | undefined;
|
|
442
447
|
}[]) & ({
|
|
443
448
|
addressLine1: string;
|
|
444
449
|
city: string;
|
|
445
|
-
state:
|
|
450
|
+
state: import("./common/us-data").USState;
|
|
446
451
|
zip: string;
|
|
447
452
|
addressLine2?: string | undefined;
|
|
448
453
|
country?: "USA" | undefined;
|
|
449
454
|
} | {
|
|
450
455
|
addressLine1: string;
|
|
451
456
|
city: string;
|
|
452
|
-
state:
|
|
457
|
+
state: import("./common/us-data").USState;
|
|
453
458
|
zip: string;
|
|
454
459
|
addressLine2?: string | undefined;
|
|
455
460
|
country?: "USA" | undefined;
|
|
@@ -478,6 +483,7 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
478
483
|
phone?: string | undefined;
|
|
479
484
|
email?: string | undefined;
|
|
480
485
|
}[] | undefined;
|
|
486
|
+
externalId?: string | undefined;
|
|
481
487
|
eTag?: string | undefined;
|
|
482
488
|
}>;
|
|
483
489
|
export type PatientUpdate = z.infer<typeof patientUpdateSchema>;
|
|
@@ -488,20 +494,20 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
488
494
|
addressLine1: z.ZodString;
|
|
489
495
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
490
496
|
city: z.ZodString;
|
|
491
|
-
state: z.
|
|
497
|
+
state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
|
|
492
498
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
493
499
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
494
500
|
}, "strip", z.ZodTypeAny, {
|
|
495
501
|
addressLine1: string;
|
|
496
502
|
city: string;
|
|
497
|
-
state:
|
|
503
|
+
state: import("./common/us-data").USState;
|
|
498
504
|
zip: string;
|
|
499
505
|
country: "USA";
|
|
500
506
|
addressLine2?: string | undefined;
|
|
501
507
|
}, {
|
|
502
508
|
addressLine1: string;
|
|
503
509
|
city: string;
|
|
504
|
-
state:
|
|
510
|
+
state: import("./common/us-data").USState;
|
|
505
511
|
zip: string;
|
|
506
512
|
addressLine2?: string | undefined;
|
|
507
513
|
country?: "USA" | undefined;
|
|
@@ -509,20 +515,20 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
509
515
|
addressLine1: z.ZodString;
|
|
510
516
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
511
517
|
city: z.ZodString;
|
|
512
|
-
state: z.
|
|
518
|
+
state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
|
|
513
519
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
514
520
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
515
521
|
}, "strip", z.ZodTypeAny, {
|
|
516
522
|
addressLine1: string;
|
|
517
523
|
city: string;
|
|
518
|
-
state:
|
|
524
|
+
state: import("./common/us-data").USState;
|
|
519
525
|
zip: string;
|
|
520
526
|
country: "USA";
|
|
521
527
|
addressLine2?: string | undefined;
|
|
522
528
|
}, {
|
|
523
529
|
addressLine1: string;
|
|
524
530
|
city: string;
|
|
525
|
-
state:
|
|
531
|
+
state: import("./common/us-data").USState;
|
|
526
532
|
zip: string;
|
|
527
533
|
addressLine2?: string | undefined;
|
|
528
534
|
country?: "USA" | undefined;
|
|
@@ -611,34 +617,35 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
611
617
|
phone?: string | undefined;
|
|
612
618
|
email?: string | undefined;
|
|
613
619
|
}>>]>;
|
|
620
|
+
externalId: z.ZodOptional<z.ZodString>;
|
|
614
621
|
facilityIds: z.ZodArray<z.ZodString, "many">;
|
|
615
622
|
}, "strip", z.ZodTypeAny, {
|
|
616
623
|
id: string;
|
|
617
624
|
address: ({
|
|
618
625
|
addressLine1: string;
|
|
619
626
|
city: string;
|
|
620
|
-
state:
|
|
627
|
+
state: import("./common/us-data").USState;
|
|
621
628
|
zip: string;
|
|
622
629
|
country: "USA";
|
|
623
630
|
addressLine2?: string | undefined;
|
|
624
631
|
} | {
|
|
625
632
|
addressLine1: string;
|
|
626
633
|
city: string;
|
|
627
|
-
state:
|
|
634
|
+
state: import("./common/us-data").USState;
|
|
628
635
|
zip: string;
|
|
629
636
|
country: "USA";
|
|
630
637
|
addressLine2?: string | undefined;
|
|
631
638
|
}[]) & ({
|
|
632
639
|
addressLine1: string;
|
|
633
640
|
city: string;
|
|
634
|
-
state:
|
|
641
|
+
state: import("./common/us-data").USState;
|
|
635
642
|
zip: string;
|
|
636
643
|
country: "USA";
|
|
637
644
|
addressLine2?: string | undefined;
|
|
638
645
|
} | {
|
|
639
646
|
addressLine1: string;
|
|
640
647
|
city: string;
|
|
641
|
-
state:
|
|
648
|
+
state: import("./common/us-data").USState;
|
|
642
649
|
zip: string;
|
|
643
650
|
country: "USA";
|
|
644
651
|
addressLine2?: string | undefined;
|
|
@@ -669,33 +676,34 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
669
676
|
phone?: string | undefined;
|
|
670
677
|
email?: string | undefined;
|
|
671
678
|
}[] | undefined;
|
|
679
|
+
externalId?: string | undefined;
|
|
672
680
|
}, {
|
|
673
681
|
id: string;
|
|
674
682
|
address: ({
|
|
675
683
|
addressLine1: string;
|
|
676
684
|
city: string;
|
|
677
|
-
state:
|
|
685
|
+
state: import("./common/us-data").USState;
|
|
678
686
|
zip: string;
|
|
679
687
|
addressLine2?: string | undefined;
|
|
680
688
|
country?: "USA" | undefined;
|
|
681
689
|
} | {
|
|
682
690
|
addressLine1: string;
|
|
683
691
|
city: string;
|
|
684
|
-
state:
|
|
692
|
+
state: import("./common/us-data").USState;
|
|
685
693
|
zip: string;
|
|
686
694
|
addressLine2?: string | undefined;
|
|
687
695
|
country?: "USA" | undefined;
|
|
688
696
|
}[]) & ({
|
|
689
697
|
addressLine1: string;
|
|
690
698
|
city: string;
|
|
691
|
-
state:
|
|
699
|
+
state: import("./common/us-data").USState;
|
|
692
700
|
zip: string;
|
|
693
701
|
addressLine2?: string | undefined;
|
|
694
702
|
country?: "USA" | undefined;
|
|
695
703
|
} | {
|
|
696
704
|
addressLine1: string;
|
|
697
705
|
city: string;
|
|
698
|
-
state:
|
|
706
|
+
state: import("./common/us-data").USState;
|
|
699
707
|
zip: string;
|
|
700
708
|
addressLine2?: string | undefined;
|
|
701
709
|
country?: "USA" | undefined;
|
|
@@ -726,6 +734,7 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
726
734
|
phone?: string | undefined;
|
|
727
735
|
email?: string | undefined;
|
|
728
736
|
}[] | undefined;
|
|
737
|
+
externalId?: string | undefined;
|
|
729
738
|
}>;
|
|
730
739
|
export type Patient = z.infer<typeof patientSchema>;
|
|
731
740
|
export declare const patientListSchema: z.ZodObject<{
|
|
@@ -736,20 +745,20 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
736
745
|
addressLine1: z.ZodString;
|
|
737
746
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
738
747
|
city: z.ZodString;
|
|
739
|
-
state: z.
|
|
748
|
+
state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
|
|
740
749
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
741
750
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
742
751
|
}, "strip", z.ZodTypeAny, {
|
|
743
752
|
addressLine1: string;
|
|
744
753
|
city: string;
|
|
745
|
-
state:
|
|
754
|
+
state: import("./common/us-data").USState;
|
|
746
755
|
zip: string;
|
|
747
756
|
country: "USA";
|
|
748
757
|
addressLine2?: string | undefined;
|
|
749
758
|
}, {
|
|
750
759
|
addressLine1: string;
|
|
751
760
|
city: string;
|
|
752
|
-
state:
|
|
761
|
+
state: import("./common/us-data").USState;
|
|
753
762
|
zip: string;
|
|
754
763
|
addressLine2?: string | undefined;
|
|
755
764
|
country?: "USA" | undefined;
|
|
@@ -757,20 +766,20 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
757
766
|
addressLine1: z.ZodString;
|
|
758
767
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
759
768
|
city: z.ZodString;
|
|
760
|
-
state: z.
|
|
769
|
+
state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
|
|
761
770
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
762
771
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
763
772
|
}, "strip", z.ZodTypeAny, {
|
|
764
773
|
addressLine1: string;
|
|
765
774
|
city: string;
|
|
766
|
-
state:
|
|
775
|
+
state: import("./common/us-data").USState;
|
|
767
776
|
zip: string;
|
|
768
777
|
country: "USA";
|
|
769
778
|
addressLine2?: string | undefined;
|
|
770
779
|
}, {
|
|
771
780
|
addressLine1: string;
|
|
772
781
|
city: string;
|
|
773
|
-
state:
|
|
782
|
+
state: import("./common/us-data").USState;
|
|
774
783
|
zip: string;
|
|
775
784
|
addressLine2?: string | undefined;
|
|
776
785
|
country?: "USA" | undefined;
|
|
@@ -859,34 +868,35 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
859
868
|
phone?: string | undefined;
|
|
860
869
|
email?: string | undefined;
|
|
861
870
|
}>>]>;
|
|
871
|
+
externalId: z.ZodOptional<z.ZodString>;
|
|
862
872
|
facilityIds: z.ZodArray<z.ZodString, "many">;
|
|
863
873
|
}, "strip", z.ZodTypeAny, {
|
|
864
874
|
id: string;
|
|
865
875
|
address: ({
|
|
866
876
|
addressLine1: string;
|
|
867
877
|
city: string;
|
|
868
|
-
state:
|
|
878
|
+
state: import("./common/us-data").USState;
|
|
869
879
|
zip: string;
|
|
870
880
|
country: "USA";
|
|
871
881
|
addressLine2?: string | undefined;
|
|
872
882
|
} | {
|
|
873
883
|
addressLine1: string;
|
|
874
884
|
city: string;
|
|
875
|
-
state:
|
|
885
|
+
state: import("./common/us-data").USState;
|
|
876
886
|
zip: string;
|
|
877
887
|
country: "USA";
|
|
878
888
|
addressLine2?: string | undefined;
|
|
879
889
|
}[]) & ({
|
|
880
890
|
addressLine1: string;
|
|
881
891
|
city: string;
|
|
882
|
-
state:
|
|
892
|
+
state: import("./common/us-data").USState;
|
|
883
893
|
zip: string;
|
|
884
894
|
country: "USA";
|
|
885
895
|
addressLine2?: string | undefined;
|
|
886
896
|
} | {
|
|
887
897
|
addressLine1: string;
|
|
888
898
|
city: string;
|
|
889
|
-
state:
|
|
899
|
+
state: import("./common/us-data").USState;
|
|
890
900
|
zip: string;
|
|
891
901
|
country: "USA";
|
|
892
902
|
addressLine2?: string | undefined;
|
|
@@ -917,33 +927,34 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
917
927
|
phone?: string | undefined;
|
|
918
928
|
email?: string | undefined;
|
|
919
929
|
}[] | undefined;
|
|
930
|
+
externalId?: string | undefined;
|
|
920
931
|
}, {
|
|
921
932
|
id: string;
|
|
922
933
|
address: ({
|
|
923
934
|
addressLine1: string;
|
|
924
935
|
city: string;
|
|
925
|
-
state:
|
|
936
|
+
state: import("./common/us-data").USState;
|
|
926
937
|
zip: string;
|
|
927
938
|
addressLine2?: string | undefined;
|
|
928
939
|
country?: "USA" | undefined;
|
|
929
940
|
} | {
|
|
930
941
|
addressLine1: string;
|
|
931
942
|
city: string;
|
|
932
|
-
state:
|
|
943
|
+
state: import("./common/us-data").USState;
|
|
933
944
|
zip: string;
|
|
934
945
|
addressLine2?: string | undefined;
|
|
935
946
|
country?: "USA" | undefined;
|
|
936
947
|
}[]) & ({
|
|
937
948
|
addressLine1: string;
|
|
938
949
|
city: string;
|
|
939
|
-
state:
|
|
950
|
+
state: import("./common/us-data").USState;
|
|
940
951
|
zip: string;
|
|
941
952
|
addressLine2?: string | undefined;
|
|
942
953
|
country?: "USA" | undefined;
|
|
943
954
|
} | {
|
|
944
955
|
addressLine1: string;
|
|
945
956
|
city: string;
|
|
946
|
-
state:
|
|
957
|
+
state: import("./common/us-data").USState;
|
|
947
958
|
zip: string;
|
|
948
959
|
addressLine2?: string | undefined;
|
|
949
960
|
country?: "USA" | undefined;
|
|
@@ -974,6 +985,7 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
974
985
|
phone?: string | undefined;
|
|
975
986
|
email?: string | undefined;
|
|
976
987
|
}[] | undefined;
|
|
988
|
+
externalId?: string | undefined;
|
|
977
989
|
}>, "many">;
|
|
978
990
|
}, "strip", z.ZodTypeAny, {
|
|
979
991
|
patients: {
|
|
@@ -981,28 +993,28 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
981
993
|
address: ({
|
|
982
994
|
addressLine1: string;
|
|
983
995
|
city: string;
|
|
984
|
-
state:
|
|
996
|
+
state: import("./common/us-data").USState;
|
|
985
997
|
zip: string;
|
|
986
998
|
country: "USA";
|
|
987
999
|
addressLine2?: string | undefined;
|
|
988
1000
|
} | {
|
|
989
1001
|
addressLine1: string;
|
|
990
1002
|
city: string;
|
|
991
|
-
state:
|
|
1003
|
+
state: import("./common/us-data").USState;
|
|
992
1004
|
zip: string;
|
|
993
1005
|
country: "USA";
|
|
994
1006
|
addressLine2?: string | undefined;
|
|
995
1007
|
}[]) & ({
|
|
996
1008
|
addressLine1: string;
|
|
997
1009
|
city: string;
|
|
998
|
-
state:
|
|
1010
|
+
state: import("./common/us-data").USState;
|
|
999
1011
|
zip: string;
|
|
1000
1012
|
country: "USA";
|
|
1001
1013
|
addressLine2?: string | undefined;
|
|
1002
1014
|
} | {
|
|
1003
1015
|
addressLine1: string;
|
|
1004
1016
|
city: string;
|
|
1005
|
-
state:
|
|
1017
|
+
state: import("./common/us-data").USState;
|
|
1006
1018
|
zip: string;
|
|
1007
1019
|
country: "USA";
|
|
1008
1020
|
addressLine2?: string | undefined;
|
|
@@ -1033,6 +1045,7 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
1033
1045
|
phone?: string | undefined;
|
|
1034
1046
|
email?: string | undefined;
|
|
1035
1047
|
}[] | undefined;
|
|
1048
|
+
externalId?: string | undefined;
|
|
1036
1049
|
}[];
|
|
1037
1050
|
}, {
|
|
1038
1051
|
patients: {
|
|
@@ -1040,28 +1053,28 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
1040
1053
|
address: ({
|
|
1041
1054
|
addressLine1: string;
|
|
1042
1055
|
city: string;
|
|
1043
|
-
state:
|
|
1056
|
+
state: import("./common/us-data").USState;
|
|
1044
1057
|
zip: string;
|
|
1045
1058
|
addressLine2?: string | undefined;
|
|
1046
1059
|
country?: "USA" | undefined;
|
|
1047
1060
|
} | {
|
|
1048
1061
|
addressLine1: string;
|
|
1049
1062
|
city: string;
|
|
1050
|
-
state:
|
|
1063
|
+
state: import("./common/us-data").USState;
|
|
1051
1064
|
zip: string;
|
|
1052
1065
|
addressLine2?: string | undefined;
|
|
1053
1066
|
country?: "USA" | undefined;
|
|
1054
1067
|
}[]) & ({
|
|
1055
1068
|
addressLine1: string;
|
|
1056
1069
|
city: string;
|
|
1057
|
-
state:
|
|
1070
|
+
state: import("./common/us-data").USState;
|
|
1058
1071
|
zip: string;
|
|
1059
1072
|
addressLine2?: string | undefined;
|
|
1060
1073
|
country?: "USA" | undefined;
|
|
1061
1074
|
} | {
|
|
1062
1075
|
addressLine1: string;
|
|
1063
1076
|
city: string;
|
|
1064
|
-
state:
|
|
1077
|
+
state: import("./common/us-data").USState;
|
|
1065
1078
|
zip: string;
|
|
1066
1079
|
addressLine2?: string | undefined;
|
|
1067
1080
|
country?: "USA" | undefined;
|
|
@@ -1092,6 +1105,7 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
1092
1105
|
phone?: string | undefined;
|
|
1093
1106
|
email?: string | undefined;
|
|
1094
1107
|
}[] | undefined;
|
|
1108
|
+
externalId?: string | undefined;
|
|
1095
1109
|
}[];
|
|
1096
1110
|
}>;
|
|
1097
1111
|
export declare const queryStatusSchema: z.ZodEnum<["processing", "completed", "failed"]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patient.d.ts","sourceRoot":"","sources":["../../../src/medical/models/patient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"patient.d.ts","sourceRoot":"","sources":["../../../src/medical/models/patient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI/B,CAAC;AACF,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA8C,CAAC;AAC/E,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAExB,CAAC;AACH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEpD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE5B,CAAC;AAEH,eAAO,MAAM,iBAAiB,kDAAgD,CAAC;AAC/E,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,eAAO,MAAM,mBAAmB;;;;;;EAE9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
|
@@ -4,7 +4,9 @@ exports.queryProgressSchema = exports.queryStatusSchema = exports.patientListSch
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const base_update_1 = require("./common/base-update");
|
|
6
6
|
const demographics_1 = require("./demographics");
|
|
7
|
-
exports.patientCreateSchema = demographics_1.demographicsSchema
|
|
7
|
+
exports.patientCreateSchema = demographics_1.demographicsSchema.merge(zod_1.z.object({
|
|
8
|
+
externalId: zod_1.z.string().optional(),
|
|
9
|
+
}));
|
|
8
10
|
exports.patientUpdateSchema = exports.patientCreateSchema.merge(base_update_1.baseUpdateSchema);
|
|
9
11
|
exports.patientSchema = exports.patientUpdateSchema.extend({
|
|
10
12
|
facilityIds: zod_1.z.array(zod_1.z.string()),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patient.js","sourceRoot":"","sources":["../../../src/medical/models/patient.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,sDAAwD;AACxD,iDAAoD;AAEvC,QAAA,mBAAmB,GAAG,iCAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"patient.js","sourceRoot":"","sources":["../../../src/medical/models/patient.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,sDAAwD;AACxD,iDAAoD;AAEvC,QAAA,mBAAmB,GAAG,iCAAkB,CAAC,KAAK,CACzD,OAAC,CAAC,MAAM,CAAC;IACP,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CACH,CAAC;AAGW,QAAA,mBAAmB,GAAG,2BAAmB,CAAC,KAAK,CAAC,8BAAgB,CAAC,CAAC;AAGlE,QAAA,aAAa,GAAG,2BAAmB,CAAC,MAAM,CAAC;IACtD,WAAW,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;CACjC,CAAC,CAAC;AAGU,QAAA,iBAAiB,GAAG,OAAC,CAAC,MAAM,CAAC;IACxC,QAAQ,EAAE,OAAC,CAAC,KAAK,CAAC,qBAAa,CAAC;CACjC,CAAC,CAAC;AAEU,QAAA,iBAAiB,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,YAAY,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC,CAAC;AAGlE,QAAA,mBAAmB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC1C,MAAM,EAAE,yBAAiB;CAC1B,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patientDTO.d.ts","sourceRoot":"","sources":["../../../src/medical/models/patientDTO.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,MAAM,MAAM,UAAU,GAAG;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,aAAa,EAAE,GAAG,GAAG,GAAG,CAAC;IACzB,mBAAmB,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAC3C,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,OAAO,EAAE,OAAO,GAAG,OAAO,EAAE,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,EAAE,CAAC;CAC/B,CAAC;AAEF,KAAK,OAAO,GAAG;IACb,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,KAAK,kBAAkB,GAAG;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EACH;QACE,KAAK,EAAE,MAAM,CAAC;QACd,GAAG,CAAC,EAAE,MAAM,CAAC;KACd,GACD;QACE,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;IACN,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,gBAAgB,CAAC;IACvB,KAAK,EAAE,MAAM,OAAO,OAAO,CAAC;CAC7B,CAAC;AAEF,KAAK,OAAO,GAAG;IACb,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B,CAAC"}
|
|
1
|
+
{"version":3,"file":"patientDTO.d.ts","sourceRoot":"","sources":["../../../src/medical/models/patientDTO.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,MAAM,MAAM,UAAU,GAAG;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,aAAa,EAAE,GAAG,GAAG,GAAG,CAAC;IACzB,mBAAmB,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAC3C,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,OAAO,GAAG,OAAO,EAAE,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,EAAE,CAAC;CAC/B,CAAC;AAEF,KAAK,OAAO,GAAG;IACb,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,KAAK,kBAAkB,GAAG;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EACH;QACE,KAAK,EAAE,MAAM,CAAC;QACd,GAAG,CAAC,EAAE,MAAM,CAAC;KACd,GACD;QACE,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;IACN,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,gBAAgB,CAAC;IACvB,KAAK,EAAE,MAAM,OAAO,OAAO,CAAC;CAC7B,CAAC;AAEF,KAAK,OAAO,GAAG;IACb,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metriport/api-sdk",
|
|
3
|
-
"version": "7.6.
|
|
3
|
+
"version": "7.6.1-alpha.0",
|
|
4
4
|
"description": "Metriport helps you access and manage health and medical data, through a single open source API.",
|
|
5
5
|
"author": "Metriport Inc. <contact@metriport.com>",
|
|
6
6
|
"homepage": "https://metriport.com/",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"url": "https://github.com/metriport/metriport/issues"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@metriport/commonwell-sdk": "^4.9.0
|
|
59
|
+
"@metriport/commonwell-sdk": "^4.9.0",
|
|
60
60
|
"axios": "^1.3.4",
|
|
61
61
|
"dayjs": "^1.11.7",
|
|
62
62
|
"dotenv": "^16.3.1",
|
|
@@ -74,5 +74,5 @@
|
|
|
74
74
|
"ts-jest": "29.1.1",
|
|
75
75
|
"typescript": "^4.9.5"
|
|
76
76
|
},
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "99d771578528b6991da91fdec32b5edcf9901fe0"
|
|
78
78
|
}
|