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:
37
packages/db/shared/schemas/variants/input/PatientDocument.input.d.ts
vendored
Normal file
37
packages/db/shared/schemas/variants/input/PatientDocument.input.d.ts
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
import * as z from 'zod';
|
||||
export declare const PatientDocumentInputSchema: z.ZodObject<{
|
||||
id: z.ZodNumber;
|
||||
patientId: z.ZodNumber;
|
||||
filename: z.ZodString;
|
||||
originalName: z.ZodString;
|
||||
mimeType: z.ZodString;
|
||||
fileSize: z.ZodBigInt;
|
||||
filePath: z.ZodString;
|
||||
uploadedAt: z.ZodDate;
|
||||
updatedAt: z.ZodDate;
|
||||
patient: z.ZodUnknown;
|
||||
}, "strict", z.ZodTypeAny, {
|
||||
id: number;
|
||||
filename: string;
|
||||
uploadedAt: Date;
|
||||
patientId: number;
|
||||
mimeType: string;
|
||||
updatedAt: Date;
|
||||
originalName: string;
|
||||
fileSize: bigint;
|
||||
filePath: string;
|
||||
patient?: unknown;
|
||||
}, {
|
||||
id: number;
|
||||
filename: string;
|
||||
uploadedAt: Date;
|
||||
patientId: number;
|
||||
mimeType: string;
|
||||
updatedAt: Date;
|
||||
originalName: string;
|
||||
fileSize: bigint;
|
||||
filePath: string;
|
||||
patient?: unknown;
|
||||
}>;
|
||||
export type PatientDocumentInputType = z.infer<typeof PatientDocumentInputSchema>;
|
||||
//# sourceMappingURL=PatientDocument.input.d.ts.map
|
||||
Reference in New Issue
Block a user