feat: MassHealth service history extraction, shown in Patient Details
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
patientId: z.number().int(),
|
||||
procedureCode: z.string(),
|
||||
description: z.string().optional().nullable(),
|
||||
toothQuadArchSurface: z.string().optional().nullable(),
|
||||
placeOfService: z.string().optional().nullable(),
|
||||
serviceDate: z.string().optional().nullable(),
|
||||
createdAt: z.coerce.date().optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistoryUncheckedCreateInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryUncheckedCreateInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryUncheckedCreateInput>;
|
||||
export const PatientServiceHistoryUncheckedCreateInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user