feat: MassHealth service history extraction, shown in Patient Details

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-05 08:38:13 -05:00
co-authored by Claude Opus 5.5
parent 1ee3b0cfc9
commit 33bea3822c
172 changed files with 4044 additions and 127 deletions
@@ -0,0 +1,12 @@
import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PatientWhereInputObjectSchema as PatientWhereInputObjectSchema } from './PatientWhereInput.schema';
import { PatientUpdateWithoutServiceHistoryInputObjectSchema as PatientUpdateWithoutServiceHistoryInputObjectSchema } from './PatientUpdateWithoutServiceHistoryInput.schema';
import { PatientUncheckedUpdateWithoutServiceHistoryInputObjectSchema as PatientUncheckedUpdateWithoutServiceHistoryInputObjectSchema } from './PatientUncheckedUpdateWithoutServiceHistoryInput.schema'
const makeSchema = () => z.object({
where: z.lazy(() => PatientWhereInputObjectSchema).optional(),
data: z.union([z.lazy(() => PatientUpdateWithoutServiceHistoryInputObjectSchema), z.lazy(() => PatientUncheckedUpdateWithoutServiceHistoryInputObjectSchema)])
}).strict();
export const PatientUpdateToOneWithWhereWithoutServiceHistoryInputObjectSchema: z.ZodType<Prisma.PatientUpdateToOneWithWhereWithoutServiceHistoryInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUpdateToOneWithWhereWithoutServiceHistoryInput>;
export const PatientUpdateToOneWithWhereWithoutServiceHistoryInputObjectZodSchema = makeSchema();