Files
DentalManagement09/packages/db/shared/schemas/variants/input/PatientServiceHistory.input.ts
T

16 lines
569 B
TypeScript

import * as z from 'zod';
// prettier-ignore
export const PatientServiceHistoryInputSchema = z.object({
id: z.number().int(),
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.date(),
patient: z.unknown()
}).strict();
export type PatientServiceHistoryInputType = z.infer<typeof PatientServiceHistoryInputSchema>;