Files
DentalManagementMH05/packages/db/shared/schemas/objects/PatientUncheckedUpdateManyInput.schema.d.ts
Gitead 3e899376c3 feat: Select Procedures flow, batch-column NPI provider fix, auto PDF save
- Add 'Select Procedures' right-click option on appointment page (separate from Claims/PreAuth)
- Select Procedures form saves CDT codes + NPI provider to AppointmentProcedure storage
- Remove Save button from insurance claim form; Claims/PreAuth opens for insurance submission only
- Claims/PreAuth auto-prefills from saved procedures including NPI provider
- Batch-column: procedures npiProviderId takes priority over stale claim npiProviderId
- Batch-column: auto-save PDF to patient Documents after successful submission (no socket needed)
- Add npiProviderId column to AppointmentProcedure table (prisma db push)
- Fix 'invalid db creation invocation': guard staffId, npiProviderId, procedureDate as Date object, totalBilled NaN guard
- Add full error logging to batch-column catch block

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-27 00:25:24 -04:00

65 lines
7.3 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
export declare const PatientUncheckedUpdateManyInputObjectSchema: z.ZodType<Prisma.PatientUncheckedUpdateManyInput>;
export declare const PatientUncheckedUpdateManyInputObjectZodSchema: z.ZodObject<{
id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLazy<z.ZodType<Prisma.IntFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.IntFieldUpdateOperationsInput>>]>>;
firstName: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.StringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.StringFieldUpdateOperationsInput>>]>>;
lastName: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.StringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.StringFieldUpdateOperationsInput>>]>>;
dateOfBirth: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodDate, z.ZodLazy<z.ZodType<Prisma.NullableDateTimeFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.NullableDateTimeFieldUpdateOperationsInput>>]>>>;
gender: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.StringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.StringFieldUpdateOperationsInput>>]>>;
phone: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.StringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.StringFieldUpdateOperationsInput>>]>>;
email: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.NullableStringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.NullableStringFieldUpdateOperationsInput>>]>>>;
address: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.NullableStringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.NullableStringFieldUpdateOperationsInput>>]>>>;
city: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.NullableStringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.NullableStringFieldUpdateOperationsInput>>]>>>;
zipCode: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.NullableStringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.NullableStringFieldUpdateOperationsInput>>]>>>;
insuranceProvider: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.NullableStringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.NullableStringFieldUpdateOperationsInput>>]>>>;
insuranceId: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.NullableStringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.NullableStringFieldUpdateOperationsInput>>]>>>;
groupNumber: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.NullableStringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.NullableStringFieldUpdateOperationsInput>>]>>>;
policyHolder: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.NullableStringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.NullableStringFieldUpdateOperationsInput>>]>>>;
allergies: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.NullableStringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.NullableStringFieldUpdateOperationsInput>>]>>>;
medicalConditions: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.NullableStringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.NullableStringFieldUpdateOperationsInput>>]>>>;
status: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["ACTIVE", "INACTIVE", "UNKNOWN", "PLAN_NOT_ACCEPTED"]>, z.ZodLazy<z.ZodType<Prisma.EnumPatientStatusFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.EnumPatientStatusFieldUpdateOperationsInput>>]>>;
userId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLazy<z.ZodType<Prisma.IntFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.IntFieldUpdateOperationsInput>>]>>;
createdAt: z.ZodOptional<z.ZodUnion<[z.ZodDate, z.ZodLazy<z.ZodType<Prisma.DateTimeFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.DateTimeFieldUpdateOperationsInput>>]>>;
}, "strict", z.ZodTypeAny, {
status?: "ACTIVE" | "INACTIVE" | "UNKNOWN" | "PLAN_NOT_ACCEPTED" | Prisma.EnumPatientStatusFieldUpdateOperationsInput | undefined;
createdAt?: Date | Prisma.DateTimeFieldUpdateOperationsInput | undefined;
id?: number | Prisma.IntFieldUpdateOperationsInput | undefined;
userId?: number | Prisma.IntFieldUpdateOperationsInput | undefined;
email?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
phone?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
dateOfBirth?: Date | Prisma.NullableDateTimeFieldUpdateOperationsInput | null | undefined;
insuranceProvider?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
firstName?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
lastName?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
gender?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
address?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
city?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
zipCode?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
insuranceId?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
groupNumber?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
policyHolder?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
allergies?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
medicalConditions?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
}, {
status?: "ACTIVE" | "INACTIVE" | "UNKNOWN" | "PLAN_NOT_ACCEPTED" | Prisma.EnumPatientStatusFieldUpdateOperationsInput | undefined;
createdAt?: Date | Prisma.DateTimeFieldUpdateOperationsInput | undefined;
id?: number | Prisma.IntFieldUpdateOperationsInput | undefined;
userId?: number | Prisma.IntFieldUpdateOperationsInput | undefined;
email?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
phone?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
dateOfBirth?: Date | Prisma.NullableDateTimeFieldUpdateOperationsInput | null | undefined;
insuranceProvider?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
firstName?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
lastName?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
gender?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
address?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
city?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
zipCode?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
insuranceId?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
groupNumber?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
policyHolder?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
allergies?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
medicalConditions?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
}>;
//# sourceMappingURL=PatientUncheckedUpdateManyInput.schema.d.ts.map