- Claim for column with AI: BCBS patients auto-generate the 2024 ADA form (no tab) and save it to the patient's Documents > Claims folder; the manual BCBS button saves there too (new POST /api/claims/:id/ada-form) - Saved BCBS form sets the claim to REVIEW; appointments with a claim number or REVIEW/APPROVED status show as claimed (dark gray) - CDT lookup: "comp on #18 O, 20 O, 21 O" applies composite to every tooth - BCBS fee schedule (procedureCodesBCBS.json, copied from DDMA prices) - Office Contact: Legal Name field; "Dental Office Name (DBA)" label - ADA form: 48 = legal name, DBA, address; 56 = address only; 53 date = claim date; 23 and 26 left blank; 43 = No unless appointment notes say a prosthesis is replaced (then Yes, with 44 prior date when given) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
26 lines
1.1 KiB
TypeScript
26 lines
1.1 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
|
|
|
|
const makeSchema = () => z.object({
|
|
id: z.number().int().optional(),
|
|
userId: z.number().int(),
|
|
legalName: z.string().optional().nullable(),
|
|
officeName: z.string().optional().nullable(),
|
|
receptionistName: z.string().optional().nullable(),
|
|
dentistName: z.string().optional().nullable(),
|
|
phoneNumber: z.string().optional().nullable(),
|
|
email: z.string().optional().nullable(),
|
|
fax: z.string().optional().nullable(),
|
|
streetAddress: z.string().optional().nullable(),
|
|
city: z.string().optional().nullable(),
|
|
state: z.string().optional().nullable(),
|
|
zipCode: z.string().optional().nullable(),
|
|
billingName: z.string().optional().nullable(),
|
|
billingNpi: z.string().optional().nullable(),
|
|
billingLicense: z.string().optional().nullable(),
|
|
billingTaxId: z.string().optional().nullable()
|
|
}).strict();
|
|
export const OfficeContactCreateManyInputObjectSchema: z.ZodType<Prisma.OfficeContactCreateManyInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactCreateManyInput>;
|
|
export const OfficeContactCreateManyInputObjectZodSchema = makeSchema();
|