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:
@@ -37,6 +37,7 @@ exports.NpiProviderScalarWhereWithAggregatesInputObjectZodSchema = exports.NpiPr
|
||||
const z = __importStar(require("zod"));
|
||||
const IntWithAggregatesFilter_schema_1 = require("./IntWithAggregatesFilter.schema");
|
||||
const StringWithAggregatesFilter_schema_1 = require("./StringWithAggregatesFilter.schema");
|
||||
const StringNullableWithAggregatesFilter_schema_1 = require("./StringNullableWithAggregatesFilter.schema");
|
||||
const DateTimeWithAggregatesFilter_schema_1 = require("./DateTimeWithAggregatesFilter.schema");
|
||||
const npiproviderscalarwherewithaggregatesinputSchema = z.object({
|
||||
AND: z.union([z.lazy(() => exports.NpiProviderScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => exports.NpiProviderScalarWhereWithAggregatesInputObjectSchema).array()]).optional(),
|
||||
@@ -46,6 +47,7 @@ const npiproviderscalarwherewithaggregatesinputSchema = z.object({
|
||||
userId: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(),
|
||||
npiNumber: z.union([z.lazy(() => StringWithAggregatesFilter_schema_1.StringWithAggregatesFilterObjectSchema), z.string()]).optional(),
|
||||
providerName: z.union([z.lazy(() => StringWithAggregatesFilter_schema_1.StringWithAggregatesFilterObjectSchema), z.string()]).optional(),
|
||||
licenseNumber: z.union([z.lazy(() => StringNullableWithAggregatesFilter_schema_1.StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(),
|
||||
sortOrder: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(),
|
||||
createdAt: z.union([z.lazy(() => DateTimeWithAggregatesFilter_schema_1.DateTimeWithAggregatesFilterObjectSchema), z.coerce.date()]).optional()
|
||||
}).strict();
|
||||
|
||||
Reference in New Issue
Block a user