Adds an optional Provider (NPI) select to the Edit Appointment form, sourced from Settings > NPI Providers. The AI "Claim for Column" batch flow now prefers the appointment's own provider when resolving which provider Selenium should select on the insurance site (e.g. MassHealth rendering provider dropdown), falling back to the existing per-procedure selection, active claim, or first configured provider. Also resyncs packages/db's committed compiled schema/client artifacts with their .ts sources — they had drifted out of sync (some untouched since July), which was silently stripping the new npiProviderId field via stale .strict() zod schemas. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
100 lines
6.5 KiB
TypeScript
100 lines
6.5 KiB
TypeScript
import type { Prisma } from '../../generated/prisma';
|
|
import * as z from 'zod';
|
|
export declare const ServiceLineFindManySelectSchema: z.ZodType<Prisma.ServiceLineSelect>;
|
|
export declare const ServiceLineFindManySelectZodSchema: z.ZodObject<{
|
|
id: z.ZodOptional<z.ZodBoolean>;
|
|
claimId: z.ZodOptional<z.ZodBoolean>;
|
|
paymentId: z.ZodOptional<z.ZodBoolean>;
|
|
procedureCode: z.ZodOptional<z.ZodBoolean>;
|
|
procedureDate: z.ZodOptional<z.ZodBoolean>;
|
|
quad: z.ZodOptional<z.ZodBoolean>;
|
|
arch: z.ZodOptional<z.ZodBoolean>;
|
|
toothNumber: z.ZodOptional<z.ZodBoolean>;
|
|
toothSurface: z.ZodOptional<z.ZodBoolean>;
|
|
icn: z.ZodOptional<z.ZodBoolean>;
|
|
paidCode: z.ZodOptional<z.ZodBoolean>;
|
|
allowedAmount: z.ZodOptional<z.ZodBoolean>;
|
|
totalBilled: z.ZodOptional<z.ZodBoolean>;
|
|
totalPaid: z.ZodOptional<z.ZodBoolean>;
|
|
totalAdjusted: z.ZodOptional<z.ZodBoolean>;
|
|
totalDue: z.ZodOptional<z.ZodBoolean>;
|
|
status: z.ZodOptional<z.ZodBoolean>;
|
|
claim: z.ZodOptional<z.ZodBoolean>;
|
|
payment: z.ZodOptional<z.ZodBoolean>;
|
|
serviceLineTransactions: z.ZodOptional<z.ZodBoolean>;
|
|
_count: z.ZodOptional<z.ZodBoolean>;
|
|
}, "strict", z.ZodTypeAny, {
|
|
status?: boolean | undefined;
|
|
id?: boolean | undefined;
|
|
procedureCode?: boolean | undefined;
|
|
toothNumber?: boolean | undefined;
|
|
toothSurface?: boolean | undefined;
|
|
claimId?: boolean | undefined;
|
|
claim?: boolean | undefined;
|
|
paymentId?: boolean | undefined;
|
|
payment?: boolean | undefined;
|
|
procedureDate?: boolean | undefined;
|
|
quad?: boolean | undefined;
|
|
arch?: boolean | undefined;
|
|
icn?: boolean | undefined;
|
|
paidCode?: boolean | undefined;
|
|
allowedAmount?: boolean | undefined;
|
|
totalBilled?: boolean | undefined;
|
|
totalPaid?: boolean | undefined;
|
|
totalAdjusted?: boolean | undefined;
|
|
totalDue?: boolean | undefined;
|
|
serviceLineTransactions?: boolean | undefined;
|
|
_count?: boolean | undefined;
|
|
}, {
|
|
status?: boolean | undefined;
|
|
id?: boolean | undefined;
|
|
procedureCode?: boolean | undefined;
|
|
toothNumber?: boolean | undefined;
|
|
toothSurface?: boolean | undefined;
|
|
claimId?: boolean | undefined;
|
|
claim?: boolean | undefined;
|
|
paymentId?: boolean | undefined;
|
|
payment?: boolean | undefined;
|
|
procedureDate?: boolean | undefined;
|
|
quad?: boolean | undefined;
|
|
arch?: boolean | undefined;
|
|
icn?: boolean | undefined;
|
|
paidCode?: boolean | undefined;
|
|
allowedAmount?: boolean | undefined;
|
|
totalBilled?: boolean | undefined;
|
|
totalPaid?: boolean | undefined;
|
|
totalAdjusted?: boolean | undefined;
|
|
totalDue?: boolean | undefined;
|
|
serviceLineTransactions?: boolean | undefined;
|
|
_count?: boolean | undefined;
|
|
}>;
|
|
export declare const ServiceLineFindManySchema: z.ZodType<Prisma.ServiceLineFindManyArgs>;
|
|
export declare const ServiceLineFindManyZodSchema: z.ZodObject<{
|
|
select: z.ZodOptional<z.ZodType<Prisma.ServiceLineSelect<import("../../generated/prisma/runtime/client").DefaultArgs>, z.ZodTypeDef, Prisma.ServiceLineSelect<import("../../generated/prisma/runtime/client").DefaultArgs>>>;
|
|
include: z.ZodLazy<z.ZodOptional<z.ZodType<Prisma.ServiceLineInclude<import("../../generated/prisma/runtime/client").DefaultArgs>, z.ZodTypeDef, Prisma.ServiceLineInclude<import("../../generated/prisma/runtime/client").DefaultArgs>>>>;
|
|
orderBy: z.ZodOptional<z.ZodUnion<[z.ZodType<Prisma.ServiceLineOrderByWithRelationInput, z.ZodTypeDef, Prisma.ServiceLineOrderByWithRelationInput>, z.ZodArray<z.ZodType<Prisma.ServiceLineOrderByWithRelationInput, z.ZodTypeDef, Prisma.ServiceLineOrderByWithRelationInput>, "many">]>>;
|
|
where: z.ZodOptional<z.ZodType<Prisma.ServiceLineWhereInput, z.ZodTypeDef, Prisma.ServiceLineWhereInput>>;
|
|
cursor: z.ZodOptional<z.ZodType<Prisma.ServiceLineWhereUniqueInput, z.ZodTypeDef, Prisma.ServiceLineWhereUniqueInput>>;
|
|
take: z.ZodOptional<z.ZodNumber>;
|
|
skip: z.ZodOptional<z.ZodNumber>;
|
|
distinct: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["id", "claimId", "paymentId", "procedureCode", "procedureDate", "quad", "arch", "toothNumber", "toothSurface", "icn", "paidCode", "allowedAmount", "totalBilled", "totalPaid", "totalAdjusted", "totalDue", "status"]>, z.ZodArray<z.ZodEnum<["id", "claimId", "paymentId", "procedureCode", "procedureDate", "quad", "arch", "toothNumber", "toothSurface", "icn", "paidCode", "allowedAmount", "totalBilled", "totalPaid", "totalAdjusted", "totalDue", "status"]>, "many">]>>;
|
|
}, "strict", z.ZodTypeAny, {
|
|
where?: Prisma.ServiceLineWhereInput | undefined;
|
|
include?: Prisma.ServiceLineInclude<import("../../generated/prisma/runtime/client").DefaultArgs> | undefined;
|
|
select?: Prisma.ServiceLineSelect<import("../../generated/prisma/runtime/client").DefaultArgs> | undefined;
|
|
orderBy?: Prisma.ServiceLineOrderByWithRelationInput | Prisma.ServiceLineOrderByWithRelationInput[] | undefined;
|
|
cursor?: Prisma.ServiceLineWhereUniqueInput | undefined;
|
|
take?: number | undefined;
|
|
skip?: number | undefined;
|
|
distinct?: "status" | "id" | "procedureCode" | "toothNumber" | "toothSurface" | "claimId" | "paymentId" | "procedureDate" | "quad" | "arch" | "icn" | "paidCode" | "allowedAmount" | "totalBilled" | "totalPaid" | "totalAdjusted" | "totalDue" | ("status" | "id" | "procedureCode" | "toothNumber" | "toothSurface" | "claimId" | "paymentId" | "procedureDate" | "quad" | "arch" | "icn" | "paidCode" | "allowedAmount" | "totalBilled" | "totalPaid" | "totalAdjusted" | "totalDue")[] | undefined;
|
|
}, {
|
|
where?: Prisma.ServiceLineWhereInput | undefined;
|
|
include?: Prisma.ServiceLineInclude<import("../../generated/prisma/runtime/client").DefaultArgs> | undefined;
|
|
select?: Prisma.ServiceLineSelect<import("../../generated/prisma/runtime/client").DefaultArgs> | undefined;
|
|
orderBy?: Prisma.ServiceLineOrderByWithRelationInput | Prisma.ServiceLineOrderByWithRelationInput[] | undefined;
|
|
cursor?: Prisma.ServiceLineWhereUniqueInput | undefined;
|
|
take?: number | undefined;
|
|
skip?: number | undefined;
|
|
distinct?: "status" | "id" | "procedureCode" | "toothNumber" | "toothSurface" | "claimId" | "paymentId" | "procedureDate" | "quad" | "arch" | "icn" | "paidCode" | "allowedAmount" | "totalBilled" | "totalPaid" | "totalAdjusted" | "totalDue" | ("status" | "id" | "procedureCode" | "toothNumber" | "toothSurface" | "claimId" | "paymentId" | "procedureDate" | "quad" | "arch" | "icn" | "paidCode" | "allowedAmount" | "totalBilled" | "totalPaid" | "totalAdjusted" | "totalDue")[] | undefined;
|
|
}>;
|
|
//# sourceMappingURL=findManyServiceLine.schema.d.ts.map
|