feat: payment PDF extraction, import, and remittance tracking

- Add Upload Payment Documents section with Extract & Download (Excel)
  and Extract & Import (database) buttons
- PDF extractor (pdfplumber) parses MassHealth RA PDFs: two-pass
  strategy joins summary-page ICN/patient map with detail-page
  procedure data (CDT code, paid code, tooth, date, allowed amount)
- RA cover-page summary (Payee ID, RA #, Payment Amount, etc.)
  included as separate Excel sheet; numeric values written as numbers
- Backend PDF import route groups rows by Member #, finds/creates
  patient, creates Payment + ServiceLines with ICN per procedure
- Add icn, paidCode, allowedAmount fields to ServiceLine schema
- Payments table: status simplified to Paid in Full / Balance;
  adjustment auto-computed on mhPaidAmount/copayment change;
  Paid in Full and Revert buttons with confirmation dialogs
- Edit Payment modal: shows ICN, Paid Code, Allowed Amount per line
- PDF Import badge distinguishes from OCR imports in payments table

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Gitead
2026-05-07 12:53:50 -04:00
parent e204d30ff6
commit dd0df4a435
76 changed files with 1570 additions and 96 deletions

View File

@@ -14710,6 +14710,7 @@ export namespace Prisma {
id: number | null
claimId: number | null
paymentId: number | null
allowedAmount: Decimal | null
totalBilled: Decimal | null
totalPaid: Decimal | null
totalAdjusted: Decimal | null
@@ -14720,6 +14721,7 @@ export namespace Prisma {
id: number | null
claimId: number | null
paymentId: number | null
allowedAmount: Decimal | null
totalBilled: Decimal | null
totalPaid: Decimal | null
totalAdjusted: Decimal | null
@@ -14736,6 +14738,9 @@ export namespace Prisma {
arch: string | null
toothNumber: string | null
toothSurface: string | null
icn: string | null
paidCode: string | null
allowedAmount: Decimal | null
totalBilled: Decimal | null
totalPaid: Decimal | null
totalAdjusted: Decimal | null
@@ -14753,6 +14758,9 @@ export namespace Prisma {
arch: string | null
toothNumber: string | null
toothSurface: string | null
icn: string | null
paidCode: string | null
allowedAmount: Decimal | null
totalBilled: Decimal | null
totalPaid: Decimal | null
totalAdjusted: Decimal | null
@@ -14770,6 +14778,9 @@ export namespace Prisma {
arch: number
toothNumber: number
toothSurface: number
icn: number
paidCode: number
allowedAmount: number
totalBilled: number
totalPaid: number
totalAdjusted: number
@@ -14783,6 +14794,7 @@ export namespace Prisma {
id?: true
claimId?: true
paymentId?: true
allowedAmount?: true
totalBilled?: true
totalPaid?: true
totalAdjusted?: true
@@ -14793,6 +14805,7 @@ export namespace Prisma {
id?: true
claimId?: true
paymentId?: true
allowedAmount?: true
totalBilled?: true
totalPaid?: true
totalAdjusted?: true
@@ -14809,6 +14822,9 @@ export namespace Prisma {
arch?: true
toothNumber?: true
toothSurface?: true
icn?: true
paidCode?: true
allowedAmount?: true
totalBilled?: true
totalPaid?: true
totalAdjusted?: true
@@ -14826,6 +14842,9 @@ export namespace Prisma {
arch?: true
toothNumber?: true
toothSurface?: true
icn?: true
paidCode?: true
allowedAmount?: true
totalBilled?: true
totalPaid?: true
totalAdjusted?: true
@@ -14843,6 +14862,9 @@ export namespace Prisma {
arch?: true
toothNumber?: true
toothSurface?: true
icn?: true
paidCode?: true
allowedAmount?: true
totalBilled?: true
totalPaid?: true
totalAdjusted?: true
@@ -14947,6 +14969,9 @@ export namespace Prisma {
arch: string | null
toothNumber: string | null
toothSurface: string | null
icn: string | null
paidCode: string | null
allowedAmount: Decimal | null
totalBilled: Decimal
totalPaid: Decimal
totalAdjusted: Decimal
@@ -14983,6 +15008,9 @@ export namespace Prisma {
arch?: boolean
toothNumber?: boolean
toothSurface?: boolean
icn?: boolean
paidCode?: boolean
allowedAmount?: boolean
totalBilled?: boolean
totalPaid?: boolean
totalAdjusted?: boolean
@@ -15004,6 +15032,9 @@ export namespace Prisma {
arch?: boolean
toothNumber?: boolean
toothSurface?: boolean
icn?: boolean
paidCode?: boolean
allowedAmount?: boolean
totalBilled?: boolean
totalPaid?: boolean
totalAdjusted?: boolean
@@ -15023,6 +15054,9 @@ export namespace Prisma {
arch?: boolean
toothNumber?: boolean
toothSurface?: boolean
icn?: boolean
paidCode?: boolean
allowedAmount?: boolean
totalBilled?: boolean
totalPaid?: boolean
totalAdjusted?: boolean
@@ -15042,6 +15076,9 @@ export namespace Prisma {
arch?: boolean
toothNumber?: boolean
toothSurface?: boolean
icn?: boolean
paidCode?: boolean
allowedAmount?: boolean
totalBilled?: boolean
totalPaid?: boolean
totalAdjusted?: boolean
@@ -15049,7 +15086,7 @@ export namespace Prisma {
status?: boolean
}
export type ServiceLineOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "claimId" | "paymentId" | "procedureCode" | "procedureDate" | "quad" | "arch" | "toothNumber" | "toothSurface" | "totalBilled" | "totalPaid" | "totalAdjusted" | "totalDue" | "status", ExtArgs["result"]["serviceLine"]>
export type ServiceLineOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "claimId" | "paymentId" | "procedureCode" | "procedureDate" | "quad" | "arch" | "toothNumber" | "toothSurface" | "icn" | "paidCode" | "allowedAmount" | "totalBilled" | "totalPaid" | "totalAdjusted" | "totalDue" | "status", ExtArgs["result"]["serviceLine"]>
export type ServiceLineInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
claim?: boolean | ServiceLine$claimArgs<ExtArgs>
payment?: boolean | ServiceLine$paymentArgs<ExtArgs>
@@ -15082,6 +15119,9 @@ export namespace Prisma {
arch: string | null
toothNumber: string | null
toothSurface: string | null
icn: string | null
paidCode: string | null
allowedAmount: Prisma.Decimal | null
totalBilled: Prisma.Decimal
totalPaid: Prisma.Decimal
totalAdjusted: Prisma.Decimal
@@ -15522,6 +15562,9 @@ export namespace Prisma {
readonly arch: FieldRef<"ServiceLine", 'String'>
readonly toothNumber: FieldRef<"ServiceLine", 'String'>
readonly toothSurface: FieldRef<"ServiceLine", 'String'>
readonly icn: FieldRef<"ServiceLine", 'String'>
readonly paidCode: FieldRef<"ServiceLine", 'String'>
readonly allowedAmount: FieldRef<"ServiceLine", 'Decimal'>
readonly totalBilled: FieldRef<"ServiceLine", 'Decimal'>
readonly totalPaid: FieldRef<"ServiceLine", 'Decimal'>
readonly totalAdjusted: FieldRef<"ServiceLine", 'Decimal'>
@@ -38840,6 +38883,9 @@ export namespace Prisma {
arch: 'arch',
toothNumber: 'toothNumber',
toothSurface: 'toothSurface',
icn: 'icn',
paidCode: 'paidCode',
allowedAmount: 'allowedAmount',
totalBilled: 'totalBilled',
totalPaid: 'totalPaid',
totalAdjusted: 'totalAdjusted',
@@ -40282,6 +40328,9 @@ export namespace Prisma {
arch?: StringNullableFilter<"ServiceLine"> | string | null
toothNumber?: StringNullableFilter<"ServiceLine"> | string | null
toothSurface?: StringNullableFilter<"ServiceLine"> | string | null
icn?: StringNullableFilter<"ServiceLine"> | string | null
paidCode?: StringNullableFilter<"ServiceLine"> | string | null
allowedAmount?: DecimalNullableFilter<"ServiceLine"> | Decimal | DecimalJsLike | number | string | null
totalBilled?: DecimalFilter<"ServiceLine"> | Decimal | DecimalJsLike | number | string
totalPaid?: DecimalFilter<"ServiceLine"> | Decimal | DecimalJsLike | number | string
totalAdjusted?: DecimalFilter<"ServiceLine"> | Decimal | DecimalJsLike | number | string
@@ -40302,6 +40351,9 @@ export namespace Prisma {
arch?: SortOrderInput | SortOrder
toothNumber?: SortOrderInput | SortOrder
toothSurface?: SortOrderInput | SortOrder
icn?: SortOrderInput | SortOrder
paidCode?: SortOrderInput | SortOrder
allowedAmount?: SortOrderInput | SortOrder
totalBilled?: SortOrder
totalPaid?: SortOrder
totalAdjusted?: SortOrder
@@ -40325,6 +40377,9 @@ export namespace Prisma {
arch?: StringNullableFilter<"ServiceLine"> | string | null
toothNumber?: StringNullableFilter<"ServiceLine"> | string | null
toothSurface?: StringNullableFilter<"ServiceLine"> | string | null
icn?: StringNullableFilter<"ServiceLine"> | string | null
paidCode?: StringNullableFilter<"ServiceLine"> | string | null
allowedAmount?: DecimalNullableFilter<"ServiceLine"> | Decimal | DecimalJsLike | number | string | null
totalBilled?: DecimalFilter<"ServiceLine"> | Decimal | DecimalJsLike | number | string
totalPaid?: DecimalFilter<"ServiceLine"> | Decimal | DecimalJsLike | number | string
totalAdjusted?: DecimalFilter<"ServiceLine"> | Decimal | DecimalJsLike | number | string
@@ -40345,6 +40400,9 @@ export namespace Prisma {
arch?: SortOrderInput | SortOrder
toothNumber?: SortOrderInput | SortOrder
toothSurface?: SortOrderInput | SortOrder
icn?: SortOrderInput | SortOrder
paidCode?: SortOrderInput | SortOrder
allowedAmount?: SortOrderInput | SortOrder
totalBilled?: SortOrder
totalPaid?: SortOrder
totalAdjusted?: SortOrder
@@ -40370,6 +40428,9 @@ export namespace Prisma {
arch?: StringNullableWithAggregatesFilter<"ServiceLine"> | string | null
toothNumber?: StringNullableWithAggregatesFilter<"ServiceLine"> | string | null
toothSurface?: StringNullableWithAggregatesFilter<"ServiceLine"> | string | null
icn?: StringNullableWithAggregatesFilter<"ServiceLine"> | string | null
paidCode?: StringNullableWithAggregatesFilter<"ServiceLine"> | string | null
allowedAmount?: DecimalNullableWithAggregatesFilter<"ServiceLine"> | Decimal | DecimalJsLike | number | string | null
totalBilled?: DecimalWithAggregatesFilter<"ServiceLine"> | Decimal | DecimalJsLike | number | string
totalPaid?: DecimalWithAggregatesFilter<"ServiceLine"> | Decimal | DecimalJsLike | number | string
totalAdjusted?: DecimalWithAggregatesFilter<"ServiceLine"> | Decimal | DecimalJsLike | number | string
@@ -42610,6 +42671,9 @@ export namespace Prisma {
arch?: string | null
toothNumber?: string | null
toothSurface?: string | null
icn?: string | null
paidCode?: string | null
allowedAmount?: Decimal | DecimalJsLike | number | string | null
totalBilled: Decimal | DecimalJsLike | number | string
totalPaid?: Decimal | DecimalJsLike | number | string
totalAdjusted?: Decimal | DecimalJsLike | number | string
@@ -42630,6 +42694,9 @@ export namespace Prisma {
arch?: string | null
toothNumber?: string | null
toothSurface?: string | null
icn?: string | null
paidCode?: string | null
allowedAmount?: Decimal | DecimalJsLike | number | string | null
totalBilled: Decimal | DecimalJsLike | number | string
totalPaid?: Decimal | DecimalJsLike | number | string
totalAdjusted?: Decimal | DecimalJsLike | number | string
@@ -42645,6 +42712,9 @@ export namespace Prisma {
arch?: NullableStringFieldUpdateOperationsInput | string | null
toothNumber?: NullableStringFieldUpdateOperationsInput | string | null
toothSurface?: NullableStringFieldUpdateOperationsInput | string | null
icn?: NullableStringFieldUpdateOperationsInput | string | null
paidCode?: NullableStringFieldUpdateOperationsInput | string | null
allowedAmount?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null
totalBilled?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
totalPaid?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
totalAdjusted?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
@@ -42665,6 +42735,9 @@ export namespace Prisma {
arch?: NullableStringFieldUpdateOperationsInput | string | null
toothNumber?: NullableStringFieldUpdateOperationsInput | string | null
toothSurface?: NullableStringFieldUpdateOperationsInput | string | null
icn?: NullableStringFieldUpdateOperationsInput | string | null
paidCode?: NullableStringFieldUpdateOperationsInput | string | null
allowedAmount?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null
totalBilled?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
totalPaid?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
totalAdjusted?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
@@ -42683,6 +42756,9 @@ export namespace Prisma {
arch?: string | null
toothNumber?: string | null
toothSurface?: string | null
icn?: string | null
paidCode?: string | null
allowedAmount?: Decimal | DecimalJsLike | number | string | null
totalBilled: Decimal | DecimalJsLike | number | string
totalPaid?: Decimal | DecimalJsLike | number | string
totalAdjusted?: Decimal | DecimalJsLike | number | string
@@ -42697,6 +42773,9 @@ export namespace Prisma {
arch?: NullableStringFieldUpdateOperationsInput | string | null
toothNumber?: NullableStringFieldUpdateOperationsInput | string | null
toothSurface?: NullableStringFieldUpdateOperationsInput | string | null
icn?: NullableStringFieldUpdateOperationsInput | string | null
paidCode?: NullableStringFieldUpdateOperationsInput | string | null
allowedAmount?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null
totalBilled?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
totalPaid?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
totalAdjusted?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
@@ -42714,6 +42793,9 @@ export namespace Prisma {
arch?: NullableStringFieldUpdateOperationsInput | string | null
toothNumber?: NullableStringFieldUpdateOperationsInput | string | null
toothSurface?: NullableStringFieldUpdateOperationsInput | string | null
icn?: NullableStringFieldUpdateOperationsInput | string | null
paidCode?: NullableStringFieldUpdateOperationsInput | string | null
allowedAmount?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null
totalBilled?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
totalPaid?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
totalAdjusted?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
@@ -45071,6 +45153,9 @@ export namespace Prisma {
arch?: SortOrder
toothNumber?: SortOrder
toothSurface?: SortOrder
icn?: SortOrder
paidCode?: SortOrder
allowedAmount?: SortOrder
totalBilled?: SortOrder
totalPaid?: SortOrder
totalAdjusted?: SortOrder
@@ -45082,6 +45167,7 @@ export namespace Prisma {
id?: SortOrder
claimId?: SortOrder
paymentId?: SortOrder
allowedAmount?: SortOrder
totalBilled?: SortOrder
totalPaid?: SortOrder
totalAdjusted?: SortOrder
@@ -45098,6 +45184,9 @@ export namespace Prisma {
arch?: SortOrder
toothNumber?: SortOrder
toothSurface?: SortOrder
icn?: SortOrder
paidCode?: SortOrder
allowedAmount?: SortOrder
totalBilled?: SortOrder
totalPaid?: SortOrder
totalAdjusted?: SortOrder
@@ -45115,6 +45204,9 @@ export namespace Prisma {
arch?: SortOrder
toothNumber?: SortOrder
toothSurface?: SortOrder
icn?: SortOrder
paidCode?: SortOrder
allowedAmount?: SortOrder
totalBilled?: SortOrder
totalPaid?: SortOrder
totalAdjusted?: SortOrder
@@ -45126,6 +45218,7 @@ export namespace Prisma {
id?: SortOrder
claimId?: SortOrder
paymentId?: SortOrder
allowedAmount?: SortOrder
totalBilled?: SortOrder
totalPaid?: SortOrder
totalAdjusted?: SortOrder
@@ -52410,6 +52503,9 @@ export namespace Prisma {
arch?: string | null
toothNumber?: string | null
toothSurface?: string | null
icn?: string | null
paidCode?: string | null
allowedAmount?: Decimal | DecimalJsLike | number | string | null
totalBilled: Decimal | DecimalJsLike | number | string
totalPaid?: Decimal | DecimalJsLike | number | string
totalAdjusted?: Decimal | DecimalJsLike | number | string
@@ -52428,6 +52524,9 @@ export namespace Prisma {
arch?: string | null
toothNumber?: string | null
toothSurface?: string | null
icn?: string | null
paidCode?: string | null
allowedAmount?: Decimal | DecimalJsLike | number | string | null
totalBilled: Decimal | DecimalJsLike | number | string
totalPaid?: Decimal | DecimalJsLike | number | string
totalAdjusted?: Decimal | DecimalJsLike | number | string
@@ -52780,6 +52879,9 @@ export namespace Prisma {
arch?: StringNullableFilter<"ServiceLine"> | string | null
toothNumber?: StringNullableFilter<"ServiceLine"> | string | null
toothSurface?: StringNullableFilter<"ServiceLine"> | string | null
icn?: StringNullableFilter<"ServiceLine"> | string | null
paidCode?: StringNullableFilter<"ServiceLine"> | string | null
allowedAmount?: DecimalNullableFilter<"ServiceLine"> | Decimal | DecimalJsLike | number | string | null
totalBilled?: DecimalFilter<"ServiceLine"> | Decimal | DecimalJsLike | number | string
totalPaid?: DecimalFilter<"ServiceLine"> | Decimal | DecimalJsLike | number | string
totalAdjusted?: DecimalFilter<"ServiceLine"> | Decimal | DecimalJsLike | number | string
@@ -53792,6 +53894,9 @@ export namespace Prisma {
arch?: string | null
toothNumber?: string | null
toothSurface?: string | null
icn?: string | null
paidCode?: string | null
allowedAmount?: Decimal | DecimalJsLike | number | string | null
totalBilled: Decimal | DecimalJsLike | number | string
totalPaid?: Decimal | DecimalJsLike | number | string
totalAdjusted?: Decimal | DecimalJsLike | number | string
@@ -53810,6 +53915,9 @@ export namespace Prisma {
arch?: string | null
toothNumber?: string | null
toothSurface?: string | null
icn?: string | null
paidCode?: string | null
allowedAmount?: Decimal | DecimalJsLike | number | string | null
totalBilled: Decimal | DecimalJsLike | number | string
totalPaid?: Decimal | DecimalJsLike | number | string
totalAdjusted?: Decimal | DecimalJsLike | number | string
@@ -54097,6 +54205,9 @@ export namespace Prisma {
arch?: string | null
toothNumber?: string | null
toothSurface?: string | null
icn?: string | null
paidCode?: string | null
allowedAmount?: Decimal | DecimalJsLike | number | string | null
totalBilled: Decimal | DecimalJsLike | number | string
totalPaid?: Decimal | DecimalJsLike | number | string
totalAdjusted?: Decimal | DecimalJsLike | number | string
@@ -54116,6 +54227,9 @@ export namespace Prisma {
arch?: string | null
toothNumber?: string | null
toothSurface?: string | null
icn?: string | null
paidCode?: string | null
allowedAmount?: Decimal | DecimalJsLike | number | string | null
totalBilled: Decimal | DecimalJsLike | number | string
totalPaid?: Decimal | DecimalJsLike | number | string
totalAdjusted?: Decimal | DecimalJsLike | number | string
@@ -54198,6 +54312,9 @@ export namespace Prisma {
arch?: NullableStringFieldUpdateOperationsInput | string | null
toothNumber?: NullableStringFieldUpdateOperationsInput | string | null
toothSurface?: NullableStringFieldUpdateOperationsInput | string | null
icn?: NullableStringFieldUpdateOperationsInput | string | null
paidCode?: NullableStringFieldUpdateOperationsInput | string | null
allowedAmount?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null
totalBilled?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
totalPaid?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
totalAdjusted?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
@@ -54217,6 +54334,9 @@ export namespace Prisma {
arch?: NullableStringFieldUpdateOperationsInput | string | null
toothNumber?: NullableStringFieldUpdateOperationsInput | string | null
toothSurface?: NullableStringFieldUpdateOperationsInput | string | null
icn?: NullableStringFieldUpdateOperationsInput | string | null
paidCode?: NullableStringFieldUpdateOperationsInput | string | null
allowedAmount?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null
totalBilled?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
totalPaid?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
totalAdjusted?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
@@ -57608,6 +57728,9 @@ export namespace Prisma {
arch?: string | null
toothNumber?: string | null
toothSurface?: string | null
icn?: string | null
paidCode?: string | null
allowedAmount?: Decimal | DecimalJsLike | number | string | null
totalBilled: Decimal | DecimalJsLike | number | string
totalPaid?: Decimal | DecimalJsLike | number | string
totalAdjusted?: Decimal | DecimalJsLike | number | string
@@ -57629,6 +57752,9 @@ export namespace Prisma {
arch?: NullableStringFieldUpdateOperationsInput | string | null
toothNumber?: NullableStringFieldUpdateOperationsInput | string | null
toothSurface?: NullableStringFieldUpdateOperationsInput | string | null
icn?: NullableStringFieldUpdateOperationsInput | string | null
paidCode?: NullableStringFieldUpdateOperationsInput | string | null
allowedAmount?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null
totalBilled?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
totalPaid?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
totalAdjusted?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
@@ -57647,6 +57773,9 @@ export namespace Prisma {
arch?: NullableStringFieldUpdateOperationsInput | string | null
toothNumber?: NullableStringFieldUpdateOperationsInput | string | null
toothSurface?: NullableStringFieldUpdateOperationsInput | string | null
icn?: NullableStringFieldUpdateOperationsInput | string | null
paidCode?: NullableStringFieldUpdateOperationsInput | string | null
allowedAmount?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null
totalBilled?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
totalPaid?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
totalAdjusted?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
@@ -57664,6 +57793,9 @@ export namespace Prisma {
arch?: NullableStringFieldUpdateOperationsInput | string | null
toothNumber?: NullableStringFieldUpdateOperationsInput | string | null
toothSurface?: NullableStringFieldUpdateOperationsInput | string | null
icn?: NullableStringFieldUpdateOperationsInput | string | null
paidCode?: NullableStringFieldUpdateOperationsInput | string | null
allowedAmount?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null
totalBilled?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
totalPaid?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
totalAdjusted?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
@@ -57791,6 +57923,9 @@ export namespace Prisma {
arch?: string | null
toothNumber?: string | null
toothSurface?: string | null
icn?: string | null
paidCode?: string | null
allowedAmount?: Decimal | DecimalJsLike | number | string | null
totalBilled: Decimal | DecimalJsLike | number | string
totalPaid?: Decimal | DecimalJsLike | number | string
totalAdjusted?: Decimal | DecimalJsLike | number | string
@@ -57843,6 +57978,9 @@ export namespace Prisma {
arch?: NullableStringFieldUpdateOperationsInput | string | null
toothNumber?: NullableStringFieldUpdateOperationsInput | string | null
toothSurface?: NullableStringFieldUpdateOperationsInput | string | null
icn?: NullableStringFieldUpdateOperationsInput | string | null
paidCode?: NullableStringFieldUpdateOperationsInput | string | null
allowedAmount?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null
totalBilled?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
totalPaid?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
totalAdjusted?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
@@ -57861,6 +57999,9 @@ export namespace Prisma {
arch?: NullableStringFieldUpdateOperationsInput | string | null
toothNumber?: NullableStringFieldUpdateOperationsInput | string | null
toothSurface?: NullableStringFieldUpdateOperationsInput | string | null
icn?: NullableStringFieldUpdateOperationsInput | string | null
paidCode?: NullableStringFieldUpdateOperationsInput | string | null
allowedAmount?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null
totalBilled?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
totalPaid?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
totalAdjusted?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
@@ -57878,6 +58019,9 @@ export namespace Prisma {
arch?: NullableStringFieldUpdateOperationsInput | string | null
toothNumber?: NullableStringFieldUpdateOperationsInput | string | null
toothSurface?: NullableStringFieldUpdateOperationsInput | string | null
icn?: NullableStringFieldUpdateOperationsInput | string | null
paidCode?: NullableStringFieldUpdateOperationsInput | string | null
allowedAmount?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null
totalBilled?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
totalPaid?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
totalAdjusted?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string