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:
@@ -7,14 +7,14 @@ export declare const NpiProviderGroupByZodSchema: z.ZodObject<{
|
||||
having: z.ZodOptional<z.ZodType<Prisma.NpiProviderScalarWhereWithAggregatesInput, z.ZodTypeDef, Prisma.NpiProviderScalarWhereWithAggregatesInput>>;
|
||||
take: z.ZodOptional<z.ZodNumber>;
|
||||
skip: z.ZodOptional<z.ZodNumber>;
|
||||
by: z.ZodArray<z.ZodEnum<["id", "userId", "npiNumber", "providerName", "sortOrder", "createdAt"]>, "many">;
|
||||
by: z.ZodArray<z.ZodEnum<["id", "userId", "npiNumber", "providerName", "licenseNumber", "sortOrder", "createdAt"]>, "many">;
|
||||
_count: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodType<Prisma.NpiProviderCountAggregateInputType, z.ZodTypeDef, Prisma.NpiProviderCountAggregateInputType>]>>;
|
||||
_min: z.ZodOptional<z.ZodType<Prisma.NpiProviderMinAggregateInputType, z.ZodTypeDef, Prisma.NpiProviderMinAggregateInputType>>;
|
||||
_max: z.ZodOptional<z.ZodType<Prisma.NpiProviderMaxAggregateInputType, z.ZodTypeDef, Prisma.NpiProviderMaxAggregateInputType>>;
|
||||
_avg: z.ZodOptional<z.ZodType<Prisma.NpiProviderAvgAggregateInputType, z.ZodTypeDef, Prisma.NpiProviderAvgAggregateInputType>>;
|
||||
_sum: z.ZodOptional<z.ZodType<Prisma.NpiProviderSumAggregateInputType, z.ZodTypeDef, Prisma.NpiProviderSumAggregateInputType>>;
|
||||
}, "strict", z.ZodTypeAny, {
|
||||
by: ("id" | "createdAt" | "userId" | "npiNumber" | "providerName" | "sortOrder")[];
|
||||
by: ("id" | "createdAt" | "userId" | "npiNumber" | "providerName" | "licenseNumber" | "sortOrder")[];
|
||||
where?: Prisma.NpiProviderWhereInput | undefined;
|
||||
_count?: true | Prisma.NpiProviderCountAggregateInputType | undefined;
|
||||
orderBy?: Prisma.NpiProviderOrderByWithAggregationInput | Prisma.NpiProviderOrderByWithAggregationInput[] | undefined;
|
||||
@@ -26,7 +26,7 @@ export declare const NpiProviderGroupByZodSchema: z.ZodObject<{
|
||||
_sum?: Prisma.NpiProviderSumAggregateInputType | undefined;
|
||||
having?: Prisma.NpiProviderScalarWhereWithAggregatesInput | undefined;
|
||||
}, {
|
||||
by: ("id" | "createdAt" | "userId" | "npiNumber" | "providerName" | "sortOrder")[];
|
||||
by: ("id" | "createdAt" | "userId" | "npiNumber" | "providerName" | "licenseNumber" | "sortOrder")[];
|
||||
where?: Prisma.NpiProviderWhereInput | undefined;
|
||||
_count?: true | Prisma.NpiProviderCountAggregateInputType | undefined;
|
||||
orderBy?: Prisma.NpiProviderOrderByWithAggregationInput | Prisma.NpiProviderOrderByWithAggregationInput[] | undefined;
|
||||
|
||||
Reference in New Issue
Block a user