fix: allow letters in insurance ID; add patient state (default MA)
- Backend insurance ID check now accepts letters + digits (BCBS IDs have a letter prefix), matching the frontend schema; create route validates the normalized body - Patient.state column (default "MA") with State select on the patient form; ADA claim form uses the patient's state instead of the office's - Rebuild stale packages/db compiled .js so the runtime schemas include new fields (state, office billing NPI fields, Telnyx settings) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -6,6 +6,7 @@ export declare const CommunicationModelSchema: z.ZodObject<{
|
||||
channel: z.ZodEnum<["sms", "voice"]>;
|
||||
direction: z.ZodEnum<["outbound", "inbound"]>;
|
||||
status: z.ZodEnum<["queued", "sent", "delivered", "failed", "completed", "busy", "no_answer"]>;
|
||||
provider: z.ZodEnum<["twilio", "telnyx"]>;
|
||||
body: z.ZodNullable<z.ZodString>;
|
||||
callDuration: z.ZodNullable<z.ZodNumber>;
|
||||
twilioSid: z.ZodNullable<z.ZodString>;
|
||||
@@ -20,6 +21,7 @@ export declare const CommunicationModelSchema: z.ZodObject<{
|
||||
userId: number | null;
|
||||
channel: "sms" | "voice";
|
||||
direction: "outbound" | "inbound";
|
||||
provider: "twilio" | "telnyx";
|
||||
body: string | null;
|
||||
callDuration: number | null;
|
||||
twilioSid: string | null;
|
||||
@@ -33,6 +35,7 @@ export declare const CommunicationModelSchema: z.ZodObject<{
|
||||
userId: number | null;
|
||||
channel: "sms" | "voice";
|
||||
direction: "outbound" | "inbound";
|
||||
provider: "twilio" | "telnyx";
|
||||
body: string | null;
|
||||
callDuration: number | null;
|
||||
twilioSid: string | null;
|
||||
|
||||
Reference in New Issue
Block a user