Files
DentalManagementMHAprilgg/packages/db/shared/schemas/objects/PatientCreateWithoutGroupsInput.schema.d.ts
2026-04-04 22:13:55 -04:00

80 lines
4.7 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
export declare const PatientCreateWithoutGroupsInputObjectSchema: z.ZodType<Prisma.PatientCreateWithoutGroupsInput>;
export declare const PatientCreateWithoutGroupsInputObjectZodSchema: z.ZodObject<{
firstName: z.ZodString;
lastName: z.ZodString;
dateOfBirth: z.ZodDate;
gender: z.ZodString;
phone: z.ZodString;
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
city: z.ZodNullable<z.ZodOptional<z.ZodString>>;
zipCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
insuranceProvider: z.ZodNullable<z.ZodOptional<z.ZodString>>;
insuranceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
groupNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
policyHolder: z.ZodNullable<z.ZodOptional<z.ZodString>>;
allergies: z.ZodNullable<z.ZodOptional<z.ZodString>>;
medicalConditions: z.ZodNullable<z.ZodOptional<z.ZodString>>;
status: z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE", "UNKNOWN"]>>;
createdAt: z.ZodOptional<z.ZodDate>;
user: z.ZodLazy<z.ZodType<Prisma.UserCreateNestedOneWithoutPatientsInput, z.ZodTypeDef, Prisma.UserCreateNestedOneWithoutPatientsInput>>;
appointments: z.ZodOptional<z.ZodLazy<z.ZodType<Prisma.AppointmentCreateNestedManyWithoutPatientInput, z.ZodTypeDef, Prisma.AppointmentCreateNestedManyWithoutPatientInput>>>;
procedures: z.ZodOptional<z.ZodLazy<z.ZodType<Prisma.AppointmentProcedureCreateNestedManyWithoutPatientInput, z.ZodTypeDef, Prisma.AppointmentProcedureCreateNestedManyWithoutPatientInput>>>;
claims: z.ZodOptional<z.ZodLazy<z.ZodType<Prisma.ClaimCreateNestedManyWithoutPatientInput, z.ZodTypeDef, Prisma.ClaimCreateNestedManyWithoutPatientInput>>>;
payment: z.ZodOptional<z.ZodLazy<z.ZodType<Prisma.PaymentCreateNestedManyWithoutPatientInput, z.ZodTypeDef, Prisma.PaymentCreateNestedManyWithoutPatientInput>>>;
communications: z.ZodOptional<z.ZodLazy<z.ZodType<Prisma.CommunicationCreateNestedManyWithoutPatientInput, z.ZodTypeDef, Prisma.CommunicationCreateNestedManyWithoutPatientInput>>>;
documents: z.ZodOptional<z.ZodLazy<z.ZodType<Prisma.PatientDocumentCreateNestedManyWithoutPatientInput, z.ZodTypeDef, Prisma.PatientDocumentCreateNestedManyWithoutPatientInput>>>;
}, "strict", z.ZodTypeAny, {
user: Prisma.UserCreateNestedOneWithoutPatientsInput;
phone: string;
dateOfBirth: Date;
firstName: string;
lastName: string;
gender: string;
status?: "ACTIVE" | "INACTIVE" | "UNKNOWN" | undefined;
createdAt?: Date | undefined;
procedures?: Prisma.AppointmentProcedureCreateNestedManyWithoutPatientInput | undefined;
claims?: Prisma.ClaimCreateNestedManyWithoutPatientInput | undefined;
email?: string | null | undefined;
appointments?: Prisma.AppointmentCreateNestedManyWithoutPatientInput | undefined;
payment?: Prisma.PaymentCreateNestedManyWithoutPatientInput | undefined;
insuranceProvider?: string | null | undefined;
address?: string | null | undefined;
city?: string | null | undefined;
zipCode?: string | null | undefined;
insuranceId?: string | null | undefined;
groupNumber?: string | null | undefined;
policyHolder?: string | null | undefined;
allergies?: string | null | undefined;
medicalConditions?: string | null | undefined;
documents?: Prisma.PatientDocumentCreateNestedManyWithoutPatientInput | undefined;
communications?: Prisma.CommunicationCreateNestedManyWithoutPatientInput | undefined;
}, {
user: Prisma.UserCreateNestedOneWithoutPatientsInput;
phone: string;
dateOfBirth: Date;
firstName: string;
lastName: string;
gender: string;
status?: "ACTIVE" | "INACTIVE" | "UNKNOWN" | undefined;
createdAt?: Date | undefined;
procedures?: Prisma.AppointmentProcedureCreateNestedManyWithoutPatientInput | undefined;
claims?: Prisma.ClaimCreateNestedManyWithoutPatientInput | undefined;
email?: string | null | undefined;
appointments?: Prisma.AppointmentCreateNestedManyWithoutPatientInput | undefined;
payment?: Prisma.PaymentCreateNestedManyWithoutPatientInput | undefined;
insuranceProvider?: string | null | undefined;
address?: string | null | undefined;
city?: string | null | undefined;
zipCode?: string | null | undefined;
insuranceId?: string | null | undefined;
groupNumber?: string | null | undefined;
policyHolder?: string | null | undefined;
allergies?: string | null | undefined;
medicalConditions?: string | null | undefined;
documents?: Prisma.PatientDocumentCreateNestedManyWithoutPatientInput | undefined;
communications?: Prisma.CommunicationCreateNestedManyWithoutPatientInput | undefined;
}>;
//# sourceMappingURL=PatientCreateWithoutGroupsInput.schema.d.ts.map