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>
This commit is contained in:
48
packages/db/shared/schemas/objects/AppointmentProcedureUncheckedUpdateManyInput.schema.d.ts
vendored
Normal file
48
packages/db/shared/schemas/objects/AppointmentProcedureUncheckedUpdateManyInput.schema.d.ts
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
import * as z from 'zod';
|
||||
import { Prisma } from '../../../generated/prisma';
|
||||
import Decimal from 'decimal.js';
|
||||
export declare const AppointmentProcedureUncheckedUpdateManyInputObjectSchema: z.ZodType<Prisma.AppointmentProcedureUncheckedUpdateManyInput>;
|
||||
export declare const AppointmentProcedureUncheckedUpdateManyInputObjectZodSchema: z.ZodObject<{
|
||||
id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLazy<z.ZodType<Prisma.IntFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.IntFieldUpdateOperationsInput>>]>>;
|
||||
appointmentId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLazy<z.ZodType<Prisma.IntFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.IntFieldUpdateOperationsInput>>]>>;
|
||||
patientId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLazy<z.ZodType<Prisma.IntFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.IntFieldUpdateOperationsInput>>]>>;
|
||||
procedureCode: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.StringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.StringFieldUpdateOperationsInput>>]>>;
|
||||
procedureLabel: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.NullableStringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.NullableStringFieldUpdateOperationsInput>>]>>>;
|
||||
fee: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodType<Decimal, z.ZodTypeDef, Decimal>, z.ZodType<Prisma.Decimal, z.ZodTypeDef, Prisma.Decimal>, z.ZodType<import("../../../generated/prisma/runtime/client").DecimalJsLike, z.ZodTypeDef, import("../../../generated/prisma/runtime/client").DecimalJsLike>]>, string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Prisma.Decimal | Decimal, string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Prisma.Decimal | Decimal>, z.ZodLazy<z.ZodType<Prisma.NullableDecimalFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.NullableDecimalFieldUpdateOperationsInput>>]>>>;
|
||||
category: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.NullableStringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.NullableStringFieldUpdateOperationsInput>>]>>>;
|
||||
toothNumber: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.NullableStringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.NullableStringFieldUpdateOperationsInput>>]>>>;
|
||||
toothSurface: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.NullableStringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.NullableStringFieldUpdateOperationsInput>>]>>>;
|
||||
oralCavityArea: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.NullableStringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.NullableStringFieldUpdateOperationsInput>>]>>>;
|
||||
source: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["COMBO", "MANUAL"]>, z.ZodLazy<z.ZodType<Prisma.EnumProcedureSourceFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.EnumProcedureSourceFieldUpdateOperationsInput>>]>>;
|
||||
comboKey: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.NullableStringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.NullableStringFieldUpdateOperationsInput>>]>>>;
|
||||
createdAt: z.ZodOptional<z.ZodUnion<[z.ZodDate, z.ZodLazy<z.ZodType<Prisma.DateTimeFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.DateTimeFieldUpdateOperationsInput>>]>>;
|
||||
}, "strict", z.ZodTypeAny, {
|
||||
createdAt?: Date | Prisma.DateTimeFieldUpdateOperationsInput | undefined;
|
||||
id?: number | Prisma.IntFieldUpdateOperationsInput | undefined;
|
||||
patientId?: number | Prisma.IntFieldUpdateOperationsInput | undefined;
|
||||
procedureCode?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
|
||||
procedureLabel?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
|
||||
fee?: string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Prisma.Decimal | Decimal | Prisma.NullableDecimalFieldUpdateOperationsInput | null | undefined;
|
||||
category?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
|
||||
toothNumber?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
|
||||
toothSurface?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
|
||||
oralCavityArea?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
|
||||
source?: "COMBO" | "MANUAL" | Prisma.EnumProcedureSourceFieldUpdateOperationsInput | undefined;
|
||||
comboKey?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
|
||||
appointmentId?: number | Prisma.IntFieldUpdateOperationsInput | undefined;
|
||||
}, {
|
||||
createdAt?: Date | Prisma.DateTimeFieldUpdateOperationsInput | undefined;
|
||||
id?: number | Prisma.IntFieldUpdateOperationsInput | undefined;
|
||||
patientId?: number | Prisma.IntFieldUpdateOperationsInput | undefined;
|
||||
procedureCode?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
|
||||
procedureLabel?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
|
||||
fee?: string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Prisma.Decimal | Decimal | Prisma.NullableDecimalFieldUpdateOperationsInput | null | undefined;
|
||||
category?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
|
||||
toothNumber?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
|
||||
toothSurface?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
|
||||
oralCavityArea?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
|
||||
source?: "COMBO" | "MANUAL" | Prisma.EnumProcedureSourceFieldUpdateOperationsInput | undefined;
|
||||
comboKey?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
|
||||
appointmentId?: number | Prisma.IntFieldUpdateOperationsInput | undefined;
|
||||
}>;
|
||||
//# sourceMappingURL=AppointmentProcedureUncheckedUpdateManyInput.schema.d.ts.map
|
||||
Reference in New Issue
Block a user