feat: MassHealth service history extraction, shown in Patient Details
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+4
-2
@@ -8,7 +8,8 @@ import { PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema as Paym
|
||||
import { CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema as CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './CommunicationUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema';
|
||||
import { CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderUncheckedCreateNestedManyWithoutPatientInput.schema'
|
||||
import { CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PatientServiceHistoryUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PatientServiceHistoryUncheckedCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
@@ -44,7 +45,8 @@ const makeSchema = () => z.object({
|
||||
communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
serviceHistory: z.lazy(() => PatientServiceHistoryUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientUncheckedCreateWithoutProceduresInputObjectSchema: z.ZodType<Prisma.PatientUncheckedCreateWithoutProceduresInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUncheckedCreateWithoutProceduresInput>;
|
||||
export const PatientUncheckedCreateWithoutProceduresInputObjectZodSchema = makeSchema();
|
||||
|
||||
Reference in New Issue
Block a user