initial commit

This commit is contained in:
2026-04-04 22:13:55 -04:00
commit 5d77e207c9
10181 changed files with 522212 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
import * as z from 'zod';
import { ProcedureSourceSchema } from '../../enums/ProcedureSource.schema';
// prettier-ignore
export const AppointmentProcedureResultSchema = z.object({
id: z.number().int(),
appointmentId: z.number().int(),
patientId: z.number().int(),
procedureCode: z.string(),
procedureLabel: z.string().nullable(),
fee: z.number().nullable(),
category: z.string().nullable(),
toothNumber: z.string().nullable(),
toothSurface: z.string().nullable(),
oralCavityArea: z.string().nullable(),
source: ProcedureSourceSchema,
comboKey: z.string().nullable(),
createdAt: z.date(),
appointment: z.unknown(),
patient: z.unknown()
}).strict();
export type AppointmentProcedureResultType = z.infer<typeof AppointmentProcedureResultSchema>;