@blackcode_sa/metaestetics-api 1.6.20 → 1.6.22
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/admin/index.js +2 -0
- package/dist/admin/index.mjs +2 -0
- package/dist/backoffice/index.d.mts +11 -11
- package/dist/backoffice/index.d.ts +11 -11
- package/dist/backoffice/index.js +39 -17
- package/dist/backoffice/index.mjs +39 -17
- package/dist/index.d.mts +292 -274
- package/dist/index.d.ts +292 -274
- package/dist/index.js +53 -27
- package/dist/index.mjs +51 -27
- package/package.json +1 -1
- package/src/admin/aggregation/appointment/appointment.aggregation.service.ts +2 -1
- package/src/index.ts +17 -3
- package/src/services/documentation-templates/documentation-template.service.ts +41 -6
- package/src/services/procedure/procedure.service.ts +1 -1
- package/src/types/documentation-templates/index.ts +11 -11
- package/src/types/patient/medical-info.types.ts +12 -12
- package/src/validations/patient/medical-info.schema.ts +9 -9
package/dist/index.d.ts
CHANGED
|
@@ -362,6 +362,8 @@ interface CertificationRequirement {
|
|
|
362
362
|
*/
|
|
363
363
|
declare const DOCUMENTATION_TEMPLATES_COLLECTION = "documentation-templates";
|
|
364
364
|
declare const FILLED_DOCUMENTS_COLLECTION = "filled-documents";
|
|
365
|
+
declare const USER_FORMS_SUBCOLLECTION = "user-forms";
|
|
366
|
+
declare const DOCTOR_FORMS_SUBCOLLECTION = "doctor-forms";
|
|
365
367
|
/**
|
|
366
368
|
* Enum for element types in documentation templates
|
|
367
369
|
*/
|
|
@@ -402,17 +404,17 @@ declare enum HeadingLevel {
|
|
|
402
404
|
* Enum for dynamic variable placeholders
|
|
403
405
|
*/
|
|
404
406
|
declare enum DynamicVariable {
|
|
405
|
-
PATIENT_NAME = "[PATIENT_NAME]",
|
|
406
|
-
DOCTOR_NAME = "[DOCTOR_NAME]",
|
|
407
|
-
CLINIC_NAME = "[CLINIC_NAME]",
|
|
408
|
-
PATIENT_BIRTHDAY = "[PATIENT_BIRTHDAY]",
|
|
409
|
-
APPOINTMENT_DATE = "[APPOINTMENT_DATE]",
|
|
410
|
-
CURRENT_DATE = "[CURRENT_DATE]",
|
|
411
|
-
PROCEDURE_NAME = "[PROCEDURE_NAME]",
|
|
412
|
-
PROCEDURE_DESCRIPTION = "[PROCEDURE_DESCRIPTION]",
|
|
413
|
-
PROCEDURE_COST = "[PROCEDURE_COST]",
|
|
414
|
-
PROCEDURE_DURATION = "[PROCEDURE_DURATION]",
|
|
415
|
-
PROCEDURE_RISK = "[PROCEDURE_RISK]"
|
|
407
|
+
PATIENT_NAME = "$[PATIENT_NAME]",
|
|
408
|
+
DOCTOR_NAME = "$[DOCTOR_NAME]",
|
|
409
|
+
CLINIC_NAME = "$[CLINIC_NAME]",
|
|
410
|
+
PATIENT_BIRTHDAY = "$[PATIENT_BIRTHDAY]",
|
|
411
|
+
APPOINTMENT_DATE = "$[APPOINTMENT_DATE]",
|
|
412
|
+
CURRENT_DATE = "$[CURRENT_DATE]",
|
|
413
|
+
PROCEDURE_NAME = "$[PROCEDURE_NAME]",
|
|
414
|
+
PROCEDURE_DESCRIPTION = "$[PROCEDURE_DESCRIPTION]",
|
|
415
|
+
PROCEDURE_COST = "$[PROCEDURE_COST]",
|
|
416
|
+
PROCEDURE_DURATION = "$[PROCEDURE_DURATION]",
|
|
417
|
+
PROCEDURE_RISK = "$[PROCEDURE_RISK]"
|
|
416
418
|
}
|
|
417
419
|
/**
|
|
418
420
|
* Base interface for all document elements
|
|
@@ -516,6 +518,13 @@ interface SignatureElement extends BaseDocumentElement {
|
|
|
516
518
|
type: DocumentElementType.SIGNATURE;
|
|
517
519
|
label: string;
|
|
518
520
|
}
|
|
521
|
+
/**
|
|
522
|
+
* Interface for digital signature element
|
|
523
|
+
*/
|
|
524
|
+
interface DigitalSignatureElement extends BaseDocumentElement {
|
|
525
|
+
type: DocumentElementType.DITIGAL_SIGNATURE;
|
|
526
|
+
label: string;
|
|
527
|
+
}
|
|
519
528
|
/**
|
|
520
529
|
* Interface for file upload element
|
|
521
530
|
*/
|
|
@@ -1628,11 +1637,11 @@ declare const PATIENT_MEDICAL_INFO_COLLECTION = "medical_info";
|
|
|
1628
1637
|
interface Allergy {
|
|
1629
1638
|
type: AllergyType;
|
|
1630
1639
|
subtype: AllergySubtype;
|
|
1631
|
-
name?: string;
|
|
1632
|
-
severity?: "mild" | "moderate" | "severe";
|
|
1633
|
-
reaction?: string;
|
|
1634
|
-
diagnosed?: Timestamp;
|
|
1635
|
-
notes?: string;
|
|
1640
|
+
name?: string | null;
|
|
1641
|
+
severity?: "mild" | "moderate" | "severe" | null;
|
|
1642
|
+
reaction?: string | null;
|
|
1643
|
+
diagnosed?: Timestamp | null;
|
|
1644
|
+
notes?: string | null;
|
|
1636
1645
|
}
|
|
1637
1646
|
interface VitalStats {
|
|
1638
1647
|
height?: number;
|
|
@@ -1665,9 +1674,9 @@ interface PatientMedicalInfo {
|
|
|
1665
1674
|
name: string;
|
|
1666
1675
|
dosage: string;
|
|
1667
1676
|
frequency: string;
|
|
1668
|
-
startDate
|
|
1669
|
-
endDate?: Timestamp;
|
|
1670
|
-
prescribedBy?: string;
|
|
1677
|
+
startDate?: Timestamp | null;
|
|
1678
|
+
endDate?: Timestamp | null;
|
|
1679
|
+
prescribedBy?: string | null;
|
|
1671
1680
|
}[];
|
|
1672
1681
|
emergencyNotes?: string;
|
|
1673
1682
|
lastUpdated: Timestamp;
|
|
@@ -1690,11 +1699,11 @@ interface UpdateVitalStatsData {
|
|
|
1690
1699
|
interface AddAllergyData {
|
|
1691
1700
|
type: AllergyType;
|
|
1692
1701
|
subtype: AllergySubtype;
|
|
1693
|
-
name?: string;
|
|
1702
|
+
name?: string | null;
|
|
1694
1703
|
severity?: "mild" | "moderate" | "severe";
|
|
1695
|
-
reaction?: string;
|
|
1696
|
-
diagnosed?: Timestamp;
|
|
1697
|
-
notes?: string;
|
|
1704
|
+
reaction?: string | null;
|
|
1705
|
+
diagnosed?: Timestamp | null;
|
|
1706
|
+
notes?: string | null;
|
|
1698
1707
|
}
|
|
1699
1708
|
interface UpdateAllergyData extends Partial<AddAllergyData> {
|
|
1700
1709
|
allergyIndex: number;
|
|
@@ -6447,6 +6456,15 @@ declare class DocumentationTemplateService extends BaseService {
|
|
|
6447
6456
|
templates: DocumentTemplate[];
|
|
6448
6457
|
lastDoc: QueryDocumentSnapshot<DocumentTemplate> | null;
|
|
6449
6458
|
}>;
|
|
6459
|
+
/**
|
|
6460
|
+
* Get all templates for selection with optional filtering
|
|
6461
|
+
* @param options - Filtering options
|
|
6462
|
+
* @returns Array of templates
|
|
6463
|
+
*/
|
|
6464
|
+
getAllTemplatesForSelection(options?: {
|
|
6465
|
+
isUserForm?: boolean;
|
|
6466
|
+
isRequired?: boolean;
|
|
6467
|
+
}): Promise<DocumentTemplate[]>;
|
|
6450
6468
|
}
|
|
6451
6469
|
|
|
6452
6470
|
/**
|
|
@@ -8294,10 +8312,10 @@ declare const allergySubtypeSchema: z.ZodUnion<[z.ZodNativeEnum<typeof Medicatio
|
|
|
8294
8312
|
declare const allergySchema: z.ZodObject<{
|
|
8295
8313
|
type: z.ZodNativeEnum<typeof AllergyType>;
|
|
8296
8314
|
subtype: z.ZodUnion<[z.ZodNativeEnum<typeof MedicationAllergySubtype>, z.ZodNativeEnum<typeof FoodAllergySubtype>, z.ZodNativeEnum<typeof EnvironmentalAllergySubtype>, z.ZodNativeEnum<typeof CosmeticAllergySubtype>, z.ZodLiteral<"other">]>;
|
|
8297
|
-
name: z.ZodOptional<z.ZodString
|
|
8315
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8298
8316
|
severity: z.ZodOptional<z.ZodEnum<["mild", "moderate", "severe"]>>;
|
|
8299
|
-
reaction: z.ZodOptional<z.ZodString
|
|
8300
|
-
diagnosed: z.ZodOptional<z.ZodObject<{
|
|
8317
|
+
reaction: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8318
|
+
diagnosed: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
8301
8319
|
seconds: z.ZodNumber;
|
|
8302
8320
|
nanoseconds: z.ZodNumber;
|
|
8303
8321
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8306,30 +8324,30 @@ declare const allergySchema: z.ZodObject<{
|
|
|
8306
8324
|
}, {
|
|
8307
8325
|
seconds: number;
|
|
8308
8326
|
nanoseconds: number;
|
|
8309
|
-
}
|
|
8310
|
-
notes: z.ZodOptional<z.ZodString
|
|
8327
|
+
}>>>;
|
|
8328
|
+
notes: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8311
8329
|
}, "strip", z.ZodTypeAny, {
|
|
8312
8330
|
type: AllergyType;
|
|
8313
8331
|
subtype: "other" | MedicationAllergySubtype | FoodAllergySubtype | EnvironmentalAllergySubtype | CosmeticAllergySubtype;
|
|
8314
|
-
name?: string | undefined;
|
|
8332
|
+
name?: string | null | undefined;
|
|
8315
8333
|
severity?: "mild" | "moderate" | "severe" | undefined;
|
|
8316
|
-
reaction?: string | undefined;
|
|
8334
|
+
reaction?: string | null | undefined;
|
|
8317
8335
|
diagnosed?: {
|
|
8318
8336
|
seconds: number;
|
|
8319
8337
|
nanoseconds: number;
|
|
8320
|
-
} | undefined;
|
|
8321
|
-
notes?: string | undefined;
|
|
8338
|
+
} | null | undefined;
|
|
8339
|
+
notes?: string | null | undefined;
|
|
8322
8340
|
}, {
|
|
8323
8341
|
type: AllergyType;
|
|
8324
8342
|
subtype: "other" | MedicationAllergySubtype | FoodAllergySubtype | EnvironmentalAllergySubtype | CosmeticAllergySubtype;
|
|
8325
|
-
name?: string | undefined;
|
|
8343
|
+
name?: string | null | undefined;
|
|
8326
8344
|
severity?: "mild" | "moderate" | "severe" | undefined;
|
|
8327
|
-
reaction?: string | undefined;
|
|
8345
|
+
reaction?: string | null | undefined;
|
|
8328
8346
|
diagnosed?: {
|
|
8329
8347
|
seconds: number;
|
|
8330
8348
|
nanoseconds: number;
|
|
8331
|
-
} | undefined;
|
|
8332
|
-
notes?: string | undefined;
|
|
8349
|
+
} | null | undefined;
|
|
8350
|
+
notes?: string | null | undefined;
|
|
8333
8351
|
}>;
|
|
8334
8352
|
declare const vitalStatsSchema: z.ZodObject<{
|
|
8335
8353
|
height: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8400,7 +8418,7 @@ declare const blockingConditionSchema: z.ZodObject<{
|
|
|
8400
8418
|
seconds: number;
|
|
8401
8419
|
nanoseconds: number;
|
|
8402
8420
|
}>;
|
|
8403
|
-
notes: z.ZodOptional<z.ZodString
|
|
8421
|
+
notes: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8404
8422
|
isActive: z.ZodBoolean;
|
|
8405
8423
|
}, "strip", z.ZodTypeAny, {
|
|
8406
8424
|
isActive: boolean;
|
|
@@ -8409,7 +8427,7 @@ declare const blockingConditionSchema: z.ZodObject<{
|
|
|
8409
8427
|
seconds: number;
|
|
8410
8428
|
nanoseconds: number;
|
|
8411
8429
|
};
|
|
8412
|
-
notes?: string | undefined;
|
|
8430
|
+
notes?: string | null | undefined;
|
|
8413
8431
|
}, {
|
|
8414
8432
|
isActive: boolean;
|
|
8415
8433
|
condition: BlockingCondition;
|
|
@@ -8417,7 +8435,7 @@ declare const blockingConditionSchema: z.ZodObject<{
|
|
|
8417
8435
|
seconds: number;
|
|
8418
8436
|
nanoseconds: number;
|
|
8419
8437
|
};
|
|
8420
|
-
notes?: string | undefined;
|
|
8438
|
+
notes?: string | null | undefined;
|
|
8421
8439
|
}>;
|
|
8422
8440
|
declare const contraindicationSchema: z.ZodObject<{
|
|
8423
8441
|
condition: z.ZodNativeEnum<typeof Contraindication>;
|
|
@@ -8432,7 +8450,7 @@ declare const contraindicationSchema: z.ZodObject<{
|
|
|
8432
8450
|
nanoseconds: number;
|
|
8433
8451
|
}>;
|
|
8434
8452
|
frequency: z.ZodEnum<["rare", "occasional", "frequent"]>;
|
|
8435
|
-
notes: z.ZodOptional<z.ZodString
|
|
8453
|
+
notes: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8436
8454
|
isActive: z.ZodBoolean;
|
|
8437
8455
|
}, "strip", z.ZodTypeAny, {
|
|
8438
8456
|
isActive: boolean;
|
|
@@ -8442,7 +8460,7 @@ declare const contraindicationSchema: z.ZodObject<{
|
|
|
8442
8460
|
nanoseconds: number;
|
|
8443
8461
|
};
|
|
8444
8462
|
frequency: "rare" | "occasional" | "frequent";
|
|
8445
|
-
notes?: string | undefined;
|
|
8463
|
+
notes?: string | null | undefined;
|
|
8446
8464
|
}, {
|
|
8447
8465
|
isActive: boolean;
|
|
8448
8466
|
condition: Contraindication;
|
|
@@ -8451,13 +8469,13 @@ declare const contraindicationSchema: z.ZodObject<{
|
|
|
8451
8469
|
nanoseconds: number;
|
|
8452
8470
|
};
|
|
8453
8471
|
frequency: "rare" | "occasional" | "frequent";
|
|
8454
|
-
notes?: string | undefined;
|
|
8472
|
+
notes?: string | null | undefined;
|
|
8455
8473
|
}>;
|
|
8456
8474
|
declare const medicationSchema: z.ZodObject<{
|
|
8457
8475
|
name: z.ZodString;
|
|
8458
8476
|
dosage: z.ZodString;
|
|
8459
8477
|
frequency: z.ZodString;
|
|
8460
|
-
startDate: z.ZodObject<{
|
|
8478
|
+
startDate: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
8461
8479
|
seconds: z.ZodNumber;
|
|
8462
8480
|
nanoseconds: z.ZodNumber;
|
|
8463
8481
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8466,8 +8484,8 @@ declare const medicationSchema: z.ZodObject<{
|
|
|
8466
8484
|
}, {
|
|
8467
8485
|
seconds: number;
|
|
8468
8486
|
nanoseconds: number;
|
|
8469
|
-
}
|
|
8470
|
-
endDate: z.ZodOptional<z.ZodObject<{
|
|
8487
|
+
}>>>;
|
|
8488
|
+
endDate: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
8471
8489
|
seconds: z.ZodNumber;
|
|
8472
8490
|
nanoseconds: z.ZodNumber;
|
|
8473
8491
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8476,34 +8494,34 @@ declare const medicationSchema: z.ZodObject<{
|
|
|
8476
8494
|
}, {
|
|
8477
8495
|
seconds: number;
|
|
8478
8496
|
nanoseconds: number;
|
|
8479
|
-
}
|
|
8480
|
-
prescribedBy: z.ZodOptional<z.ZodString
|
|
8497
|
+
}>>>;
|
|
8498
|
+
prescribedBy: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8481
8499
|
}, "strip", z.ZodTypeAny, {
|
|
8482
8500
|
name: string;
|
|
8483
8501
|
dosage: string;
|
|
8484
8502
|
frequency: string;
|
|
8485
|
-
startDate
|
|
8503
|
+
startDate?: {
|
|
8486
8504
|
seconds: number;
|
|
8487
8505
|
nanoseconds: number;
|
|
8488
|
-
};
|
|
8506
|
+
} | null | undefined;
|
|
8489
8507
|
endDate?: {
|
|
8490
8508
|
seconds: number;
|
|
8491
8509
|
nanoseconds: number;
|
|
8492
|
-
} | undefined;
|
|
8493
|
-
prescribedBy?: string | undefined;
|
|
8510
|
+
} | null | undefined;
|
|
8511
|
+
prescribedBy?: string | null | undefined;
|
|
8494
8512
|
}, {
|
|
8495
8513
|
name: string;
|
|
8496
8514
|
dosage: string;
|
|
8497
8515
|
frequency: string;
|
|
8498
|
-
startDate
|
|
8516
|
+
startDate?: {
|
|
8499
8517
|
seconds: number;
|
|
8500
8518
|
nanoseconds: number;
|
|
8501
|
-
};
|
|
8519
|
+
} | null | undefined;
|
|
8502
8520
|
endDate?: {
|
|
8503
8521
|
seconds: number;
|
|
8504
8522
|
nanoseconds: number;
|
|
8505
|
-
} | undefined;
|
|
8506
|
-
prescribedBy?: string | undefined;
|
|
8523
|
+
} | null | undefined;
|
|
8524
|
+
prescribedBy?: string | null | undefined;
|
|
8507
8525
|
}>;
|
|
8508
8526
|
declare const patientMedicalInfoSchema: z.ZodObject<{
|
|
8509
8527
|
patientId: z.ZodString;
|
|
@@ -8576,7 +8594,7 @@ declare const patientMedicalInfoSchema: z.ZodObject<{
|
|
|
8576
8594
|
seconds: number;
|
|
8577
8595
|
nanoseconds: number;
|
|
8578
8596
|
}>;
|
|
8579
|
-
notes: z.ZodOptional<z.ZodString
|
|
8597
|
+
notes: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8580
8598
|
isActive: z.ZodBoolean;
|
|
8581
8599
|
}, "strip", z.ZodTypeAny, {
|
|
8582
8600
|
isActive: boolean;
|
|
@@ -8585,7 +8603,7 @@ declare const patientMedicalInfoSchema: z.ZodObject<{
|
|
|
8585
8603
|
seconds: number;
|
|
8586
8604
|
nanoseconds: number;
|
|
8587
8605
|
};
|
|
8588
|
-
notes?: string | undefined;
|
|
8606
|
+
notes?: string | null | undefined;
|
|
8589
8607
|
}, {
|
|
8590
8608
|
isActive: boolean;
|
|
8591
8609
|
condition: BlockingCondition;
|
|
@@ -8593,7 +8611,7 @@ declare const patientMedicalInfoSchema: z.ZodObject<{
|
|
|
8593
8611
|
seconds: number;
|
|
8594
8612
|
nanoseconds: number;
|
|
8595
8613
|
};
|
|
8596
|
-
notes?: string | undefined;
|
|
8614
|
+
notes?: string | null | undefined;
|
|
8597
8615
|
}>, "many">;
|
|
8598
8616
|
contraindications: z.ZodArray<z.ZodObject<{
|
|
8599
8617
|
condition: z.ZodNativeEnum<typeof Contraindication>;
|
|
@@ -8608,7 +8626,7 @@ declare const patientMedicalInfoSchema: z.ZodObject<{
|
|
|
8608
8626
|
nanoseconds: number;
|
|
8609
8627
|
}>;
|
|
8610
8628
|
frequency: z.ZodEnum<["rare", "occasional", "frequent"]>;
|
|
8611
|
-
notes: z.ZodOptional<z.ZodString
|
|
8629
|
+
notes: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8612
8630
|
isActive: z.ZodBoolean;
|
|
8613
8631
|
}, "strip", z.ZodTypeAny, {
|
|
8614
8632
|
isActive: boolean;
|
|
@@ -8618,7 +8636,7 @@ declare const patientMedicalInfoSchema: z.ZodObject<{
|
|
|
8618
8636
|
nanoseconds: number;
|
|
8619
8637
|
};
|
|
8620
8638
|
frequency: "rare" | "occasional" | "frequent";
|
|
8621
|
-
notes?: string | undefined;
|
|
8639
|
+
notes?: string | null | undefined;
|
|
8622
8640
|
}, {
|
|
8623
8641
|
isActive: boolean;
|
|
8624
8642
|
condition: Contraindication;
|
|
@@ -8627,15 +8645,15 @@ declare const patientMedicalInfoSchema: z.ZodObject<{
|
|
|
8627
8645
|
nanoseconds: number;
|
|
8628
8646
|
};
|
|
8629
8647
|
frequency: "rare" | "occasional" | "frequent";
|
|
8630
|
-
notes?: string | undefined;
|
|
8648
|
+
notes?: string | null | undefined;
|
|
8631
8649
|
}>, "many">;
|
|
8632
8650
|
allergies: z.ZodArray<z.ZodObject<{
|
|
8633
8651
|
type: z.ZodNativeEnum<typeof AllergyType>;
|
|
8634
8652
|
subtype: z.ZodUnion<[z.ZodNativeEnum<typeof MedicationAllergySubtype>, z.ZodNativeEnum<typeof FoodAllergySubtype>, z.ZodNativeEnum<typeof EnvironmentalAllergySubtype>, z.ZodNativeEnum<typeof CosmeticAllergySubtype>, z.ZodLiteral<"other">]>;
|
|
8635
|
-
name: z.ZodOptional<z.ZodString
|
|
8653
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8636
8654
|
severity: z.ZodOptional<z.ZodEnum<["mild", "moderate", "severe"]>>;
|
|
8637
|
-
reaction: z.ZodOptional<z.ZodString
|
|
8638
|
-
diagnosed: z.ZodOptional<z.ZodObject<{
|
|
8655
|
+
reaction: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8656
|
+
diagnosed: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
8639
8657
|
seconds: z.ZodNumber;
|
|
8640
8658
|
nanoseconds: z.ZodNumber;
|
|
8641
8659
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8644,36 +8662,36 @@ declare const patientMedicalInfoSchema: z.ZodObject<{
|
|
|
8644
8662
|
}, {
|
|
8645
8663
|
seconds: number;
|
|
8646
8664
|
nanoseconds: number;
|
|
8647
|
-
}
|
|
8648
|
-
notes: z.ZodOptional<z.ZodString
|
|
8665
|
+
}>>>;
|
|
8666
|
+
notes: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8649
8667
|
}, "strip", z.ZodTypeAny, {
|
|
8650
8668
|
type: AllergyType;
|
|
8651
8669
|
subtype: "other" | MedicationAllergySubtype | FoodAllergySubtype | EnvironmentalAllergySubtype | CosmeticAllergySubtype;
|
|
8652
|
-
name?: string | undefined;
|
|
8670
|
+
name?: string | null | undefined;
|
|
8653
8671
|
severity?: "mild" | "moderate" | "severe" | undefined;
|
|
8654
|
-
reaction?: string | undefined;
|
|
8672
|
+
reaction?: string | null | undefined;
|
|
8655
8673
|
diagnosed?: {
|
|
8656
8674
|
seconds: number;
|
|
8657
8675
|
nanoseconds: number;
|
|
8658
|
-
} | undefined;
|
|
8659
|
-
notes?: string | undefined;
|
|
8676
|
+
} | null | undefined;
|
|
8677
|
+
notes?: string | null | undefined;
|
|
8660
8678
|
}, {
|
|
8661
8679
|
type: AllergyType;
|
|
8662
8680
|
subtype: "other" | MedicationAllergySubtype | FoodAllergySubtype | EnvironmentalAllergySubtype | CosmeticAllergySubtype;
|
|
8663
|
-
name?: string | undefined;
|
|
8681
|
+
name?: string | null | undefined;
|
|
8664
8682
|
severity?: "mild" | "moderate" | "severe" | undefined;
|
|
8665
|
-
reaction?: string | undefined;
|
|
8683
|
+
reaction?: string | null | undefined;
|
|
8666
8684
|
diagnosed?: {
|
|
8667
8685
|
seconds: number;
|
|
8668
8686
|
nanoseconds: number;
|
|
8669
|
-
} | undefined;
|
|
8670
|
-
notes?: string | undefined;
|
|
8687
|
+
} | null | undefined;
|
|
8688
|
+
notes?: string | null | undefined;
|
|
8671
8689
|
}>, "many">;
|
|
8672
8690
|
currentMedications: z.ZodArray<z.ZodObject<{
|
|
8673
8691
|
name: z.ZodString;
|
|
8674
8692
|
dosage: z.ZodString;
|
|
8675
8693
|
frequency: z.ZodString;
|
|
8676
|
-
startDate: z.ZodObject<{
|
|
8694
|
+
startDate: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
8677
8695
|
seconds: z.ZodNumber;
|
|
8678
8696
|
nanoseconds: z.ZodNumber;
|
|
8679
8697
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8682,8 +8700,8 @@ declare const patientMedicalInfoSchema: z.ZodObject<{
|
|
|
8682
8700
|
}, {
|
|
8683
8701
|
seconds: number;
|
|
8684
8702
|
nanoseconds: number;
|
|
8685
|
-
}
|
|
8686
|
-
endDate: z.ZodOptional<z.ZodObject<{
|
|
8703
|
+
}>>>;
|
|
8704
|
+
endDate: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
8687
8705
|
seconds: z.ZodNumber;
|
|
8688
8706
|
nanoseconds: z.ZodNumber;
|
|
8689
8707
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8692,34 +8710,34 @@ declare const patientMedicalInfoSchema: z.ZodObject<{
|
|
|
8692
8710
|
}, {
|
|
8693
8711
|
seconds: number;
|
|
8694
8712
|
nanoseconds: number;
|
|
8695
|
-
}
|
|
8696
|
-
prescribedBy: z.ZodOptional<z.ZodString
|
|
8713
|
+
}>>>;
|
|
8714
|
+
prescribedBy: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8697
8715
|
}, "strip", z.ZodTypeAny, {
|
|
8698
8716
|
name: string;
|
|
8699
8717
|
dosage: string;
|
|
8700
8718
|
frequency: string;
|
|
8701
|
-
startDate
|
|
8719
|
+
startDate?: {
|
|
8702
8720
|
seconds: number;
|
|
8703
8721
|
nanoseconds: number;
|
|
8704
|
-
};
|
|
8722
|
+
} | null | undefined;
|
|
8705
8723
|
endDate?: {
|
|
8706
8724
|
seconds: number;
|
|
8707
8725
|
nanoseconds: number;
|
|
8708
|
-
} | undefined;
|
|
8709
|
-
prescribedBy?: string | undefined;
|
|
8726
|
+
} | null | undefined;
|
|
8727
|
+
prescribedBy?: string | null | undefined;
|
|
8710
8728
|
}, {
|
|
8711
8729
|
name: string;
|
|
8712
8730
|
dosage: string;
|
|
8713
8731
|
frequency: string;
|
|
8714
|
-
startDate
|
|
8732
|
+
startDate?: {
|
|
8715
8733
|
seconds: number;
|
|
8716
8734
|
nanoseconds: number;
|
|
8717
|
-
};
|
|
8735
|
+
} | null | undefined;
|
|
8718
8736
|
endDate?: {
|
|
8719
8737
|
seconds: number;
|
|
8720
8738
|
nanoseconds: number;
|
|
8721
|
-
} | undefined;
|
|
8722
|
-
prescribedBy?: string | undefined;
|
|
8739
|
+
} | null | undefined;
|
|
8740
|
+
prescribedBy?: string | null | undefined;
|
|
8723
8741
|
}>, "many">;
|
|
8724
8742
|
emergencyNotes: z.ZodOptional<z.ZodString>;
|
|
8725
8743
|
lastUpdated: z.ZodObject<{
|
|
@@ -8753,7 +8771,7 @@ declare const patientMedicalInfoSchema: z.ZodObject<{
|
|
|
8753
8771
|
nanoseconds: number;
|
|
8754
8772
|
};
|
|
8755
8773
|
frequency: "rare" | "occasional" | "frequent";
|
|
8756
|
-
notes?: string | undefined;
|
|
8774
|
+
notes?: string | null | undefined;
|
|
8757
8775
|
}[];
|
|
8758
8776
|
patientId: string;
|
|
8759
8777
|
lastUpdated: {
|
|
@@ -8781,33 +8799,33 @@ declare const patientMedicalInfoSchema: z.ZodObject<{
|
|
|
8781
8799
|
seconds: number;
|
|
8782
8800
|
nanoseconds: number;
|
|
8783
8801
|
};
|
|
8784
|
-
notes?: string | undefined;
|
|
8802
|
+
notes?: string | null | undefined;
|
|
8785
8803
|
}[];
|
|
8786
8804
|
allergies: {
|
|
8787
8805
|
type: AllergyType;
|
|
8788
8806
|
subtype: "other" | MedicationAllergySubtype | FoodAllergySubtype | EnvironmentalAllergySubtype | CosmeticAllergySubtype;
|
|
8789
|
-
name?: string | undefined;
|
|
8807
|
+
name?: string | null | undefined;
|
|
8790
8808
|
severity?: "mild" | "moderate" | "severe" | undefined;
|
|
8791
|
-
reaction?: string | undefined;
|
|
8809
|
+
reaction?: string | null | undefined;
|
|
8792
8810
|
diagnosed?: {
|
|
8793
8811
|
seconds: number;
|
|
8794
8812
|
nanoseconds: number;
|
|
8795
|
-
} | undefined;
|
|
8796
|
-
notes?: string | undefined;
|
|
8813
|
+
} | null | undefined;
|
|
8814
|
+
notes?: string | null | undefined;
|
|
8797
8815
|
}[];
|
|
8798
8816
|
currentMedications: {
|
|
8799
8817
|
name: string;
|
|
8800
8818
|
dosage: string;
|
|
8801
8819
|
frequency: string;
|
|
8802
|
-
startDate
|
|
8820
|
+
startDate?: {
|
|
8803
8821
|
seconds: number;
|
|
8804
8822
|
nanoseconds: number;
|
|
8805
|
-
};
|
|
8823
|
+
} | null | undefined;
|
|
8806
8824
|
endDate?: {
|
|
8807
8825
|
seconds: number;
|
|
8808
8826
|
nanoseconds: number;
|
|
8809
|
-
} | undefined;
|
|
8810
|
-
prescribedBy?: string | undefined;
|
|
8827
|
+
} | null | undefined;
|
|
8828
|
+
prescribedBy?: string | null | undefined;
|
|
8811
8829
|
}[];
|
|
8812
8830
|
verifiedBy?: string | undefined;
|
|
8813
8831
|
verifiedAt?: {
|
|
@@ -8824,7 +8842,7 @@ declare const patientMedicalInfoSchema: z.ZodObject<{
|
|
|
8824
8842
|
nanoseconds: number;
|
|
8825
8843
|
};
|
|
8826
8844
|
frequency: "rare" | "occasional" | "frequent";
|
|
8827
|
-
notes?: string | undefined;
|
|
8845
|
+
notes?: string | null | undefined;
|
|
8828
8846
|
}[];
|
|
8829
8847
|
patientId: string;
|
|
8830
8848
|
lastUpdated: {
|
|
@@ -8852,33 +8870,33 @@ declare const patientMedicalInfoSchema: z.ZodObject<{
|
|
|
8852
8870
|
seconds: number;
|
|
8853
8871
|
nanoseconds: number;
|
|
8854
8872
|
};
|
|
8855
|
-
notes?: string | undefined;
|
|
8873
|
+
notes?: string | null | undefined;
|
|
8856
8874
|
}[];
|
|
8857
8875
|
allergies: {
|
|
8858
8876
|
type: AllergyType;
|
|
8859
8877
|
subtype: "other" | MedicationAllergySubtype | FoodAllergySubtype | EnvironmentalAllergySubtype | CosmeticAllergySubtype;
|
|
8860
|
-
name?: string | undefined;
|
|
8878
|
+
name?: string | null | undefined;
|
|
8861
8879
|
severity?: "mild" | "moderate" | "severe" | undefined;
|
|
8862
|
-
reaction?: string | undefined;
|
|
8880
|
+
reaction?: string | null | undefined;
|
|
8863
8881
|
diagnosed?: {
|
|
8864
8882
|
seconds: number;
|
|
8865
8883
|
nanoseconds: number;
|
|
8866
|
-
} | undefined;
|
|
8867
|
-
notes?: string | undefined;
|
|
8884
|
+
} | null | undefined;
|
|
8885
|
+
notes?: string | null | undefined;
|
|
8868
8886
|
}[];
|
|
8869
8887
|
currentMedications: {
|
|
8870
8888
|
name: string;
|
|
8871
8889
|
dosage: string;
|
|
8872
8890
|
frequency: string;
|
|
8873
|
-
startDate
|
|
8891
|
+
startDate?: {
|
|
8874
8892
|
seconds: number;
|
|
8875
8893
|
nanoseconds: number;
|
|
8876
|
-
};
|
|
8894
|
+
} | null | undefined;
|
|
8877
8895
|
endDate?: {
|
|
8878
8896
|
seconds: number;
|
|
8879
8897
|
nanoseconds: number;
|
|
8880
|
-
} | undefined;
|
|
8881
|
-
prescribedBy?: string | undefined;
|
|
8898
|
+
} | null | undefined;
|
|
8899
|
+
prescribedBy?: string | null | undefined;
|
|
8882
8900
|
}[];
|
|
8883
8901
|
verifiedBy?: string | undefined;
|
|
8884
8902
|
verifiedAt?: {
|
|
@@ -8958,7 +8976,7 @@ declare const createPatientMedicalInfoSchema: z.ZodObject<Omit<{
|
|
|
8958
8976
|
seconds: number;
|
|
8959
8977
|
nanoseconds: number;
|
|
8960
8978
|
}>;
|
|
8961
|
-
notes: z.ZodOptional<z.ZodString
|
|
8979
|
+
notes: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8962
8980
|
isActive: z.ZodBoolean;
|
|
8963
8981
|
}, "strip", z.ZodTypeAny, {
|
|
8964
8982
|
isActive: boolean;
|
|
@@ -8967,7 +8985,7 @@ declare const createPatientMedicalInfoSchema: z.ZodObject<Omit<{
|
|
|
8967
8985
|
seconds: number;
|
|
8968
8986
|
nanoseconds: number;
|
|
8969
8987
|
};
|
|
8970
|
-
notes?: string | undefined;
|
|
8988
|
+
notes?: string | null | undefined;
|
|
8971
8989
|
}, {
|
|
8972
8990
|
isActive: boolean;
|
|
8973
8991
|
condition: BlockingCondition;
|
|
@@ -8975,7 +8993,7 @@ declare const createPatientMedicalInfoSchema: z.ZodObject<Omit<{
|
|
|
8975
8993
|
seconds: number;
|
|
8976
8994
|
nanoseconds: number;
|
|
8977
8995
|
};
|
|
8978
|
-
notes?: string | undefined;
|
|
8996
|
+
notes?: string | null | undefined;
|
|
8979
8997
|
}>, "many">;
|
|
8980
8998
|
contraindications: z.ZodArray<z.ZodObject<{
|
|
8981
8999
|
condition: z.ZodNativeEnum<typeof Contraindication>;
|
|
@@ -8990,7 +9008,7 @@ declare const createPatientMedicalInfoSchema: z.ZodObject<Omit<{
|
|
|
8990
9008
|
nanoseconds: number;
|
|
8991
9009
|
}>;
|
|
8992
9010
|
frequency: z.ZodEnum<["rare", "occasional", "frequent"]>;
|
|
8993
|
-
notes: z.ZodOptional<z.ZodString
|
|
9011
|
+
notes: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8994
9012
|
isActive: z.ZodBoolean;
|
|
8995
9013
|
}, "strip", z.ZodTypeAny, {
|
|
8996
9014
|
isActive: boolean;
|
|
@@ -9000,7 +9018,7 @@ declare const createPatientMedicalInfoSchema: z.ZodObject<Omit<{
|
|
|
9000
9018
|
nanoseconds: number;
|
|
9001
9019
|
};
|
|
9002
9020
|
frequency: "rare" | "occasional" | "frequent";
|
|
9003
|
-
notes?: string | undefined;
|
|
9021
|
+
notes?: string | null | undefined;
|
|
9004
9022
|
}, {
|
|
9005
9023
|
isActive: boolean;
|
|
9006
9024
|
condition: Contraindication;
|
|
@@ -9009,15 +9027,15 @@ declare const createPatientMedicalInfoSchema: z.ZodObject<Omit<{
|
|
|
9009
9027
|
nanoseconds: number;
|
|
9010
9028
|
};
|
|
9011
9029
|
frequency: "rare" | "occasional" | "frequent";
|
|
9012
|
-
notes?: string | undefined;
|
|
9030
|
+
notes?: string | null | undefined;
|
|
9013
9031
|
}>, "many">;
|
|
9014
9032
|
allergies: z.ZodArray<z.ZodObject<{
|
|
9015
9033
|
type: z.ZodNativeEnum<typeof AllergyType>;
|
|
9016
9034
|
subtype: z.ZodUnion<[z.ZodNativeEnum<typeof MedicationAllergySubtype>, z.ZodNativeEnum<typeof FoodAllergySubtype>, z.ZodNativeEnum<typeof EnvironmentalAllergySubtype>, z.ZodNativeEnum<typeof CosmeticAllergySubtype>, z.ZodLiteral<"other">]>;
|
|
9017
|
-
name: z.ZodOptional<z.ZodString
|
|
9035
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9018
9036
|
severity: z.ZodOptional<z.ZodEnum<["mild", "moderate", "severe"]>>;
|
|
9019
|
-
reaction: z.ZodOptional<z.ZodString
|
|
9020
|
-
diagnosed: z.ZodOptional<z.ZodObject<{
|
|
9037
|
+
reaction: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9038
|
+
diagnosed: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
9021
9039
|
seconds: z.ZodNumber;
|
|
9022
9040
|
nanoseconds: z.ZodNumber;
|
|
9023
9041
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -9026,36 +9044,36 @@ declare const createPatientMedicalInfoSchema: z.ZodObject<Omit<{
|
|
|
9026
9044
|
}, {
|
|
9027
9045
|
seconds: number;
|
|
9028
9046
|
nanoseconds: number;
|
|
9029
|
-
}
|
|
9030
|
-
notes: z.ZodOptional<z.ZodString
|
|
9047
|
+
}>>>;
|
|
9048
|
+
notes: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9031
9049
|
}, "strip", z.ZodTypeAny, {
|
|
9032
9050
|
type: AllergyType;
|
|
9033
9051
|
subtype: "other" | MedicationAllergySubtype | FoodAllergySubtype | EnvironmentalAllergySubtype | CosmeticAllergySubtype;
|
|
9034
|
-
name?: string | undefined;
|
|
9052
|
+
name?: string | null | undefined;
|
|
9035
9053
|
severity?: "mild" | "moderate" | "severe" | undefined;
|
|
9036
|
-
reaction?: string | undefined;
|
|
9054
|
+
reaction?: string | null | undefined;
|
|
9037
9055
|
diagnosed?: {
|
|
9038
9056
|
seconds: number;
|
|
9039
9057
|
nanoseconds: number;
|
|
9040
|
-
} | undefined;
|
|
9041
|
-
notes?: string | undefined;
|
|
9058
|
+
} | null | undefined;
|
|
9059
|
+
notes?: string | null | undefined;
|
|
9042
9060
|
}, {
|
|
9043
9061
|
type: AllergyType;
|
|
9044
9062
|
subtype: "other" | MedicationAllergySubtype | FoodAllergySubtype | EnvironmentalAllergySubtype | CosmeticAllergySubtype;
|
|
9045
|
-
name?: string | undefined;
|
|
9063
|
+
name?: string | null | undefined;
|
|
9046
9064
|
severity?: "mild" | "moderate" | "severe" | undefined;
|
|
9047
|
-
reaction?: string | undefined;
|
|
9065
|
+
reaction?: string | null | undefined;
|
|
9048
9066
|
diagnosed?: {
|
|
9049
9067
|
seconds: number;
|
|
9050
9068
|
nanoseconds: number;
|
|
9051
|
-
} | undefined;
|
|
9052
|
-
notes?: string | undefined;
|
|
9069
|
+
} | null | undefined;
|
|
9070
|
+
notes?: string | null | undefined;
|
|
9053
9071
|
}>, "many">;
|
|
9054
9072
|
currentMedications: z.ZodArray<z.ZodObject<{
|
|
9055
9073
|
name: z.ZodString;
|
|
9056
9074
|
dosage: z.ZodString;
|
|
9057
9075
|
frequency: z.ZodString;
|
|
9058
|
-
startDate: z.ZodObject<{
|
|
9076
|
+
startDate: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
9059
9077
|
seconds: z.ZodNumber;
|
|
9060
9078
|
nanoseconds: z.ZodNumber;
|
|
9061
9079
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -9064,8 +9082,8 @@ declare const createPatientMedicalInfoSchema: z.ZodObject<Omit<{
|
|
|
9064
9082
|
}, {
|
|
9065
9083
|
seconds: number;
|
|
9066
9084
|
nanoseconds: number;
|
|
9067
|
-
}
|
|
9068
|
-
endDate: z.ZodOptional<z.ZodObject<{
|
|
9085
|
+
}>>>;
|
|
9086
|
+
endDate: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
9069
9087
|
seconds: z.ZodNumber;
|
|
9070
9088
|
nanoseconds: z.ZodNumber;
|
|
9071
9089
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -9074,34 +9092,34 @@ declare const createPatientMedicalInfoSchema: z.ZodObject<Omit<{
|
|
|
9074
9092
|
}, {
|
|
9075
9093
|
seconds: number;
|
|
9076
9094
|
nanoseconds: number;
|
|
9077
|
-
}
|
|
9078
|
-
prescribedBy: z.ZodOptional<z.ZodString
|
|
9095
|
+
}>>>;
|
|
9096
|
+
prescribedBy: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9079
9097
|
}, "strip", z.ZodTypeAny, {
|
|
9080
9098
|
name: string;
|
|
9081
9099
|
dosage: string;
|
|
9082
9100
|
frequency: string;
|
|
9083
|
-
startDate
|
|
9101
|
+
startDate?: {
|
|
9084
9102
|
seconds: number;
|
|
9085
9103
|
nanoseconds: number;
|
|
9086
|
-
};
|
|
9104
|
+
} | null | undefined;
|
|
9087
9105
|
endDate?: {
|
|
9088
9106
|
seconds: number;
|
|
9089
9107
|
nanoseconds: number;
|
|
9090
|
-
} | undefined;
|
|
9091
|
-
prescribedBy?: string | undefined;
|
|
9108
|
+
} | null | undefined;
|
|
9109
|
+
prescribedBy?: string | null | undefined;
|
|
9092
9110
|
}, {
|
|
9093
9111
|
name: string;
|
|
9094
9112
|
dosage: string;
|
|
9095
9113
|
frequency: string;
|
|
9096
|
-
startDate
|
|
9114
|
+
startDate?: {
|
|
9097
9115
|
seconds: number;
|
|
9098
9116
|
nanoseconds: number;
|
|
9099
|
-
};
|
|
9117
|
+
} | null | undefined;
|
|
9100
9118
|
endDate?: {
|
|
9101
9119
|
seconds: number;
|
|
9102
9120
|
nanoseconds: number;
|
|
9103
|
-
} | undefined;
|
|
9104
|
-
prescribedBy?: string | undefined;
|
|
9121
|
+
} | null | undefined;
|
|
9122
|
+
prescribedBy?: string | null | undefined;
|
|
9105
9123
|
}>, "many">;
|
|
9106
9124
|
emergencyNotes: z.ZodOptional<z.ZodString>;
|
|
9107
9125
|
lastUpdated: z.ZodObject<{
|
|
@@ -9135,7 +9153,7 @@ declare const createPatientMedicalInfoSchema: z.ZodObject<Omit<{
|
|
|
9135
9153
|
nanoseconds: number;
|
|
9136
9154
|
};
|
|
9137
9155
|
frequency: "rare" | "occasional" | "frequent";
|
|
9138
|
-
notes?: string | undefined;
|
|
9156
|
+
notes?: string | null | undefined;
|
|
9139
9157
|
}[];
|
|
9140
9158
|
vitalStats: {
|
|
9141
9159
|
height?: number | undefined;
|
|
@@ -9157,33 +9175,33 @@ declare const createPatientMedicalInfoSchema: z.ZodObject<Omit<{
|
|
|
9157
9175
|
seconds: number;
|
|
9158
9176
|
nanoseconds: number;
|
|
9159
9177
|
};
|
|
9160
|
-
notes?: string | undefined;
|
|
9178
|
+
notes?: string | null | undefined;
|
|
9161
9179
|
}[];
|
|
9162
9180
|
allergies: {
|
|
9163
9181
|
type: AllergyType;
|
|
9164
9182
|
subtype: "other" | MedicationAllergySubtype | FoodAllergySubtype | EnvironmentalAllergySubtype | CosmeticAllergySubtype;
|
|
9165
|
-
name?: string | undefined;
|
|
9183
|
+
name?: string | null | undefined;
|
|
9166
9184
|
severity?: "mild" | "moderate" | "severe" | undefined;
|
|
9167
|
-
reaction?: string | undefined;
|
|
9185
|
+
reaction?: string | null | undefined;
|
|
9168
9186
|
diagnosed?: {
|
|
9169
9187
|
seconds: number;
|
|
9170
9188
|
nanoseconds: number;
|
|
9171
|
-
} | undefined;
|
|
9172
|
-
notes?: string | undefined;
|
|
9189
|
+
} | null | undefined;
|
|
9190
|
+
notes?: string | null | undefined;
|
|
9173
9191
|
}[];
|
|
9174
9192
|
currentMedications: {
|
|
9175
9193
|
name: string;
|
|
9176
9194
|
dosage: string;
|
|
9177
9195
|
frequency: string;
|
|
9178
|
-
startDate
|
|
9196
|
+
startDate?: {
|
|
9179
9197
|
seconds: number;
|
|
9180
9198
|
nanoseconds: number;
|
|
9181
|
-
};
|
|
9199
|
+
} | null | undefined;
|
|
9182
9200
|
endDate?: {
|
|
9183
9201
|
seconds: number;
|
|
9184
9202
|
nanoseconds: number;
|
|
9185
|
-
} | undefined;
|
|
9186
|
-
prescribedBy?: string | undefined;
|
|
9203
|
+
} | null | undefined;
|
|
9204
|
+
prescribedBy?: string | null | undefined;
|
|
9187
9205
|
}[];
|
|
9188
9206
|
emergencyNotes?: string | undefined;
|
|
9189
9207
|
}, {
|
|
@@ -9195,7 +9213,7 @@ declare const createPatientMedicalInfoSchema: z.ZodObject<Omit<{
|
|
|
9195
9213
|
nanoseconds: number;
|
|
9196
9214
|
};
|
|
9197
9215
|
frequency: "rare" | "occasional" | "frequent";
|
|
9198
|
-
notes?: string | undefined;
|
|
9216
|
+
notes?: string | null | undefined;
|
|
9199
9217
|
}[];
|
|
9200
9218
|
vitalStats: {
|
|
9201
9219
|
height?: number | undefined;
|
|
@@ -9217,33 +9235,33 @@ declare const createPatientMedicalInfoSchema: z.ZodObject<Omit<{
|
|
|
9217
9235
|
seconds: number;
|
|
9218
9236
|
nanoseconds: number;
|
|
9219
9237
|
};
|
|
9220
|
-
notes?: string | undefined;
|
|
9238
|
+
notes?: string | null | undefined;
|
|
9221
9239
|
}[];
|
|
9222
9240
|
allergies: {
|
|
9223
9241
|
type: AllergyType;
|
|
9224
9242
|
subtype: "other" | MedicationAllergySubtype | FoodAllergySubtype | EnvironmentalAllergySubtype | CosmeticAllergySubtype;
|
|
9225
|
-
name?: string | undefined;
|
|
9243
|
+
name?: string | null | undefined;
|
|
9226
9244
|
severity?: "mild" | "moderate" | "severe" | undefined;
|
|
9227
|
-
reaction?: string | undefined;
|
|
9245
|
+
reaction?: string | null | undefined;
|
|
9228
9246
|
diagnosed?: {
|
|
9229
9247
|
seconds: number;
|
|
9230
9248
|
nanoseconds: number;
|
|
9231
|
-
} | undefined;
|
|
9232
|
-
notes?: string | undefined;
|
|
9249
|
+
} | null | undefined;
|
|
9250
|
+
notes?: string | null | undefined;
|
|
9233
9251
|
}[];
|
|
9234
9252
|
currentMedications: {
|
|
9235
9253
|
name: string;
|
|
9236
9254
|
dosage: string;
|
|
9237
9255
|
frequency: string;
|
|
9238
|
-
startDate
|
|
9256
|
+
startDate?: {
|
|
9239
9257
|
seconds: number;
|
|
9240
9258
|
nanoseconds: number;
|
|
9241
|
-
};
|
|
9259
|
+
} | null | undefined;
|
|
9242
9260
|
endDate?: {
|
|
9243
9261
|
seconds: number;
|
|
9244
9262
|
nanoseconds: number;
|
|
9245
|
-
} | undefined;
|
|
9246
|
-
prescribedBy?: string | undefined;
|
|
9263
|
+
} | null | undefined;
|
|
9264
|
+
prescribedBy?: string | null | undefined;
|
|
9247
9265
|
}[];
|
|
9248
9266
|
emergencyNotes?: string | undefined;
|
|
9249
9267
|
}>;
|
|
@@ -9261,7 +9279,7 @@ declare const updatePatientMedicalInfoSchema: z.ZodObject<{
|
|
|
9261
9279
|
nanoseconds: number;
|
|
9262
9280
|
}>;
|
|
9263
9281
|
frequency: z.ZodEnum<["rare", "occasional", "frequent"]>;
|
|
9264
|
-
notes: z.ZodOptional<z.ZodString
|
|
9282
|
+
notes: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9265
9283
|
isActive: z.ZodBoolean;
|
|
9266
9284
|
}, "strip", z.ZodTypeAny, {
|
|
9267
9285
|
isActive: boolean;
|
|
@@ -9271,7 +9289,7 @@ declare const updatePatientMedicalInfoSchema: z.ZodObject<{
|
|
|
9271
9289
|
nanoseconds: number;
|
|
9272
9290
|
};
|
|
9273
9291
|
frequency: "rare" | "occasional" | "frequent";
|
|
9274
|
-
notes?: string | undefined;
|
|
9292
|
+
notes?: string | null | undefined;
|
|
9275
9293
|
}, {
|
|
9276
9294
|
isActive: boolean;
|
|
9277
9295
|
condition: Contraindication;
|
|
@@ -9280,7 +9298,7 @@ declare const updatePatientMedicalInfoSchema: z.ZodObject<{
|
|
|
9280
9298
|
nanoseconds: number;
|
|
9281
9299
|
};
|
|
9282
9300
|
frequency: "rare" | "occasional" | "frequent";
|
|
9283
|
-
notes?: string | undefined;
|
|
9301
|
+
notes?: string | null | undefined;
|
|
9284
9302
|
}>, "many">>;
|
|
9285
9303
|
vitalStats: z.ZodOptional<z.ZodObject<{
|
|
9286
9304
|
height: z.ZodOptional<z.ZodNumber>;
|
|
@@ -9351,7 +9369,7 @@ declare const updatePatientMedicalInfoSchema: z.ZodObject<{
|
|
|
9351
9369
|
seconds: number;
|
|
9352
9370
|
nanoseconds: number;
|
|
9353
9371
|
}>;
|
|
9354
|
-
notes: z.ZodOptional<z.ZodString
|
|
9372
|
+
notes: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9355
9373
|
isActive: z.ZodBoolean;
|
|
9356
9374
|
}, "strip", z.ZodTypeAny, {
|
|
9357
9375
|
isActive: boolean;
|
|
@@ -9360,7 +9378,7 @@ declare const updatePatientMedicalInfoSchema: z.ZodObject<{
|
|
|
9360
9378
|
seconds: number;
|
|
9361
9379
|
nanoseconds: number;
|
|
9362
9380
|
};
|
|
9363
|
-
notes?: string | undefined;
|
|
9381
|
+
notes?: string | null | undefined;
|
|
9364
9382
|
}, {
|
|
9365
9383
|
isActive: boolean;
|
|
9366
9384
|
condition: BlockingCondition;
|
|
@@ -9368,15 +9386,15 @@ declare const updatePatientMedicalInfoSchema: z.ZodObject<{
|
|
|
9368
9386
|
seconds: number;
|
|
9369
9387
|
nanoseconds: number;
|
|
9370
9388
|
};
|
|
9371
|
-
notes?: string | undefined;
|
|
9389
|
+
notes?: string | null | undefined;
|
|
9372
9390
|
}>, "many">>;
|
|
9373
9391
|
allergies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9374
9392
|
type: z.ZodNativeEnum<typeof AllergyType>;
|
|
9375
9393
|
subtype: z.ZodUnion<[z.ZodNativeEnum<typeof MedicationAllergySubtype>, z.ZodNativeEnum<typeof FoodAllergySubtype>, z.ZodNativeEnum<typeof EnvironmentalAllergySubtype>, z.ZodNativeEnum<typeof CosmeticAllergySubtype>, z.ZodLiteral<"other">]>;
|
|
9376
|
-
name: z.ZodOptional<z.ZodString
|
|
9394
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9377
9395
|
severity: z.ZodOptional<z.ZodEnum<["mild", "moderate", "severe"]>>;
|
|
9378
|
-
reaction: z.ZodOptional<z.ZodString
|
|
9379
|
-
diagnosed: z.ZodOptional<z.ZodObject<{
|
|
9396
|
+
reaction: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9397
|
+
diagnosed: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
9380
9398
|
seconds: z.ZodNumber;
|
|
9381
9399
|
nanoseconds: z.ZodNumber;
|
|
9382
9400
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -9385,36 +9403,36 @@ declare const updatePatientMedicalInfoSchema: z.ZodObject<{
|
|
|
9385
9403
|
}, {
|
|
9386
9404
|
seconds: number;
|
|
9387
9405
|
nanoseconds: number;
|
|
9388
|
-
}
|
|
9389
|
-
notes: z.ZodOptional<z.ZodString
|
|
9406
|
+
}>>>;
|
|
9407
|
+
notes: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9390
9408
|
}, "strip", z.ZodTypeAny, {
|
|
9391
9409
|
type: AllergyType;
|
|
9392
9410
|
subtype: "other" | MedicationAllergySubtype | FoodAllergySubtype | EnvironmentalAllergySubtype | CosmeticAllergySubtype;
|
|
9393
|
-
name?: string | undefined;
|
|
9411
|
+
name?: string | null | undefined;
|
|
9394
9412
|
severity?: "mild" | "moderate" | "severe" | undefined;
|
|
9395
|
-
reaction?: string | undefined;
|
|
9413
|
+
reaction?: string | null | undefined;
|
|
9396
9414
|
diagnosed?: {
|
|
9397
9415
|
seconds: number;
|
|
9398
9416
|
nanoseconds: number;
|
|
9399
|
-
} | undefined;
|
|
9400
|
-
notes?: string | undefined;
|
|
9417
|
+
} | null | undefined;
|
|
9418
|
+
notes?: string | null | undefined;
|
|
9401
9419
|
}, {
|
|
9402
9420
|
type: AllergyType;
|
|
9403
9421
|
subtype: "other" | MedicationAllergySubtype | FoodAllergySubtype | EnvironmentalAllergySubtype | CosmeticAllergySubtype;
|
|
9404
|
-
name?: string | undefined;
|
|
9422
|
+
name?: string | null | undefined;
|
|
9405
9423
|
severity?: "mild" | "moderate" | "severe" | undefined;
|
|
9406
|
-
reaction?: string | undefined;
|
|
9424
|
+
reaction?: string | null | undefined;
|
|
9407
9425
|
diagnosed?: {
|
|
9408
9426
|
seconds: number;
|
|
9409
9427
|
nanoseconds: number;
|
|
9410
|
-
} | undefined;
|
|
9411
|
-
notes?: string | undefined;
|
|
9428
|
+
} | null | undefined;
|
|
9429
|
+
notes?: string | null | undefined;
|
|
9412
9430
|
}>, "many">>;
|
|
9413
9431
|
currentMedications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9414
9432
|
name: z.ZodString;
|
|
9415
9433
|
dosage: z.ZodString;
|
|
9416
9434
|
frequency: z.ZodString;
|
|
9417
|
-
startDate: z.ZodObject<{
|
|
9435
|
+
startDate: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
9418
9436
|
seconds: z.ZodNumber;
|
|
9419
9437
|
nanoseconds: z.ZodNumber;
|
|
9420
9438
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -9423,8 +9441,8 @@ declare const updatePatientMedicalInfoSchema: z.ZodObject<{
|
|
|
9423
9441
|
}, {
|
|
9424
9442
|
seconds: number;
|
|
9425
9443
|
nanoseconds: number;
|
|
9426
|
-
}
|
|
9427
|
-
endDate: z.ZodOptional<z.ZodObject<{
|
|
9444
|
+
}>>>;
|
|
9445
|
+
endDate: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
9428
9446
|
seconds: z.ZodNumber;
|
|
9429
9447
|
nanoseconds: z.ZodNumber;
|
|
9430
9448
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -9433,34 +9451,34 @@ declare const updatePatientMedicalInfoSchema: z.ZodObject<{
|
|
|
9433
9451
|
}, {
|
|
9434
9452
|
seconds: number;
|
|
9435
9453
|
nanoseconds: number;
|
|
9436
|
-
}
|
|
9437
|
-
prescribedBy: z.ZodOptional<z.ZodString
|
|
9454
|
+
}>>>;
|
|
9455
|
+
prescribedBy: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9438
9456
|
}, "strip", z.ZodTypeAny, {
|
|
9439
9457
|
name: string;
|
|
9440
9458
|
dosage: string;
|
|
9441
9459
|
frequency: string;
|
|
9442
|
-
startDate
|
|
9460
|
+
startDate?: {
|
|
9443
9461
|
seconds: number;
|
|
9444
9462
|
nanoseconds: number;
|
|
9445
|
-
};
|
|
9463
|
+
} | null | undefined;
|
|
9446
9464
|
endDate?: {
|
|
9447
9465
|
seconds: number;
|
|
9448
9466
|
nanoseconds: number;
|
|
9449
|
-
} | undefined;
|
|
9450
|
-
prescribedBy?: string | undefined;
|
|
9467
|
+
} | null | undefined;
|
|
9468
|
+
prescribedBy?: string | null | undefined;
|
|
9451
9469
|
}, {
|
|
9452
9470
|
name: string;
|
|
9453
9471
|
dosage: string;
|
|
9454
9472
|
frequency: string;
|
|
9455
|
-
startDate
|
|
9473
|
+
startDate?: {
|
|
9456
9474
|
seconds: number;
|
|
9457
9475
|
nanoseconds: number;
|
|
9458
|
-
};
|
|
9476
|
+
} | null | undefined;
|
|
9459
9477
|
endDate?: {
|
|
9460
9478
|
seconds: number;
|
|
9461
9479
|
nanoseconds: number;
|
|
9462
|
-
} | undefined;
|
|
9463
|
-
prescribedBy?: string | undefined;
|
|
9480
|
+
} | null | undefined;
|
|
9481
|
+
prescribedBy?: string | null | undefined;
|
|
9464
9482
|
}>, "many">>;
|
|
9465
9483
|
emergencyNotes: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
9466
9484
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -9472,7 +9490,7 @@ declare const updatePatientMedicalInfoSchema: z.ZodObject<{
|
|
|
9472
9490
|
nanoseconds: number;
|
|
9473
9491
|
};
|
|
9474
9492
|
frequency: "rare" | "occasional" | "frequent";
|
|
9475
|
-
notes?: string | undefined;
|
|
9493
|
+
notes?: string | null | undefined;
|
|
9476
9494
|
}[] | undefined;
|
|
9477
9495
|
vitalStats?: {
|
|
9478
9496
|
height?: number | undefined;
|
|
@@ -9494,33 +9512,33 @@ declare const updatePatientMedicalInfoSchema: z.ZodObject<{
|
|
|
9494
9512
|
seconds: number;
|
|
9495
9513
|
nanoseconds: number;
|
|
9496
9514
|
};
|
|
9497
|
-
notes?: string | undefined;
|
|
9515
|
+
notes?: string | null | undefined;
|
|
9498
9516
|
}[] | undefined;
|
|
9499
9517
|
allergies?: {
|
|
9500
9518
|
type: AllergyType;
|
|
9501
9519
|
subtype: "other" | MedicationAllergySubtype | FoodAllergySubtype | EnvironmentalAllergySubtype | CosmeticAllergySubtype;
|
|
9502
|
-
name?: string | undefined;
|
|
9520
|
+
name?: string | null | undefined;
|
|
9503
9521
|
severity?: "mild" | "moderate" | "severe" | undefined;
|
|
9504
|
-
reaction?: string | undefined;
|
|
9522
|
+
reaction?: string | null | undefined;
|
|
9505
9523
|
diagnosed?: {
|
|
9506
9524
|
seconds: number;
|
|
9507
9525
|
nanoseconds: number;
|
|
9508
|
-
} | undefined;
|
|
9509
|
-
notes?: string | undefined;
|
|
9526
|
+
} | null | undefined;
|
|
9527
|
+
notes?: string | null | undefined;
|
|
9510
9528
|
}[] | undefined;
|
|
9511
9529
|
currentMedications?: {
|
|
9512
9530
|
name: string;
|
|
9513
9531
|
dosage: string;
|
|
9514
9532
|
frequency: string;
|
|
9515
|
-
startDate
|
|
9533
|
+
startDate?: {
|
|
9516
9534
|
seconds: number;
|
|
9517
9535
|
nanoseconds: number;
|
|
9518
|
-
};
|
|
9536
|
+
} | null | undefined;
|
|
9519
9537
|
endDate?: {
|
|
9520
9538
|
seconds: number;
|
|
9521
9539
|
nanoseconds: number;
|
|
9522
|
-
} | undefined;
|
|
9523
|
-
prescribedBy?: string | undefined;
|
|
9540
|
+
} | null | undefined;
|
|
9541
|
+
prescribedBy?: string | null | undefined;
|
|
9524
9542
|
}[] | undefined;
|
|
9525
9543
|
emergencyNotes?: string | undefined;
|
|
9526
9544
|
}, {
|
|
@@ -9532,7 +9550,7 @@ declare const updatePatientMedicalInfoSchema: z.ZodObject<{
|
|
|
9532
9550
|
nanoseconds: number;
|
|
9533
9551
|
};
|
|
9534
9552
|
frequency: "rare" | "occasional" | "frequent";
|
|
9535
|
-
notes?: string | undefined;
|
|
9553
|
+
notes?: string | null | undefined;
|
|
9536
9554
|
}[] | undefined;
|
|
9537
9555
|
vitalStats?: {
|
|
9538
9556
|
height?: number | undefined;
|
|
@@ -9554,33 +9572,33 @@ declare const updatePatientMedicalInfoSchema: z.ZodObject<{
|
|
|
9554
9572
|
seconds: number;
|
|
9555
9573
|
nanoseconds: number;
|
|
9556
9574
|
};
|
|
9557
|
-
notes?: string | undefined;
|
|
9575
|
+
notes?: string | null | undefined;
|
|
9558
9576
|
}[] | undefined;
|
|
9559
9577
|
allergies?: {
|
|
9560
9578
|
type: AllergyType;
|
|
9561
9579
|
subtype: "other" | MedicationAllergySubtype | FoodAllergySubtype | EnvironmentalAllergySubtype | CosmeticAllergySubtype;
|
|
9562
|
-
name?: string | undefined;
|
|
9580
|
+
name?: string | null | undefined;
|
|
9563
9581
|
severity?: "mild" | "moderate" | "severe" | undefined;
|
|
9564
|
-
reaction?: string | undefined;
|
|
9582
|
+
reaction?: string | null | undefined;
|
|
9565
9583
|
diagnosed?: {
|
|
9566
9584
|
seconds: number;
|
|
9567
9585
|
nanoseconds: number;
|
|
9568
|
-
} | undefined;
|
|
9569
|
-
notes?: string | undefined;
|
|
9586
|
+
} | null | undefined;
|
|
9587
|
+
notes?: string | null | undefined;
|
|
9570
9588
|
}[] | undefined;
|
|
9571
9589
|
currentMedications?: {
|
|
9572
9590
|
name: string;
|
|
9573
9591
|
dosage: string;
|
|
9574
9592
|
frequency: string;
|
|
9575
|
-
startDate
|
|
9593
|
+
startDate?: {
|
|
9576
9594
|
seconds: number;
|
|
9577
9595
|
nanoseconds: number;
|
|
9578
|
-
};
|
|
9596
|
+
} | null | undefined;
|
|
9579
9597
|
endDate?: {
|
|
9580
9598
|
seconds: number;
|
|
9581
9599
|
nanoseconds: number;
|
|
9582
|
-
} | undefined;
|
|
9583
|
-
prescribedBy?: string | undefined;
|
|
9600
|
+
} | null | undefined;
|
|
9601
|
+
prescribedBy?: string | null | undefined;
|
|
9584
9602
|
}[] | undefined;
|
|
9585
9603
|
emergencyNotes?: string | undefined;
|
|
9586
9604
|
}>;
|
|
@@ -9644,10 +9662,10 @@ declare const updateVitalStatsSchema: z.ZodObject<{
|
|
|
9644
9662
|
declare const addAllergySchema: z.ZodObject<{
|
|
9645
9663
|
type: z.ZodNativeEnum<typeof AllergyType>;
|
|
9646
9664
|
subtype: z.ZodUnion<[z.ZodNativeEnum<typeof MedicationAllergySubtype>, z.ZodNativeEnum<typeof FoodAllergySubtype>, z.ZodNativeEnum<typeof EnvironmentalAllergySubtype>, z.ZodNativeEnum<typeof CosmeticAllergySubtype>, z.ZodLiteral<"other">]>;
|
|
9647
|
-
name: z.ZodOptional<z.ZodString
|
|
9665
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9648
9666
|
severity: z.ZodOptional<z.ZodEnum<["mild", "moderate", "severe"]>>;
|
|
9649
|
-
reaction: z.ZodOptional<z.ZodString
|
|
9650
|
-
diagnosed: z.ZodOptional<z.ZodObject<{
|
|
9667
|
+
reaction: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9668
|
+
diagnosed: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
9651
9669
|
seconds: z.ZodNumber;
|
|
9652
9670
|
nanoseconds: z.ZodNumber;
|
|
9653
9671
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -9656,38 +9674,38 @@ declare const addAllergySchema: z.ZodObject<{
|
|
|
9656
9674
|
}, {
|
|
9657
9675
|
seconds: number;
|
|
9658
9676
|
nanoseconds: number;
|
|
9659
|
-
}
|
|
9660
|
-
notes: z.ZodOptional<z.ZodString
|
|
9677
|
+
}>>>;
|
|
9678
|
+
notes: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9661
9679
|
}, "strip", z.ZodTypeAny, {
|
|
9662
9680
|
type: AllergyType;
|
|
9663
9681
|
subtype: "other" | MedicationAllergySubtype | FoodAllergySubtype | EnvironmentalAllergySubtype | CosmeticAllergySubtype;
|
|
9664
|
-
name?: string | undefined;
|
|
9682
|
+
name?: string | null | undefined;
|
|
9665
9683
|
severity?: "mild" | "moderate" | "severe" | undefined;
|
|
9666
|
-
reaction?: string | undefined;
|
|
9684
|
+
reaction?: string | null | undefined;
|
|
9667
9685
|
diagnosed?: {
|
|
9668
9686
|
seconds: number;
|
|
9669
9687
|
nanoseconds: number;
|
|
9670
|
-
} | undefined;
|
|
9671
|
-
notes?: string | undefined;
|
|
9688
|
+
} | null | undefined;
|
|
9689
|
+
notes?: string | null | undefined;
|
|
9672
9690
|
}, {
|
|
9673
9691
|
type: AllergyType;
|
|
9674
9692
|
subtype: "other" | MedicationAllergySubtype | FoodAllergySubtype | EnvironmentalAllergySubtype | CosmeticAllergySubtype;
|
|
9675
|
-
name?: string | undefined;
|
|
9693
|
+
name?: string | null | undefined;
|
|
9676
9694
|
severity?: "mild" | "moderate" | "severe" | undefined;
|
|
9677
|
-
reaction?: string | undefined;
|
|
9695
|
+
reaction?: string | null | undefined;
|
|
9678
9696
|
diagnosed?: {
|
|
9679
9697
|
seconds: number;
|
|
9680
9698
|
nanoseconds: number;
|
|
9681
|
-
} | undefined;
|
|
9682
|
-
notes?: string | undefined;
|
|
9699
|
+
} | null | undefined;
|
|
9700
|
+
notes?: string | null | undefined;
|
|
9683
9701
|
}>;
|
|
9684
9702
|
declare const updateAllergySchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
9685
9703
|
type: z.ZodOptional<z.ZodNativeEnum<typeof AllergyType>>;
|
|
9686
9704
|
subtype: z.ZodOptional<z.ZodUnion<[z.ZodNativeEnum<typeof MedicationAllergySubtype>, z.ZodNativeEnum<typeof FoodAllergySubtype>, z.ZodNativeEnum<typeof EnvironmentalAllergySubtype>, z.ZodNativeEnum<typeof CosmeticAllergySubtype>, z.ZodLiteral<"other">]>>;
|
|
9687
|
-
name: z.ZodOptional<z.ZodOptional<z.ZodString
|
|
9705
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
9688
9706
|
severity: z.ZodOptional<z.ZodOptional<z.ZodEnum<["mild", "moderate", "severe"]>>>;
|
|
9689
|
-
reaction: z.ZodOptional<z.ZodOptional<z.ZodString
|
|
9690
|
-
diagnosed: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
9707
|
+
reaction: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
9708
|
+
diagnosed: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
9691
9709
|
seconds: z.ZodNumber;
|
|
9692
9710
|
nanoseconds: z.ZodNumber;
|
|
9693
9711
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -9696,34 +9714,34 @@ declare const updateAllergySchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
9696
9714
|
}, {
|
|
9697
9715
|
seconds: number;
|
|
9698
9716
|
nanoseconds: number;
|
|
9699
|
-
}
|
|
9700
|
-
notes: z.ZodOptional<z.ZodOptional<z.ZodString
|
|
9717
|
+
}>>>>;
|
|
9718
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
9701
9719
|
}, {
|
|
9702
9720
|
allergyIndex: z.ZodNumber;
|
|
9703
9721
|
}>, "strip", z.ZodTypeAny, {
|
|
9704
9722
|
allergyIndex: number;
|
|
9705
9723
|
type?: AllergyType | undefined;
|
|
9706
|
-
name?: string | undefined;
|
|
9724
|
+
name?: string | null | undefined;
|
|
9707
9725
|
subtype?: "other" | MedicationAllergySubtype | FoodAllergySubtype | EnvironmentalAllergySubtype | CosmeticAllergySubtype | undefined;
|
|
9708
9726
|
severity?: "mild" | "moderate" | "severe" | undefined;
|
|
9709
|
-
reaction?: string | undefined;
|
|
9727
|
+
reaction?: string | null | undefined;
|
|
9710
9728
|
diagnosed?: {
|
|
9711
9729
|
seconds: number;
|
|
9712
9730
|
nanoseconds: number;
|
|
9713
|
-
} | undefined;
|
|
9714
|
-
notes?: string | undefined;
|
|
9731
|
+
} | null | undefined;
|
|
9732
|
+
notes?: string | null | undefined;
|
|
9715
9733
|
}, {
|
|
9716
9734
|
allergyIndex: number;
|
|
9717
9735
|
type?: AllergyType | undefined;
|
|
9718
|
-
name?: string | undefined;
|
|
9736
|
+
name?: string | null | undefined;
|
|
9719
9737
|
subtype?: "other" | MedicationAllergySubtype | FoodAllergySubtype | EnvironmentalAllergySubtype | CosmeticAllergySubtype | undefined;
|
|
9720
9738
|
severity?: "mild" | "moderate" | "severe" | undefined;
|
|
9721
|
-
reaction?: string | undefined;
|
|
9739
|
+
reaction?: string | null | undefined;
|
|
9722
9740
|
diagnosed?: {
|
|
9723
9741
|
seconds: number;
|
|
9724
9742
|
nanoseconds: number;
|
|
9725
|
-
} | undefined;
|
|
9726
|
-
notes?: string | undefined;
|
|
9743
|
+
} | null | undefined;
|
|
9744
|
+
notes?: string | null | undefined;
|
|
9727
9745
|
}>;
|
|
9728
9746
|
declare const addBlockingConditionSchema: z.ZodObject<{
|
|
9729
9747
|
condition: z.ZodNativeEnum<typeof BlockingCondition>;
|
|
@@ -9737,7 +9755,7 @@ declare const addBlockingConditionSchema: z.ZodObject<{
|
|
|
9737
9755
|
seconds: number;
|
|
9738
9756
|
nanoseconds: number;
|
|
9739
9757
|
}>;
|
|
9740
|
-
notes: z.ZodOptional<z.ZodString
|
|
9758
|
+
notes: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9741
9759
|
isActive: z.ZodBoolean;
|
|
9742
9760
|
}, "strip", z.ZodTypeAny, {
|
|
9743
9761
|
isActive: boolean;
|
|
@@ -9746,7 +9764,7 @@ declare const addBlockingConditionSchema: z.ZodObject<{
|
|
|
9746
9764
|
seconds: number;
|
|
9747
9765
|
nanoseconds: number;
|
|
9748
9766
|
};
|
|
9749
|
-
notes?: string | undefined;
|
|
9767
|
+
notes?: string | null | undefined;
|
|
9750
9768
|
}, {
|
|
9751
9769
|
isActive: boolean;
|
|
9752
9770
|
condition: BlockingCondition;
|
|
@@ -9754,7 +9772,7 @@ declare const addBlockingConditionSchema: z.ZodObject<{
|
|
|
9754
9772
|
seconds: number;
|
|
9755
9773
|
nanoseconds: number;
|
|
9756
9774
|
};
|
|
9757
|
-
notes?: string | undefined;
|
|
9775
|
+
notes?: string | null | undefined;
|
|
9758
9776
|
}>;
|
|
9759
9777
|
declare const updateBlockingConditionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
9760
9778
|
condition: z.ZodOptional<z.ZodNativeEnum<typeof BlockingCondition>>;
|
|
@@ -9768,14 +9786,14 @@ declare const updateBlockingConditionSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
9768
9786
|
seconds: number;
|
|
9769
9787
|
nanoseconds: number;
|
|
9770
9788
|
}>>;
|
|
9771
|
-
notes: z.ZodOptional<z.ZodOptional<z.ZodString
|
|
9789
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
9772
9790
|
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
9773
9791
|
}, {
|
|
9774
9792
|
conditionIndex: z.ZodNumber;
|
|
9775
9793
|
}>, "strip", z.ZodTypeAny, {
|
|
9776
9794
|
conditionIndex: number;
|
|
9777
9795
|
isActive?: boolean | undefined;
|
|
9778
|
-
notes?: string | undefined;
|
|
9796
|
+
notes?: string | null | undefined;
|
|
9779
9797
|
condition?: BlockingCondition | undefined;
|
|
9780
9798
|
diagnosedAt?: {
|
|
9781
9799
|
seconds: number;
|
|
@@ -9784,7 +9802,7 @@ declare const updateBlockingConditionSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
9784
9802
|
}, {
|
|
9785
9803
|
conditionIndex: number;
|
|
9786
9804
|
isActive?: boolean | undefined;
|
|
9787
|
-
notes?: string | undefined;
|
|
9805
|
+
notes?: string | null | undefined;
|
|
9788
9806
|
condition?: BlockingCondition | undefined;
|
|
9789
9807
|
diagnosedAt?: {
|
|
9790
9808
|
seconds: number;
|
|
@@ -9804,7 +9822,7 @@ declare const addContraindicationSchema: z.ZodObject<{
|
|
|
9804
9822
|
nanoseconds: number;
|
|
9805
9823
|
}>;
|
|
9806
9824
|
frequency: z.ZodEnum<["rare", "occasional", "frequent"]>;
|
|
9807
|
-
notes: z.ZodOptional<z.ZodString
|
|
9825
|
+
notes: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9808
9826
|
isActive: z.ZodBoolean;
|
|
9809
9827
|
}, "strip", z.ZodTypeAny, {
|
|
9810
9828
|
isActive: boolean;
|
|
@@ -9814,7 +9832,7 @@ declare const addContraindicationSchema: z.ZodObject<{
|
|
|
9814
9832
|
nanoseconds: number;
|
|
9815
9833
|
};
|
|
9816
9834
|
frequency: "rare" | "occasional" | "frequent";
|
|
9817
|
-
notes?: string | undefined;
|
|
9835
|
+
notes?: string | null | undefined;
|
|
9818
9836
|
}, {
|
|
9819
9837
|
isActive: boolean;
|
|
9820
9838
|
condition: Contraindication;
|
|
@@ -9823,7 +9841,7 @@ declare const addContraindicationSchema: z.ZodObject<{
|
|
|
9823
9841
|
nanoseconds: number;
|
|
9824
9842
|
};
|
|
9825
9843
|
frequency: "rare" | "occasional" | "frequent";
|
|
9826
|
-
notes?: string | undefined;
|
|
9844
|
+
notes?: string | null | undefined;
|
|
9827
9845
|
}>;
|
|
9828
9846
|
declare const updateContraindicationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
9829
9847
|
condition: z.ZodOptional<z.ZodNativeEnum<typeof Contraindication>>;
|
|
@@ -9838,14 +9856,14 @@ declare const updateContraindicationSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
9838
9856
|
nanoseconds: number;
|
|
9839
9857
|
}>>;
|
|
9840
9858
|
frequency: z.ZodOptional<z.ZodEnum<["rare", "occasional", "frequent"]>>;
|
|
9841
|
-
notes: z.ZodOptional<z.ZodOptional<z.ZodString
|
|
9859
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
9842
9860
|
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
9843
9861
|
}, {
|
|
9844
9862
|
contraindicationIndex: z.ZodNumber;
|
|
9845
9863
|
}>, "strip", z.ZodTypeAny, {
|
|
9846
9864
|
contraindicationIndex: number;
|
|
9847
9865
|
isActive?: boolean | undefined;
|
|
9848
|
-
notes?: string | undefined;
|
|
9866
|
+
notes?: string | null | undefined;
|
|
9849
9867
|
condition?: Contraindication | undefined;
|
|
9850
9868
|
lastOccurrence?: {
|
|
9851
9869
|
seconds: number;
|
|
@@ -9855,7 +9873,7 @@ declare const updateContraindicationSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
9855
9873
|
}, {
|
|
9856
9874
|
contraindicationIndex: number;
|
|
9857
9875
|
isActive?: boolean | undefined;
|
|
9858
|
-
notes?: string | undefined;
|
|
9876
|
+
notes?: string | null | undefined;
|
|
9859
9877
|
condition?: Contraindication | undefined;
|
|
9860
9878
|
lastOccurrence?: {
|
|
9861
9879
|
seconds: number;
|
|
@@ -9867,7 +9885,7 @@ declare const addMedicationSchema: z.ZodObject<{
|
|
|
9867
9885
|
name: z.ZodString;
|
|
9868
9886
|
dosage: z.ZodString;
|
|
9869
9887
|
frequency: z.ZodString;
|
|
9870
|
-
startDate: z.ZodObject<{
|
|
9888
|
+
startDate: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
9871
9889
|
seconds: z.ZodNumber;
|
|
9872
9890
|
nanoseconds: z.ZodNumber;
|
|
9873
9891
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -9876,8 +9894,8 @@ declare const addMedicationSchema: z.ZodObject<{
|
|
|
9876
9894
|
}, {
|
|
9877
9895
|
seconds: number;
|
|
9878
9896
|
nanoseconds: number;
|
|
9879
|
-
}
|
|
9880
|
-
endDate: z.ZodOptional<z.ZodObject<{
|
|
9897
|
+
}>>>;
|
|
9898
|
+
endDate: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
9881
9899
|
seconds: z.ZodNumber;
|
|
9882
9900
|
nanoseconds: z.ZodNumber;
|
|
9883
9901
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -9886,40 +9904,40 @@ declare const addMedicationSchema: z.ZodObject<{
|
|
|
9886
9904
|
}, {
|
|
9887
9905
|
seconds: number;
|
|
9888
9906
|
nanoseconds: number;
|
|
9889
|
-
}
|
|
9890
|
-
prescribedBy: z.ZodOptional<z.ZodString
|
|
9907
|
+
}>>>;
|
|
9908
|
+
prescribedBy: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9891
9909
|
}, "strip", z.ZodTypeAny, {
|
|
9892
9910
|
name: string;
|
|
9893
9911
|
dosage: string;
|
|
9894
9912
|
frequency: string;
|
|
9895
|
-
startDate
|
|
9913
|
+
startDate?: {
|
|
9896
9914
|
seconds: number;
|
|
9897
9915
|
nanoseconds: number;
|
|
9898
|
-
};
|
|
9916
|
+
} | null | undefined;
|
|
9899
9917
|
endDate?: {
|
|
9900
9918
|
seconds: number;
|
|
9901
9919
|
nanoseconds: number;
|
|
9902
|
-
} | undefined;
|
|
9903
|
-
prescribedBy?: string | undefined;
|
|
9920
|
+
} | null | undefined;
|
|
9921
|
+
prescribedBy?: string | null | undefined;
|
|
9904
9922
|
}, {
|
|
9905
9923
|
name: string;
|
|
9906
9924
|
dosage: string;
|
|
9907
9925
|
frequency: string;
|
|
9908
|
-
startDate
|
|
9926
|
+
startDate?: {
|
|
9909
9927
|
seconds: number;
|
|
9910
9928
|
nanoseconds: number;
|
|
9911
|
-
};
|
|
9929
|
+
} | null | undefined;
|
|
9912
9930
|
endDate?: {
|
|
9913
9931
|
seconds: number;
|
|
9914
9932
|
nanoseconds: number;
|
|
9915
|
-
} | undefined;
|
|
9916
|
-
prescribedBy?: string | undefined;
|
|
9933
|
+
} | null | undefined;
|
|
9934
|
+
prescribedBy?: string | null | undefined;
|
|
9917
9935
|
}>;
|
|
9918
9936
|
declare const updateMedicationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
9919
9937
|
name: z.ZodOptional<z.ZodString>;
|
|
9920
9938
|
dosage: z.ZodOptional<z.ZodString>;
|
|
9921
9939
|
frequency: z.ZodOptional<z.ZodString>;
|
|
9922
|
-
startDate: z.ZodOptional<z.ZodObject<{
|
|
9940
|
+
startDate: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
9923
9941
|
seconds: z.ZodNumber;
|
|
9924
9942
|
nanoseconds: z.ZodNumber;
|
|
9925
9943
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -9928,8 +9946,8 @@ declare const updateMedicationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
9928
9946
|
}, {
|
|
9929
9947
|
seconds: number;
|
|
9930
9948
|
nanoseconds: number;
|
|
9931
|
-
}
|
|
9932
|
-
endDate: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
9949
|
+
}>>>>;
|
|
9950
|
+
endDate: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
9933
9951
|
seconds: z.ZodNumber;
|
|
9934
9952
|
nanoseconds: z.ZodNumber;
|
|
9935
9953
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -9938,8 +9956,8 @@ declare const updateMedicationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
9938
9956
|
}, {
|
|
9939
9957
|
seconds: number;
|
|
9940
9958
|
nanoseconds: number;
|
|
9941
|
-
}
|
|
9942
|
-
prescribedBy: z.ZodOptional<z.ZodOptional<z.ZodString
|
|
9959
|
+
}>>>>;
|
|
9960
|
+
prescribedBy: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
9943
9961
|
}, {
|
|
9944
9962
|
medicationIndex: z.ZodNumber;
|
|
9945
9963
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -9950,12 +9968,12 @@ declare const updateMedicationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
9950
9968
|
startDate?: {
|
|
9951
9969
|
seconds: number;
|
|
9952
9970
|
nanoseconds: number;
|
|
9953
|
-
} | undefined;
|
|
9971
|
+
} | null | undefined;
|
|
9954
9972
|
endDate?: {
|
|
9955
9973
|
seconds: number;
|
|
9956
9974
|
nanoseconds: number;
|
|
9957
|
-
} | undefined;
|
|
9958
|
-
prescribedBy?: string | undefined;
|
|
9975
|
+
} | null | undefined;
|
|
9976
|
+
prescribedBy?: string | null | undefined;
|
|
9959
9977
|
}, {
|
|
9960
9978
|
medicationIndex: number;
|
|
9961
9979
|
name?: string | undefined;
|
|
@@ -9964,12 +9982,12 @@ declare const updateMedicationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
9964
9982
|
startDate?: {
|
|
9965
9983
|
seconds: number;
|
|
9966
9984
|
nanoseconds: number;
|
|
9967
|
-
} | undefined;
|
|
9985
|
+
} | null | undefined;
|
|
9968
9986
|
endDate?: {
|
|
9969
9987
|
seconds: number;
|
|
9970
9988
|
nanoseconds: number;
|
|
9971
|
-
} | undefined;
|
|
9972
|
-
prescribedBy?: string | undefined;
|
|
9989
|
+
} | null | undefined;
|
|
9990
|
+
prescribedBy?: string | null | undefined;
|
|
9973
9991
|
}>;
|
|
9974
9992
|
|
|
9975
9993
|
/**
|
|
@@ -19127,4 +19145,4 @@ declare const createReviewSchema: z.ZodEffects<z.ZodObject<{
|
|
|
19127
19145
|
} | undefined;
|
|
19128
19146
|
}>;
|
|
19129
19147
|
|
|
19130
|
-
export { APPOINTMENTS_COLLECTION, AUTH_ERRORS, type AddAllergyData, type AddBlockingConditionData, type AddContraindicationData, type AddMedicationData, type AddressData, type AdminInfo, type AdminToken, AdminTokenStatus, type Allergy, type AllergySubtype, AllergyType, type AllergyTypeWithSubtype, type Appointment, type AppointmentReminderNotification, AppointmentService, AppointmentStatus, AuthError, AuthService, type BaseNotification, BlockingCondition, type Brand, BrandService, CALENDAR_COLLECTION, CLINICS_COLLECTION, CLINIC_ADMINS_COLLECTION, CLINIC_GROUPS_COLLECTION, type CalendarEvent, CalendarEventStatus, type CalendarEventTime, CalendarEventType, CalendarServiceV2, CalendarSyncStatus, type Category, CategoryService, CertificationLevel, CertificationSpecialty, type Clinic, type ClinicAdmin, ClinicAdminService, type ClinicAdminSignupData, type ClinicBranchSetupData, type ClinicContactInfo, type ClinicGroup, ClinicGroupService, type ClinicGroupSetupData, type ClinicInfo, type ClinicLocation, ClinicPhotoTag, type ClinicReview, type ClinicReviewInfo, ClinicService, ClinicTag, type ClinicTags, type ContactPerson, Contraindication, CosmeticAllergySubtype, type CreateAdminTokenData, type CreateAppointmentData, type CreateAppointmentHttpData, type CreateAppointmentParams, type CreateCalendarEventData, type CreateClinicAdminData, type CreateClinicData, type CreateClinicGroupData, type CreateDefaultClinicGroupData, type CreateDocumentTemplateData, type CreateDraftPractitionerData, type CreatePatientLocationInfoData, type CreatePatientMedicalInfoData, type CreatePatientProfileData, type CreatePatientSensitiveInfoData, type CreatePractitionerData, type CreatePractitionerTokenData, type CreateProcedureData, type CreateSyncedCalendarData, type CreateUserData, Currency, DOCUMENTATION_TEMPLATES_COLLECTION, type DateRange, type DoctorInfo, type DocumentElement, DocumentElementType, type DocumentTemplate, DocumentationTemplateService, DynamicVariable, type EmergencyContact, EnvironmentalAllergySubtype, FILLED_DOCUMENTS_COLLECTION, type FilledDocument, FilledDocumentService, FilledDocumentStatus, FirebaseErrorCode, type FirebaseUser, FoodAllergySubtype, type GamificationInfo, Gender, HeadingLevel, Language, ListType, type LocationData, MedicationAllergySubtype, type Notification, NotificationService, NotificationStatus, NotificationType, PATIENTS_COLLECTION, PATIENT_APPOINTMENTS_COLLECTION, PATIENT_LOCATION_INFO_COLLECTION, PATIENT_MEDICAL_HISTORY_COLLECTION, PATIENT_MEDICAL_INFO_COLLECTION, PATIENT_REQUIREMENTS_SUBCOLLECTION_NAME, PATIENT_SENSITIVE_INFO_COLLECTION, PRACTITIONERS_COLLECTION, PROCEDURES_COLLECTION, type PatientClinic, type PatientDoctor, PatientInstructionStatus, type PatientLocationInfo, type PatientMedicalInfo, type PatientProfile, type PatientProfileComplete, type PatientProfileInfo, type PatientRequirementInstance, type PatientRequirementInstruction, PatientRequirementOverallStatus, PatientRequirementsService, type PatientSensitiveInfo, PatientService, PaymentStatus, type PostRequirementNotification, PracticeType, type Practitioner, type PractitionerBasicInfo, type PractitionerCertification, type PractitionerClinicProcedures, type PractitionerClinicWorkingHours, type PractitionerProfileInfo, type PractitionerReview, type PractitionerReviewInfo, PractitionerService, PractitionerStatus, type PractitionerToken, PractitionerTokenStatus, type PractitionerWorkingHours, type PreRequirementNotification, PricingMeasure, type Procedure, type ProcedureCategorization, ProcedureFamily, type ProcedureInfo, type ProcedureReview, type ProcedureReviewInfo, ProcedureService, type Product, ProductService, REGISTER_TOKENS_COLLECTION, REVIEWS_COLLECTION, type RequesterInfo, type Requirement, RequirementType, type Review, ReviewService, SYNCED_CALENDARS_COLLECTION, type SearchAppointmentsParams, type SearchCalendarEventsParams, SearchLocationEnum, type SearchPatientsParams, type Subcategory, SubcategoryService, SubscriptionModel, type SyncedCalendar, type SyncedCalendarEvent, SyncedCalendarProvider, SyncedCalendarsService, type Technology, TechnologyService, type TimeSlot, TimeUnit, TreatmentBenefit, USER_ERRORS, type UpdateAllergyData, type UpdateAppointmentData, type UpdateAppointmentParams, type UpdateBlockingConditionData, type UpdateCalendarEventData, type UpdateClinicAdminData, type UpdateClinicData, type UpdateClinicGroupData, type UpdateContraindicationData, type UpdateDocumentTemplateData, type UpdateMedicationData, type UpdatePatientLocationInfoData, type UpdatePatientMedicalInfoData, type UpdatePatientProfileData, type UpdatePatientSensitiveInfoData, type UpdatePractitionerData, type UpdateProcedureData, type UpdateSyncedCalendarData, type UpdateVitalStatsData, type User, UserRole, UserService, type ValidationSchema, type VitalStats, type WorkingHours, addAllergySchema, addBlockingConditionSchema, addContraindicationSchema, addMedicationSchema, addressDataSchema, adminInfoSchema, adminTokenSchema, allergySchema, allergySubtypeSchema, appointmentNotificationSchema, appointmentReminderNotificationSchema, baseNotificationSchema, blockingConditionSchema, calendarEventSchema, calendarEventTimeSchema, clinicAdminOptionsSchema, clinicAdminSchema, clinicAdminSignupSchema, clinicBranchSetupSchema, clinicContactInfoSchema, clinicGroupSchema, clinicGroupSetupSchema, clinicLocationSchema, clinicReviewInfoSchema, clinicReviewSchema, clinicSchema, clinicTagsSchema, contactPersonSchema, contraindicationSchema, createAdminTokenSchema, createAppointmentSchema, createCalendarEventSchema, createClinicAdminSchema, createClinicGroupSchema, createClinicReviewSchema, createClinicSchema, createDefaultClinicGroupSchema, createDocumentTemplateSchema, createDraftPractitionerSchema, createFilledDocumentDataSchema, createPatientLocationInfoSchema, createPatientMedicalInfoSchema, createPatientProfileSchema, createPatientSensitiveInfoSchema, createPractitionerReviewSchema, createPractitionerSchema, createPractitionerTokenSchema, createProcedureReviewSchema, createReviewSchema, createUserOptionsSchema, documentElementSchema, documentElementWithoutIdSchema, documentTemplateSchema, emailSchema, emergencyContactSchema, filledDocumentSchema, filledDocumentStatusSchema, gamificationSchema, getFirebaseApp, getFirebaseAuth, getFirebaseDB, getFirebaseInstance, initializeFirebase, locationDataSchema, medicationSchema, notificationSchema, passwordSchema, patientClinicSchema, patientDoctorSchema, patientLocationInfoSchema, patientMedicalInfoSchema, patientProfileInfoSchema, patientProfileSchema, patientSensitiveInfoSchema, postRequirementNotificationSchema, practitionerBasicInfoSchema, practitionerCertificationSchema, practitionerClinicWorkingHoursSchema, practitionerProfileInfoSchema, practitionerReviewInfoSchema, practitionerReviewSchema, practitionerSchema, practitionerSignupSchema, practitionerTokenSchema, practitionerWorkingHoursSchema, preRequirementNotificationSchema, procedureCategorizationSchema, procedureInfoSchema, procedureReviewInfoSchema, procedureReviewSchema, requesterInfoSchema, requirementInstructionDueNotificationSchema, reviewSchema, searchAppointmentsSchema, searchPatientsSchema, syncedCalendarEventSchema, timeSlotSchema, timestampSchema, updateAllergySchema, updateAppointmentSchema, updateBlockingConditionSchema, updateCalendarEventSchema, updateClinicAdminSchema, updateClinicGroupSchema, updateClinicSchema, updateContraindicationSchema, updateDocumentTemplateSchema, updateFilledDocumentDataSchema, updateMedicationSchema, updatePatientMedicalInfoSchema, updateVitalStatsSchema, userRoleSchema, userRolesSchema, userSchema, vitalStatsSchema, workingHoursSchema };
|
|
19148
|
+
export { APPOINTMENTS_COLLECTION, AUTH_ERRORS, type AddAllergyData, type AddBlockingConditionData, type AddContraindicationData, type AddMedicationData, type AddressData, type AdminInfo, type AdminToken, AdminTokenStatus, type Allergy, type AllergySubtype, AllergyType, type AllergyTypeWithSubtype, type Appointment, type AppointmentReminderNotification, AppointmentService, AppointmentStatus, AuthError, AuthService, type BaseDocumentElement, type BaseNotification, type BinaryChoiceElement, BlockingCondition, type Brand, BrandService, CALENDAR_COLLECTION, CLINICS_COLLECTION, CLINIC_ADMINS_COLLECTION, CLINIC_GROUPS_COLLECTION, type CalendarEvent, CalendarEventStatus, type CalendarEventTime, CalendarEventType, CalendarServiceV2, CalendarSyncStatus, type Category, CategoryService, CertificationLevel, CertificationSpecialty, type Clinic, type ClinicAdmin, ClinicAdminService, type ClinicAdminSignupData, type ClinicBranchSetupData, type ClinicContactInfo, type ClinicGroup, ClinicGroupService, type ClinicGroupSetupData, type ClinicInfo, type ClinicLocation, ClinicPhotoTag, type ClinicReview, type ClinicReviewInfo, ClinicService, ClinicTag, type ClinicTags, type ContactPerson, Contraindication, CosmeticAllergySubtype, type CreateAdminTokenData, type CreateAppointmentData, type CreateAppointmentHttpData, type CreateAppointmentParams, type CreateCalendarEventData, type CreateClinicAdminData, type CreateClinicData, type CreateClinicGroupData, type CreateDefaultClinicGroupData, type CreateDocumentTemplateData, type CreateDraftPractitionerData, type CreatePatientLocationInfoData, type CreatePatientMedicalInfoData, type CreatePatientProfileData, type CreatePatientSensitiveInfoData, type CreatePractitionerData, type CreatePractitionerTokenData, type CreateProcedureData, type CreateSyncedCalendarData, type CreateUserData, Currency, DOCTOR_FORMS_SUBCOLLECTION, DOCUMENTATION_TEMPLATES_COLLECTION, type DatePickerElement, type DateRange, type DigitalSignatureElement, type DoctorInfo, type DocumentElement, DocumentElementType, type DocumentTemplate, DocumentationTemplateService, type DynamicTextElement, DynamicVariable, type EmergencyContact, EnvironmentalAllergySubtype, FILLED_DOCUMENTS_COLLECTION, type FileUploadElement, type FilledDocument, FilledDocumentService, FilledDocumentStatus, FirebaseErrorCode, type FirebaseUser, FoodAllergySubtype, type GamificationInfo, Gender, type HeadingElement, HeadingLevel, Language, type ListElement, ListType, type LocationData, MedicationAllergySubtype, type MultipleChoiceElement, type Notification, NotificationService, NotificationStatus, NotificationType, PATIENTS_COLLECTION, PATIENT_APPOINTMENTS_COLLECTION, PATIENT_LOCATION_INFO_COLLECTION, PATIENT_MEDICAL_HISTORY_COLLECTION, PATIENT_MEDICAL_INFO_COLLECTION, PATIENT_REQUIREMENTS_SUBCOLLECTION_NAME, PATIENT_SENSITIVE_INFO_COLLECTION, PRACTITIONERS_COLLECTION, PROCEDURES_COLLECTION, type ParagraphElement, type PatientClinic, type PatientDoctor, PatientInstructionStatus, type PatientLocationInfo, type PatientMedicalInfo, type PatientProfile, type PatientProfileComplete, type PatientProfileInfo, type PatientRequirementInstance, type PatientRequirementInstruction, PatientRequirementOverallStatus, PatientRequirementsService, type PatientSensitiveInfo, PatientService, PaymentStatus, type PostRequirementNotification, PracticeType, type Practitioner, type PractitionerBasicInfo, type PractitionerCertification, type PractitionerClinicProcedures, type PractitionerClinicWorkingHours, type PractitionerProfileInfo, type PractitionerReview, type PractitionerReviewInfo, PractitionerService, PractitionerStatus, type PractitionerToken, PractitionerTokenStatus, type PractitionerWorkingHours, type PreRequirementNotification, PricingMeasure, type Procedure, type ProcedureCategorization, ProcedureFamily, type ProcedureInfo, type ProcedureReview, type ProcedureReviewInfo, ProcedureService, type Product, ProductService, REGISTER_TOKENS_COLLECTION, REVIEWS_COLLECTION, type RatingScaleElement, type RequesterInfo, type Requirement, RequirementType, type Review, ReviewService, SYNCED_CALENDARS_COLLECTION, type SearchAppointmentsParams, type SearchCalendarEventsParams, SearchLocationEnum, type SearchPatientsParams, type SignatureElement, type SingleChoiceElement, type Subcategory, SubcategoryService, SubscriptionModel, type SyncedCalendar, type SyncedCalendarEvent, SyncedCalendarProvider, SyncedCalendarsService, type Technology, TechnologyService, type TextInputElement, type TimeSlot, TimeUnit, TreatmentBenefit, USER_ERRORS, USER_FORMS_SUBCOLLECTION, type UpdateAllergyData, type UpdateAppointmentData, type UpdateAppointmentParams, type UpdateBlockingConditionData, type UpdateCalendarEventData, type UpdateClinicAdminData, type UpdateClinicData, type UpdateClinicGroupData, type UpdateContraindicationData, type UpdateDocumentTemplateData, type UpdateMedicationData, type UpdatePatientLocationInfoData, type UpdatePatientMedicalInfoData, type UpdatePatientProfileData, type UpdatePatientSensitiveInfoData, type UpdatePractitionerData, type UpdateProcedureData, type UpdateSyncedCalendarData, type UpdateVitalStatsData, type User, UserRole, UserService, type ValidationSchema, type VitalStats, type WorkingHours, addAllergySchema, addBlockingConditionSchema, addContraindicationSchema, addMedicationSchema, addressDataSchema, adminInfoSchema, adminTokenSchema, allergySchema, allergySubtypeSchema, appointmentNotificationSchema, appointmentReminderNotificationSchema, baseNotificationSchema, blockingConditionSchema, calendarEventSchema, calendarEventTimeSchema, clinicAdminOptionsSchema, clinicAdminSchema, clinicAdminSignupSchema, clinicBranchSetupSchema, clinicContactInfoSchema, clinicGroupSchema, clinicGroupSetupSchema, clinicLocationSchema, clinicReviewInfoSchema, clinicReviewSchema, clinicSchema, clinicTagsSchema, contactPersonSchema, contraindicationSchema, createAdminTokenSchema, createAppointmentSchema, createCalendarEventSchema, createClinicAdminSchema, createClinicGroupSchema, createClinicReviewSchema, createClinicSchema, createDefaultClinicGroupSchema, createDocumentTemplateSchema, createDraftPractitionerSchema, createFilledDocumentDataSchema, createPatientLocationInfoSchema, createPatientMedicalInfoSchema, createPatientProfileSchema, createPatientSensitiveInfoSchema, createPractitionerReviewSchema, createPractitionerSchema, createPractitionerTokenSchema, createProcedureReviewSchema, createReviewSchema, createUserOptionsSchema, documentElementSchema, documentElementWithoutIdSchema, documentTemplateSchema, emailSchema, emergencyContactSchema, filledDocumentSchema, filledDocumentStatusSchema, gamificationSchema, getFirebaseApp, getFirebaseAuth, getFirebaseDB, getFirebaseInstance, initializeFirebase, locationDataSchema, medicationSchema, notificationSchema, passwordSchema, patientClinicSchema, patientDoctorSchema, patientLocationInfoSchema, patientMedicalInfoSchema, patientProfileInfoSchema, patientProfileSchema, patientSensitiveInfoSchema, postRequirementNotificationSchema, practitionerBasicInfoSchema, practitionerCertificationSchema, practitionerClinicWorkingHoursSchema, practitionerProfileInfoSchema, practitionerReviewInfoSchema, practitionerReviewSchema, practitionerSchema, practitionerSignupSchema, practitionerTokenSchema, practitionerWorkingHoursSchema, preRequirementNotificationSchema, procedureCategorizationSchema, procedureInfoSchema, procedureReviewInfoSchema, procedureReviewSchema, requesterInfoSchema, requirementInstructionDueNotificationSchema, reviewSchema, searchAppointmentsSchema, searchPatientsSchema, syncedCalendarEventSchema, timeSlotSchema, timestampSchema, updateAllergySchema, updateAppointmentSchema, updateBlockingConditionSchema, updateCalendarEventSchema, updateClinicAdminSchema, updateClinicGroupSchema, updateClinicSchema, updateContraindicationSchema, updateDocumentTemplateSchema, updateFilledDocumentDataSchema, updateMedicationSchema, updatePatientMedicalInfoSchema, updateVitalStatsSchema, userRoleSchema, userRolesSchema, userSchema, vitalStatsSchema, workingHoursSchema };
|