feat: BCBS AI column claim fills ADA form, saves to Documents; form fixes
- 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>
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -483,6 +483,7 @@ exports.Prisma.OfficeHoursScalarFieldEnum = {
|
||||
exports.Prisma.OfficeContactScalarFieldEnum = {
|
||||
id: 'id',
|
||||
userId: 'userId',
|
||||
legalName: 'legalName',
|
||||
officeName: 'officeName',
|
||||
receptionistName: 'receptionistName',
|
||||
dentistName: 'dentistName',
|
||||
|
||||
+40
-1
@@ -40519,6 +40519,7 @@ export namespace Prisma {
|
||||
export type OfficeContactMinAggregateOutputType = {
|
||||
id: number | null
|
||||
userId: number | null
|
||||
legalName: string | null
|
||||
officeName: string | null
|
||||
receptionistName: string | null
|
||||
dentistName: string | null
|
||||
@@ -40538,6 +40539,7 @@ export namespace Prisma {
|
||||
export type OfficeContactMaxAggregateOutputType = {
|
||||
id: number | null
|
||||
userId: number | null
|
||||
legalName: string | null
|
||||
officeName: string | null
|
||||
receptionistName: string | null
|
||||
dentistName: string | null
|
||||
@@ -40557,6 +40559,7 @@ export namespace Prisma {
|
||||
export type OfficeContactCountAggregateOutputType = {
|
||||
id: number
|
||||
userId: number
|
||||
legalName: number
|
||||
officeName: number
|
||||
receptionistName: number
|
||||
dentistName: number
|
||||
@@ -40588,6 +40591,7 @@ export namespace Prisma {
|
||||
export type OfficeContactMinAggregateInputType = {
|
||||
id?: true
|
||||
userId?: true
|
||||
legalName?: true
|
||||
officeName?: true
|
||||
receptionistName?: true
|
||||
dentistName?: true
|
||||
@@ -40607,6 +40611,7 @@ export namespace Prisma {
|
||||
export type OfficeContactMaxAggregateInputType = {
|
||||
id?: true
|
||||
userId?: true
|
||||
legalName?: true
|
||||
officeName?: true
|
||||
receptionistName?: true
|
||||
dentistName?: true
|
||||
@@ -40626,6 +40631,7 @@ export namespace Prisma {
|
||||
export type OfficeContactCountAggregateInputType = {
|
||||
id?: true
|
||||
userId?: true
|
||||
legalName?: true
|
||||
officeName?: true
|
||||
receptionistName?: true
|
||||
dentistName?: true
|
||||
@@ -40732,6 +40738,7 @@ export namespace Prisma {
|
||||
export type OfficeContactGroupByOutputType = {
|
||||
id: number
|
||||
userId: number
|
||||
legalName: string | null
|
||||
officeName: string | null
|
||||
receptionistName: string | null
|
||||
dentistName: string | null
|
||||
@@ -40770,6 +40777,7 @@ export namespace Prisma {
|
||||
export type OfficeContactSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
userId?: boolean
|
||||
legalName?: boolean
|
||||
officeName?: boolean
|
||||
receptionistName?: boolean
|
||||
dentistName?: boolean
|
||||
@@ -40790,6 +40798,7 @@ export namespace Prisma {
|
||||
export type OfficeContactSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
userId?: boolean
|
||||
legalName?: boolean
|
||||
officeName?: boolean
|
||||
receptionistName?: boolean
|
||||
dentistName?: boolean
|
||||
@@ -40810,6 +40819,7 @@ export namespace Prisma {
|
||||
export type OfficeContactSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
userId?: boolean
|
||||
legalName?: boolean
|
||||
officeName?: boolean
|
||||
receptionistName?: boolean
|
||||
dentistName?: boolean
|
||||
@@ -40830,6 +40840,7 @@ export namespace Prisma {
|
||||
export type OfficeContactSelectScalar = {
|
||||
id?: boolean
|
||||
userId?: boolean
|
||||
legalName?: boolean
|
||||
officeName?: boolean
|
||||
receptionistName?: boolean
|
||||
dentistName?: boolean
|
||||
@@ -40846,7 +40857,7 @@ export namespace Prisma {
|
||||
billingTaxId?: boolean
|
||||
}
|
||||
|
||||
export type OfficeContactOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "userId" | "officeName" | "receptionistName" | "dentistName" | "phoneNumber" | "email" | "fax" | "streetAddress" | "city" | "state" | "zipCode" | "billingName" | "billingNpi" | "billingLicense" | "billingTaxId", ExtArgs["result"]["officeContact"]>
|
||||
export type OfficeContactOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "userId" | "legalName" | "officeName" | "receptionistName" | "dentistName" | "phoneNumber" | "email" | "fax" | "streetAddress" | "city" | "state" | "zipCode" | "billingName" | "billingNpi" | "billingLicense" | "billingTaxId", ExtArgs["result"]["officeContact"]>
|
||||
export type OfficeContactInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
||||
user?: boolean | UserDefaultArgs<ExtArgs>
|
||||
}
|
||||
@@ -40865,6 +40876,13 @@ export namespace Prisma {
|
||||
scalars: $Extensions.GetPayloadResult<{
|
||||
id: number
|
||||
userId: number
|
||||
/**
|
||||
* Legal (registered) business name — ADA claim form items 48 and 56
|
||||
*/
|
||||
legalName: string | null
|
||||
/**
|
||||
* Dental office name as the public knows it (DBA)
|
||||
*/
|
||||
officeName: string | null
|
||||
receptionistName: string | null
|
||||
dentistName: string | null
|
||||
@@ -41308,6 +41326,7 @@ export namespace Prisma {
|
||||
interface OfficeContactFieldRefs {
|
||||
readonly id: FieldRef<"OfficeContact", 'Int'>
|
||||
readonly userId: FieldRef<"OfficeContact", 'Int'>
|
||||
readonly legalName: FieldRef<"OfficeContact", 'String'>
|
||||
readonly officeName: FieldRef<"OfficeContact", 'String'>
|
||||
readonly receptionistName: FieldRef<"OfficeContact", 'String'>
|
||||
readonly dentistName: FieldRef<"OfficeContact", 'String'>
|
||||
@@ -50016,6 +50035,7 @@ export namespace Prisma {
|
||||
export const OfficeContactScalarFieldEnum: {
|
||||
id: 'id',
|
||||
userId: 'userId',
|
||||
legalName: 'legalName',
|
||||
officeName: 'officeName',
|
||||
receptionistName: 'receptionistName',
|
||||
dentistName: 'dentistName',
|
||||
@@ -52988,6 +53008,7 @@ export namespace Prisma {
|
||||
NOT?: OfficeContactWhereInput | OfficeContactWhereInput[]
|
||||
id?: IntFilter<"OfficeContact"> | number
|
||||
userId?: IntFilter<"OfficeContact"> | number
|
||||
legalName?: StringNullableFilter<"OfficeContact"> | string | null
|
||||
officeName?: StringNullableFilter<"OfficeContact"> | string | null
|
||||
receptionistName?: StringNullableFilter<"OfficeContact"> | string | null
|
||||
dentistName?: StringNullableFilter<"OfficeContact"> | string | null
|
||||
@@ -53008,6 +53029,7 @@ export namespace Prisma {
|
||||
export type OfficeContactOrderByWithRelationInput = {
|
||||
id?: SortOrder
|
||||
userId?: SortOrder
|
||||
legalName?: SortOrderInput | SortOrder
|
||||
officeName?: SortOrderInput | SortOrder
|
||||
receptionistName?: SortOrderInput | SortOrder
|
||||
dentistName?: SortOrderInput | SortOrder
|
||||
@@ -53031,6 +53053,7 @@ export namespace Prisma {
|
||||
AND?: OfficeContactWhereInput | OfficeContactWhereInput[]
|
||||
OR?: OfficeContactWhereInput[]
|
||||
NOT?: OfficeContactWhereInput | OfficeContactWhereInput[]
|
||||
legalName?: StringNullableFilter<"OfficeContact"> | string | null
|
||||
officeName?: StringNullableFilter<"OfficeContact"> | string | null
|
||||
receptionistName?: StringNullableFilter<"OfficeContact"> | string | null
|
||||
dentistName?: StringNullableFilter<"OfficeContact"> | string | null
|
||||
@@ -53051,6 +53074,7 @@ export namespace Prisma {
|
||||
export type OfficeContactOrderByWithAggregationInput = {
|
||||
id?: SortOrder
|
||||
userId?: SortOrder
|
||||
legalName?: SortOrderInput | SortOrder
|
||||
officeName?: SortOrderInput | SortOrder
|
||||
receptionistName?: SortOrderInput | SortOrder
|
||||
dentistName?: SortOrderInput | SortOrder
|
||||
@@ -53078,6 +53102,7 @@ export namespace Prisma {
|
||||
NOT?: OfficeContactScalarWhereWithAggregatesInput | OfficeContactScalarWhereWithAggregatesInput[]
|
||||
id?: IntWithAggregatesFilter<"OfficeContact"> | number
|
||||
userId?: IntWithAggregatesFilter<"OfficeContact"> | number
|
||||
legalName?: StringNullableWithAggregatesFilter<"OfficeContact"> | string | null
|
||||
officeName?: StringNullableWithAggregatesFilter<"OfficeContact"> | string | null
|
||||
receptionistName?: StringNullableWithAggregatesFilter<"OfficeContact"> | string | null
|
||||
dentistName?: StringNullableWithAggregatesFilter<"OfficeContact"> | string | null
|
||||
@@ -56138,6 +56163,7 @@ export namespace Prisma {
|
||||
}
|
||||
|
||||
export type OfficeContactCreateInput = {
|
||||
legalName?: string | null
|
||||
officeName?: string | null
|
||||
receptionistName?: string | null
|
||||
dentistName?: string | null
|
||||
@@ -56158,6 +56184,7 @@ export namespace Prisma {
|
||||
export type OfficeContactUncheckedCreateInput = {
|
||||
id?: number
|
||||
userId: number
|
||||
legalName?: string | null
|
||||
officeName?: string | null
|
||||
receptionistName?: string | null
|
||||
dentistName?: string | null
|
||||
@@ -56175,6 +56202,7 @@ export namespace Prisma {
|
||||
}
|
||||
|
||||
export type OfficeContactUpdateInput = {
|
||||
legalName?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
officeName?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
receptionistName?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
dentistName?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
@@ -56195,6 +56223,7 @@ export namespace Prisma {
|
||||
export type OfficeContactUncheckedUpdateInput = {
|
||||
id?: IntFieldUpdateOperationsInput | number
|
||||
userId?: IntFieldUpdateOperationsInput | number
|
||||
legalName?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
officeName?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
receptionistName?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
dentistName?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
@@ -56214,6 +56243,7 @@ export namespace Prisma {
|
||||
export type OfficeContactCreateManyInput = {
|
||||
id?: number
|
||||
userId: number
|
||||
legalName?: string | null
|
||||
officeName?: string | null
|
||||
receptionistName?: string | null
|
||||
dentistName?: string | null
|
||||
@@ -56231,6 +56261,7 @@ export namespace Prisma {
|
||||
}
|
||||
|
||||
export type OfficeContactUpdateManyMutationInput = {
|
||||
legalName?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
officeName?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
receptionistName?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
dentistName?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
@@ -56250,6 +56281,7 @@ export namespace Prisma {
|
||||
export type OfficeContactUncheckedUpdateManyInput = {
|
||||
id?: IntFieldUpdateOperationsInput | number
|
||||
userId?: IntFieldUpdateOperationsInput | number
|
||||
legalName?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
officeName?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
receptionistName?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
dentistName?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
@@ -59153,6 +59185,7 @@ export namespace Prisma {
|
||||
export type OfficeContactCountOrderByAggregateInput = {
|
||||
id?: SortOrder
|
||||
userId?: SortOrder
|
||||
legalName?: SortOrder
|
||||
officeName?: SortOrder
|
||||
receptionistName?: SortOrder
|
||||
dentistName?: SortOrder
|
||||
@@ -59177,6 +59210,7 @@ export namespace Prisma {
|
||||
export type OfficeContactMaxOrderByAggregateInput = {
|
||||
id?: SortOrder
|
||||
userId?: SortOrder
|
||||
legalName?: SortOrder
|
||||
officeName?: SortOrder
|
||||
receptionistName?: SortOrder
|
||||
dentistName?: SortOrder
|
||||
@@ -59196,6 +59230,7 @@ export namespace Prisma {
|
||||
export type OfficeContactMinOrderByAggregateInput = {
|
||||
id?: SortOrder
|
||||
userId?: SortOrder
|
||||
legalName?: SortOrder
|
||||
officeName?: SortOrder
|
||||
receptionistName?: SortOrder
|
||||
dentistName?: SortOrder
|
||||
@@ -63835,6 +63870,7 @@ export namespace Prisma {
|
||||
}
|
||||
|
||||
export type OfficeContactCreateWithoutUserInput = {
|
||||
legalName?: string | null
|
||||
officeName?: string | null
|
||||
receptionistName?: string | null
|
||||
dentistName?: string | null
|
||||
@@ -63853,6 +63889,7 @@ export namespace Prisma {
|
||||
|
||||
export type OfficeContactUncheckedCreateWithoutUserInput = {
|
||||
id?: number
|
||||
legalName?: string | null
|
||||
officeName?: string | null
|
||||
receptionistName?: string | null
|
||||
dentistName?: string | null
|
||||
@@ -64581,6 +64618,7 @@ export namespace Prisma {
|
||||
}
|
||||
|
||||
export type OfficeContactUpdateWithoutUserInput = {
|
||||
legalName?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
officeName?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
receptionistName?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
dentistName?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
@@ -64599,6 +64637,7 @@ export namespace Prisma {
|
||||
|
||||
export type OfficeContactUncheckedUpdateWithoutUserInput = {
|
||||
id?: IntFieldUpdateOperationsInput | number
|
||||
legalName?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
officeName?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
receptionistName?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
dentistName?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "prisma-client-bb116778cffb9b15699ea4d9b914737691958a4696934cfac892c11c3d30ad3d",
|
||||
"name": "prisma-client-1dff8570fa534b7236a935d3a9448f1a5d78e935490023ad3eb5b9b7018d99d5",
|
||||
"main": "index.js",
|
||||
"types": "index.d.ts",
|
||||
"browser": "default.js",
|
||||
|
||||
@@ -682,6 +682,9 @@ model OfficeHours {
|
||||
model OfficeContact {
|
||||
id Int @id @default(autoincrement())
|
||||
userId Int @unique
|
||||
/// Legal (registered) business name — ADA claim form items 48 and 56
|
||||
legalName String?
|
||||
/// Dental office name as the public knows it (DBA)
|
||||
officeName String?
|
||||
receptionistName String?
|
||||
dentistName String?
|
||||
|
||||
Reference in New Issue
Block a user