fix: use rendering provider from claim form for MassHealth dentist search, default to Mary Scannell, select first office option

This commit is contained in:
Gitead
2026-04-23 00:25:11 -04:00
parent 1414ec11fd
commit ca7797841f
798 changed files with 2565 additions and 21785 deletions

View File

@@ -1,15 +1,14 @@
import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { IntWithAggregatesFilterObjectSchema as IntWithAggregatesFilterObjectSchema } from './IntWithAggregatesFilter.schema';
import { StringNullableWithAggregatesFilterObjectSchema as StringNullableWithAggregatesFilterObjectSchema } from './StringNullableWithAggregatesFilter.schema';
import { DecimalWithAggregatesFilterObjectSchema as DecimalWithAggregatesFilterObjectSchema } from './DecimalWithAggregatesFilter.schema';
import { EnumPaymentMethodWithAggregatesFilterObjectSchema as EnumPaymentMethodWithAggregatesFilterObjectSchema } from './EnumPaymentMethodWithAggregatesFilter.schema';
import { PaymentMethodSchema } from '../enums/PaymentMethod.schema';
import { Prisma } from '../../../generated/prisma';
import Decimal from 'decimal.js';
import { IntWithAggregatesFilterObjectSchema as IntWithAggregatesFilterObjectSchema } from './IntWithAggregatesFilter.schema';
import { StringNullableWithAggregatesFilterObjectSchema as StringNullableWithAggregatesFilterObjectSchema } from './StringNullableWithAggregatesFilter.schema';
import { DecimalWithAggregatesFilterObjectSchema as DecimalWithAggregatesFilterObjectSchema } from './DecimalWithAggregatesFilter.schema';
import { EnumPaymentMethodWithAggregatesFilterObjectSchema as EnumPaymentMethodWithAggregatesFilterObjectSchema } from './EnumPaymentMethodWithAggregatesFilter.schema';
import { PaymentMethodSchema } from '../enums/PaymentMethod.schema';
import { DateTimeWithAggregatesFilterObjectSchema as DateTimeWithAggregatesFilterObjectSchema } from './DateTimeWithAggregatesFilter.schema'
import { DecimalJSLikeSchema, isValidDecimalInput } from '../../helpers/decimal-helpers';
import Decimal from "decimal.js";
const servicelinetransactionscalarwherewithaggregatesinputSchema = z.object({
AND: z.union([z.lazy(() => ServiceLineTransactionScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => ServiceLineTransactionScalarWhereWithAggregatesInputObjectSchema).array()]).optional(),
OR: z.lazy(() => ServiceLineTransactionScalarWhereWithAggregatesInputObjectSchema).array().optional(),
@@ -22,7 +21,7 @@ const servicelinetransactionscalarwherewithaggregatesinputSchema = z.object({
z.number(),
z.string(),
z.instanceof(Decimal),
z.instanceof(Decimal),
z.instanceof(Prisma.Decimal),
DecimalJSLikeSchema,
]).refine((v) => isValidDecimalInput(v), {
message: "Field 'paidAmount' must be a Decimal",
@@ -31,7 +30,7 @@ const servicelinetransactionscalarwherewithaggregatesinputSchema = z.object({
z.number(),
z.string(),
z.instanceof(Decimal),
z.instanceof(Decimal),
z.instanceof(Prisma.Decimal),
DecimalJSLikeSchema,
]).refine((v) => isValidDecimalInput(v), {
message: "Field 'adjustedAmount' must be a Decimal",