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:
@@ -1,7 +1,8 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { IntWithAggregatesFilterObjectSchema as IntWithAggregatesFilterObjectSchema } from './IntWithAggregatesFilter.schema';
|
||||
import { StringWithAggregatesFilterObjectSchema as StringWithAggregatesFilterObjectSchema } from './StringWithAggregatesFilter.schema'
|
||||
import { StringWithAggregatesFilterObjectSchema as StringWithAggregatesFilterObjectSchema } from './StringWithAggregatesFilter.schema';
|
||||
import { StringNullableWithAggregatesFilterObjectSchema as StringNullableWithAggregatesFilterObjectSchema } from './StringNullableWithAggregatesFilter.schema'
|
||||
|
||||
const claimfilescalarwherewithaggregatesinputSchema = z.object({
|
||||
AND: z.union([z.lazy(() => ClaimFileScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => ClaimFileScalarWhereWithAggregatesInputObjectSchema).array()]).optional(),
|
||||
@@ -10,7 +11,8 @@ const claimfilescalarwherewithaggregatesinputSchema = z.object({
|
||||
id: z.union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(),
|
||||
claimId: z.union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(),
|
||||
filename: z.union([z.lazy(() => StringWithAggregatesFilterObjectSchema), z.string()]).optional(),
|
||||
mimeType: z.union([z.lazy(() => StringWithAggregatesFilterObjectSchema), z.string()]).optional()
|
||||
mimeType: z.union([z.lazy(() => StringWithAggregatesFilterObjectSchema), z.string()]).optional(),
|
||||
filePath: z.union([z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable()
|
||||
}).strict();
|
||||
export const ClaimFileScalarWhereWithAggregatesInputObjectSchema: z.ZodType<Prisma.ClaimFileScalarWhereWithAggregatesInput> = claimfilescalarwherewithaggregatesinputSchema as unknown as z.ZodType<Prisma.ClaimFileScalarWhereWithAggregatesInput>;
|
||||
export const ClaimFileScalarWhereWithAggregatesInputObjectZodSchema = claimfilescalarwherewithaggregatesinputSchema;
|
||||
|
||||
Reference in New Issue
Block a user