@awell-health/awell-extensions 1.0.235 → 1.0.237
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/extensions/athenahealth/actions/index.d.ts +1 -1
- package/dist/extensions/athenahealth/api/schema/clinicalDocument.d.ts +2 -2
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/fields.d.ts +1 -1
- package/dist/extensions/awell/v1/actions/searchPatientsByPatientCode/searchPatientsByPatientCode.test.js +12 -15
- package/dist/extensions/awell/v1/actions/searchPatientsByPatientCode/searchPatientsByPatientCode.test.js.map +1 -1
- package/dist/extensions/awell/v1/actions/updatePatient/config/fields.d.ts +14 -14
- package/dist/extensions/calDotCom/actions/createBooking/config/fields.d.ts +6 -6
- package/dist/extensions/calDotCom/actions/deleteBooking/config/fields.d.ts +2 -2
- package/dist/extensions/calDotCom/actions/updateBooking/config/fields.d.ts +6 -6
- package/dist/extensions/calendly/schema.d.ts +1030 -218
- package/dist/extensions/canvasMedical/v1/validation/appointment.zod.d.ts +11 -10
- package/dist/extensions/canvasMedical/v1/validation/coverage.zod.d.ts +16 -15
- package/dist/extensions/canvasMedical/v1/validation/identifier.zod.d.ts +13 -13
- package/dist/extensions/canvasMedical/v1/validation/patient.zod.d.ts +229 -228
- package/dist/extensions/canvasMedical/v1/validation/questionnaireResponses.zod.d.ts +24 -21
- package/dist/extensions/canvasMedical/v1/validation/task.zod.d.ts +52 -51
- package/dist/extensions/docuSign/actions/createEmbeddedSignatureRequestWithTemplate/config/fields.d.ts +2 -2
- package/dist/extensions/dropboxSign/v1/actions/cancelSignatureRequest/cancelSignatureRequest.test.js +9 -12
- package/dist/extensions/dropboxSign/v1/actions/cancelSignatureRequest/cancelSignatureRequest.test.js.map +1 -1
- package/dist/extensions/dropboxSign/v1/actions/createEmbeddedSignatureRequestWithTemplate/config/fields.d.ts +2 -2
- package/dist/extensions/dropboxSign/v1/actions/createEmbeddedSignatureRequestWithTemplate/createEmbeddedSignatureRequestWithTemplate.test.js +32 -38
- package/dist/extensions/dropboxSign/v1/actions/createEmbeddedSignatureRequestWithTemplate/createEmbeddedSignatureRequestWithTemplate.test.js.map +1 -1
- package/dist/extensions/dropboxSign/v1/actions/getSignatureRequest/getSignatureRequest.test.js +13 -16
- package/dist/extensions/dropboxSign/v1/actions/getSignatureRequest/getSignatureRequest.test.js.map +1 -1
- package/dist/extensions/dropboxSign/v1/actions/sendRequestReminder/sendRequestReminder.test.js +13 -16
- package/dist/extensions/dropboxSign/v1/actions/sendRequestReminder/sendRequestReminder.test.js.map +1 -1
- package/dist/extensions/dropboxSign/v1/actions/sendSignatureRequestWithTemplate/config/fields.d.ts +2 -2
- package/dist/extensions/dropboxSign/v1/actions/sendSignatureRequestWithTemplate/sendSignatureRequestWithTemplate.test.js +13 -16
- package/dist/extensions/dropboxSign/v1/actions/sendSignatureRequestWithTemplate/sendSignatureRequestWithTemplate.test.js.map +1 -1
- package/dist/extensions/elation/actions/index.d.ts +1 -1
- package/dist/extensions/elation/validation/appointment.zod.d.ts +4 -4
- package/dist/extensions/elation/validation/labOrder.zod.d.ts +2 -2
- package/dist/extensions/elation/validation/nonVisitNote.zod.d.ts +2 -2
- package/dist/extensions/elation/validation/patient.zod.d.ts +248 -248
- package/dist/extensions/elation/validation/physician.zod.d.ts +4 -4
- package/dist/extensions/experimental/index.js +1 -0
- package/dist/extensions/experimental/index.js.map +1 -1
- package/dist/extensions/experimental/v1/actions/index.d.ts +1 -0
- package/dist/extensions/experimental/v1/actions/index.js +3 -1
- package/dist/extensions/experimental/v1/actions/index.js.map +1 -1
- package/dist/extensions/experimental/v1/actions/returnObject/index.d.ts +18 -0
- package/dist/extensions/experimental/v1/actions/returnObject/index.js +45 -0
- package/dist/extensions/experimental/v1/actions/returnObject/index.js.map +1 -0
- package/dist/extensions/formsort/settings.d.ts +1 -1
- package/dist/extensions/healthie/validation/sendFormCompletionRequest.zod.d.ts +12 -12
- package/dist/extensions/infobip/v1/actions/sendEmailWithTemplate/config/fields.d.ts +2 -4
- package/dist/extensions/iterable/v1/actions/sendEmail/config/fields.d.ts +4 -4
- package/dist/extensions/mailgun/v1/actions/sendEmailWithTemplate/config/fields.d.ts +2 -4
- package/dist/extensions/medplum/actions/createPatient/config/fields.d.ts +10 -10
- package/dist/extensions/medplum/actions/createTask/config/fields.d.ts +2 -2
- package/dist/extensions/medplum/actions/executeBot/config/fields.d.ts +2 -4
- package/dist/extensions/medplum/fhir/schemas/atoms/PeriodSchema.d.ts +2 -2
- package/dist/extensions/medplum/fhir/schemas/resources/patient.schema.d.ts +10 -10
- package/dist/extensions/medplum/fhir/schemas/resources/task.schema.d.ts +2 -2
- package/dist/extensions/metriport/actions/patient/validation.d.ts +31 -28
- package/dist/extensions/sendbird/v1/actions/createTicket/config/fields.d.ts +4 -4
- package/dist/extensions/sendbird/v1/actions/createUser/config/fields.d.ts +2 -2
- package/dist/extensions/sendgrid-extension/v1/actions/sendEmailWithTemplate/config/fields.d.ts +1 -1
- package/dist/extensions/textline/actions/getMessages/config/fields.d.ts +2 -2
- package/dist/extensions/twilio/v2/actions/getMessages/config/fields.d.ts +4 -4
- package/dist/extensions/twilio/v2/actions/sendSmsDuringBusinessHours/config/fields.d.ts +2 -2
- package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/config/settings.d.ts +4 -4
- package/dist/extensions/wellinks-public/actions/createFlourishCustomer/config/settings.d.ts +4 -4
- package/dist/extensions/wellinks-public/actions/insertMemberListEvent/config/settings.d.ts +5 -2
- package/dist/extensions/wellinks-public/actions/submitPamSurvey/config/settings.d.ts +4 -4
- package/dist/extensions/wellinks-public/config/settings.d.ts +4 -4
- package/dist/extensions/zendesk/v1/actions/createTask/config/fields.d.ts +4 -4
- package/dist/src/tests/constants.d.ts +4 -0
- package/package.json +4 -4
@@ -31,20 +31,20 @@ export declare const guarantorSchema: z.ZodObject<{
|
|
31
31
|
address: string;
|
32
32
|
city: string;
|
33
33
|
zip: string;
|
34
|
-
phone?: string | null | undefined;
|
35
|
-
relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
|
36
34
|
first_name?: string | null | undefined;
|
37
35
|
last_name?: string | null | undefined;
|
36
|
+
phone?: string | null | undefined;
|
37
|
+
relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
|
38
38
|
middle_name?: string | null | undefined;
|
39
39
|
}, {
|
40
40
|
state: string;
|
41
41
|
address: string;
|
42
42
|
city: string;
|
43
43
|
zip: string;
|
44
|
-
phone?: string | null | undefined;
|
45
|
-
relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
|
46
44
|
first_name?: string | null | undefined;
|
47
45
|
last_name?: string | null | undefined;
|
46
|
+
phone?: string | null | undefined;
|
47
|
+
relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
|
48
48
|
middle_name?: string | null | undefined;
|
49
49
|
}>;
|
50
50
|
export declare const insuranceSchema: z.ZodObject<{
|
@@ -76,17 +76,17 @@ export declare const insuranceSchema: z.ZodObject<{
|
|
76
76
|
relationship_to_insured: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
77
77
|
}, "strip", z.ZodTypeAny, {
|
78
78
|
rank: "secondary" | "primary" | "tertiary";
|
79
|
-
|
80
|
-
member_id?: string | null | undefined;
|
81
|
-
group_id?: string | null | undefined;
|
82
|
-
plan?: string | null | undefined;
|
83
|
-
phone?: string | null | undefined;
|
84
|
-
extension?: string | null | undefined;
|
79
|
+
state?: string | null | undefined;
|
85
80
|
address?: string | null | undefined;
|
86
81
|
suite?: string | null | undefined;
|
82
|
+
extension?: string | null | undefined;
|
83
|
+
phone?: string | null | undefined;
|
87
84
|
city?: string | null | undefined;
|
88
|
-
state?: string | null | undefined;
|
89
85
|
zip?: string | null | undefined;
|
86
|
+
carrier?: string | null | undefined;
|
87
|
+
member_id?: string | null | undefined;
|
88
|
+
group_id?: string | null | undefined;
|
89
|
+
plan?: string | null | undefined;
|
90
90
|
copay?: number | null | undefined;
|
91
91
|
deductible?: number | null | undefined;
|
92
92
|
payment_program?: "Medicare Part B" | "Medicare Advantage" | "Medicaid" | "Commercial - HMSA" | "Commercial - SFHP" | "Commercial - Other" | "Worker's Compensation" | null | undefined;
|
@@ -98,22 +98,22 @@ export declare const insuranceSchema: z.ZodObject<{
|
|
98
98
|
insured_person_zip?: string | null | undefined;
|
99
99
|
insured_person_id?: string | null | undefined;
|
100
100
|
insured_person_dob?: string | null | undefined;
|
101
|
-
insured_person_gender?: "
|
101
|
+
insured_person_gender?: "X" | "M" | "F" | "U" | null | undefined;
|
102
102
|
insured_person_ssn?: string | null | undefined;
|
103
103
|
relationship_to_insured?: string | null | undefined;
|
104
104
|
}, {
|
105
105
|
rank: "secondary" | "primary" | "tertiary";
|
106
|
-
|
107
|
-
member_id?: string | null | undefined;
|
108
|
-
group_id?: string | null | undefined;
|
109
|
-
plan?: string | null | undefined;
|
110
|
-
phone?: string | null | undefined;
|
111
|
-
extension?: string | null | undefined;
|
106
|
+
state?: string | null | undefined;
|
112
107
|
address?: string | null | undefined;
|
113
108
|
suite?: string | null | undefined;
|
109
|
+
extension?: string | null | undefined;
|
110
|
+
phone?: string | null | undefined;
|
114
111
|
city?: string | null | undefined;
|
115
|
-
state?: string | null | undefined;
|
116
112
|
zip?: string | null | undefined;
|
113
|
+
carrier?: string | null | undefined;
|
114
|
+
member_id?: string | null | undefined;
|
115
|
+
group_id?: string | null | undefined;
|
116
|
+
plan?: string | null | undefined;
|
117
117
|
copay?: number | null | undefined;
|
118
118
|
deductible?: number | null | undefined;
|
119
119
|
payment_program?: "Medicare Part B" | "Medicare Advantage" | "Medicaid" | "Commercial - HMSA" | "Commercial - SFHP" | "Commercial - Other" | "Worker's Compensation" | null | undefined;
|
@@ -125,7 +125,7 @@ export declare const insuranceSchema: z.ZodObject<{
|
|
125
125
|
insured_person_zip?: string | null | undefined;
|
126
126
|
insured_person_id?: string | null | undefined;
|
127
127
|
insured_person_dob?: Date | null | undefined;
|
128
|
-
insured_person_gender?: "
|
128
|
+
insured_person_gender?: "X" | "M" | "F" | "U" | null | undefined;
|
129
129
|
insured_person_ssn?: string | null | undefined;
|
130
130
|
relationship_to_insured?: string | null | undefined;
|
131
131
|
}>;
|
@@ -215,20 +215,20 @@ export declare const patientSchema: z.ZodObject<{
|
|
215
215
|
address: string;
|
216
216
|
city: string;
|
217
217
|
zip: string;
|
218
|
-
phone?: string | null | undefined;
|
219
|
-
relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
|
220
218
|
first_name?: string | null | undefined;
|
221
219
|
last_name?: string | null | undefined;
|
220
|
+
phone?: string | null | undefined;
|
221
|
+
relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
|
222
222
|
middle_name?: string | null | undefined;
|
223
223
|
}, {
|
224
224
|
state: string;
|
225
225
|
address: string;
|
226
226
|
city: string;
|
227
227
|
zip: string;
|
228
|
-
phone?: string | null | undefined;
|
229
|
-
relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
|
230
228
|
first_name?: string | null | undefined;
|
231
229
|
last_name?: string | null | undefined;
|
230
|
+
phone?: string | null | undefined;
|
231
|
+
relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
|
232
232
|
middle_name?: string | null | undefined;
|
233
233
|
}>>>;
|
234
234
|
insurances: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
@@ -260,17 +260,17 @@ export declare const patientSchema: z.ZodObject<{
|
|
260
260
|
relationship_to_insured: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
261
261
|
}, "strict", z.ZodTypeAny, {
|
262
262
|
rank: "secondary" | "primary" | "tertiary";
|
263
|
-
|
264
|
-
member_id?: string | null | undefined;
|
265
|
-
group_id?: string | null | undefined;
|
266
|
-
plan?: string | null | undefined;
|
267
|
-
phone?: string | null | undefined;
|
268
|
-
extension?: string | null | undefined;
|
263
|
+
state?: string | null | undefined;
|
269
264
|
address?: string | null | undefined;
|
270
265
|
suite?: string | null | undefined;
|
266
|
+
extension?: string | null | undefined;
|
267
|
+
phone?: string | null | undefined;
|
271
268
|
city?: string | null | undefined;
|
272
|
-
state?: string | null | undefined;
|
273
269
|
zip?: string | null | undefined;
|
270
|
+
carrier?: string | null | undefined;
|
271
|
+
member_id?: string | null | undefined;
|
272
|
+
group_id?: string | null | undefined;
|
273
|
+
plan?: string | null | undefined;
|
274
274
|
copay?: number | null | undefined;
|
275
275
|
deductible?: number | null | undefined;
|
276
276
|
payment_program?: "Medicare Part B" | "Medicare Advantage" | "Medicaid" | "Commercial - HMSA" | "Commercial - SFHP" | "Commercial - Other" | "Worker's Compensation" | null | undefined;
|
@@ -282,22 +282,22 @@ export declare const patientSchema: z.ZodObject<{
|
|
282
282
|
insured_person_zip?: string | null | undefined;
|
283
283
|
insured_person_id?: string | null | undefined;
|
284
284
|
insured_person_dob?: string | null | undefined;
|
285
|
-
insured_person_gender?: "
|
285
|
+
insured_person_gender?: "X" | "M" | "F" | "U" | null | undefined;
|
286
286
|
insured_person_ssn?: string | null | undefined;
|
287
287
|
relationship_to_insured?: string | null | undefined;
|
288
288
|
}, {
|
289
289
|
rank: "secondary" | "primary" | "tertiary";
|
290
|
-
|
291
|
-
member_id?: string | null | undefined;
|
292
|
-
group_id?: string | null | undefined;
|
293
|
-
plan?: string | null | undefined;
|
294
|
-
phone?: string | null | undefined;
|
295
|
-
extension?: string | null | undefined;
|
290
|
+
state?: string | null | undefined;
|
296
291
|
address?: string | null | undefined;
|
297
292
|
suite?: string | null | undefined;
|
293
|
+
extension?: string | null | undefined;
|
294
|
+
phone?: string | null | undefined;
|
298
295
|
city?: string | null | undefined;
|
299
|
-
state?: string | null | undefined;
|
300
296
|
zip?: string | null | undefined;
|
297
|
+
carrier?: string | null | undefined;
|
298
|
+
member_id?: string | null | undefined;
|
299
|
+
group_id?: string | null | undefined;
|
300
|
+
plan?: string | null | undefined;
|
301
301
|
copay?: number | null | undefined;
|
302
302
|
deductible?: number | null | undefined;
|
303
303
|
payment_program?: "Medicare Part B" | "Medicare Advantage" | "Medicaid" | "Commercial - HMSA" | "Commercial - SFHP" | "Commercial - Other" | "Worker's Compensation" | null | undefined;
|
@@ -309,7 +309,7 @@ export declare const patientSchema: z.ZodObject<{
|
|
309
309
|
insured_person_zip?: string | null | undefined;
|
310
310
|
insured_person_id?: string | null | undefined;
|
311
311
|
insured_person_dob?: Date | null | undefined;
|
312
|
-
insured_person_gender?: "
|
312
|
+
insured_person_gender?: "X" | "M" | "F" | "U" | null | undefined;
|
313
313
|
insured_person_ssn?: string | null | undefined;
|
314
314
|
relationship_to_insured?: string | null | undefined;
|
315
315
|
}>, "many">>>;
|
@@ -342,17 +342,17 @@ export declare const patientSchema: z.ZodObject<{
|
|
342
342
|
relationship_to_insured: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
343
343
|
}, "strict", z.ZodTypeAny, {
|
344
344
|
rank: "secondary" | "primary" | "tertiary";
|
345
|
-
|
346
|
-
member_id?: string | null | undefined;
|
347
|
-
group_id?: string | null | undefined;
|
348
|
-
plan?: string | null | undefined;
|
349
|
-
phone?: string | null | undefined;
|
350
|
-
extension?: string | null | undefined;
|
345
|
+
state?: string | null | undefined;
|
351
346
|
address?: string | null | undefined;
|
352
347
|
suite?: string | null | undefined;
|
348
|
+
extension?: string | null | undefined;
|
349
|
+
phone?: string | null | undefined;
|
353
350
|
city?: string | null | undefined;
|
354
|
-
state?: string | null | undefined;
|
355
351
|
zip?: string | null | undefined;
|
352
|
+
carrier?: string | null | undefined;
|
353
|
+
member_id?: string | null | undefined;
|
354
|
+
group_id?: string | null | undefined;
|
355
|
+
plan?: string | null | undefined;
|
356
356
|
copay?: number | null | undefined;
|
357
357
|
deductible?: number | null | undefined;
|
358
358
|
payment_program?: "Medicare Part B" | "Medicare Advantage" | "Medicaid" | "Commercial - HMSA" | "Commercial - SFHP" | "Commercial - Other" | "Worker's Compensation" | null | undefined;
|
@@ -364,22 +364,22 @@ export declare const patientSchema: z.ZodObject<{
|
|
364
364
|
insured_person_zip?: string | null | undefined;
|
365
365
|
insured_person_id?: string | null | undefined;
|
366
366
|
insured_person_dob?: string | null | undefined;
|
367
|
-
insured_person_gender?: "
|
367
|
+
insured_person_gender?: "X" | "M" | "F" | "U" | null | undefined;
|
368
368
|
insured_person_ssn?: string | null | undefined;
|
369
369
|
relationship_to_insured?: string | null | undefined;
|
370
370
|
}, {
|
371
371
|
rank: "secondary" | "primary" | "tertiary";
|
372
|
-
|
373
|
-
member_id?: string | null | undefined;
|
374
|
-
group_id?: string | null | undefined;
|
375
|
-
plan?: string | null | undefined;
|
376
|
-
phone?: string | null | undefined;
|
377
|
-
extension?: string | null | undefined;
|
372
|
+
state?: string | null | undefined;
|
378
373
|
address?: string | null | undefined;
|
379
374
|
suite?: string | null | undefined;
|
375
|
+
extension?: string | null | undefined;
|
376
|
+
phone?: string | null | undefined;
|
380
377
|
city?: string | null | undefined;
|
381
|
-
state?: string | null | undefined;
|
382
378
|
zip?: string | null | undefined;
|
379
|
+
carrier?: string | null | undefined;
|
380
|
+
member_id?: string | null | undefined;
|
381
|
+
group_id?: string | null | undefined;
|
382
|
+
plan?: string | null | undefined;
|
383
383
|
copay?: number | null | undefined;
|
384
384
|
deductible?: number | null | undefined;
|
385
385
|
payment_program?: "Medicare Part B" | "Medicare Advantage" | "Medicaid" | "Commercial - HMSA" | "Commercial - SFHP" | "Commercial - Other" | "Worker's Compensation" | null | undefined;
|
@@ -391,7 +391,7 @@ export declare const patientSchema: z.ZodObject<{
|
|
391
391
|
insured_person_zip?: string | null | undefined;
|
392
392
|
insured_person_id?: string | null | undefined;
|
393
393
|
insured_person_dob?: Date | null | undefined;
|
394
|
-
insured_person_gender?: "
|
394
|
+
insured_person_gender?: "X" | "M" | "F" | "U" | null | undefined;
|
395
395
|
insured_person_ssn?: string | null | undefined;
|
396
396
|
relationship_to_insured?: string | null | undefined;
|
397
397
|
}>, "many">>>;
|
@@ -433,25 +433,25 @@ export declare const patientSchema: z.ZodObject<{
|
|
433
433
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
434
434
|
zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
435
435
|
}, "strict", z.ZodTypeAny, {
|
436
|
+
state?: string | null | undefined;
|
436
437
|
first_name?: string | null | undefined;
|
437
438
|
last_name?: string | null | undefined;
|
438
|
-
relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
|
439
439
|
phone?: string | null | undefined;
|
440
|
-
address_line1?: string | null | undefined;
|
441
|
-
address_line2?: string | null | undefined;
|
442
440
|
city?: string | null | undefined;
|
443
|
-
state?: string | null | undefined;
|
444
441
|
zip?: string | null | undefined;
|
442
|
+
relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
|
443
|
+
address_line1?: string | null | undefined;
|
444
|
+
address_line2?: string | null | undefined;
|
445
445
|
}, {
|
446
|
+
state?: string | null | undefined;
|
446
447
|
first_name?: string | null | undefined;
|
447
448
|
last_name?: string | null | undefined;
|
448
|
-
relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
|
449
449
|
phone?: string | null | undefined;
|
450
|
-
address_line1?: string | null | undefined;
|
451
|
-
address_line2?: string | null | undefined;
|
452
450
|
city?: string | null | undefined;
|
453
|
-
state?: string | null | undefined;
|
454
451
|
zip?: string | null | undefined;
|
452
|
+
relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
|
453
|
+
address_line1?: string | null | undefined;
|
454
|
+
address_line2?: string | null | undefined;
|
455
455
|
}>>>;
|
456
456
|
primary_care_provider_npi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
457
457
|
previous_first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -478,25 +478,27 @@ export declare const patientSchema: z.ZodObject<{
|
|
478
478
|
primary_physician: number;
|
479
479
|
caregiver_practice: number;
|
480
480
|
dob: string;
|
481
|
+
address?: {
|
482
|
+
state: string;
|
483
|
+
city: string;
|
484
|
+
zip: string;
|
485
|
+
address_line1: string;
|
486
|
+
address_line2?: string | null | undefined;
|
487
|
+
} | null | undefined;
|
488
|
+
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
489
|
+
preferred_language?: string | null | undefined;
|
490
|
+
tags?: string[] | null | undefined;
|
481
491
|
middle_name?: string | null | undefined;
|
492
|
+
notes?: string | null | undefined;
|
482
493
|
actual_name?: string | null | undefined;
|
483
494
|
gender_identity?: "unknown" | "man" | "woman" | "transgender_man" | "transgender_woman" | "nonbinary" | "option_not_listed" | "prefer_not_to_say" | "two_spirit" | null | undefined;
|
484
|
-
legal_gender_marker?: "
|
495
|
+
legal_gender_marker?: "X" | "M" | "F" | "U" | null | undefined;
|
485
496
|
pronouns?: "he_him_his" | "she_her_hers" | "they_them_theirs" | "not_listed" | null | undefined;
|
486
497
|
sexual_orientation?: "unknown" | "option_not_listed" | "prefer_not_to_say" | "straight" | "gay" | "bisexual" | "lesbian" | "queer" | "asexual" | null | undefined;
|
487
498
|
ssn?: string | null | undefined;
|
488
499
|
race?: "Other" | "No race specified" | "American Indian or Alaska Native" | "Asian" | "Black or African American" | "Native Hawaiian or Other Pacific Islander" | "White" | "Declined to specify" | null | undefined;
|
489
|
-
preferred_language?: string | null | undefined;
|
490
500
|
ethnicity?: "Unknown" | "Declined to specify" | "No ethnicity specified" | "Hispanic or Latino" | "Not Hispanic or Latino" | null | undefined;
|
491
|
-
notes?: string | null | undefined;
|
492
501
|
vip?: boolean | null | undefined;
|
493
|
-
address?: {
|
494
|
-
state: string;
|
495
|
-
city: string;
|
496
|
-
zip: string;
|
497
|
-
address_line1: string;
|
498
|
-
address_line2?: string | null | undefined;
|
499
|
-
} | null | undefined;
|
500
502
|
phones?: {
|
501
503
|
phone: string;
|
502
504
|
phone_type: "Other" | "Home" | "Mobile" | "Main" | "Work" | "Night" | "Fax";
|
@@ -509,25 +511,25 @@ export declare const patientSchema: z.ZodObject<{
|
|
509
511
|
address: string;
|
510
512
|
city: string;
|
511
513
|
zip: string;
|
512
|
-
phone?: string | null | undefined;
|
513
|
-
relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
|
514
514
|
first_name?: string | null | undefined;
|
515
515
|
last_name?: string | null | undefined;
|
516
|
+
phone?: string | null | undefined;
|
517
|
+
relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
|
516
518
|
middle_name?: string | null | undefined;
|
517
519
|
} | null | undefined;
|
518
520
|
insurances?: {
|
519
521
|
rank: "secondary" | "primary" | "tertiary";
|
520
|
-
|
521
|
-
member_id?: string | null | undefined;
|
522
|
-
group_id?: string | null | undefined;
|
523
|
-
plan?: string | null | undefined;
|
524
|
-
phone?: string | null | undefined;
|
525
|
-
extension?: string | null | undefined;
|
522
|
+
state?: string | null | undefined;
|
526
523
|
address?: string | null | undefined;
|
527
524
|
suite?: string | null | undefined;
|
525
|
+
extension?: string | null | undefined;
|
526
|
+
phone?: string | null | undefined;
|
528
527
|
city?: string | null | undefined;
|
529
|
-
state?: string | null | undefined;
|
530
528
|
zip?: string | null | undefined;
|
529
|
+
carrier?: string | null | undefined;
|
530
|
+
member_id?: string | null | undefined;
|
531
|
+
group_id?: string | null | undefined;
|
532
|
+
plan?: string | null | undefined;
|
531
533
|
copay?: number | null | undefined;
|
532
534
|
deductible?: number | null | undefined;
|
533
535
|
payment_program?: "Medicare Part B" | "Medicare Advantage" | "Medicaid" | "Commercial - HMSA" | "Commercial - SFHP" | "Commercial - Other" | "Worker's Compensation" | null | undefined;
|
@@ -539,23 +541,23 @@ export declare const patientSchema: z.ZodObject<{
|
|
539
541
|
insured_person_zip?: string | null | undefined;
|
540
542
|
insured_person_id?: string | null | undefined;
|
541
543
|
insured_person_dob?: string | null | undefined;
|
542
|
-
insured_person_gender?: "
|
544
|
+
insured_person_gender?: "X" | "M" | "F" | "U" | null | undefined;
|
543
545
|
insured_person_ssn?: string | null | undefined;
|
544
546
|
relationship_to_insured?: string | null | undefined;
|
545
547
|
}[] | null | undefined;
|
546
548
|
deleted_insurances?: {
|
547
549
|
rank: "secondary" | "primary" | "tertiary";
|
548
|
-
|
549
|
-
member_id?: string | null | undefined;
|
550
|
-
group_id?: string | null | undefined;
|
551
|
-
plan?: string | null | undefined;
|
552
|
-
phone?: string | null | undefined;
|
553
|
-
extension?: string | null | undefined;
|
550
|
+
state?: string | null | undefined;
|
554
551
|
address?: string | null | undefined;
|
555
552
|
suite?: string | null | undefined;
|
553
|
+
extension?: string | null | undefined;
|
554
|
+
phone?: string | null | undefined;
|
556
555
|
city?: string | null | undefined;
|
557
|
-
state?: string | null | undefined;
|
558
556
|
zip?: string | null | undefined;
|
557
|
+
carrier?: string | null | undefined;
|
558
|
+
member_id?: string | null | undefined;
|
559
|
+
group_id?: string | null | undefined;
|
560
|
+
plan?: string | null | undefined;
|
559
561
|
copay?: number | null | undefined;
|
560
562
|
deductible?: number | null | undefined;
|
561
563
|
payment_program?: "Medicare Part B" | "Medicare Advantage" | "Medicaid" | "Commercial - HMSA" | "Commercial - SFHP" | "Commercial - Other" | "Worker's Compensation" | null | undefined;
|
@@ -567,11 +569,10 @@ export declare const patientSchema: z.ZodObject<{
|
|
567
569
|
insured_person_zip?: string | null | undefined;
|
568
570
|
insured_person_id?: string | null | undefined;
|
569
571
|
insured_person_dob?: string | null | undefined;
|
570
|
-
insured_person_gender?: "
|
572
|
+
insured_person_gender?: "X" | "M" | "F" | "U" | null | undefined;
|
571
573
|
insured_person_ssn?: string | null | undefined;
|
572
574
|
relationship_to_insured?: string | null | undefined;
|
573
575
|
}[] | null | undefined;
|
574
|
-
tags?: string[] | null | undefined;
|
575
576
|
patient_status?: {
|
576
577
|
status: "active" | "inactive" | "deceased" | "prospect";
|
577
578
|
deceased_date?: string | null | undefined;
|
@@ -583,15 +584,15 @@ export declare const patientSchema: z.ZodObject<{
|
|
583
584
|
preferred_pharmacy_2?: string | null | undefined;
|
584
585
|
} | null | undefined;
|
585
586
|
emergency_contact?: {
|
587
|
+
state?: string | null | undefined;
|
586
588
|
first_name?: string | null | undefined;
|
587
589
|
last_name?: string | null | undefined;
|
588
|
-
relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
|
589
590
|
phone?: string | null | undefined;
|
590
|
-
address_line1?: string | null | undefined;
|
591
|
-
address_line2?: string | null | undefined;
|
592
591
|
city?: string | null | undefined;
|
593
|
-
state?: string | null | undefined;
|
594
592
|
zip?: string | null | undefined;
|
593
|
+
relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
|
594
|
+
address_line1?: string | null | undefined;
|
595
|
+
address_line2?: string | null | undefined;
|
595
596
|
} | null | undefined;
|
596
597
|
primary_care_provider_npi?: string | null | undefined;
|
597
598
|
previous_first_name?: string | null | undefined;
|
@@ -602,7 +603,6 @@ export declare const patientSchema: z.ZodObject<{
|
|
602
603
|
name: string;
|
603
604
|
description: string;
|
604
605
|
} | null | undefined;
|
605
|
-
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
606
606
|
}, {
|
607
607
|
first_name: string;
|
608
608
|
last_name: string;
|
@@ -610,25 +610,27 @@ export declare const patientSchema: z.ZodObject<{
|
|
610
610
|
primary_physician: number;
|
611
611
|
caregiver_practice: number;
|
612
612
|
dob: Date;
|
613
|
+
address?: {
|
614
|
+
state: string;
|
615
|
+
city: string;
|
616
|
+
zip: string;
|
617
|
+
address_line1: string;
|
618
|
+
address_line2?: string | null | undefined;
|
619
|
+
} | null | undefined;
|
620
|
+
metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
621
|
+
preferred_language?: string | null | undefined;
|
622
|
+
tags?: string[] | null | undefined;
|
613
623
|
middle_name?: string | null | undefined;
|
624
|
+
notes?: string | null | undefined;
|
614
625
|
actual_name?: string | null | undefined;
|
615
626
|
gender_identity?: "unknown" | "man" | "woman" | "transgender_man" | "transgender_woman" | "nonbinary" | "option_not_listed" | "prefer_not_to_say" | "two_spirit" | null | undefined;
|
616
|
-
legal_gender_marker?: "
|
627
|
+
legal_gender_marker?: "X" | "M" | "F" | "U" | null | undefined;
|
617
628
|
pronouns?: "he_him_his" | "she_her_hers" | "they_them_theirs" | "not_listed" | null | undefined;
|
618
629
|
sexual_orientation?: "unknown" | "option_not_listed" | "prefer_not_to_say" | "straight" | "gay" | "bisexual" | "lesbian" | "queer" | "asexual" | null | undefined;
|
619
630
|
ssn?: string | null | undefined;
|
620
631
|
race?: "Other" | "No race specified" | "American Indian or Alaska Native" | "Asian" | "Black or African American" | "Native Hawaiian or Other Pacific Islander" | "White" | "Declined to specify" | null | undefined;
|
621
|
-
preferred_language?: string | null | undefined;
|
622
632
|
ethnicity?: "Unknown" | "Declined to specify" | "No ethnicity specified" | "Hispanic or Latino" | "Not Hispanic or Latino" | null | undefined;
|
623
|
-
notes?: string | null | undefined;
|
624
633
|
vip?: boolean | null | undefined;
|
625
|
-
address?: {
|
626
|
-
state: string;
|
627
|
-
city: string;
|
628
|
-
zip: string;
|
629
|
-
address_line1: string;
|
630
|
-
address_line2?: string | null | undefined;
|
631
|
-
} | null | undefined;
|
632
634
|
phones?: {
|
633
635
|
phone: string;
|
634
636
|
phone_type: "Other" | "Home" | "Mobile" | "Main" | "Work" | "Night" | "Fax";
|
@@ -641,25 +643,25 @@ export declare const patientSchema: z.ZodObject<{
|
|
641
643
|
address: string;
|
642
644
|
city: string;
|
643
645
|
zip: string;
|
644
|
-
phone?: string | null | undefined;
|
645
|
-
relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
|
646
646
|
first_name?: string | null | undefined;
|
647
647
|
last_name?: string | null | undefined;
|
648
|
+
phone?: string | null | undefined;
|
649
|
+
relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
|
648
650
|
middle_name?: string | null | undefined;
|
649
651
|
} | null | undefined;
|
650
652
|
insurances?: {
|
651
653
|
rank: "secondary" | "primary" | "tertiary";
|
652
|
-
|
653
|
-
member_id?: string | null | undefined;
|
654
|
-
group_id?: string | null | undefined;
|
655
|
-
plan?: string | null | undefined;
|
656
|
-
phone?: string | null | undefined;
|
657
|
-
extension?: string | null | undefined;
|
654
|
+
state?: string | null | undefined;
|
658
655
|
address?: string | null | undefined;
|
659
656
|
suite?: string | null | undefined;
|
657
|
+
extension?: string | null | undefined;
|
658
|
+
phone?: string | null | undefined;
|
660
659
|
city?: string | null | undefined;
|
661
|
-
state?: string | null | undefined;
|
662
660
|
zip?: string | null | undefined;
|
661
|
+
carrier?: string | null | undefined;
|
662
|
+
member_id?: string | null | undefined;
|
663
|
+
group_id?: string | null | undefined;
|
664
|
+
plan?: string | null | undefined;
|
663
665
|
copay?: number | null | undefined;
|
664
666
|
deductible?: number | null | undefined;
|
665
667
|
payment_program?: "Medicare Part B" | "Medicare Advantage" | "Medicaid" | "Commercial - HMSA" | "Commercial - SFHP" | "Commercial - Other" | "Worker's Compensation" | null | undefined;
|
@@ -671,23 +673,23 @@ export declare const patientSchema: z.ZodObject<{
|
|
671
673
|
insured_person_zip?: string | null | undefined;
|
672
674
|
insured_person_id?: string | null | undefined;
|
673
675
|
insured_person_dob?: Date | null | undefined;
|
674
|
-
insured_person_gender?: "
|
676
|
+
insured_person_gender?: "X" | "M" | "F" | "U" | null | undefined;
|
675
677
|
insured_person_ssn?: string | null | undefined;
|
676
678
|
relationship_to_insured?: string | null | undefined;
|
677
679
|
}[] | null | undefined;
|
678
680
|
deleted_insurances?: {
|
679
681
|
rank: "secondary" | "primary" | "tertiary";
|
680
|
-
|
681
|
-
member_id?: string | null | undefined;
|
682
|
-
group_id?: string | null | undefined;
|
683
|
-
plan?: string | null | undefined;
|
684
|
-
phone?: string | null | undefined;
|
685
|
-
extension?: string | null | undefined;
|
682
|
+
state?: string | null | undefined;
|
686
683
|
address?: string | null | undefined;
|
687
684
|
suite?: string | null | undefined;
|
685
|
+
extension?: string | null | undefined;
|
686
|
+
phone?: string | null | undefined;
|
688
687
|
city?: string | null | undefined;
|
689
|
-
state?: string | null | undefined;
|
690
688
|
zip?: string | null | undefined;
|
689
|
+
carrier?: string | null | undefined;
|
690
|
+
member_id?: string | null | undefined;
|
691
|
+
group_id?: string | null | undefined;
|
692
|
+
plan?: string | null | undefined;
|
691
693
|
copay?: number | null | undefined;
|
692
694
|
deductible?: number | null | undefined;
|
693
695
|
payment_program?: "Medicare Part B" | "Medicare Advantage" | "Medicaid" | "Commercial - HMSA" | "Commercial - SFHP" | "Commercial - Other" | "Worker's Compensation" | null | undefined;
|
@@ -699,11 +701,10 @@ export declare const patientSchema: z.ZodObject<{
|
|
699
701
|
insured_person_zip?: string | null | undefined;
|
700
702
|
insured_person_id?: string | null | undefined;
|
701
703
|
insured_person_dob?: Date | null | undefined;
|
702
|
-
insured_person_gender?: "
|
704
|
+
insured_person_gender?: "X" | "M" | "F" | "U" | null | undefined;
|
703
705
|
insured_person_ssn?: string | null | undefined;
|
704
706
|
relationship_to_insured?: string | null | undefined;
|
705
707
|
}[] | null | undefined;
|
706
|
-
tags?: string[] | null | undefined;
|
707
708
|
patient_status?: {
|
708
709
|
status: "active" | "inactive" | "deceased" | "prospect";
|
709
710
|
deceased_date?: Date | null | undefined;
|
@@ -715,15 +716,15 @@ export declare const patientSchema: z.ZodObject<{
|
|
715
716
|
preferred_pharmacy_2?: string | null | undefined;
|
716
717
|
} | null | undefined;
|
717
718
|
emergency_contact?: {
|
719
|
+
state?: string | null | undefined;
|
718
720
|
first_name?: string | null | undefined;
|
719
721
|
last_name?: string | null | undefined;
|
720
|
-
relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
|
721
722
|
phone?: string | null | undefined;
|
722
|
-
address_line1?: string | null | undefined;
|
723
|
-
address_line2?: string | null | undefined;
|
724
723
|
city?: string | null | undefined;
|
725
|
-
state?: string | null | undefined;
|
726
724
|
zip?: string | null | undefined;
|
725
|
+
relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
|
726
|
+
address_line1?: string | null | undefined;
|
727
|
+
address_line2?: string | null | undefined;
|
727
728
|
} | null | undefined;
|
728
729
|
primary_care_provider_npi?: string | null | undefined;
|
729
730
|
previous_first_name?: string | null | undefined;
|
@@ -734,7 +735,6 @@ export declare const patientSchema: z.ZodObject<{
|
|
734
735
|
name: string;
|
735
736
|
description: string;
|
736
737
|
} | null | undefined;
|
737
|
-
metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
738
738
|
}>;
|
739
739
|
export declare const updatePatientSchema: z.ZodObject<{
|
740
740
|
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -806,20 +806,20 @@ export declare const updatePatientSchema: z.ZodObject<{
|
|
806
806
|
address: string;
|
807
807
|
city: string;
|
808
808
|
zip: string;
|
809
|
-
phone?: string | null | undefined;
|
810
|
-
relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
|
811
809
|
first_name?: string | null | undefined;
|
812
810
|
last_name?: string | null | undefined;
|
811
|
+
phone?: string | null | undefined;
|
812
|
+
relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
|
813
813
|
middle_name?: string | null | undefined;
|
814
814
|
}, {
|
815
815
|
state: string;
|
816
816
|
address: string;
|
817
817
|
city: string;
|
818
818
|
zip: string;
|
819
|
-
phone?: string | null | undefined;
|
820
|
-
relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
|
821
819
|
first_name?: string | null | undefined;
|
822
820
|
last_name?: string | null | undefined;
|
821
|
+
phone?: string | null | undefined;
|
822
|
+
relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
|
823
823
|
middle_name?: string | null | undefined;
|
824
824
|
}>>>;
|
825
825
|
insurances: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
@@ -851,17 +851,17 @@ export declare const updatePatientSchema: z.ZodObject<{
|
|
851
851
|
relationship_to_insured: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
852
852
|
}, "strict", z.ZodTypeAny, {
|
853
853
|
rank: "secondary" | "primary" | "tertiary";
|
854
|
-
|
855
|
-
member_id?: string | null | undefined;
|
856
|
-
group_id?: string | null | undefined;
|
857
|
-
plan?: string | null | undefined;
|
858
|
-
phone?: string | null | undefined;
|
859
|
-
extension?: string | null | undefined;
|
854
|
+
state?: string | null | undefined;
|
860
855
|
address?: string | null | undefined;
|
861
856
|
suite?: string | null | undefined;
|
857
|
+
extension?: string | null | undefined;
|
858
|
+
phone?: string | null | undefined;
|
862
859
|
city?: string | null | undefined;
|
863
|
-
state?: string | null | undefined;
|
864
860
|
zip?: string | null | undefined;
|
861
|
+
carrier?: string | null | undefined;
|
862
|
+
member_id?: string | null | undefined;
|
863
|
+
group_id?: string | null | undefined;
|
864
|
+
plan?: string | null | undefined;
|
865
865
|
copay?: number | null | undefined;
|
866
866
|
deductible?: number | null | undefined;
|
867
867
|
payment_program?: "Medicare Part B" | "Medicare Advantage" | "Medicaid" | "Commercial - HMSA" | "Commercial - SFHP" | "Commercial - Other" | "Worker's Compensation" | null | undefined;
|
@@ -873,22 +873,22 @@ export declare const updatePatientSchema: z.ZodObject<{
|
|
873
873
|
insured_person_zip?: string | null | undefined;
|
874
874
|
insured_person_id?: string | null | undefined;
|
875
875
|
insured_person_dob?: string | null | undefined;
|
876
|
-
insured_person_gender?: "
|
876
|
+
insured_person_gender?: "X" | "M" | "F" | "U" | null | undefined;
|
877
877
|
insured_person_ssn?: string | null | undefined;
|
878
878
|
relationship_to_insured?: string | null | undefined;
|
879
879
|
}, {
|
880
880
|
rank: "secondary" | "primary" | "tertiary";
|
881
|
-
|
882
|
-
member_id?: string | null | undefined;
|
883
|
-
group_id?: string | null | undefined;
|
884
|
-
plan?: string | null | undefined;
|
885
|
-
phone?: string | null | undefined;
|
886
|
-
extension?: string | null | undefined;
|
881
|
+
state?: string | null | undefined;
|
887
882
|
address?: string | null | undefined;
|
888
883
|
suite?: string | null | undefined;
|
884
|
+
extension?: string | null | undefined;
|
885
|
+
phone?: string | null | undefined;
|
889
886
|
city?: string | null | undefined;
|
890
|
-
state?: string | null | undefined;
|
891
887
|
zip?: string | null | undefined;
|
888
|
+
carrier?: string | null | undefined;
|
889
|
+
member_id?: string | null | undefined;
|
890
|
+
group_id?: string | null | undefined;
|
891
|
+
plan?: string | null | undefined;
|
892
892
|
copay?: number | null | undefined;
|
893
893
|
deductible?: number | null | undefined;
|
894
894
|
payment_program?: "Medicare Part B" | "Medicare Advantage" | "Medicaid" | "Commercial - HMSA" | "Commercial - SFHP" | "Commercial - Other" | "Worker's Compensation" | null | undefined;
|
@@ -900,7 +900,7 @@ export declare const updatePatientSchema: z.ZodObject<{
|
|
900
900
|
insured_person_zip?: string | null | undefined;
|
901
901
|
insured_person_id?: string | null | undefined;
|
902
902
|
insured_person_dob?: Date | null | undefined;
|
903
|
-
insured_person_gender?: "
|
903
|
+
insured_person_gender?: "X" | "M" | "F" | "U" | null | undefined;
|
904
904
|
insured_person_ssn?: string | null | undefined;
|
905
905
|
relationship_to_insured?: string | null | undefined;
|
906
906
|
}>, "many">>>;
|
@@ -933,17 +933,17 @@ export declare const updatePatientSchema: z.ZodObject<{
|
|
933
933
|
relationship_to_insured: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
934
934
|
}, "strict", z.ZodTypeAny, {
|
935
935
|
rank: "secondary" | "primary" | "tertiary";
|
936
|
-
|
937
|
-
member_id?: string | null | undefined;
|
938
|
-
group_id?: string | null | undefined;
|
939
|
-
plan?: string | null | undefined;
|
940
|
-
phone?: string | null | undefined;
|
941
|
-
extension?: string | null | undefined;
|
936
|
+
state?: string | null | undefined;
|
942
937
|
address?: string | null | undefined;
|
943
938
|
suite?: string | null | undefined;
|
939
|
+
extension?: string | null | undefined;
|
940
|
+
phone?: string | null | undefined;
|
944
941
|
city?: string | null | undefined;
|
945
|
-
state?: string | null | undefined;
|
946
942
|
zip?: string | null | undefined;
|
943
|
+
carrier?: string | null | undefined;
|
944
|
+
member_id?: string | null | undefined;
|
945
|
+
group_id?: string | null | undefined;
|
946
|
+
plan?: string | null | undefined;
|
947
947
|
copay?: number | null | undefined;
|
948
948
|
deductible?: number | null | undefined;
|
949
949
|
payment_program?: "Medicare Part B" | "Medicare Advantage" | "Medicaid" | "Commercial - HMSA" | "Commercial - SFHP" | "Commercial - Other" | "Worker's Compensation" | null | undefined;
|
@@ -955,22 +955,22 @@ export declare const updatePatientSchema: z.ZodObject<{
|
|
955
955
|
insured_person_zip?: string | null | undefined;
|
956
956
|
insured_person_id?: string | null | undefined;
|
957
957
|
insured_person_dob?: string | null | undefined;
|
958
|
-
insured_person_gender?: "
|
958
|
+
insured_person_gender?: "X" | "M" | "F" | "U" | null | undefined;
|
959
959
|
insured_person_ssn?: string | null | undefined;
|
960
960
|
relationship_to_insured?: string | null | undefined;
|
961
961
|
}, {
|
962
962
|
rank: "secondary" | "primary" | "tertiary";
|
963
|
-
|
964
|
-
member_id?: string | null | undefined;
|
965
|
-
group_id?: string | null | undefined;
|
966
|
-
plan?: string | null | undefined;
|
967
|
-
phone?: string | null | undefined;
|
968
|
-
extension?: string | null | undefined;
|
963
|
+
state?: string | null | undefined;
|
969
964
|
address?: string | null | undefined;
|
970
965
|
suite?: string | null | undefined;
|
966
|
+
extension?: string | null | undefined;
|
967
|
+
phone?: string | null | undefined;
|
971
968
|
city?: string | null | undefined;
|
972
|
-
state?: string | null | undefined;
|
973
969
|
zip?: string | null | undefined;
|
970
|
+
carrier?: string | null | undefined;
|
971
|
+
member_id?: string | null | undefined;
|
972
|
+
group_id?: string | null | undefined;
|
973
|
+
plan?: string | null | undefined;
|
974
974
|
copay?: number | null | undefined;
|
975
975
|
deductible?: number | null | undefined;
|
976
976
|
payment_program?: "Medicare Part B" | "Medicare Advantage" | "Medicaid" | "Commercial - HMSA" | "Commercial - SFHP" | "Commercial - Other" | "Worker's Compensation" | null | undefined;
|
@@ -982,7 +982,7 @@ export declare const updatePatientSchema: z.ZodObject<{
|
|
982
982
|
insured_person_zip?: string | null | undefined;
|
983
983
|
insured_person_id?: string | null | undefined;
|
984
984
|
insured_person_dob?: Date | null | undefined;
|
985
|
-
insured_person_gender?: "
|
985
|
+
insured_person_gender?: "X" | "M" | "F" | "U" | null | undefined;
|
986
986
|
insured_person_ssn?: string | null | undefined;
|
987
987
|
relationship_to_insured?: string | null | undefined;
|
988
988
|
}>, "many">>>;
|
@@ -1024,25 +1024,25 @@ export declare const updatePatientSchema: z.ZodObject<{
|
|
1024
1024
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1025
1025
|
zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1026
1026
|
}, "strict", z.ZodTypeAny, {
|
1027
|
+
state?: string | null | undefined;
|
1027
1028
|
first_name?: string | null | undefined;
|
1028
1029
|
last_name?: string | null | undefined;
|
1029
|
-
relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
|
1030
1030
|
phone?: string | null | undefined;
|
1031
|
-
address_line1?: string | null | undefined;
|
1032
|
-
address_line2?: string | null | undefined;
|
1033
1031
|
city?: string | null | undefined;
|
1034
|
-
state?: string | null | undefined;
|
1035
1032
|
zip?: string | null | undefined;
|
1033
|
+
relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
|
1034
|
+
address_line1?: string | null | undefined;
|
1035
|
+
address_line2?: string | null | undefined;
|
1036
1036
|
}, {
|
1037
|
+
state?: string | null | undefined;
|
1037
1038
|
first_name?: string | null | undefined;
|
1038
1039
|
last_name?: string | null | undefined;
|
1039
|
-
relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
|
1040
1040
|
phone?: string | null | undefined;
|
1041
|
-
address_line1?: string | null | undefined;
|
1042
|
-
address_line2?: string | null | undefined;
|
1043
1041
|
city?: string | null | undefined;
|
1044
|
-
state?: string | null | undefined;
|
1045
1042
|
zip?: string | null | undefined;
|
1043
|
+
relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
|
1044
|
+
address_line1?: string | null | undefined;
|
1045
|
+
address_line2?: string | null | undefined;
|
1046
1046
|
}>>>;
|
1047
1047
|
primary_care_provider_npi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1048
1048
|
previous_first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -1063,31 +1063,33 @@ export declare const updatePatientSchema: z.ZodObject<{
|
|
1063
1063
|
}>>>;
|
1064
1064
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>;
|
1065
1065
|
}, "strict", z.ZodTypeAny, {
|
1066
|
+
address?: {
|
1067
|
+
state: string;
|
1068
|
+
city: string;
|
1069
|
+
zip: string;
|
1070
|
+
address_line1: string;
|
1071
|
+
address_line2?: string | null | undefined;
|
1072
|
+
} | null | undefined;
|
1073
|
+
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
1066
1074
|
first_name?: string | null | undefined;
|
1067
|
-
middle_name?: string | null | undefined;
|
1068
1075
|
last_name?: string | null | undefined;
|
1076
|
+
preferred_language?: string | null | undefined;
|
1077
|
+
sex?: "Male" | "Female" | "Other" | "Unknown" | null | undefined;
|
1078
|
+
tags?: string[] | null | undefined;
|
1079
|
+
middle_name?: string | null | undefined;
|
1080
|
+
notes?: string | null | undefined;
|
1069
1081
|
actual_name?: string | null | undefined;
|
1070
1082
|
gender_identity?: "unknown" | "man" | "woman" | "transgender_man" | "transgender_woman" | "nonbinary" | "option_not_listed" | "prefer_not_to_say" | "two_spirit" | null | undefined;
|
1071
|
-
legal_gender_marker?: "
|
1083
|
+
legal_gender_marker?: "X" | "M" | "F" | "U" | null | undefined;
|
1072
1084
|
pronouns?: "he_him_his" | "she_her_hers" | "they_them_theirs" | "not_listed" | null | undefined;
|
1073
|
-
sex?: "Male" | "Female" | "Other" | "Unknown" | null | undefined;
|
1074
1085
|
sexual_orientation?: "unknown" | "option_not_listed" | "prefer_not_to_say" | "straight" | "gay" | "bisexual" | "lesbian" | "queer" | "asexual" | null | undefined;
|
1075
1086
|
primary_physician?: number | null | undefined;
|
1076
1087
|
caregiver_practice?: number | null | undefined;
|
1077
1088
|
dob?: string | null | undefined;
|
1078
1089
|
ssn?: string | null | undefined;
|
1079
1090
|
race?: "Other" | "No race specified" | "American Indian or Alaska Native" | "Asian" | "Black or African American" | "Native Hawaiian or Other Pacific Islander" | "White" | "Declined to specify" | null | undefined;
|
1080
|
-
preferred_language?: string | null | undefined;
|
1081
1091
|
ethnicity?: "Unknown" | "Declined to specify" | "No ethnicity specified" | "Hispanic or Latino" | "Not Hispanic or Latino" | null | undefined;
|
1082
|
-
notes?: string | null | undefined;
|
1083
1092
|
vip?: boolean | null | undefined;
|
1084
|
-
address?: {
|
1085
|
-
state: string;
|
1086
|
-
city: string;
|
1087
|
-
zip: string;
|
1088
|
-
address_line1: string;
|
1089
|
-
address_line2?: string | null | undefined;
|
1090
|
-
} | null | undefined;
|
1091
1093
|
phones?: {
|
1092
1094
|
phone: string;
|
1093
1095
|
phone_type: "Other" | "Home" | "Mobile" | "Main" | "Work" | "Night" | "Fax";
|
@@ -1100,25 +1102,25 @@ export declare const updatePatientSchema: z.ZodObject<{
|
|
1100
1102
|
address: string;
|
1101
1103
|
city: string;
|
1102
1104
|
zip: string;
|
1103
|
-
phone?: string | null | undefined;
|
1104
|
-
relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
|
1105
1105
|
first_name?: string | null | undefined;
|
1106
1106
|
last_name?: string | null | undefined;
|
1107
|
+
phone?: string | null | undefined;
|
1108
|
+
relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
|
1107
1109
|
middle_name?: string | null | undefined;
|
1108
1110
|
} | null | undefined;
|
1109
1111
|
insurances?: {
|
1110
1112
|
rank: "secondary" | "primary" | "tertiary";
|
1111
|
-
|
1112
|
-
member_id?: string | null | undefined;
|
1113
|
-
group_id?: string | null | undefined;
|
1114
|
-
plan?: string | null | undefined;
|
1115
|
-
phone?: string | null | undefined;
|
1116
|
-
extension?: string | null | undefined;
|
1113
|
+
state?: string | null | undefined;
|
1117
1114
|
address?: string | null | undefined;
|
1118
1115
|
suite?: string | null | undefined;
|
1116
|
+
extension?: string | null | undefined;
|
1117
|
+
phone?: string | null | undefined;
|
1119
1118
|
city?: string | null | undefined;
|
1120
|
-
state?: string | null | undefined;
|
1121
1119
|
zip?: string | null | undefined;
|
1120
|
+
carrier?: string | null | undefined;
|
1121
|
+
member_id?: string | null | undefined;
|
1122
|
+
group_id?: string | null | undefined;
|
1123
|
+
plan?: string | null | undefined;
|
1122
1124
|
copay?: number | null | undefined;
|
1123
1125
|
deductible?: number | null | undefined;
|
1124
1126
|
payment_program?: "Medicare Part B" | "Medicare Advantage" | "Medicaid" | "Commercial - HMSA" | "Commercial - SFHP" | "Commercial - Other" | "Worker's Compensation" | null | undefined;
|
@@ -1130,23 +1132,23 @@ export declare const updatePatientSchema: z.ZodObject<{
|
|
1130
1132
|
insured_person_zip?: string | null | undefined;
|
1131
1133
|
insured_person_id?: string | null | undefined;
|
1132
1134
|
insured_person_dob?: string | null | undefined;
|
1133
|
-
insured_person_gender?: "
|
1135
|
+
insured_person_gender?: "X" | "M" | "F" | "U" | null | undefined;
|
1134
1136
|
insured_person_ssn?: string | null | undefined;
|
1135
1137
|
relationship_to_insured?: string | null | undefined;
|
1136
1138
|
}[] | null | undefined;
|
1137
1139
|
deleted_insurances?: {
|
1138
1140
|
rank: "secondary" | "primary" | "tertiary";
|
1139
|
-
|
1140
|
-
member_id?: string | null | undefined;
|
1141
|
-
group_id?: string | null | undefined;
|
1142
|
-
plan?: string | null | undefined;
|
1143
|
-
phone?: string | null | undefined;
|
1144
|
-
extension?: string | null | undefined;
|
1141
|
+
state?: string | null | undefined;
|
1145
1142
|
address?: string | null | undefined;
|
1146
1143
|
suite?: string | null | undefined;
|
1144
|
+
extension?: string | null | undefined;
|
1145
|
+
phone?: string | null | undefined;
|
1147
1146
|
city?: string | null | undefined;
|
1148
|
-
state?: string | null | undefined;
|
1149
1147
|
zip?: string | null | undefined;
|
1148
|
+
carrier?: string | null | undefined;
|
1149
|
+
member_id?: string | null | undefined;
|
1150
|
+
group_id?: string | null | undefined;
|
1151
|
+
plan?: string | null | undefined;
|
1150
1152
|
copay?: number | null | undefined;
|
1151
1153
|
deductible?: number | null | undefined;
|
1152
1154
|
payment_program?: "Medicare Part B" | "Medicare Advantage" | "Medicaid" | "Commercial - HMSA" | "Commercial - SFHP" | "Commercial - Other" | "Worker's Compensation" | null | undefined;
|
@@ -1158,11 +1160,10 @@ export declare const updatePatientSchema: z.ZodObject<{
|
|
1158
1160
|
insured_person_zip?: string | null | undefined;
|
1159
1161
|
insured_person_id?: string | null | undefined;
|
1160
1162
|
insured_person_dob?: string | null | undefined;
|
1161
|
-
insured_person_gender?: "
|
1163
|
+
insured_person_gender?: "X" | "M" | "F" | "U" | null | undefined;
|
1162
1164
|
insured_person_ssn?: string | null | undefined;
|
1163
1165
|
relationship_to_insured?: string | null | undefined;
|
1164
1166
|
}[] | null | undefined;
|
1165
|
-
tags?: string[] | null | undefined;
|
1166
1167
|
patient_status?: {
|
1167
1168
|
status: "active" | "inactive" | "deceased" | "prospect";
|
1168
1169
|
deceased_date?: string | null | undefined;
|
@@ -1174,15 +1175,15 @@ export declare const updatePatientSchema: z.ZodObject<{
|
|
1174
1175
|
preferred_pharmacy_2?: string | null | undefined;
|
1175
1176
|
} | null | undefined;
|
1176
1177
|
emergency_contact?: {
|
1178
|
+
state?: string | null | undefined;
|
1177
1179
|
first_name?: string | null | undefined;
|
1178
1180
|
last_name?: string | null | undefined;
|
1179
|
-
relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
|
1180
1181
|
phone?: string | null | undefined;
|
1181
|
-
address_line1?: string | null | undefined;
|
1182
|
-
address_line2?: string | null | undefined;
|
1183
1182
|
city?: string | null | undefined;
|
1184
|
-
state?: string | null | undefined;
|
1185
1183
|
zip?: string | null | undefined;
|
1184
|
+
relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
|
1185
|
+
address_line1?: string | null | undefined;
|
1186
|
+
address_line2?: string | null | undefined;
|
1186
1187
|
} | null | undefined;
|
1187
1188
|
primary_care_provider_npi?: string | null | undefined;
|
1188
1189
|
previous_first_name?: string | null | undefined;
|
@@ -1193,33 +1194,34 @@ export declare const updatePatientSchema: z.ZodObject<{
|
|
1193
1194
|
name: string;
|
1194
1195
|
description: string;
|
1195
1196
|
} | null | undefined;
|
1196
|
-
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
1197
1197
|
}, {
|
1198
|
+
address?: {
|
1199
|
+
state: string;
|
1200
|
+
city: string;
|
1201
|
+
zip: string;
|
1202
|
+
address_line1: string;
|
1203
|
+
address_line2?: string | null | undefined;
|
1204
|
+
} | null | undefined;
|
1205
|
+
metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
1198
1206
|
first_name?: string | null | undefined;
|
1199
|
-
middle_name?: string | null | undefined;
|
1200
1207
|
last_name?: string | null | undefined;
|
1208
|
+
preferred_language?: string | null | undefined;
|
1209
|
+
sex?: "Male" | "Female" | "Other" | "Unknown" | null | undefined;
|
1210
|
+
tags?: string[] | null | undefined;
|
1211
|
+
middle_name?: string | null | undefined;
|
1212
|
+
notes?: string | null | undefined;
|
1201
1213
|
actual_name?: string | null | undefined;
|
1202
1214
|
gender_identity?: "unknown" | "man" | "woman" | "transgender_man" | "transgender_woman" | "nonbinary" | "option_not_listed" | "prefer_not_to_say" | "two_spirit" | null | undefined;
|
1203
|
-
legal_gender_marker?: "
|
1215
|
+
legal_gender_marker?: "X" | "M" | "F" | "U" | null | undefined;
|
1204
1216
|
pronouns?: "he_him_his" | "she_her_hers" | "they_them_theirs" | "not_listed" | null | undefined;
|
1205
|
-
sex?: "Male" | "Female" | "Other" | "Unknown" | null | undefined;
|
1206
1217
|
sexual_orientation?: "unknown" | "option_not_listed" | "prefer_not_to_say" | "straight" | "gay" | "bisexual" | "lesbian" | "queer" | "asexual" | null | undefined;
|
1207
1218
|
primary_physician?: number | null | undefined;
|
1208
1219
|
caregiver_practice?: number | null | undefined;
|
1209
1220
|
dob?: Date | null | undefined;
|
1210
1221
|
ssn?: string | null | undefined;
|
1211
1222
|
race?: "Other" | "No race specified" | "American Indian or Alaska Native" | "Asian" | "Black or African American" | "Native Hawaiian or Other Pacific Islander" | "White" | "Declined to specify" | null | undefined;
|
1212
|
-
preferred_language?: string | null | undefined;
|
1213
1223
|
ethnicity?: "Unknown" | "Declined to specify" | "No ethnicity specified" | "Hispanic or Latino" | "Not Hispanic or Latino" | null | undefined;
|
1214
|
-
notes?: string | null | undefined;
|
1215
1224
|
vip?: boolean | null | undefined;
|
1216
|
-
address?: {
|
1217
|
-
state: string;
|
1218
|
-
city: string;
|
1219
|
-
zip: string;
|
1220
|
-
address_line1: string;
|
1221
|
-
address_line2?: string | null | undefined;
|
1222
|
-
} | null | undefined;
|
1223
1225
|
phones?: {
|
1224
1226
|
phone: string;
|
1225
1227
|
phone_type: "Other" | "Home" | "Mobile" | "Main" | "Work" | "Night" | "Fax";
|
@@ -1232,25 +1234,25 @@ export declare const updatePatientSchema: z.ZodObject<{
|
|
1232
1234
|
address: string;
|
1233
1235
|
city: string;
|
1234
1236
|
zip: string;
|
1235
|
-
phone?: string | null | undefined;
|
1236
|
-
relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
|
1237
1237
|
first_name?: string | null | undefined;
|
1238
1238
|
last_name?: string | null | undefined;
|
1239
|
+
phone?: string | null | undefined;
|
1240
|
+
relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
|
1239
1241
|
middle_name?: string | null | undefined;
|
1240
1242
|
} | null | undefined;
|
1241
1243
|
insurances?: {
|
1242
1244
|
rank: "secondary" | "primary" | "tertiary";
|
1243
|
-
|
1244
|
-
member_id?: string | null | undefined;
|
1245
|
-
group_id?: string | null | undefined;
|
1246
|
-
plan?: string | null | undefined;
|
1247
|
-
phone?: string | null | undefined;
|
1248
|
-
extension?: string | null | undefined;
|
1245
|
+
state?: string | null | undefined;
|
1249
1246
|
address?: string | null | undefined;
|
1250
1247
|
suite?: string | null | undefined;
|
1248
|
+
extension?: string | null | undefined;
|
1249
|
+
phone?: string | null | undefined;
|
1251
1250
|
city?: string | null | undefined;
|
1252
|
-
state?: string | null | undefined;
|
1253
1251
|
zip?: string | null | undefined;
|
1252
|
+
carrier?: string | null | undefined;
|
1253
|
+
member_id?: string | null | undefined;
|
1254
|
+
group_id?: string | null | undefined;
|
1255
|
+
plan?: string | null | undefined;
|
1254
1256
|
copay?: number | null | undefined;
|
1255
1257
|
deductible?: number | null | undefined;
|
1256
1258
|
payment_program?: "Medicare Part B" | "Medicare Advantage" | "Medicaid" | "Commercial - HMSA" | "Commercial - SFHP" | "Commercial - Other" | "Worker's Compensation" | null | undefined;
|
@@ -1262,23 +1264,23 @@ export declare const updatePatientSchema: z.ZodObject<{
|
|
1262
1264
|
insured_person_zip?: string | null | undefined;
|
1263
1265
|
insured_person_id?: string | null | undefined;
|
1264
1266
|
insured_person_dob?: Date | null | undefined;
|
1265
|
-
insured_person_gender?: "
|
1267
|
+
insured_person_gender?: "X" | "M" | "F" | "U" | null | undefined;
|
1266
1268
|
insured_person_ssn?: string | null | undefined;
|
1267
1269
|
relationship_to_insured?: string | null | undefined;
|
1268
1270
|
}[] | null | undefined;
|
1269
1271
|
deleted_insurances?: {
|
1270
1272
|
rank: "secondary" | "primary" | "tertiary";
|
1271
|
-
|
1272
|
-
member_id?: string | null | undefined;
|
1273
|
-
group_id?: string | null | undefined;
|
1274
|
-
plan?: string | null | undefined;
|
1275
|
-
phone?: string | null | undefined;
|
1276
|
-
extension?: string | null | undefined;
|
1273
|
+
state?: string | null | undefined;
|
1277
1274
|
address?: string | null | undefined;
|
1278
1275
|
suite?: string | null | undefined;
|
1276
|
+
extension?: string | null | undefined;
|
1277
|
+
phone?: string | null | undefined;
|
1279
1278
|
city?: string | null | undefined;
|
1280
|
-
state?: string | null | undefined;
|
1281
1279
|
zip?: string | null | undefined;
|
1280
|
+
carrier?: string | null | undefined;
|
1281
|
+
member_id?: string | null | undefined;
|
1282
|
+
group_id?: string | null | undefined;
|
1283
|
+
plan?: string | null | undefined;
|
1282
1284
|
copay?: number | null | undefined;
|
1283
1285
|
deductible?: number | null | undefined;
|
1284
1286
|
payment_program?: "Medicare Part B" | "Medicare Advantage" | "Medicaid" | "Commercial - HMSA" | "Commercial - SFHP" | "Commercial - Other" | "Worker's Compensation" | null | undefined;
|
@@ -1290,11 +1292,10 @@ export declare const updatePatientSchema: z.ZodObject<{
|
|
1290
1292
|
insured_person_zip?: string | null | undefined;
|
1291
1293
|
insured_person_id?: string | null | undefined;
|
1292
1294
|
insured_person_dob?: Date | null | undefined;
|
1293
|
-
insured_person_gender?: "
|
1295
|
+
insured_person_gender?: "X" | "M" | "F" | "U" | null | undefined;
|
1294
1296
|
insured_person_ssn?: string | null | undefined;
|
1295
1297
|
relationship_to_insured?: string | null | undefined;
|
1296
1298
|
}[] | null | undefined;
|
1297
|
-
tags?: string[] | null | undefined;
|
1298
1299
|
patient_status?: {
|
1299
1300
|
status: "active" | "inactive" | "deceased" | "prospect";
|
1300
1301
|
deceased_date?: Date | null | undefined;
|
@@ -1306,15 +1307,15 @@ export declare const updatePatientSchema: z.ZodObject<{
|
|
1306
1307
|
preferred_pharmacy_2?: string | null | undefined;
|
1307
1308
|
} | null | undefined;
|
1308
1309
|
emergency_contact?: {
|
1310
|
+
state?: string | null | undefined;
|
1309
1311
|
first_name?: string | null | undefined;
|
1310
1312
|
last_name?: string | null | undefined;
|
1311
|
-
relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
|
1312
1313
|
phone?: string | null | undefined;
|
1313
|
-
address_line1?: string | null | undefined;
|
1314
|
-
address_line2?: string | null | undefined;
|
1315
1314
|
city?: string | null | undefined;
|
1316
|
-
state?: string | null | undefined;
|
1317
1315
|
zip?: string | null | undefined;
|
1316
|
+
relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
|
1317
|
+
address_line1?: string | null | undefined;
|
1318
|
+
address_line2?: string | null | undefined;
|
1318
1319
|
} | null | undefined;
|
1319
1320
|
primary_care_provider_npi?: string | null | undefined;
|
1320
1321
|
previous_first_name?: string | null | undefined;
|
@@ -1325,5 +1326,4 @@ export declare const updatePatientSchema: z.ZodObject<{
|
|
1325
1326
|
name: string;
|
1326
1327
|
description: string;
|
1327
1328
|
} | null | undefined;
|
1328
|
-
metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
1329
1329
|
}>;
|