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:
@@ -55,6 +55,10 @@ const makeSchema = () => z.object({
|
||||
city: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(),
|
||||
state: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(),
|
||||
zipCode: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(),
|
||||
billingName: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(),
|
||||
billingNpi: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(),
|
||||
billingLicense: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(),
|
||||
billingTaxId: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(),
|
||||
_count: z.lazy(() => OfficeContactCountOrderByAggregateInput_schema_1.OfficeContactCountOrderByAggregateInputObjectSchema).optional(),
|
||||
_avg: z.lazy(() => OfficeContactAvgOrderByAggregateInput_schema_1.OfficeContactAvgOrderByAggregateInputObjectSchema).optional(),
|
||||
_max: z.lazy(() => OfficeContactMaxOrderByAggregateInput_schema_1.OfficeContactMaxOrderByAggregateInputObjectSchema).optional(),
|
||||
|
||||
Reference in New Issue
Block a user