Files
DentalManagementMH06/packages/db/shared/schemas/variants/input/AppointmentProcedure.input.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

52 lines
1.9 KiB
TypeScript

import * as z from 'zod';
export declare const AppointmentProcedureInputSchema: z.ZodObject<{
id: z.ZodNumber;
appointmentId: z.ZodNumber;
patientId: z.ZodNumber;
procedureCode: z.ZodString;
procedureLabel: z.ZodNullable<z.ZodOptional<z.ZodString>>;
fee: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
category: z.ZodNullable<z.ZodOptional<z.ZodString>>;
toothNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
toothSurface: z.ZodNullable<z.ZodOptional<z.ZodString>>;
oralCavityArea: z.ZodNullable<z.ZodOptional<z.ZodString>>;
source: z.ZodEnum<["COMBO", "MANUAL"]>;
comboKey: z.ZodNullable<z.ZodOptional<z.ZodString>>;
createdAt: z.ZodDate;
appointment: z.ZodUnknown;
patient: z.ZodUnknown;
}, "strict", z.ZodTypeAny, {
createdAt: Date;
id: number;
patientId: number;
procedureCode: string;
source: "COMBO" | "MANUAL";
appointmentId: number;
patient?: unknown;
procedureLabel?: string | null | undefined;
fee?: number | null | undefined;
category?: string | null | undefined;
toothNumber?: string | null | undefined;
toothSurface?: string | null | undefined;
oralCavityArea?: string | null | undefined;
comboKey?: string | null | undefined;
appointment?: unknown;
}, {
createdAt: Date;
id: number;
patientId: number;
procedureCode: string;
source: "COMBO" | "MANUAL";
appointmentId: number;
patient?: unknown;
procedureLabel?: string | null | undefined;
fee?: number | null | undefined;
category?: string | null | undefined;
toothNumber?: string | null | undefined;
toothSurface?: string | null | undefined;
oralCavityArea?: string | null | undefined;
comboKey?: string | null | undefined;
appointment?: unknown;
}>;
export type AppointmentProcedureInputType = z.infer<typeof AppointmentProcedureInputSchema>;
//# sourceMappingURL=AppointmentProcedure.input.d.ts.map