- 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>
43 lines
1.7 KiB
TypeScript
43 lines
1.7 KiB
TypeScript
import * as z from 'zod';
|
|
export declare const CommunicationInputSchema: z.ZodObject<{
|
|
id: z.ZodNumber;
|
|
patientId: z.ZodNumber;
|
|
userId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
channel: z.ZodEnum<["sms", "voice"]>;
|
|
direction: z.ZodEnum<["outbound", "inbound"]>;
|
|
status: z.ZodEnum<["queued", "sent", "delivered", "failed", "completed", "busy", "no_answer"]>;
|
|
body: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
callDuration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
twilioSid: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
createdAt: z.ZodDate;
|
|
patient: z.ZodUnknown;
|
|
user: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
|
|
}, "strict", z.ZodTypeAny, {
|
|
status: "queued" | "sent" | "delivered" | "failed" | "completed" | "busy" | "no_answer";
|
|
createdAt: Date;
|
|
id: number;
|
|
patientId: number;
|
|
channel: "sms" | "voice";
|
|
direction: "outbound" | "inbound";
|
|
userId?: number | null | undefined;
|
|
user?: unknown;
|
|
patient?: unknown;
|
|
body?: string | null | undefined;
|
|
callDuration?: number | null | undefined;
|
|
twilioSid?: string | null | undefined;
|
|
}, {
|
|
status: "queued" | "sent" | "delivered" | "failed" | "completed" | "busy" | "no_answer";
|
|
createdAt: Date;
|
|
id: number;
|
|
patientId: number;
|
|
channel: "sms" | "voice";
|
|
direction: "outbound" | "inbound";
|
|
userId?: number | null | undefined;
|
|
user?: unknown;
|
|
patient?: unknown;
|
|
body?: string | null | undefined;
|
|
callDuration?: number | null | undefined;
|
|
twilioSid?: string | null | undefined;
|
|
}>;
|
|
export type CommunicationInputType = z.infer<typeof CommunicationInputSchema>;
|
|
//# sourceMappingURL=Communication.input.d.ts.map
|