feat: MassHealth service history extraction, shown in Patient Details

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-05 08:38:13 -05:00
co-authored by Claude Opus 5.5
parent 1ee3b0cfc9
commit 33bea3822c
172 changed files with 4044 additions and 127 deletions
@@ -15,7 +15,8 @@ import { PdfGroupUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as Pdf
import { PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './PaymentUncheckedUpdateManyWithoutPatientNestedInput.schema';
import { CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './CommunicationUncheckedUpdateManyWithoutPatientNestedInput.schema';
import { PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput.schema';
import { CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './CloudFolderUncheckedUpdateManyWithoutPatientNestedInput.schema'
import { CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './CloudFolderUncheckedUpdateManyWithoutPatientNestedInput.schema';
import { PatientServiceHistoryUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as PatientServiceHistoryUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './PatientServiceHistoryUncheckedUpdateManyWithoutPatientNestedInput.schema'
const makeSchema = () => z.object({
id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
@@ -51,7 +52,8 @@ const makeSchema = () => z.object({
payment: z.lazy(() => PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
documents: z.lazy(() => PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional()
cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
serviceHistory: z.lazy(() => PatientServiceHistoryUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional()
}).strict();
export const PatientUncheckedUpdateWithoutConversationInputObjectSchema: z.ZodType<Prisma.PatientUncheckedUpdateWithoutConversationInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUncheckedUpdateWithoutConversationInput>;
export const PatientUncheckedUpdateWithoutConversationInputObjectZodSchema = makeSchema();