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

16 lines
528 B
TypeScript

import * as z from 'zod';
// prettier-ignore
export const PatientServiceHistoryResultSchema = z.object({
id: z.number().int(),
patientId: z.number().int(),
procedureCode: z.string(),
description: z.string().nullable(),
toothQuadArchSurface: z.string().nullable(),
placeOfService: z.string().nullable(),
serviceDate: z.string().nullable(),
createdAt: z.date(),
patient: z.unknown()
}).strict();
export type PatientServiceHistoryResultType = z.infer<typeof PatientServiceHistoryResultSchema>;