feat: BCBS MA paper claim — fill 2024 ADA claim form; office NPI setting
- New GET /api/claims/:id/ada-form fills the 2024 ADA Dental Claim Form (J43024) with payer address, patient/subscriber, CDT lines, fees, missing teeth, billing (office) NPI and treating NPI; signatures blank - "BCBS Claim (ADA Form)" button saves the claim and opens the PDF; Claim All routes BCBS patients to it; "Print ADA Form" in claim view - Settings > NPI Providers: "Add Office NPI" (billing name, NPI, license, TIN) and optional per-provider license number - Migration: office_contact billing fields, NpiProvider.licenseNumber 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
@@ -202,6 +202,7 @@ exports.Prisma.NpiProviderScalarFieldEnum = {
|
||||
userId: 'userId',
|
||||
npiNumber: 'npiNumber',
|
||||
providerName: 'providerName',
|
||||
licenseNumber: 'licenseNumber',
|
||||
sortOrder: 'sortOrder',
|
||||
createdAt: 'createdAt'
|
||||
};
|
||||
@@ -490,7 +491,11 @@ exports.Prisma.OfficeContactScalarFieldEnum = {
|
||||
streetAddress: 'streetAddress',
|
||||
city: 'city',
|
||||
state: 'state',
|
||||
zipCode: 'zipCode'
|
||||
zipCode: 'zipCode',
|
||||
billingName: 'billingName',
|
||||
billingNpi: 'billingNpi',
|
||||
billingLicense: 'billingLicense',
|
||||
billingTaxId: 'billingTaxId'
|
||||
};
|
||||
|
||||
exports.Prisma.InsuranceContactScalarFieldEnum = {
|
||||
|
||||
+197
-3
@@ -12114,6 +12114,7 @@ export namespace Prisma {
|
||||
userId: number | null
|
||||
npiNumber: string | null
|
||||
providerName: string | null
|
||||
licenseNumber: string | null
|
||||
sortOrder: number | null
|
||||
createdAt: Date | null
|
||||
}
|
||||
@@ -12123,6 +12124,7 @@ export namespace Prisma {
|
||||
userId: number | null
|
||||
npiNumber: string | null
|
||||
providerName: string | null
|
||||
licenseNumber: string | null
|
||||
sortOrder: number | null
|
||||
createdAt: Date | null
|
||||
}
|
||||
@@ -12132,6 +12134,7 @@ export namespace Prisma {
|
||||
userId: number
|
||||
npiNumber: number
|
||||
providerName: number
|
||||
licenseNumber: number
|
||||
sortOrder: number
|
||||
createdAt: number
|
||||
_all: number
|
||||
@@ -12155,6 +12158,7 @@ export namespace Prisma {
|
||||
userId?: true
|
||||
npiNumber?: true
|
||||
providerName?: true
|
||||
licenseNumber?: true
|
||||
sortOrder?: true
|
||||
createdAt?: true
|
||||
}
|
||||
@@ -12164,6 +12168,7 @@ export namespace Prisma {
|
||||
userId?: true
|
||||
npiNumber?: true
|
||||
providerName?: true
|
||||
licenseNumber?: true
|
||||
sortOrder?: true
|
||||
createdAt?: true
|
||||
}
|
||||
@@ -12173,6 +12178,7 @@ export namespace Prisma {
|
||||
userId?: true
|
||||
npiNumber?: true
|
||||
providerName?: true
|
||||
licenseNumber?: true
|
||||
sortOrder?: true
|
||||
createdAt?: true
|
||||
_all?: true
|
||||
@@ -12269,6 +12275,7 @@ export namespace Prisma {
|
||||
userId: number
|
||||
npiNumber: string
|
||||
providerName: string
|
||||
licenseNumber: string | null
|
||||
sortOrder: number
|
||||
createdAt: Date
|
||||
_count: NpiProviderCountAggregateOutputType | null
|
||||
@@ -12297,6 +12304,7 @@ export namespace Prisma {
|
||||
userId?: boolean
|
||||
npiNumber?: boolean
|
||||
providerName?: boolean
|
||||
licenseNumber?: boolean
|
||||
sortOrder?: boolean
|
||||
createdAt?: boolean
|
||||
user?: boolean | UserDefaultArgs<ExtArgs>
|
||||
@@ -12313,6 +12321,7 @@ export namespace Prisma {
|
||||
userId?: boolean
|
||||
npiNumber?: boolean
|
||||
providerName?: boolean
|
||||
licenseNumber?: boolean
|
||||
sortOrder?: boolean
|
||||
createdAt?: boolean
|
||||
user?: boolean | UserDefaultArgs<ExtArgs>
|
||||
@@ -12323,6 +12332,7 @@ export namespace Prisma {
|
||||
userId?: boolean
|
||||
npiNumber?: boolean
|
||||
providerName?: boolean
|
||||
licenseNumber?: boolean
|
||||
sortOrder?: boolean
|
||||
createdAt?: boolean
|
||||
user?: boolean | UserDefaultArgs<ExtArgs>
|
||||
@@ -12333,11 +12343,12 @@ export namespace Prisma {
|
||||
userId?: boolean
|
||||
npiNumber?: boolean
|
||||
providerName?: boolean
|
||||
licenseNumber?: boolean
|
||||
sortOrder?: boolean
|
||||
createdAt?: boolean
|
||||
}
|
||||
|
||||
export type NpiProviderOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "userId" | "npiNumber" | "providerName" | "sortOrder" | "createdAt", ExtArgs["result"]["npiProvider"]>
|
||||
export type NpiProviderOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "userId" | "npiNumber" | "providerName" | "licenseNumber" | "sortOrder" | "createdAt", ExtArgs["result"]["npiProvider"]>
|
||||
export type NpiProviderInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
||||
user?: boolean | UserDefaultArgs<ExtArgs>
|
||||
claims?: boolean | NpiProvider$claimsArgs<ExtArgs>
|
||||
@@ -12369,6 +12380,10 @@ export namespace Prisma {
|
||||
userId: number
|
||||
npiNumber: string
|
||||
providerName: string
|
||||
/**
|
||||
* State dental license (ADA claim form item 55)
|
||||
*/
|
||||
licenseNumber: string | null
|
||||
sortOrder: number
|
||||
createdAt: Date
|
||||
}, ExtArgs["result"]["npiProvider"]>
|
||||
@@ -12804,6 +12819,7 @@ export namespace Prisma {
|
||||
readonly userId: FieldRef<"NpiProvider", 'Int'>
|
||||
readonly npiNumber: FieldRef<"NpiProvider", 'String'>
|
||||
readonly providerName: FieldRef<"NpiProvider", 'String'>
|
||||
readonly licenseNumber: FieldRef<"NpiProvider", 'String'>
|
||||
readonly sortOrder: FieldRef<"NpiProvider", 'Int'>
|
||||
readonly createdAt: FieldRef<"NpiProvider", 'DateTime'>
|
||||
}
|
||||
@@ -40500,6 +40516,10 @@ export namespace Prisma {
|
||||
city: string | null
|
||||
state: string | null
|
||||
zipCode: string | null
|
||||
billingName: string | null
|
||||
billingNpi: string | null
|
||||
billingLicense: string | null
|
||||
billingTaxId: string | null
|
||||
}
|
||||
|
||||
export type OfficeContactMaxAggregateOutputType = {
|
||||
@@ -40515,6 +40535,10 @@ export namespace Prisma {
|
||||
city: string | null
|
||||
state: string | null
|
||||
zipCode: string | null
|
||||
billingName: string | null
|
||||
billingNpi: string | null
|
||||
billingLicense: string | null
|
||||
billingTaxId: string | null
|
||||
}
|
||||
|
||||
export type OfficeContactCountAggregateOutputType = {
|
||||
@@ -40530,6 +40554,10 @@ export namespace Prisma {
|
||||
city: number
|
||||
state: number
|
||||
zipCode: number
|
||||
billingName: number
|
||||
billingNpi: number
|
||||
billingLicense: number
|
||||
billingTaxId: number
|
||||
_all: number
|
||||
}
|
||||
|
||||
@@ -40557,6 +40585,10 @@ export namespace Prisma {
|
||||
city?: true
|
||||
state?: true
|
||||
zipCode?: true
|
||||
billingName?: true
|
||||
billingNpi?: true
|
||||
billingLicense?: true
|
||||
billingTaxId?: true
|
||||
}
|
||||
|
||||
export type OfficeContactMaxAggregateInputType = {
|
||||
@@ -40572,6 +40604,10 @@ export namespace Prisma {
|
||||
city?: true
|
||||
state?: true
|
||||
zipCode?: true
|
||||
billingName?: true
|
||||
billingNpi?: true
|
||||
billingLicense?: true
|
||||
billingTaxId?: true
|
||||
}
|
||||
|
||||
export type OfficeContactCountAggregateInputType = {
|
||||
@@ -40587,6 +40623,10 @@ export namespace Prisma {
|
||||
city?: true
|
||||
state?: true
|
||||
zipCode?: true
|
||||
billingName?: true
|
||||
billingNpi?: true
|
||||
billingLicense?: true
|
||||
billingTaxId?: true
|
||||
_all?: true
|
||||
}
|
||||
|
||||
@@ -40689,6 +40729,10 @@ export namespace Prisma {
|
||||
city: string | null
|
||||
state: string | null
|
||||
zipCode: string | null
|
||||
billingName: string | null
|
||||
billingNpi: string | null
|
||||
billingLicense: string | null
|
||||
billingTaxId: string | null
|
||||
_count: OfficeContactCountAggregateOutputType | null
|
||||
_avg: OfficeContactAvgAggregateOutputType | null
|
||||
_sum: OfficeContactSumAggregateOutputType | null
|
||||
@@ -40723,6 +40767,10 @@ export namespace Prisma {
|
||||
city?: boolean
|
||||
state?: boolean
|
||||
zipCode?: boolean
|
||||
billingName?: boolean
|
||||
billingNpi?: boolean
|
||||
billingLicense?: boolean
|
||||
billingTaxId?: boolean
|
||||
user?: boolean | UserDefaultArgs<ExtArgs>
|
||||
}, ExtArgs["result"]["officeContact"]>
|
||||
|
||||
@@ -40739,6 +40787,10 @@ export namespace Prisma {
|
||||
city?: boolean
|
||||
state?: boolean
|
||||
zipCode?: boolean
|
||||
billingName?: boolean
|
||||
billingNpi?: boolean
|
||||
billingLicense?: boolean
|
||||
billingTaxId?: boolean
|
||||
user?: boolean | UserDefaultArgs<ExtArgs>
|
||||
}, ExtArgs["result"]["officeContact"]>
|
||||
|
||||
@@ -40755,6 +40807,10 @@ export namespace Prisma {
|
||||
city?: boolean
|
||||
state?: boolean
|
||||
zipCode?: boolean
|
||||
billingName?: boolean
|
||||
billingNpi?: boolean
|
||||
billingLicense?: boolean
|
||||
billingTaxId?: boolean
|
||||
user?: boolean | UserDefaultArgs<ExtArgs>
|
||||
}, ExtArgs["result"]["officeContact"]>
|
||||
|
||||
@@ -40771,9 +40827,13 @@ export namespace Prisma {
|
||||
city?: boolean
|
||||
state?: boolean
|
||||
zipCode?: boolean
|
||||
billingName?: boolean
|
||||
billingNpi?: boolean
|
||||
billingLicense?: boolean
|
||||
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", ExtArgs["result"]["officeContact"]>
|
||||
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 OfficeContactInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
||||
user?: boolean | UserDefaultArgs<ExtArgs>
|
||||
}
|
||||
@@ -40802,6 +40862,13 @@ export namespace Prisma {
|
||||
city: string | null
|
||||
state: string | null
|
||||
zipCode: string | null
|
||||
/**
|
||||
* Office (billing) NPI — ADA claim form items 48-51
|
||||
*/
|
||||
billingName: string | null
|
||||
billingNpi: string | null
|
||||
billingLicense: string | null
|
||||
billingTaxId: string | null
|
||||
}, ExtArgs["result"]["officeContact"]>
|
||||
composites: {}
|
||||
}
|
||||
@@ -41238,6 +41305,10 @@ export namespace Prisma {
|
||||
readonly city: FieldRef<"OfficeContact", 'String'>
|
||||
readonly state: FieldRef<"OfficeContact", 'String'>
|
||||
readonly zipCode: FieldRef<"OfficeContact", 'String'>
|
||||
readonly billingName: FieldRef<"OfficeContact", 'String'>
|
||||
readonly billingNpi: FieldRef<"OfficeContact", 'String'>
|
||||
readonly billingLicense: FieldRef<"OfficeContact", 'String'>
|
||||
readonly billingTaxId: FieldRef<"OfficeContact", 'String'>
|
||||
}
|
||||
|
||||
|
||||
@@ -49579,6 +49650,7 @@ export namespace Prisma {
|
||||
userId: 'userId',
|
||||
npiNumber: 'npiNumber',
|
||||
providerName: 'providerName',
|
||||
licenseNumber: 'licenseNumber',
|
||||
sortOrder: 'sortOrder',
|
||||
createdAt: 'createdAt'
|
||||
};
|
||||
@@ -49939,7 +50011,11 @@ export namespace Prisma {
|
||||
streetAddress: 'streetAddress',
|
||||
city: 'city',
|
||||
state: 'state',
|
||||
zipCode: 'zipCode'
|
||||
zipCode: 'zipCode',
|
||||
billingName: 'billingName',
|
||||
billingNpi: 'billingNpi',
|
||||
billingLicense: 'billingLicense',
|
||||
billingTaxId: 'billingTaxId'
|
||||
};
|
||||
|
||||
export type OfficeContactScalarFieldEnum = (typeof OfficeContactScalarFieldEnum)[keyof typeof OfficeContactScalarFieldEnum]
|
||||
@@ -50983,6 +51059,7 @@ export namespace Prisma {
|
||||
userId?: IntFilter<"NpiProvider"> | number
|
||||
npiNumber?: StringFilter<"NpiProvider"> | string
|
||||
providerName?: StringFilter<"NpiProvider"> | string
|
||||
licenseNumber?: StringNullableFilter<"NpiProvider"> | string | null
|
||||
sortOrder?: IntFilter<"NpiProvider"> | number
|
||||
createdAt?: DateTimeFilter<"NpiProvider"> | Date | string
|
||||
user?: XOR<UserScalarRelationFilter, UserWhereInput>
|
||||
@@ -50998,6 +51075,7 @@ export namespace Prisma {
|
||||
userId?: SortOrder
|
||||
npiNumber?: SortOrder
|
||||
providerName?: SortOrder
|
||||
licenseNumber?: SortOrderInput | SortOrder
|
||||
sortOrder?: SortOrder
|
||||
createdAt?: SortOrder
|
||||
user?: UserOrderByWithRelationInput
|
||||
@@ -51017,6 +51095,7 @@ export namespace Prisma {
|
||||
userId?: IntFilter<"NpiProvider"> | number
|
||||
npiNumber?: StringFilter<"NpiProvider"> | string
|
||||
providerName?: StringFilter<"NpiProvider"> | string
|
||||
licenseNumber?: StringNullableFilter<"NpiProvider"> | string | null
|
||||
sortOrder?: IntFilter<"NpiProvider"> | number
|
||||
createdAt?: DateTimeFilter<"NpiProvider"> | Date | string
|
||||
user?: XOR<UserScalarRelationFilter, UserWhereInput>
|
||||
@@ -51032,6 +51111,7 @@ export namespace Prisma {
|
||||
userId?: SortOrder
|
||||
npiNumber?: SortOrder
|
||||
providerName?: SortOrder
|
||||
licenseNumber?: SortOrderInput | SortOrder
|
||||
sortOrder?: SortOrder
|
||||
createdAt?: SortOrder
|
||||
_count?: NpiProviderCountOrderByAggregateInput
|
||||
@@ -51049,6 +51129,7 @@ export namespace Prisma {
|
||||
userId?: IntWithAggregatesFilter<"NpiProvider"> | number
|
||||
npiNumber?: StringWithAggregatesFilter<"NpiProvider"> | string
|
||||
providerName?: StringWithAggregatesFilter<"NpiProvider"> | string
|
||||
licenseNumber?: StringNullableWithAggregatesFilter<"NpiProvider"> | string | null
|
||||
sortOrder?: IntWithAggregatesFilter<"NpiProvider"> | number
|
||||
createdAt?: DateTimeWithAggregatesFilter<"NpiProvider"> | Date | string
|
||||
}
|
||||
@@ -52898,6 +52979,10 @@ export namespace Prisma {
|
||||
city?: StringNullableFilter<"OfficeContact"> | string | null
|
||||
state?: StringNullableFilter<"OfficeContact"> | string | null
|
||||
zipCode?: StringNullableFilter<"OfficeContact"> | string | null
|
||||
billingName?: StringNullableFilter<"OfficeContact"> | string | null
|
||||
billingNpi?: StringNullableFilter<"OfficeContact"> | string | null
|
||||
billingLicense?: StringNullableFilter<"OfficeContact"> | string | null
|
||||
billingTaxId?: StringNullableFilter<"OfficeContact"> | string | null
|
||||
user?: XOR<UserScalarRelationFilter, UserWhereInput>
|
||||
}
|
||||
|
||||
@@ -52914,6 +52999,10 @@ export namespace Prisma {
|
||||
city?: SortOrderInput | SortOrder
|
||||
state?: SortOrderInput | SortOrder
|
||||
zipCode?: SortOrderInput | SortOrder
|
||||
billingName?: SortOrderInput | SortOrder
|
||||
billingNpi?: SortOrderInput | SortOrder
|
||||
billingLicense?: SortOrderInput | SortOrder
|
||||
billingTaxId?: SortOrderInput | SortOrder
|
||||
user?: UserOrderByWithRelationInput
|
||||
}
|
||||
|
||||
@@ -52933,6 +53022,10 @@ export namespace Prisma {
|
||||
city?: StringNullableFilter<"OfficeContact"> | string | null
|
||||
state?: StringNullableFilter<"OfficeContact"> | string | null
|
||||
zipCode?: StringNullableFilter<"OfficeContact"> | string | null
|
||||
billingName?: StringNullableFilter<"OfficeContact"> | string | null
|
||||
billingNpi?: StringNullableFilter<"OfficeContact"> | string | null
|
||||
billingLicense?: StringNullableFilter<"OfficeContact"> | string | null
|
||||
billingTaxId?: StringNullableFilter<"OfficeContact"> | string | null
|
||||
user?: XOR<UserScalarRelationFilter, UserWhereInput>
|
||||
}, "id" | "userId">
|
||||
|
||||
@@ -52949,6 +53042,10 @@ export namespace Prisma {
|
||||
city?: SortOrderInput | SortOrder
|
||||
state?: SortOrderInput | SortOrder
|
||||
zipCode?: SortOrderInput | SortOrder
|
||||
billingName?: SortOrderInput | SortOrder
|
||||
billingNpi?: SortOrderInput | SortOrder
|
||||
billingLicense?: SortOrderInput | SortOrder
|
||||
billingTaxId?: SortOrderInput | SortOrder
|
||||
_count?: OfficeContactCountOrderByAggregateInput
|
||||
_avg?: OfficeContactAvgOrderByAggregateInput
|
||||
_max?: OfficeContactMaxOrderByAggregateInput
|
||||
@@ -52972,6 +53069,10 @@ export namespace Prisma {
|
||||
city?: StringNullableWithAggregatesFilter<"OfficeContact"> | string | null
|
||||
state?: StringNullableWithAggregatesFilter<"OfficeContact"> | string | null
|
||||
zipCode?: StringNullableWithAggregatesFilter<"OfficeContact"> | string | null
|
||||
billingName?: StringNullableWithAggregatesFilter<"OfficeContact"> | string | null
|
||||
billingNpi?: StringNullableWithAggregatesFilter<"OfficeContact"> | string | null
|
||||
billingLicense?: StringNullableWithAggregatesFilter<"OfficeContact"> | string | null
|
||||
billingTaxId?: StringNullableWithAggregatesFilter<"OfficeContact"> | string | null
|
||||
}
|
||||
|
||||
export type InsuranceContactWhereInput = {
|
||||
@@ -54085,6 +54186,7 @@ export namespace Prisma {
|
||||
export type NpiProviderCreateInput = {
|
||||
npiNumber: string
|
||||
providerName: string
|
||||
licenseNumber?: string | null
|
||||
sortOrder?: number
|
||||
createdAt?: Date | string
|
||||
user: UserCreateNestedOneWithoutNpiProvidersInput
|
||||
@@ -54100,6 +54202,7 @@ export namespace Prisma {
|
||||
userId: number
|
||||
npiNumber: string
|
||||
providerName: string
|
||||
licenseNumber?: string | null
|
||||
sortOrder?: number
|
||||
createdAt?: Date | string
|
||||
claims?: ClaimUncheckedCreateNestedManyWithoutNpiProviderInput
|
||||
@@ -54112,6 +54215,7 @@ export namespace Prisma {
|
||||
export type NpiProviderUpdateInput = {
|
||||
npiNumber?: StringFieldUpdateOperationsInput | string
|
||||
providerName?: StringFieldUpdateOperationsInput | string
|
||||
licenseNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
sortOrder?: IntFieldUpdateOperationsInput | number
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
user?: UserUpdateOneRequiredWithoutNpiProvidersNestedInput
|
||||
@@ -54127,6 +54231,7 @@ export namespace Prisma {
|
||||
userId?: IntFieldUpdateOperationsInput | number
|
||||
npiNumber?: StringFieldUpdateOperationsInput | string
|
||||
providerName?: StringFieldUpdateOperationsInput | string
|
||||
licenseNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
sortOrder?: IntFieldUpdateOperationsInput | number
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
claims?: ClaimUncheckedUpdateManyWithoutNpiProviderNestedInput
|
||||
@@ -54141,6 +54246,7 @@ export namespace Prisma {
|
||||
userId: number
|
||||
npiNumber: string
|
||||
providerName: string
|
||||
licenseNumber?: string | null
|
||||
sortOrder?: number
|
||||
createdAt?: Date | string
|
||||
}
|
||||
@@ -54148,6 +54254,7 @@ export namespace Prisma {
|
||||
export type NpiProviderUpdateManyMutationInput = {
|
||||
npiNumber?: StringFieldUpdateOperationsInput | string
|
||||
providerName?: StringFieldUpdateOperationsInput | string
|
||||
licenseNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
sortOrder?: IntFieldUpdateOperationsInput | number
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
}
|
||||
@@ -54157,6 +54264,7 @@ export namespace Prisma {
|
||||
userId?: IntFieldUpdateOperationsInput | number
|
||||
npiNumber?: StringFieldUpdateOperationsInput | string
|
||||
providerName?: StringFieldUpdateOperationsInput | string
|
||||
licenseNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
sortOrder?: IntFieldUpdateOperationsInput | number
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
}
|
||||
@@ -56014,6 +56122,10 @@ export namespace Prisma {
|
||||
city?: string | null
|
||||
state?: string | null
|
||||
zipCode?: string | null
|
||||
billingName?: string | null
|
||||
billingNpi?: string | null
|
||||
billingLicense?: string | null
|
||||
billingTaxId?: string | null
|
||||
user: UserCreateNestedOneWithoutOfficeContactInput
|
||||
}
|
||||
|
||||
@@ -56030,6 +56142,10 @@ export namespace Prisma {
|
||||
city?: string | null
|
||||
state?: string | null
|
||||
zipCode?: string | null
|
||||
billingName?: string | null
|
||||
billingNpi?: string | null
|
||||
billingLicense?: string | null
|
||||
billingTaxId?: string | null
|
||||
}
|
||||
|
||||
export type OfficeContactUpdateInput = {
|
||||
@@ -56043,6 +56159,10 @@ export namespace Prisma {
|
||||
city?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
state?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
zipCode?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
billingName?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
billingNpi?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
billingLicense?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
billingTaxId?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
user?: UserUpdateOneRequiredWithoutOfficeContactNestedInput
|
||||
}
|
||||
|
||||
@@ -56059,6 +56179,10 @@ export namespace Prisma {
|
||||
city?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
state?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
zipCode?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
billingName?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
billingNpi?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
billingLicense?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
billingTaxId?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
}
|
||||
|
||||
export type OfficeContactCreateManyInput = {
|
||||
@@ -56074,6 +56198,10 @@ export namespace Prisma {
|
||||
city?: string | null
|
||||
state?: string | null
|
||||
zipCode?: string | null
|
||||
billingName?: string | null
|
||||
billingNpi?: string | null
|
||||
billingLicense?: string | null
|
||||
billingTaxId?: string | null
|
||||
}
|
||||
|
||||
export type OfficeContactUpdateManyMutationInput = {
|
||||
@@ -56087,6 +56215,10 @@ export namespace Prisma {
|
||||
city?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
state?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
zipCode?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
billingName?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
billingNpi?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
billingLicense?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
billingTaxId?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
}
|
||||
|
||||
export type OfficeContactUncheckedUpdateManyInput = {
|
||||
@@ -56102,6 +56234,10 @@ export namespace Prisma {
|
||||
city?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
state?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
zipCode?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
billingName?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
billingNpi?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
billingLicense?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
billingTaxId?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
}
|
||||
|
||||
export type InsuranceContactCreateInput = {
|
||||
@@ -57310,6 +57446,7 @@ export namespace Prisma {
|
||||
userId?: SortOrder
|
||||
npiNumber?: SortOrder
|
||||
providerName?: SortOrder
|
||||
licenseNumber?: SortOrder
|
||||
sortOrder?: SortOrder
|
||||
createdAt?: SortOrder
|
||||
}
|
||||
@@ -57325,6 +57462,7 @@ export namespace Prisma {
|
||||
userId?: SortOrder
|
||||
npiNumber?: SortOrder
|
||||
providerName?: SortOrder
|
||||
licenseNumber?: SortOrder
|
||||
sortOrder?: SortOrder
|
||||
createdAt?: SortOrder
|
||||
}
|
||||
@@ -57334,6 +57472,7 @@ export namespace Prisma {
|
||||
userId?: SortOrder
|
||||
npiNumber?: SortOrder
|
||||
providerName?: SortOrder
|
||||
licenseNumber?: SortOrder
|
||||
sortOrder?: SortOrder
|
||||
createdAt?: SortOrder
|
||||
}
|
||||
@@ -58995,6 +59134,10 @@ export namespace Prisma {
|
||||
city?: SortOrder
|
||||
state?: SortOrder
|
||||
zipCode?: SortOrder
|
||||
billingName?: SortOrder
|
||||
billingNpi?: SortOrder
|
||||
billingLicense?: SortOrder
|
||||
billingTaxId?: SortOrder
|
||||
}
|
||||
|
||||
export type OfficeContactAvgOrderByAggregateInput = {
|
||||
@@ -59015,6 +59158,10 @@ export namespace Prisma {
|
||||
city?: SortOrder
|
||||
state?: SortOrder
|
||||
zipCode?: SortOrder
|
||||
billingName?: SortOrder
|
||||
billingNpi?: SortOrder
|
||||
billingLicense?: SortOrder
|
||||
billingTaxId?: SortOrder
|
||||
}
|
||||
|
||||
export type OfficeContactMinOrderByAggregateInput = {
|
||||
@@ -59030,6 +59177,10 @@ export namespace Prisma {
|
||||
city?: SortOrder
|
||||
state?: SortOrder
|
||||
zipCode?: SortOrder
|
||||
billingName?: SortOrder
|
||||
billingNpi?: SortOrder
|
||||
billingLicense?: SortOrder
|
||||
billingTaxId?: SortOrder
|
||||
}
|
||||
|
||||
export type OfficeContactSumOrderByAggregateInput = {
|
||||
@@ -63188,6 +63339,7 @@ export namespace Prisma {
|
||||
export type NpiProviderCreateWithoutUserInput = {
|
||||
npiNumber: string
|
||||
providerName: string
|
||||
licenseNumber?: string | null
|
||||
sortOrder?: number
|
||||
createdAt?: Date | string
|
||||
claims?: ClaimCreateNestedManyWithoutNpiProviderInput
|
||||
@@ -63201,6 +63353,7 @@ export namespace Prisma {
|
||||
id?: number
|
||||
npiNumber: string
|
||||
providerName: string
|
||||
licenseNumber?: string | null
|
||||
sortOrder?: number
|
||||
createdAt?: Date | string
|
||||
claims?: ClaimUncheckedCreateNestedManyWithoutNpiProviderInput
|
||||
@@ -63661,6 +63814,10 @@ export namespace Prisma {
|
||||
city?: string | null
|
||||
state?: string | null
|
||||
zipCode?: string | null
|
||||
billingName?: string | null
|
||||
billingNpi?: string | null
|
||||
billingLicense?: string | null
|
||||
billingTaxId?: string | null
|
||||
}
|
||||
|
||||
export type OfficeContactUncheckedCreateWithoutUserInput = {
|
||||
@@ -63675,6 +63832,10 @@ export namespace Prisma {
|
||||
city?: string | null
|
||||
state?: string | null
|
||||
zipCode?: string | null
|
||||
billingName?: string | null
|
||||
billingNpi?: string | null
|
||||
billingLicense?: string | null
|
||||
billingTaxId?: string | null
|
||||
}
|
||||
|
||||
export type OfficeContactCreateOrConnectWithoutUserInput = {
|
||||
@@ -63936,6 +64097,7 @@ export namespace Prisma {
|
||||
userId?: IntFilter<"NpiProvider"> | number
|
||||
npiNumber?: StringFilter<"NpiProvider"> | string
|
||||
providerName?: StringFilter<"NpiProvider"> | string
|
||||
licenseNumber?: StringNullableFilter<"NpiProvider"> | string | null
|
||||
sortOrder?: IntFilter<"NpiProvider"> | number
|
||||
createdAt?: DateTimeFilter<"NpiProvider"> | Date | string
|
||||
}
|
||||
@@ -64397,6 +64559,10 @@ export namespace Prisma {
|
||||
city?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
state?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
zipCode?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
billingName?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
billingNpi?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
billingLicense?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
billingTaxId?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
}
|
||||
|
||||
export type OfficeContactUncheckedUpdateWithoutUserInput = {
|
||||
@@ -64411,6 +64577,10 @@ export namespace Prisma {
|
||||
city?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
state?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
zipCode?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
billingName?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
billingNpi?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
billingLicense?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
billingTaxId?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
}
|
||||
|
||||
export type ProcedureTimeslotUpsertWithoutUserInput = {
|
||||
@@ -65427,6 +65597,7 @@ export namespace Prisma {
|
||||
export type NpiProviderCreateWithoutAppointmentsInput = {
|
||||
npiNumber: string
|
||||
providerName: string
|
||||
licenseNumber?: string | null
|
||||
sortOrder?: number
|
||||
createdAt?: Date | string
|
||||
user: UserCreateNestedOneWithoutNpiProvidersInput
|
||||
@@ -65441,6 +65612,7 @@ export namespace Prisma {
|
||||
userId: number
|
||||
npiNumber: string
|
||||
providerName: string
|
||||
licenseNumber?: string | null
|
||||
sortOrder?: number
|
||||
createdAt?: Date | string
|
||||
claims?: ClaimUncheckedCreateNestedManyWithoutNpiProviderInput
|
||||
@@ -65781,6 +65953,7 @@ export namespace Prisma {
|
||||
export type NpiProviderUpdateWithoutAppointmentsInput = {
|
||||
npiNumber?: StringFieldUpdateOperationsInput | string
|
||||
providerName?: StringFieldUpdateOperationsInput | string
|
||||
licenseNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
sortOrder?: IntFieldUpdateOperationsInput | number
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
user?: UserUpdateOneRequiredWithoutNpiProvidersNestedInput
|
||||
@@ -65795,6 +65968,7 @@ export namespace Prisma {
|
||||
userId?: IntFieldUpdateOperationsInput | number
|
||||
npiNumber?: StringFieldUpdateOperationsInput | string
|
||||
providerName?: StringFieldUpdateOperationsInput | string
|
||||
licenseNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
sortOrder?: IntFieldUpdateOperationsInput | number
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
claims?: ClaimUncheckedUpdateManyWithoutNpiProviderNestedInput
|
||||
@@ -66870,6 +67044,7 @@ export namespace Prisma {
|
||||
export type NpiProviderCreateWithoutAppointmentProceduresInput = {
|
||||
npiNumber: string
|
||||
providerName: string
|
||||
licenseNumber?: string | null
|
||||
sortOrder?: number
|
||||
createdAt?: Date | string
|
||||
user: UserCreateNestedOneWithoutNpiProvidersInput
|
||||
@@ -66884,6 +67059,7 @@ export namespace Prisma {
|
||||
userId: number
|
||||
npiNumber: string
|
||||
providerName: string
|
||||
licenseNumber?: string | null
|
||||
sortOrder?: number
|
||||
createdAt?: Date | string
|
||||
claims?: ClaimUncheckedCreateNestedManyWithoutNpiProviderInput
|
||||
@@ -67043,6 +67219,7 @@ export namespace Prisma {
|
||||
export type NpiProviderUpdateWithoutAppointmentProceduresInput = {
|
||||
npiNumber?: StringFieldUpdateOperationsInput | string
|
||||
providerName?: StringFieldUpdateOperationsInput | string
|
||||
licenseNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
sortOrder?: IntFieldUpdateOperationsInput | number
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
user?: UserUpdateOneRequiredWithoutNpiProvidersNestedInput
|
||||
@@ -67057,6 +67234,7 @@ export namespace Prisma {
|
||||
userId?: IntFieldUpdateOperationsInput | number
|
||||
npiNumber?: StringFieldUpdateOperationsInput | string
|
||||
providerName?: StringFieldUpdateOperationsInput | string
|
||||
licenseNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
sortOrder?: IntFieldUpdateOperationsInput | number
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
claims?: ClaimUncheckedUpdateManyWithoutNpiProviderNestedInput
|
||||
@@ -67290,6 +67468,7 @@ export namespace Prisma {
|
||||
export type NpiProviderCreateWithoutClaimsInput = {
|
||||
npiNumber: string
|
||||
providerName: string
|
||||
licenseNumber?: string | null
|
||||
sortOrder?: number
|
||||
createdAt?: Date | string
|
||||
user: UserCreateNestedOneWithoutNpiProvidersInput
|
||||
@@ -67304,6 +67483,7 @@ export namespace Prisma {
|
||||
userId: number
|
||||
npiNumber: string
|
||||
providerName: string
|
||||
licenseNumber?: string | null
|
||||
sortOrder?: number
|
||||
createdAt?: Date | string
|
||||
payments?: PaymentUncheckedCreateNestedManyWithoutNpiProviderInput
|
||||
@@ -67699,6 +67879,7 @@ export namespace Prisma {
|
||||
export type NpiProviderUpdateWithoutClaimsInput = {
|
||||
npiNumber?: StringFieldUpdateOperationsInput | string
|
||||
providerName?: StringFieldUpdateOperationsInput | string
|
||||
licenseNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
sortOrder?: IntFieldUpdateOperationsInput | number
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
user?: UserUpdateOneRequiredWithoutNpiProvidersNestedInput
|
||||
@@ -67713,6 +67894,7 @@ export namespace Prisma {
|
||||
userId?: IntFieldUpdateOperationsInput | number
|
||||
npiNumber?: StringFieldUpdateOperationsInput | string
|
||||
providerName?: StringFieldUpdateOperationsInput | string
|
||||
licenseNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
sortOrder?: IntFieldUpdateOperationsInput | number
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
payments?: PaymentUncheckedUpdateManyWithoutNpiProviderNestedInput
|
||||
@@ -69002,6 +69184,7 @@ export namespace Prisma {
|
||||
export type NpiProviderCreateWithoutPaymentsInput = {
|
||||
npiNumber: string
|
||||
providerName: string
|
||||
licenseNumber?: string | null
|
||||
sortOrder?: number
|
||||
createdAt?: Date | string
|
||||
user: UserCreateNestedOneWithoutNpiProvidersInput
|
||||
@@ -69016,6 +69199,7 @@ export namespace Prisma {
|
||||
userId: number
|
||||
npiNumber: string
|
||||
providerName: string
|
||||
licenseNumber?: string | null
|
||||
sortOrder?: number
|
||||
createdAt?: Date | string
|
||||
claims?: ClaimUncheckedCreateNestedManyWithoutNpiProviderInput
|
||||
@@ -69366,6 +69550,7 @@ export namespace Prisma {
|
||||
export type NpiProviderUpdateWithoutPaymentsInput = {
|
||||
npiNumber?: StringFieldUpdateOperationsInput | string
|
||||
providerName?: StringFieldUpdateOperationsInput | string
|
||||
licenseNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
sortOrder?: IntFieldUpdateOperationsInput | number
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
user?: UserUpdateOneRequiredWithoutNpiProvidersNestedInput
|
||||
@@ -69380,6 +69565,7 @@ export namespace Prisma {
|
||||
userId?: IntFieldUpdateOperationsInput | number
|
||||
npiNumber?: StringFieldUpdateOperationsInput | string
|
||||
providerName?: StringFieldUpdateOperationsInput | string
|
||||
licenseNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
sortOrder?: IntFieldUpdateOperationsInput | number
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
claims?: ClaimUncheckedUpdateManyWithoutNpiProviderNestedInput
|
||||
@@ -72955,6 +73141,7 @@ export namespace Prisma {
|
||||
export type NpiProviderCreateWithoutCommissionBatchesInput = {
|
||||
npiNumber: string
|
||||
providerName: string
|
||||
licenseNumber?: string | null
|
||||
sortOrder?: number
|
||||
createdAt?: Date | string
|
||||
user: UserCreateNestedOneWithoutNpiProvidersInput
|
||||
@@ -72969,6 +73156,7 @@ export namespace Prisma {
|
||||
userId: number
|
||||
npiNumber: string
|
||||
providerName: string
|
||||
licenseNumber?: string | null
|
||||
sortOrder?: number
|
||||
createdAt?: Date | string
|
||||
claims?: ClaimUncheckedCreateNestedManyWithoutNpiProviderInput
|
||||
@@ -73017,6 +73205,7 @@ export namespace Prisma {
|
||||
export type NpiProviderUpdateWithoutCommissionBatchesInput = {
|
||||
npiNumber?: StringFieldUpdateOperationsInput | string
|
||||
providerName?: StringFieldUpdateOperationsInput | string
|
||||
licenseNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
sortOrder?: IntFieldUpdateOperationsInput | number
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
user?: UserUpdateOneRequiredWithoutNpiProvidersNestedInput
|
||||
@@ -73031,6 +73220,7 @@ export namespace Prisma {
|
||||
userId?: IntFieldUpdateOperationsInput | number
|
||||
npiNumber?: StringFieldUpdateOperationsInput | string
|
||||
providerName?: StringFieldUpdateOperationsInput | string
|
||||
licenseNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
sortOrder?: IntFieldUpdateOperationsInput | number
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
claims?: ClaimUncheckedUpdateManyWithoutNpiProviderNestedInput
|
||||
@@ -73426,6 +73616,7 @@ export namespace Prisma {
|
||||
id?: number
|
||||
npiNumber: string
|
||||
providerName: string
|
||||
licenseNumber?: string | null
|
||||
sortOrder?: number
|
||||
createdAt?: Date | string
|
||||
}
|
||||
@@ -73759,6 +73950,7 @@ export namespace Prisma {
|
||||
export type NpiProviderUpdateWithoutUserInput = {
|
||||
npiNumber?: StringFieldUpdateOperationsInput | string
|
||||
providerName?: StringFieldUpdateOperationsInput | string
|
||||
licenseNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
sortOrder?: IntFieldUpdateOperationsInput | number
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
claims?: ClaimUpdateManyWithoutNpiProviderNestedInput
|
||||
@@ -73772,6 +73964,7 @@ export namespace Prisma {
|
||||
id?: IntFieldUpdateOperationsInput | number
|
||||
npiNumber?: StringFieldUpdateOperationsInput | string
|
||||
providerName?: StringFieldUpdateOperationsInput | string
|
||||
licenseNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
sortOrder?: IntFieldUpdateOperationsInput | number
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
claims?: ClaimUncheckedUpdateManyWithoutNpiProviderNestedInput
|
||||
@@ -73785,6 +73978,7 @@ export namespace Prisma {
|
||||
id?: IntFieldUpdateOperationsInput | number
|
||||
npiNumber?: StringFieldUpdateOperationsInput | string
|
||||
providerName?: StringFieldUpdateOperationsInput | string
|
||||
licenseNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
sortOrder?: IntFieldUpdateOperationsInput | number
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "prisma-client-85ee1e66f23d650a3f0c01310fbe1ede142a47bab2aa7d55e25b3a29308a8e32",
|
||||
"name": "prisma-client-299566db02bfad897daf3b307e0d5e21be5b2291b781663e7b9e5e2502cfd566",
|
||||
"main": "index.js",
|
||||
"types": "index.d.ts",
|
||||
"browser": "default.js",
|
||||
|
||||
@@ -159,12 +159,14 @@ model Staff {
|
||||
}
|
||||
|
||||
model NpiProvider {
|
||||
id Int @id @default(autoincrement())
|
||||
userId Int
|
||||
npiNumber String
|
||||
providerName String
|
||||
sortOrder Int @default(0)
|
||||
createdAt DateTime @default(now())
|
||||
id Int @id @default(autoincrement())
|
||||
userId Int
|
||||
npiNumber String
|
||||
providerName String
|
||||
/// State dental license (ADA claim form item 55)
|
||||
licenseNumber String?
|
||||
sortOrder Int @default(0)
|
||||
createdAt DateTime @default(now())
|
||||
|
||||
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
|
||||
claims Claim[]
|
||||
@@ -689,6 +691,11 @@ model OfficeContact {
|
||||
city String?
|
||||
state String?
|
||||
zipCode String?
|
||||
/// Office (billing) NPI — ADA claim form items 48-51
|
||||
billingName String?
|
||||
billingNpi String?
|
||||
billingLicense String?
|
||||
billingTaxId String?
|
||||
|
||||
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user