feat: add PreAuth tab, preauth selenium flow, and PreAuth No column
- Insurance Forms modal: split into Insurance Claim / PreAuth tabs - PreAuth tab: same patient info + service lines, no toggle/direct combos - Excluded Recalls & New Patients, Composite Fillings (Front/Back), Pedo from PreAuth combos - Extractions: replaced Simple/Surg/Baby Teeth EXT with Full Bony EXT (D7240) - MH PreAuth button: rewritten selenium worker to use masshealth-dental.org, selects Dental Prior Authorization (2nd option), skips Date of Service field - agent.py: convert pdf_path to pdf_url for /claim-pre-auth endpoint - nginx + Express: raise body size limit to 50mb (fix 413 errors) - DB schema: appointmentId optional on Claim, add preAuthNumber field, add PREAUTH status - Backend: create PREAUTH claim record on preauth submit, save preAuthNumber on completion - Claims table: add PreAuth No column (blue) next to Claim No Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -231,6 +231,7 @@ exports.Prisma.ClaimScalarFieldEnum = {
|
||||
updatedAt: 'updatedAt',
|
||||
status: 'status',
|
||||
claimNumber: 'claimNumber',
|
||||
preAuthNumber: 'preAuthNumber',
|
||||
npiProviderId: 'npiProviderId'
|
||||
};
|
||||
|
||||
@@ -540,7 +541,8 @@ exports.ClaimStatus = exports.$Enums.ClaimStatus = {
|
||||
APPROVED: 'APPROVED',
|
||||
CANCELLED: 'CANCELLED',
|
||||
REVIEW: 'REVIEW',
|
||||
VOID: 'VOID'
|
||||
VOID: 'VOID',
|
||||
PREAUTH: 'PREAUTH'
|
||||
};
|
||||
|
||||
exports.ServiceLineStatus = exports.$Enums.ServiceLineStatus = {
|
||||
|
||||
225
packages/db/generated/prisma/index.d.ts
vendored
225
packages/db/generated/prisma/index.d.ts
vendored
@@ -206,7 +206,8 @@ export const ClaimStatus: {
|
||||
APPROVED: 'APPROVED',
|
||||
CANCELLED: 'CANCELLED',
|
||||
REVIEW: 'REVIEW',
|
||||
VOID: 'VOID'
|
||||
VOID: 'VOID',
|
||||
PREAUTH: 'PREAUTH'
|
||||
};
|
||||
|
||||
export type ClaimStatus = (typeof ClaimStatus)[keyof typeof ClaimStatus]
|
||||
@@ -13895,6 +13896,7 @@ export namespace Prisma {
|
||||
updatedAt: Date | null
|
||||
status: $Enums.ClaimStatus | null
|
||||
claimNumber: string | null
|
||||
preAuthNumber: string | null
|
||||
npiProviderId: number | null
|
||||
}
|
||||
|
||||
@@ -13915,6 +13917,7 @@ export namespace Prisma {
|
||||
updatedAt: Date | null
|
||||
status: $Enums.ClaimStatus | null
|
||||
claimNumber: string | null
|
||||
preAuthNumber: string | null
|
||||
npiProviderId: number | null
|
||||
}
|
||||
|
||||
@@ -13936,6 +13939,7 @@ export namespace Prisma {
|
||||
updatedAt: number
|
||||
status: number
|
||||
claimNumber: number
|
||||
preAuthNumber: number
|
||||
npiProviderId: number
|
||||
_all: number
|
||||
}
|
||||
@@ -13976,6 +13980,7 @@ export namespace Prisma {
|
||||
updatedAt?: true
|
||||
status?: true
|
||||
claimNumber?: true
|
||||
preAuthNumber?: true
|
||||
npiProviderId?: true
|
||||
}
|
||||
|
||||
@@ -13996,6 +14001,7 @@ export namespace Prisma {
|
||||
updatedAt?: true
|
||||
status?: true
|
||||
claimNumber?: true
|
||||
preAuthNumber?: true
|
||||
npiProviderId?: true
|
||||
}
|
||||
|
||||
@@ -14017,6 +14023,7 @@ export namespace Prisma {
|
||||
updatedAt?: true
|
||||
status?: true
|
||||
claimNumber?: true
|
||||
preAuthNumber?: true
|
||||
npiProviderId?: true
|
||||
_all?: true
|
||||
}
|
||||
@@ -14110,7 +14117,7 @@ export namespace Prisma {
|
||||
export type ClaimGroupByOutputType = {
|
||||
id: number
|
||||
patientId: number
|
||||
appointmentId: number
|
||||
appointmentId: number | null
|
||||
userId: number
|
||||
staffId: number
|
||||
patientName: string
|
||||
@@ -14125,6 +14132,7 @@ export namespace Prisma {
|
||||
updatedAt: Date
|
||||
status: $Enums.ClaimStatus
|
||||
claimNumber: string | null
|
||||
preAuthNumber: string | null
|
||||
npiProviderId: number | null
|
||||
_count: ClaimCountAggregateOutputType | null
|
||||
_avg: ClaimAvgAggregateOutputType | null
|
||||
@@ -14165,9 +14173,10 @@ export namespace Prisma {
|
||||
updatedAt?: boolean
|
||||
status?: boolean
|
||||
claimNumber?: boolean
|
||||
preAuthNumber?: boolean
|
||||
npiProviderId?: boolean
|
||||
patient?: boolean | PatientDefaultArgs<ExtArgs>
|
||||
appointment?: boolean | AppointmentDefaultArgs<ExtArgs>
|
||||
appointment?: boolean | Claim$appointmentArgs<ExtArgs>
|
||||
user?: boolean | Claim$userArgs<ExtArgs>
|
||||
staff?: boolean | Claim$staffArgs<ExtArgs>
|
||||
npiProvider?: boolean | Claim$npiProviderArgs<ExtArgs>
|
||||
@@ -14195,9 +14204,10 @@ export namespace Prisma {
|
||||
updatedAt?: boolean
|
||||
status?: boolean
|
||||
claimNumber?: boolean
|
||||
preAuthNumber?: boolean
|
||||
npiProviderId?: boolean
|
||||
patient?: boolean | PatientDefaultArgs<ExtArgs>
|
||||
appointment?: boolean | AppointmentDefaultArgs<ExtArgs>
|
||||
appointment?: boolean | Claim$appointmentArgs<ExtArgs>
|
||||
user?: boolean | Claim$userArgs<ExtArgs>
|
||||
staff?: boolean | Claim$staffArgs<ExtArgs>
|
||||
npiProvider?: boolean | Claim$npiProviderArgs<ExtArgs>
|
||||
@@ -14221,9 +14231,10 @@ export namespace Prisma {
|
||||
updatedAt?: boolean
|
||||
status?: boolean
|
||||
claimNumber?: boolean
|
||||
preAuthNumber?: boolean
|
||||
npiProviderId?: boolean
|
||||
patient?: boolean | PatientDefaultArgs<ExtArgs>
|
||||
appointment?: boolean | AppointmentDefaultArgs<ExtArgs>
|
||||
appointment?: boolean | Claim$appointmentArgs<ExtArgs>
|
||||
user?: boolean | Claim$userArgs<ExtArgs>
|
||||
staff?: boolean | Claim$staffArgs<ExtArgs>
|
||||
npiProvider?: boolean | Claim$npiProviderArgs<ExtArgs>
|
||||
@@ -14247,13 +14258,14 @@ export namespace Prisma {
|
||||
updatedAt?: boolean
|
||||
status?: boolean
|
||||
claimNumber?: boolean
|
||||
preAuthNumber?: boolean
|
||||
npiProviderId?: boolean
|
||||
}
|
||||
|
||||
export type ClaimOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "patientId" | "appointmentId" | "userId" | "staffId" | "patientName" | "memberId" | "dateOfBirth" | "remarks" | "missingTeethStatus" | "missingTeeth" | "serviceDate" | "insuranceProvider" | "createdAt" | "updatedAt" | "status" | "claimNumber" | "npiProviderId", ExtArgs["result"]["claim"]>
|
||||
export type ClaimOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "patientId" | "appointmentId" | "userId" | "staffId" | "patientName" | "memberId" | "dateOfBirth" | "remarks" | "missingTeethStatus" | "missingTeeth" | "serviceDate" | "insuranceProvider" | "createdAt" | "updatedAt" | "status" | "claimNumber" | "preAuthNumber" | "npiProviderId", ExtArgs["result"]["claim"]>
|
||||
export type ClaimInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
||||
patient?: boolean | PatientDefaultArgs<ExtArgs>
|
||||
appointment?: boolean | AppointmentDefaultArgs<ExtArgs>
|
||||
appointment?: boolean | Claim$appointmentArgs<ExtArgs>
|
||||
user?: boolean | Claim$userArgs<ExtArgs>
|
||||
staff?: boolean | Claim$staffArgs<ExtArgs>
|
||||
npiProvider?: boolean | Claim$npiProviderArgs<ExtArgs>
|
||||
@@ -14264,14 +14276,14 @@ export namespace Prisma {
|
||||
}
|
||||
export type ClaimIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
||||
patient?: boolean | PatientDefaultArgs<ExtArgs>
|
||||
appointment?: boolean | AppointmentDefaultArgs<ExtArgs>
|
||||
appointment?: boolean | Claim$appointmentArgs<ExtArgs>
|
||||
user?: boolean | Claim$userArgs<ExtArgs>
|
||||
staff?: boolean | Claim$staffArgs<ExtArgs>
|
||||
npiProvider?: boolean | Claim$npiProviderArgs<ExtArgs>
|
||||
}
|
||||
export type ClaimIncludeUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
||||
patient?: boolean | PatientDefaultArgs<ExtArgs>
|
||||
appointment?: boolean | AppointmentDefaultArgs<ExtArgs>
|
||||
appointment?: boolean | Claim$appointmentArgs<ExtArgs>
|
||||
user?: boolean | Claim$userArgs<ExtArgs>
|
||||
staff?: boolean | Claim$staffArgs<ExtArgs>
|
||||
npiProvider?: boolean | Claim$npiProviderArgs<ExtArgs>
|
||||
@@ -14281,7 +14293,7 @@ export namespace Prisma {
|
||||
name: "Claim"
|
||||
objects: {
|
||||
patient: Prisma.$PatientPayload<ExtArgs>
|
||||
appointment: Prisma.$AppointmentPayload<ExtArgs>
|
||||
appointment: Prisma.$AppointmentPayload<ExtArgs> | null
|
||||
user: Prisma.$UserPayload<ExtArgs> | null
|
||||
staff: Prisma.$StaffPayload<ExtArgs> | null
|
||||
npiProvider: Prisma.$NpiProviderPayload<ExtArgs> | null
|
||||
@@ -14292,7 +14304,7 @@ export namespace Prisma {
|
||||
scalars: $Extensions.GetPayloadResult<{
|
||||
id: number
|
||||
patientId: number
|
||||
appointmentId: number
|
||||
appointmentId: number | null
|
||||
userId: number
|
||||
staffId: number
|
||||
patientName: string
|
||||
@@ -14307,6 +14319,7 @@ export namespace Prisma {
|
||||
updatedAt: Date
|
||||
status: $Enums.ClaimStatus
|
||||
claimNumber: string | null
|
||||
preAuthNumber: string | null
|
||||
npiProviderId: number | null
|
||||
}, ExtArgs["result"]["claim"]>
|
||||
composites: {}
|
||||
@@ -14703,7 +14716,7 @@ export namespace Prisma {
|
||||
export interface Prisma__ClaimClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
||||
readonly [Symbol.toStringTag]: "PrismaPromise"
|
||||
patient<T extends PatientDefaultArgs<ExtArgs> = {}>(args?: Subset<T, PatientDefaultArgs<ExtArgs>>): Prisma__PatientClient<$Result.GetResult<Prisma.$PatientPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
||||
appointment<T extends AppointmentDefaultArgs<ExtArgs> = {}>(args?: Subset<T, AppointmentDefaultArgs<ExtArgs>>): Prisma__AppointmentClient<$Result.GetResult<Prisma.$AppointmentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
||||
appointment<T extends Claim$appointmentArgs<ExtArgs> = {}>(args?: Subset<T, Claim$appointmentArgs<ExtArgs>>): Prisma__AppointmentClient<$Result.GetResult<Prisma.$AppointmentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||||
user<T extends Claim$userArgs<ExtArgs> = {}>(args?: Subset<T, Claim$userArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||||
staff<T extends Claim$staffArgs<ExtArgs> = {}>(args?: Subset<T, Claim$staffArgs<ExtArgs>>): Prisma__StaffClient<$Result.GetResult<Prisma.$StaffPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||||
npiProvider<T extends Claim$npiProviderArgs<ExtArgs> = {}>(args?: Subset<T, Claim$npiProviderArgs<ExtArgs>>): Prisma__NpiProviderClient<$Result.GetResult<Prisma.$NpiProviderPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||||
@@ -14756,6 +14769,7 @@ export namespace Prisma {
|
||||
readonly updatedAt: FieldRef<"Claim", 'DateTime'>
|
||||
readonly status: FieldRef<"Claim", 'ClaimStatus'>
|
||||
readonly claimNumber: FieldRef<"Claim", 'String'>
|
||||
readonly preAuthNumber: FieldRef<"Claim", 'String'>
|
||||
readonly npiProviderId: FieldRef<"Claim", 'Int'>
|
||||
}
|
||||
|
||||
@@ -15152,6 +15166,25 @@ export namespace Prisma {
|
||||
limit?: number
|
||||
}
|
||||
|
||||
/**
|
||||
* Claim.appointment
|
||||
*/
|
||||
export type Claim$appointmentArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
||||
/**
|
||||
* Select specific fields to fetch from the Appointment
|
||||
*/
|
||||
select?: AppointmentSelect<ExtArgs> | null
|
||||
/**
|
||||
* Omit specific fields from the Appointment
|
||||
*/
|
||||
omit?: AppointmentOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: AppointmentInclude<ExtArgs> | null
|
||||
where?: AppointmentWhereInput
|
||||
}
|
||||
|
||||
/**
|
||||
* Claim.user
|
||||
*/
|
||||
@@ -44096,6 +44129,7 @@ export namespace Prisma {
|
||||
updatedAt: 'updatedAt',
|
||||
status: 'status',
|
||||
claimNumber: 'claimNumber',
|
||||
preAuthNumber: 'preAuthNumber',
|
||||
npiProviderId: 'npiProviderId'
|
||||
};
|
||||
|
||||
@@ -45485,7 +45519,7 @@ export namespace Prisma {
|
||||
NOT?: ClaimWhereInput | ClaimWhereInput[]
|
||||
id?: IntFilter<"Claim"> | number
|
||||
patientId?: IntFilter<"Claim"> | number
|
||||
appointmentId?: IntFilter<"Claim"> | number
|
||||
appointmentId?: IntNullableFilter<"Claim"> | number | null
|
||||
userId?: IntFilter<"Claim"> | number
|
||||
staffId?: IntFilter<"Claim"> | number
|
||||
patientName?: StringFilter<"Claim"> | string
|
||||
@@ -45500,9 +45534,10 @@ export namespace Prisma {
|
||||
updatedAt?: DateTimeFilter<"Claim"> | Date | string
|
||||
status?: EnumClaimStatusFilter<"Claim"> | $Enums.ClaimStatus
|
||||
claimNumber?: StringNullableFilter<"Claim"> | string | null
|
||||
preAuthNumber?: StringNullableFilter<"Claim"> | string | null
|
||||
npiProviderId?: IntNullableFilter<"Claim"> | number | null
|
||||
patient?: XOR<PatientScalarRelationFilter, PatientWhereInput>
|
||||
appointment?: XOR<AppointmentScalarRelationFilter, AppointmentWhereInput>
|
||||
appointment?: XOR<AppointmentNullableScalarRelationFilter, AppointmentWhereInput> | null
|
||||
user?: XOR<UserNullableScalarRelationFilter, UserWhereInput> | null
|
||||
staff?: XOR<StaffNullableScalarRelationFilter, StaffWhereInput> | null
|
||||
npiProvider?: XOR<NpiProviderNullableScalarRelationFilter, NpiProviderWhereInput> | null
|
||||
@@ -45514,7 +45549,7 @@ export namespace Prisma {
|
||||
export type ClaimOrderByWithRelationInput = {
|
||||
id?: SortOrder
|
||||
patientId?: SortOrder
|
||||
appointmentId?: SortOrder
|
||||
appointmentId?: SortOrderInput | SortOrder
|
||||
userId?: SortOrder
|
||||
staffId?: SortOrder
|
||||
patientName?: SortOrder
|
||||
@@ -45529,6 +45564,7 @@ export namespace Prisma {
|
||||
updatedAt?: SortOrder
|
||||
status?: SortOrder
|
||||
claimNumber?: SortOrderInput | SortOrder
|
||||
preAuthNumber?: SortOrderInput | SortOrder
|
||||
npiProviderId?: SortOrderInput | SortOrder
|
||||
patient?: PatientOrderByWithRelationInput
|
||||
appointment?: AppointmentOrderByWithRelationInput
|
||||
@@ -45546,7 +45582,7 @@ export namespace Prisma {
|
||||
OR?: ClaimWhereInput[]
|
||||
NOT?: ClaimWhereInput | ClaimWhereInput[]
|
||||
patientId?: IntFilter<"Claim"> | number
|
||||
appointmentId?: IntFilter<"Claim"> | number
|
||||
appointmentId?: IntNullableFilter<"Claim"> | number | null
|
||||
userId?: IntFilter<"Claim"> | number
|
||||
staffId?: IntFilter<"Claim"> | number
|
||||
patientName?: StringFilter<"Claim"> | string
|
||||
@@ -45561,9 +45597,10 @@ export namespace Prisma {
|
||||
updatedAt?: DateTimeFilter<"Claim"> | Date | string
|
||||
status?: EnumClaimStatusFilter<"Claim"> | $Enums.ClaimStatus
|
||||
claimNumber?: StringNullableFilter<"Claim"> | string | null
|
||||
preAuthNumber?: StringNullableFilter<"Claim"> | string | null
|
||||
npiProviderId?: IntNullableFilter<"Claim"> | number | null
|
||||
patient?: XOR<PatientScalarRelationFilter, PatientWhereInput>
|
||||
appointment?: XOR<AppointmentScalarRelationFilter, AppointmentWhereInput>
|
||||
appointment?: XOR<AppointmentNullableScalarRelationFilter, AppointmentWhereInput> | null
|
||||
user?: XOR<UserNullableScalarRelationFilter, UserWhereInput> | null
|
||||
staff?: XOR<StaffNullableScalarRelationFilter, StaffWhereInput> | null
|
||||
npiProvider?: XOR<NpiProviderNullableScalarRelationFilter, NpiProviderWhereInput> | null
|
||||
@@ -45575,7 +45612,7 @@ export namespace Prisma {
|
||||
export type ClaimOrderByWithAggregationInput = {
|
||||
id?: SortOrder
|
||||
patientId?: SortOrder
|
||||
appointmentId?: SortOrder
|
||||
appointmentId?: SortOrderInput | SortOrder
|
||||
userId?: SortOrder
|
||||
staffId?: SortOrder
|
||||
patientName?: SortOrder
|
||||
@@ -45590,6 +45627,7 @@ export namespace Prisma {
|
||||
updatedAt?: SortOrder
|
||||
status?: SortOrder
|
||||
claimNumber?: SortOrderInput | SortOrder
|
||||
preAuthNumber?: SortOrderInput | SortOrder
|
||||
npiProviderId?: SortOrderInput | SortOrder
|
||||
_count?: ClaimCountOrderByAggregateInput
|
||||
_avg?: ClaimAvgOrderByAggregateInput
|
||||
@@ -45604,7 +45642,7 @@ export namespace Prisma {
|
||||
NOT?: ClaimScalarWhereWithAggregatesInput | ClaimScalarWhereWithAggregatesInput[]
|
||||
id?: IntWithAggregatesFilter<"Claim"> | number
|
||||
patientId?: IntWithAggregatesFilter<"Claim"> | number
|
||||
appointmentId?: IntWithAggregatesFilter<"Claim"> | number
|
||||
appointmentId?: IntNullableWithAggregatesFilter<"Claim"> | number | null
|
||||
userId?: IntWithAggregatesFilter<"Claim"> | number
|
||||
staffId?: IntWithAggregatesFilter<"Claim"> | number
|
||||
patientName?: StringWithAggregatesFilter<"Claim"> | string
|
||||
@@ -45619,6 +45657,7 @@ export namespace Prisma {
|
||||
updatedAt?: DateTimeWithAggregatesFilter<"Claim"> | Date | string
|
||||
status?: EnumClaimStatusWithAggregatesFilter<"Claim"> | $Enums.ClaimStatus
|
||||
claimNumber?: StringNullableWithAggregatesFilter<"Claim"> | string | null
|
||||
preAuthNumber?: StringNullableWithAggregatesFilter<"Claim"> | string | null
|
||||
npiProviderId?: IntNullableWithAggregatesFilter<"Claim"> | number | null
|
||||
}
|
||||
|
||||
@@ -48156,8 +48195,9 @@ export namespace Prisma {
|
||||
updatedAt?: Date | string
|
||||
status?: $Enums.ClaimStatus
|
||||
claimNumber?: string | null
|
||||
preAuthNumber?: string | null
|
||||
patient: PatientCreateNestedOneWithoutClaimsInput
|
||||
appointment: AppointmentCreateNestedOneWithoutClaimsInput
|
||||
appointment?: AppointmentCreateNestedOneWithoutClaimsInput
|
||||
user?: UserCreateNestedOneWithoutClaimsInput
|
||||
staff?: StaffCreateNestedOneWithoutClaimsInput
|
||||
npiProvider?: NpiProviderCreateNestedOneWithoutClaimsInput
|
||||
@@ -48169,7 +48209,7 @@ export namespace Prisma {
|
||||
export type ClaimUncheckedCreateInput = {
|
||||
id?: number
|
||||
patientId: number
|
||||
appointmentId: number
|
||||
appointmentId?: number | null
|
||||
userId: number
|
||||
staffId: number
|
||||
patientName: string
|
||||
@@ -48184,6 +48224,7 @@ export namespace Prisma {
|
||||
updatedAt?: Date | string
|
||||
status?: $Enums.ClaimStatus
|
||||
claimNumber?: string | null
|
||||
preAuthNumber?: string | null
|
||||
npiProviderId?: number | null
|
||||
serviceLines?: ServiceLineUncheckedCreateNestedManyWithoutClaimInput
|
||||
claimFiles?: ClaimFileUncheckedCreateNestedManyWithoutClaimInput
|
||||
@@ -48203,8 +48244,9 @@ export namespace Prisma {
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
status?: EnumClaimStatusFieldUpdateOperationsInput | $Enums.ClaimStatus
|
||||
claimNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
preAuthNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
patient?: PatientUpdateOneRequiredWithoutClaimsNestedInput
|
||||
appointment?: AppointmentUpdateOneRequiredWithoutClaimsNestedInput
|
||||
appointment?: AppointmentUpdateOneWithoutClaimsNestedInput
|
||||
user?: UserUpdateOneWithoutClaimsNestedInput
|
||||
staff?: StaffUpdateOneWithoutClaimsNestedInput
|
||||
npiProvider?: NpiProviderUpdateOneWithoutClaimsNestedInput
|
||||
@@ -48216,7 +48258,7 @@ export namespace Prisma {
|
||||
export type ClaimUncheckedUpdateInput = {
|
||||
id?: IntFieldUpdateOperationsInput | number
|
||||
patientId?: IntFieldUpdateOperationsInput | number
|
||||
appointmentId?: IntFieldUpdateOperationsInput | number
|
||||
appointmentId?: NullableIntFieldUpdateOperationsInput | number | null
|
||||
userId?: IntFieldUpdateOperationsInput | number
|
||||
staffId?: IntFieldUpdateOperationsInput | number
|
||||
patientName?: StringFieldUpdateOperationsInput | string
|
||||
@@ -48231,6 +48273,7 @@ export namespace Prisma {
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
status?: EnumClaimStatusFieldUpdateOperationsInput | $Enums.ClaimStatus
|
||||
claimNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
preAuthNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
npiProviderId?: NullableIntFieldUpdateOperationsInput | number | null
|
||||
serviceLines?: ServiceLineUncheckedUpdateManyWithoutClaimNestedInput
|
||||
claimFiles?: ClaimFileUncheckedUpdateManyWithoutClaimNestedInput
|
||||
@@ -48240,7 +48283,7 @@ export namespace Prisma {
|
||||
export type ClaimCreateManyInput = {
|
||||
id?: number
|
||||
patientId: number
|
||||
appointmentId: number
|
||||
appointmentId?: number | null
|
||||
userId: number
|
||||
staffId: number
|
||||
patientName: string
|
||||
@@ -48255,6 +48298,7 @@ export namespace Prisma {
|
||||
updatedAt?: Date | string
|
||||
status?: $Enums.ClaimStatus
|
||||
claimNumber?: string | null
|
||||
preAuthNumber?: string | null
|
||||
npiProviderId?: number | null
|
||||
}
|
||||
|
||||
@@ -48271,12 +48315,13 @@ export namespace Prisma {
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
status?: EnumClaimStatusFieldUpdateOperationsInput | $Enums.ClaimStatus
|
||||
claimNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
preAuthNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
}
|
||||
|
||||
export type ClaimUncheckedUpdateManyInput = {
|
||||
id?: IntFieldUpdateOperationsInput | number
|
||||
patientId?: IntFieldUpdateOperationsInput | number
|
||||
appointmentId?: IntFieldUpdateOperationsInput | number
|
||||
appointmentId?: NullableIntFieldUpdateOperationsInput | number | null
|
||||
userId?: IntFieldUpdateOperationsInput | number
|
||||
staffId?: IntFieldUpdateOperationsInput | number
|
||||
patientName?: StringFieldUpdateOperationsInput | string
|
||||
@@ -48291,6 +48336,7 @@ export namespace Prisma {
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
status?: EnumClaimStatusFieldUpdateOperationsInput | $Enums.ClaimStatus
|
||||
claimNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
preAuthNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
npiProviderId?: NullableIntFieldUpdateOperationsInput | number | null
|
||||
}
|
||||
|
||||
@@ -50907,6 +50953,11 @@ export namespace Prisma {
|
||||
not?: NestedEnumClaimStatusFilter<$PrismaModel> | $Enums.ClaimStatus
|
||||
}
|
||||
|
||||
export type AppointmentNullableScalarRelationFilter = {
|
||||
is?: AppointmentWhereInput | null
|
||||
isNot?: AppointmentWhereInput | null
|
||||
}
|
||||
|
||||
export type ServiceLineListRelationFilter = {
|
||||
every?: ServiceLineWhereInput
|
||||
some?: ServiceLineWhereInput
|
||||
@@ -50950,6 +51001,7 @@ export namespace Prisma {
|
||||
updatedAt?: SortOrder
|
||||
status?: SortOrder
|
||||
claimNumber?: SortOrder
|
||||
preAuthNumber?: SortOrder
|
||||
npiProviderId?: SortOrder
|
||||
}
|
||||
|
||||
@@ -50979,6 +51031,7 @@ export namespace Prisma {
|
||||
updatedAt?: SortOrder
|
||||
status?: SortOrder
|
||||
claimNumber?: SortOrder
|
||||
preAuthNumber?: SortOrder
|
||||
npiProviderId?: SortOrder
|
||||
}
|
||||
|
||||
@@ -50999,6 +51052,7 @@ export namespace Prisma {
|
||||
updatedAt?: SortOrder
|
||||
status?: SortOrder
|
||||
claimNumber?: SortOrder
|
||||
preAuthNumber?: SortOrder
|
||||
npiProviderId?: SortOrder
|
||||
}
|
||||
|
||||
@@ -54269,10 +54323,12 @@ export namespace Prisma {
|
||||
update?: XOR<XOR<PatientUpdateToOneWithWhereWithoutClaimsInput, PatientUpdateWithoutClaimsInput>, PatientUncheckedUpdateWithoutClaimsInput>
|
||||
}
|
||||
|
||||
export type AppointmentUpdateOneRequiredWithoutClaimsNestedInput = {
|
||||
export type AppointmentUpdateOneWithoutClaimsNestedInput = {
|
||||
create?: XOR<AppointmentCreateWithoutClaimsInput, AppointmentUncheckedCreateWithoutClaimsInput>
|
||||
connectOrCreate?: AppointmentCreateOrConnectWithoutClaimsInput
|
||||
upsert?: AppointmentUpsertWithoutClaimsInput
|
||||
disconnect?: AppointmentWhereInput | boolean
|
||||
delete?: AppointmentWhereInput | boolean
|
||||
connect?: AppointmentWhereUniqueInput
|
||||
update?: XOR<XOR<AppointmentUpdateToOneWithWhereWithoutClaimsInput, AppointmentUpdateWithoutClaimsInput>, AppointmentUncheckedUpdateWithoutClaimsInput>
|
||||
}
|
||||
@@ -56049,8 +56105,9 @@ export namespace Prisma {
|
||||
updatedAt?: Date | string
|
||||
status?: $Enums.ClaimStatus
|
||||
claimNumber?: string | null
|
||||
preAuthNumber?: string | null
|
||||
patient: PatientCreateNestedOneWithoutClaimsInput
|
||||
appointment: AppointmentCreateNestedOneWithoutClaimsInput
|
||||
appointment?: AppointmentCreateNestedOneWithoutClaimsInput
|
||||
staff?: StaffCreateNestedOneWithoutClaimsInput
|
||||
npiProvider?: NpiProviderCreateNestedOneWithoutClaimsInput
|
||||
serviceLines?: ServiceLineCreateNestedManyWithoutClaimInput
|
||||
@@ -56061,7 +56118,7 @@ export namespace Prisma {
|
||||
export type ClaimUncheckedCreateWithoutUserInput = {
|
||||
id?: number
|
||||
patientId: number
|
||||
appointmentId: number
|
||||
appointmentId?: number | null
|
||||
staffId: number
|
||||
patientName: string
|
||||
memberId: string
|
||||
@@ -56075,6 +56132,7 @@ export namespace Prisma {
|
||||
updatedAt?: Date | string
|
||||
status?: $Enums.ClaimStatus
|
||||
claimNumber?: string | null
|
||||
preAuthNumber?: string | null
|
||||
npiProviderId?: number | null
|
||||
serviceLines?: ServiceLineUncheckedCreateNestedManyWithoutClaimInput
|
||||
claimFiles?: ClaimFileUncheckedCreateNestedManyWithoutClaimInput
|
||||
@@ -56641,7 +56699,7 @@ export namespace Prisma {
|
||||
NOT?: ClaimScalarWhereInput | ClaimScalarWhereInput[]
|
||||
id?: IntFilter<"Claim"> | number
|
||||
patientId?: IntFilter<"Claim"> | number
|
||||
appointmentId?: IntFilter<"Claim"> | number
|
||||
appointmentId?: IntNullableFilter<"Claim"> | number | null
|
||||
userId?: IntFilter<"Claim"> | number
|
||||
staffId?: IntFilter<"Claim"> | number
|
||||
patientName?: StringFilter<"Claim"> | string
|
||||
@@ -56656,6 +56714,7 @@ export namespace Prisma {
|
||||
updatedAt?: DateTimeFilter<"Claim"> | Date | string
|
||||
status?: EnumClaimStatusFilter<"Claim"> | $Enums.ClaimStatus
|
||||
claimNumber?: StringNullableFilter<"Claim"> | string | null
|
||||
preAuthNumber?: StringNullableFilter<"Claim"> | string | null
|
||||
npiProviderId?: IntNullableFilter<"Claim"> | number | null
|
||||
}
|
||||
|
||||
@@ -57245,7 +57304,8 @@ export namespace Prisma {
|
||||
updatedAt?: Date | string
|
||||
status?: $Enums.ClaimStatus
|
||||
claimNumber?: string | null
|
||||
appointment: AppointmentCreateNestedOneWithoutClaimsInput
|
||||
preAuthNumber?: string | null
|
||||
appointment?: AppointmentCreateNestedOneWithoutClaimsInput
|
||||
user?: UserCreateNestedOneWithoutClaimsInput
|
||||
staff?: StaffCreateNestedOneWithoutClaimsInput
|
||||
npiProvider?: NpiProviderCreateNestedOneWithoutClaimsInput
|
||||
@@ -57256,7 +57316,7 @@ export namespace Prisma {
|
||||
|
||||
export type ClaimUncheckedCreateWithoutPatientInput = {
|
||||
id?: number
|
||||
appointmentId: number
|
||||
appointmentId?: number | null
|
||||
userId: number
|
||||
staffId: number
|
||||
patientName: string
|
||||
@@ -57271,6 +57331,7 @@ export namespace Prisma {
|
||||
updatedAt?: Date | string
|
||||
status?: $Enums.ClaimStatus
|
||||
claimNumber?: string | null
|
||||
preAuthNumber?: string | null
|
||||
npiProviderId?: number | null
|
||||
serviceLines?: ServiceLineUncheckedCreateNestedManyWithoutClaimInput
|
||||
claimFiles?: ClaimFileUncheckedCreateNestedManyWithoutClaimInput
|
||||
@@ -57903,6 +57964,7 @@ export namespace Prisma {
|
||||
updatedAt?: Date | string
|
||||
status?: $Enums.ClaimStatus
|
||||
claimNumber?: string | null
|
||||
preAuthNumber?: string | null
|
||||
patient: PatientCreateNestedOneWithoutClaimsInput
|
||||
user?: UserCreateNestedOneWithoutClaimsInput
|
||||
staff?: StaffCreateNestedOneWithoutClaimsInput
|
||||
@@ -57929,6 +57991,7 @@ export namespace Prisma {
|
||||
updatedAt?: Date | string
|
||||
status?: $Enums.ClaimStatus
|
||||
claimNumber?: string | null
|
||||
preAuthNumber?: string | null
|
||||
npiProviderId?: number | null
|
||||
serviceLines?: ServiceLineUncheckedCreateNestedManyWithoutClaimInput
|
||||
claimFiles?: ClaimFileUncheckedCreateNestedManyWithoutClaimInput
|
||||
@@ -58409,8 +58472,9 @@ export namespace Prisma {
|
||||
updatedAt?: Date | string
|
||||
status?: $Enums.ClaimStatus
|
||||
claimNumber?: string | null
|
||||
preAuthNumber?: string | null
|
||||
patient: PatientCreateNestedOneWithoutClaimsInput
|
||||
appointment: AppointmentCreateNestedOneWithoutClaimsInput
|
||||
appointment?: AppointmentCreateNestedOneWithoutClaimsInput
|
||||
user?: UserCreateNestedOneWithoutClaimsInput
|
||||
npiProvider?: NpiProviderCreateNestedOneWithoutClaimsInput
|
||||
serviceLines?: ServiceLineCreateNestedManyWithoutClaimInput
|
||||
@@ -58421,7 +58485,7 @@ export namespace Prisma {
|
||||
export type ClaimUncheckedCreateWithoutStaffInput = {
|
||||
id?: number
|
||||
patientId: number
|
||||
appointmentId: number
|
||||
appointmentId?: number | null
|
||||
userId: number
|
||||
patientName: string
|
||||
memberId: string
|
||||
@@ -58435,6 +58499,7 @@ export namespace Prisma {
|
||||
updatedAt?: Date | string
|
||||
status?: $Enums.ClaimStatus
|
||||
claimNumber?: string | null
|
||||
preAuthNumber?: string | null
|
||||
npiProviderId?: number | null
|
||||
serviceLines?: ServiceLineUncheckedCreateNestedManyWithoutClaimInput
|
||||
claimFiles?: ClaimFileUncheckedCreateNestedManyWithoutClaimInput
|
||||
@@ -58618,8 +58683,9 @@ export namespace Prisma {
|
||||
updatedAt?: Date | string
|
||||
status?: $Enums.ClaimStatus
|
||||
claimNumber?: string | null
|
||||
preAuthNumber?: string | null
|
||||
patient: PatientCreateNestedOneWithoutClaimsInput
|
||||
appointment: AppointmentCreateNestedOneWithoutClaimsInput
|
||||
appointment?: AppointmentCreateNestedOneWithoutClaimsInput
|
||||
user?: UserCreateNestedOneWithoutClaimsInput
|
||||
staff?: StaffCreateNestedOneWithoutClaimsInput
|
||||
serviceLines?: ServiceLineCreateNestedManyWithoutClaimInput
|
||||
@@ -58630,7 +58696,7 @@ export namespace Prisma {
|
||||
export type ClaimUncheckedCreateWithoutNpiProviderInput = {
|
||||
id?: number
|
||||
patientId: number
|
||||
appointmentId: number
|
||||
appointmentId?: number | null
|
||||
userId: number
|
||||
staffId: number
|
||||
patientName: string
|
||||
@@ -58645,6 +58711,7 @@ export namespace Prisma {
|
||||
updatedAt?: Date | string
|
||||
status?: $Enums.ClaimStatus
|
||||
claimNumber?: string | null
|
||||
preAuthNumber?: string | null
|
||||
serviceLines?: ServiceLineUncheckedCreateNestedManyWithoutClaimInput
|
||||
claimFiles?: ClaimFileUncheckedCreateNestedManyWithoutClaimInput
|
||||
payment?: PaymentUncheckedCreateNestedOneWithoutClaimInput
|
||||
@@ -59940,8 +60007,9 @@ export namespace Prisma {
|
||||
updatedAt?: Date | string
|
||||
status?: $Enums.ClaimStatus
|
||||
claimNumber?: string | null
|
||||
preAuthNumber?: string | null
|
||||
patient: PatientCreateNestedOneWithoutClaimsInput
|
||||
appointment: AppointmentCreateNestedOneWithoutClaimsInput
|
||||
appointment?: AppointmentCreateNestedOneWithoutClaimsInput
|
||||
user?: UserCreateNestedOneWithoutClaimsInput
|
||||
staff?: StaffCreateNestedOneWithoutClaimsInput
|
||||
npiProvider?: NpiProviderCreateNestedOneWithoutClaimsInput
|
||||
@@ -59952,7 +60020,7 @@ export namespace Prisma {
|
||||
export type ClaimUncheckedCreateWithoutServiceLinesInput = {
|
||||
id?: number
|
||||
patientId: number
|
||||
appointmentId: number
|
||||
appointmentId?: number | null
|
||||
userId: number
|
||||
staffId: number
|
||||
patientName: string
|
||||
@@ -59967,6 +60035,7 @@ export namespace Prisma {
|
||||
updatedAt?: Date | string
|
||||
status?: $Enums.ClaimStatus
|
||||
claimNumber?: string | null
|
||||
preAuthNumber?: string | null
|
||||
npiProviderId?: number | null
|
||||
claimFiles?: ClaimFileUncheckedCreateNestedManyWithoutClaimInput
|
||||
payment?: PaymentUncheckedCreateNestedOneWithoutClaimInput
|
||||
@@ -60086,8 +60155,9 @@ export namespace Prisma {
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
status?: EnumClaimStatusFieldUpdateOperationsInput | $Enums.ClaimStatus
|
||||
claimNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
preAuthNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
patient?: PatientUpdateOneRequiredWithoutClaimsNestedInput
|
||||
appointment?: AppointmentUpdateOneRequiredWithoutClaimsNestedInput
|
||||
appointment?: AppointmentUpdateOneWithoutClaimsNestedInput
|
||||
user?: UserUpdateOneWithoutClaimsNestedInput
|
||||
staff?: StaffUpdateOneWithoutClaimsNestedInput
|
||||
npiProvider?: NpiProviderUpdateOneWithoutClaimsNestedInput
|
||||
@@ -60098,7 +60168,7 @@ export namespace Prisma {
|
||||
export type ClaimUncheckedUpdateWithoutServiceLinesInput = {
|
||||
id?: IntFieldUpdateOperationsInput | number
|
||||
patientId?: IntFieldUpdateOperationsInput | number
|
||||
appointmentId?: IntFieldUpdateOperationsInput | number
|
||||
appointmentId?: NullableIntFieldUpdateOperationsInput | number | null
|
||||
userId?: IntFieldUpdateOperationsInput | number
|
||||
staffId?: IntFieldUpdateOperationsInput | number
|
||||
patientName?: StringFieldUpdateOperationsInput | string
|
||||
@@ -60113,6 +60183,7 @@ export namespace Prisma {
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
status?: EnumClaimStatusFieldUpdateOperationsInput | $Enums.ClaimStatus
|
||||
claimNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
preAuthNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
npiProviderId?: NullableIntFieldUpdateOperationsInput | number | null
|
||||
claimFiles?: ClaimFileUncheckedUpdateManyWithoutClaimNestedInput
|
||||
payment?: PaymentUncheckedUpdateOneWithoutClaimNestedInput
|
||||
@@ -60220,8 +60291,9 @@ export namespace Prisma {
|
||||
updatedAt?: Date | string
|
||||
status?: $Enums.ClaimStatus
|
||||
claimNumber?: string | null
|
||||
preAuthNumber?: string | null
|
||||
patient: PatientCreateNestedOneWithoutClaimsInput
|
||||
appointment: AppointmentCreateNestedOneWithoutClaimsInput
|
||||
appointment?: AppointmentCreateNestedOneWithoutClaimsInput
|
||||
user?: UserCreateNestedOneWithoutClaimsInput
|
||||
staff?: StaffCreateNestedOneWithoutClaimsInput
|
||||
npiProvider?: NpiProviderCreateNestedOneWithoutClaimsInput
|
||||
@@ -60232,7 +60304,7 @@ export namespace Prisma {
|
||||
export type ClaimUncheckedCreateWithoutClaimFilesInput = {
|
||||
id?: number
|
||||
patientId: number
|
||||
appointmentId: number
|
||||
appointmentId?: number | null
|
||||
userId: number
|
||||
staffId: number
|
||||
patientName: string
|
||||
@@ -60247,6 +60319,7 @@ export namespace Prisma {
|
||||
updatedAt?: Date | string
|
||||
status?: $Enums.ClaimStatus
|
||||
claimNumber?: string | null
|
||||
preAuthNumber?: string | null
|
||||
npiProviderId?: number | null
|
||||
serviceLines?: ServiceLineUncheckedCreateNestedManyWithoutClaimInput
|
||||
payment?: PaymentUncheckedCreateNestedOneWithoutClaimInput
|
||||
@@ -60281,8 +60354,9 @@ export namespace Prisma {
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
status?: EnumClaimStatusFieldUpdateOperationsInput | $Enums.ClaimStatus
|
||||
claimNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
preAuthNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
patient?: PatientUpdateOneRequiredWithoutClaimsNestedInput
|
||||
appointment?: AppointmentUpdateOneRequiredWithoutClaimsNestedInput
|
||||
appointment?: AppointmentUpdateOneWithoutClaimsNestedInput
|
||||
user?: UserUpdateOneWithoutClaimsNestedInput
|
||||
staff?: StaffUpdateOneWithoutClaimsNestedInput
|
||||
npiProvider?: NpiProviderUpdateOneWithoutClaimsNestedInput
|
||||
@@ -60293,7 +60367,7 @@ export namespace Prisma {
|
||||
export type ClaimUncheckedUpdateWithoutClaimFilesInput = {
|
||||
id?: IntFieldUpdateOperationsInput | number
|
||||
patientId?: IntFieldUpdateOperationsInput | number
|
||||
appointmentId?: IntFieldUpdateOperationsInput | number
|
||||
appointmentId?: NullableIntFieldUpdateOperationsInput | number | null
|
||||
userId?: IntFieldUpdateOperationsInput | number
|
||||
staffId?: IntFieldUpdateOperationsInput | number
|
||||
patientName?: StringFieldUpdateOperationsInput | string
|
||||
@@ -60308,6 +60382,7 @@ export namespace Prisma {
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
status?: EnumClaimStatusFieldUpdateOperationsInput | $Enums.ClaimStatus
|
||||
claimNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
preAuthNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
npiProviderId?: NullableIntFieldUpdateOperationsInput | number | null
|
||||
serviceLines?: ServiceLineUncheckedUpdateManyWithoutClaimNestedInput
|
||||
payment?: PaymentUncheckedUpdateOneWithoutClaimNestedInput
|
||||
@@ -60682,8 +60757,9 @@ export namespace Prisma {
|
||||
updatedAt?: Date | string
|
||||
status?: $Enums.ClaimStatus
|
||||
claimNumber?: string | null
|
||||
preAuthNumber?: string | null
|
||||
patient: PatientCreateNestedOneWithoutClaimsInput
|
||||
appointment: AppointmentCreateNestedOneWithoutClaimsInput
|
||||
appointment?: AppointmentCreateNestedOneWithoutClaimsInput
|
||||
user?: UserCreateNestedOneWithoutClaimsInput
|
||||
staff?: StaffCreateNestedOneWithoutClaimsInput
|
||||
npiProvider?: NpiProviderCreateNestedOneWithoutClaimsInput
|
||||
@@ -60694,7 +60770,7 @@ export namespace Prisma {
|
||||
export type ClaimUncheckedCreateWithoutPaymentInput = {
|
||||
id?: number
|
||||
patientId: number
|
||||
appointmentId: number
|
||||
appointmentId?: number | null
|
||||
userId: number
|
||||
staffId: number
|
||||
patientName: string
|
||||
@@ -60709,6 +60785,7 @@ export namespace Prisma {
|
||||
updatedAt?: Date | string
|
||||
status?: $Enums.ClaimStatus
|
||||
claimNumber?: string | null
|
||||
preAuthNumber?: string | null
|
||||
npiProviderId?: number | null
|
||||
serviceLines?: ServiceLineUncheckedCreateNestedManyWithoutClaimInput
|
||||
claimFiles?: ClaimFileUncheckedCreateNestedManyWithoutClaimInput
|
||||
@@ -60998,8 +61075,9 @@ export namespace Prisma {
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
status?: EnumClaimStatusFieldUpdateOperationsInput | $Enums.ClaimStatus
|
||||
claimNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
preAuthNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
patient?: PatientUpdateOneRequiredWithoutClaimsNestedInput
|
||||
appointment?: AppointmentUpdateOneRequiredWithoutClaimsNestedInput
|
||||
appointment?: AppointmentUpdateOneWithoutClaimsNestedInput
|
||||
user?: UserUpdateOneWithoutClaimsNestedInput
|
||||
staff?: StaffUpdateOneWithoutClaimsNestedInput
|
||||
npiProvider?: NpiProviderUpdateOneWithoutClaimsNestedInput
|
||||
@@ -61010,7 +61088,7 @@ export namespace Prisma {
|
||||
export type ClaimUncheckedUpdateWithoutPaymentInput = {
|
||||
id?: IntFieldUpdateOperationsInput | number
|
||||
patientId?: IntFieldUpdateOperationsInput | number
|
||||
appointmentId?: IntFieldUpdateOperationsInput | number
|
||||
appointmentId?: NullableIntFieldUpdateOperationsInput | number | null
|
||||
userId?: IntFieldUpdateOperationsInput | number
|
||||
staffId?: IntFieldUpdateOperationsInput | number
|
||||
patientName?: StringFieldUpdateOperationsInput | string
|
||||
@@ -61025,6 +61103,7 @@ export namespace Prisma {
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
status?: EnumClaimStatusFieldUpdateOperationsInput | $Enums.ClaimStatus
|
||||
claimNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
preAuthNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
npiProviderId?: NullableIntFieldUpdateOperationsInput | number | null
|
||||
serviceLines?: ServiceLineUncheckedUpdateManyWithoutClaimNestedInput
|
||||
claimFiles?: ClaimFileUncheckedUpdateManyWithoutClaimNestedInput
|
||||
@@ -64092,7 +64171,7 @@ export namespace Prisma {
|
||||
export type ClaimCreateManyUserInput = {
|
||||
id?: number
|
||||
patientId: number
|
||||
appointmentId: number
|
||||
appointmentId?: number | null
|
||||
staffId: number
|
||||
patientName: string
|
||||
memberId: string
|
||||
@@ -64106,6 +64185,7 @@ export namespace Prisma {
|
||||
updatedAt?: Date | string
|
||||
status?: $Enums.ClaimStatus
|
||||
claimNumber?: string | null
|
||||
preAuthNumber?: string | null
|
||||
npiProviderId?: number | null
|
||||
}
|
||||
|
||||
@@ -64415,8 +64495,9 @@ export namespace Prisma {
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
status?: EnumClaimStatusFieldUpdateOperationsInput | $Enums.ClaimStatus
|
||||
claimNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
preAuthNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
patient?: PatientUpdateOneRequiredWithoutClaimsNestedInput
|
||||
appointment?: AppointmentUpdateOneRequiredWithoutClaimsNestedInput
|
||||
appointment?: AppointmentUpdateOneWithoutClaimsNestedInput
|
||||
staff?: StaffUpdateOneWithoutClaimsNestedInput
|
||||
npiProvider?: NpiProviderUpdateOneWithoutClaimsNestedInput
|
||||
serviceLines?: ServiceLineUpdateManyWithoutClaimNestedInput
|
||||
@@ -64427,7 +64508,7 @@ export namespace Prisma {
|
||||
export type ClaimUncheckedUpdateWithoutUserInput = {
|
||||
id?: IntFieldUpdateOperationsInput | number
|
||||
patientId?: IntFieldUpdateOperationsInput | number
|
||||
appointmentId?: IntFieldUpdateOperationsInput | number
|
||||
appointmentId?: NullableIntFieldUpdateOperationsInput | number | null
|
||||
staffId?: IntFieldUpdateOperationsInput | number
|
||||
patientName?: StringFieldUpdateOperationsInput | string
|
||||
memberId?: StringFieldUpdateOperationsInput | string
|
||||
@@ -64441,6 +64522,7 @@ export namespace Prisma {
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
status?: EnumClaimStatusFieldUpdateOperationsInput | $Enums.ClaimStatus
|
||||
claimNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
preAuthNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
npiProviderId?: NullableIntFieldUpdateOperationsInput | number | null
|
||||
serviceLines?: ServiceLineUncheckedUpdateManyWithoutClaimNestedInput
|
||||
claimFiles?: ClaimFileUncheckedUpdateManyWithoutClaimNestedInput
|
||||
@@ -64450,7 +64532,7 @@ export namespace Prisma {
|
||||
export type ClaimUncheckedUpdateManyWithoutUserInput = {
|
||||
id?: IntFieldUpdateOperationsInput | number
|
||||
patientId?: IntFieldUpdateOperationsInput | number
|
||||
appointmentId?: IntFieldUpdateOperationsInput | number
|
||||
appointmentId?: NullableIntFieldUpdateOperationsInput | number | null
|
||||
staffId?: IntFieldUpdateOperationsInput | number
|
||||
patientName?: StringFieldUpdateOperationsInput | string
|
||||
memberId?: StringFieldUpdateOperationsInput | string
|
||||
@@ -64464,6 +64546,7 @@ export namespace Prisma {
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
status?: EnumClaimStatusFieldUpdateOperationsInput | $Enums.ClaimStatus
|
||||
claimNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
preAuthNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
npiProviderId?: NullableIntFieldUpdateOperationsInput | number | null
|
||||
}
|
||||
|
||||
@@ -64789,7 +64872,7 @@ export namespace Prisma {
|
||||
|
||||
export type ClaimCreateManyPatientInput = {
|
||||
id?: number
|
||||
appointmentId: number
|
||||
appointmentId?: number | null
|
||||
userId: number
|
||||
staffId: number
|
||||
patientName: string
|
||||
@@ -64804,6 +64887,7 @@ export namespace Prisma {
|
||||
updatedAt?: Date | string
|
||||
status?: $Enums.ClaimStatus
|
||||
claimNumber?: string | null
|
||||
preAuthNumber?: string | null
|
||||
npiProviderId?: number | null
|
||||
}
|
||||
|
||||
@@ -64973,7 +65057,8 @@ export namespace Prisma {
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
status?: EnumClaimStatusFieldUpdateOperationsInput | $Enums.ClaimStatus
|
||||
claimNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
appointment?: AppointmentUpdateOneRequiredWithoutClaimsNestedInput
|
||||
preAuthNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
appointment?: AppointmentUpdateOneWithoutClaimsNestedInput
|
||||
user?: UserUpdateOneWithoutClaimsNestedInput
|
||||
staff?: StaffUpdateOneWithoutClaimsNestedInput
|
||||
npiProvider?: NpiProviderUpdateOneWithoutClaimsNestedInput
|
||||
@@ -64984,7 +65069,7 @@ export namespace Prisma {
|
||||
|
||||
export type ClaimUncheckedUpdateWithoutPatientInput = {
|
||||
id?: IntFieldUpdateOperationsInput | number
|
||||
appointmentId?: IntFieldUpdateOperationsInput | number
|
||||
appointmentId?: NullableIntFieldUpdateOperationsInput | number | null
|
||||
userId?: IntFieldUpdateOperationsInput | number
|
||||
staffId?: IntFieldUpdateOperationsInput | number
|
||||
patientName?: StringFieldUpdateOperationsInput | string
|
||||
@@ -64999,6 +65084,7 @@ export namespace Prisma {
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
status?: EnumClaimStatusFieldUpdateOperationsInput | $Enums.ClaimStatus
|
||||
claimNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
preAuthNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
npiProviderId?: NullableIntFieldUpdateOperationsInput | number | null
|
||||
serviceLines?: ServiceLineUncheckedUpdateManyWithoutClaimNestedInput
|
||||
claimFiles?: ClaimFileUncheckedUpdateManyWithoutClaimNestedInput
|
||||
@@ -65007,7 +65093,7 @@ export namespace Prisma {
|
||||
|
||||
export type ClaimUncheckedUpdateManyWithoutPatientInput = {
|
||||
id?: IntFieldUpdateOperationsInput | number
|
||||
appointmentId?: IntFieldUpdateOperationsInput | number
|
||||
appointmentId?: NullableIntFieldUpdateOperationsInput | number | null
|
||||
userId?: IntFieldUpdateOperationsInput | number
|
||||
staffId?: IntFieldUpdateOperationsInput | number
|
||||
patientName?: StringFieldUpdateOperationsInput | string
|
||||
@@ -65022,6 +65108,7 @@ export namespace Prisma {
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
status?: EnumClaimStatusFieldUpdateOperationsInput | $Enums.ClaimStatus
|
||||
claimNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
preAuthNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
npiProviderId?: NullableIntFieldUpdateOperationsInput | number | null
|
||||
}
|
||||
|
||||
@@ -65212,6 +65299,7 @@ export namespace Prisma {
|
||||
updatedAt?: Date | string
|
||||
status?: $Enums.ClaimStatus
|
||||
claimNumber?: string | null
|
||||
preAuthNumber?: string | null
|
||||
npiProviderId?: number | null
|
||||
}
|
||||
|
||||
@@ -65282,6 +65370,7 @@ export namespace Prisma {
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
status?: EnumClaimStatusFieldUpdateOperationsInput | $Enums.ClaimStatus
|
||||
claimNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
preAuthNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
patient?: PatientUpdateOneRequiredWithoutClaimsNestedInput
|
||||
user?: UserUpdateOneWithoutClaimsNestedInput
|
||||
staff?: StaffUpdateOneWithoutClaimsNestedInput
|
||||
@@ -65308,6 +65397,7 @@ export namespace Prisma {
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
status?: EnumClaimStatusFieldUpdateOperationsInput | $Enums.ClaimStatus
|
||||
claimNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
preAuthNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
npiProviderId?: NullableIntFieldUpdateOperationsInput | number | null
|
||||
serviceLines?: ServiceLineUncheckedUpdateManyWithoutClaimNestedInput
|
||||
claimFiles?: ClaimFileUncheckedUpdateManyWithoutClaimNestedInput
|
||||
@@ -65331,6 +65421,7 @@ export namespace Prisma {
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
status?: EnumClaimStatusFieldUpdateOperationsInput | $Enums.ClaimStatus
|
||||
claimNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
preAuthNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
npiProviderId?: NullableIntFieldUpdateOperationsInput | number | null
|
||||
}
|
||||
|
||||
@@ -65374,7 +65465,7 @@ export namespace Prisma {
|
||||
export type ClaimCreateManyStaffInput = {
|
||||
id?: number
|
||||
patientId: number
|
||||
appointmentId: number
|
||||
appointmentId?: number | null
|
||||
userId: number
|
||||
patientName: string
|
||||
memberId: string
|
||||
@@ -65388,6 +65479,7 @@ export namespace Prisma {
|
||||
updatedAt?: Date | string
|
||||
status?: $Enums.ClaimStatus
|
||||
claimNumber?: string | null
|
||||
preAuthNumber?: string | null
|
||||
npiProviderId?: number | null
|
||||
}
|
||||
|
||||
@@ -65460,8 +65552,9 @@ export namespace Prisma {
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
status?: EnumClaimStatusFieldUpdateOperationsInput | $Enums.ClaimStatus
|
||||
claimNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
preAuthNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
patient?: PatientUpdateOneRequiredWithoutClaimsNestedInput
|
||||
appointment?: AppointmentUpdateOneRequiredWithoutClaimsNestedInput
|
||||
appointment?: AppointmentUpdateOneWithoutClaimsNestedInput
|
||||
user?: UserUpdateOneWithoutClaimsNestedInput
|
||||
npiProvider?: NpiProviderUpdateOneWithoutClaimsNestedInput
|
||||
serviceLines?: ServiceLineUpdateManyWithoutClaimNestedInput
|
||||
@@ -65472,7 +65565,7 @@ export namespace Prisma {
|
||||
export type ClaimUncheckedUpdateWithoutStaffInput = {
|
||||
id?: IntFieldUpdateOperationsInput | number
|
||||
patientId?: IntFieldUpdateOperationsInput | number
|
||||
appointmentId?: IntFieldUpdateOperationsInput | number
|
||||
appointmentId?: NullableIntFieldUpdateOperationsInput | number | null
|
||||
userId?: IntFieldUpdateOperationsInput | number
|
||||
patientName?: StringFieldUpdateOperationsInput | string
|
||||
memberId?: StringFieldUpdateOperationsInput | string
|
||||
@@ -65486,6 +65579,7 @@ export namespace Prisma {
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
status?: EnumClaimStatusFieldUpdateOperationsInput | $Enums.ClaimStatus
|
||||
claimNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
preAuthNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
npiProviderId?: NullableIntFieldUpdateOperationsInput | number | null
|
||||
serviceLines?: ServiceLineUncheckedUpdateManyWithoutClaimNestedInput
|
||||
claimFiles?: ClaimFileUncheckedUpdateManyWithoutClaimNestedInput
|
||||
@@ -65495,7 +65589,7 @@ export namespace Prisma {
|
||||
export type ClaimUncheckedUpdateManyWithoutStaffInput = {
|
||||
id?: IntFieldUpdateOperationsInput | number
|
||||
patientId?: IntFieldUpdateOperationsInput | number
|
||||
appointmentId?: IntFieldUpdateOperationsInput | number
|
||||
appointmentId?: NullableIntFieldUpdateOperationsInput | number | null
|
||||
userId?: IntFieldUpdateOperationsInput | number
|
||||
patientName?: StringFieldUpdateOperationsInput | string
|
||||
memberId?: StringFieldUpdateOperationsInput | string
|
||||
@@ -65509,13 +65603,14 @@ export namespace Prisma {
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
status?: EnumClaimStatusFieldUpdateOperationsInput | $Enums.ClaimStatus
|
||||
claimNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
preAuthNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
npiProviderId?: NullableIntFieldUpdateOperationsInput | number | null
|
||||
}
|
||||
|
||||
export type ClaimCreateManyNpiProviderInput = {
|
||||
id?: number
|
||||
patientId: number
|
||||
appointmentId: number
|
||||
appointmentId?: number | null
|
||||
userId: number
|
||||
staffId: number
|
||||
patientName: string
|
||||
@@ -65530,6 +65625,7 @@ export namespace Prisma {
|
||||
updatedAt?: Date | string
|
||||
status?: $Enums.ClaimStatus
|
||||
claimNumber?: string | null
|
||||
preAuthNumber?: string | null
|
||||
}
|
||||
|
||||
export type PaymentCreateManyNpiProviderInput = {
|
||||
@@ -65589,8 +65685,9 @@ export namespace Prisma {
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
status?: EnumClaimStatusFieldUpdateOperationsInput | $Enums.ClaimStatus
|
||||
claimNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
preAuthNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
patient?: PatientUpdateOneRequiredWithoutClaimsNestedInput
|
||||
appointment?: AppointmentUpdateOneRequiredWithoutClaimsNestedInput
|
||||
appointment?: AppointmentUpdateOneWithoutClaimsNestedInput
|
||||
user?: UserUpdateOneWithoutClaimsNestedInput
|
||||
staff?: StaffUpdateOneWithoutClaimsNestedInput
|
||||
serviceLines?: ServiceLineUpdateManyWithoutClaimNestedInput
|
||||
@@ -65601,7 +65698,7 @@ export namespace Prisma {
|
||||
export type ClaimUncheckedUpdateWithoutNpiProviderInput = {
|
||||
id?: IntFieldUpdateOperationsInput | number
|
||||
patientId?: IntFieldUpdateOperationsInput | number
|
||||
appointmentId?: IntFieldUpdateOperationsInput | number
|
||||
appointmentId?: NullableIntFieldUpdateOperationsInput | number | null
|
||||
userId?: IntFieldUpdateOperationsInput | number
|
||||
staffId?: IntFieldUpdateOperationsInput | number
|
||||
patientName?: StringFieldUpdateOperationsInput | string
|
||||
@@ -65616,6 +65713,7 @@ export namespace Prisma {
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
status?: EnumClaimStatusFieldUpdateOperationsInput | $Enums.ClaimStatus
|
||||
claimNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
preAuthNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
serviceLines?: ServiceLineUncheckedUpdateManyWithoutClaimNestedInput
|
||||
claimFiles?: ClaimFileUncheckedUpdateManyWithoutClaimNestedInput
|
||||
payment?: PaymentUncheckedUpdateOneWithoutClaimNestedInput
|
||||
@@ -65624,7 +65722,7 @@ export namespace Prisma {
|
||||
export type ClaimUncheckedUpdateManyWithoutNpiProviderInput = {
|
||||
id?: IntFieldUpdateOperationsInput | number
|
||||
patientId?: IntFieldUpdateOperationsInput | number
|
||||
appointmentId?: IntFieldUpdateOperationsInput | number
|
||||
appointmentId?: NullableIntFieldUpdateOperationsInput | number | null
|
||||
userId?: IntFieldUpdateOperationsInput | number
|
||||
staffId?: IntFieldUpdateOperationsInput | number
|
||||
patientName?: StringFieldUpdateOperationsInput | string
|
||||
@@ -65639,6 +65737,7 @@ export namespace Prisma {
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
||||
status?: EnumClaimStatusFieldUpdateOperationsInput | $Enums.ClaimStatus
|
||||
claimNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
preAuthNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
||||
}
|
||||
|
||||
export type PaymentUpdateWithoutNpiProviderInput = {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "prisma-client-5b5b9346ed4af83abd0e582aa65c578d9e0d4e5e4fa79702bd03a5c1fe1e9772",
|
||||
"name": "prisma-client-399048034458d5be2d4dc2eb570e77ca5c8345feb86d4b43b05fbd0cbc08be01",
|
||||
"main": "index.js",
|
||||
"types": "index.d.ts",
|
||||
"browser": "default.js",
|
||||
|
||||
@@ -197,7 +197,7 @@ model AppointmentProcedure {
|
||||
model Claim {
|
||||
id Int @id @default(autoincrement())
|
||||
patientId Int
|
||||
appointmentId Int
|
||||
appointmentId Int?
|
||||
userId Int
|
||||
staffId Int
|
||||
patientName String
|
||||
@@ -212,10 +212,11 @@ model Claim {
|
||||
updatedAt DateTime @updatedAt
|
||||
status ClaimStatus @default(PENDING)
|
||||
claimNumber String?
|
||||
preAuthNumber String?
|
||||
npiProviderId Int?
|
||||
|
||||
patient Patient @relation(fields: [patientId], references: [id], onDelete: Cascade)
|
||||
appointment Appointment @relation(fields: [appointmentId], references: [id], onDelete: Cascade)
|
||||
appointment Appointment? @relation(fields: [appointmentId], references: [id], onDelete: Cascade)
|
||||
user User? @relation(fields: [userId], references: [id])
|
||||
staff Staff? @relation("ClaimStaff", fields: [staffId], references: [id])
|
||||
npiProvider NpiProvider? @relation(fields: [npiProviderId], references: [id])
|
||||
@@ -231,6 +232,7 @@ enum ClaimStatus {
|
||||
CANCELLED
|
||||
REVIEW
|
||||
VOID
|
||||
PREAUTH
|
||||
}
|
||||
|
||||
enum MissingTeethStatus {
|
||||
|
||||
Reference in New Issue
Block a user