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
@@ -11,7 +11,8 @@ import { PaymentOrderByRelationAggregateInputObjectSchema as PaymentOrderByRelat
import { CommunicationOrderByRelationAggregateInputObjectSchema as CommunicationOrderByRelationAggregateInputObjectSchema } from './CommunicationOrderByRelationAggregateInput.schema';
import { PatientDocumentOrderByRelationAggregateInputObjectSchema as PatientDocumentOrderByRelationAggregateInputObjectSchema } from './PatientDocumentOrderByRelationAggregateInput.schema';
import { PatientConversationOrderByWithRelationInputObjectSchema as PatientConversationOrderByWithRelationInputObjectSchema } from './PatientConversationOrderByWithRelationInput.schema';
import { CloudFolderOrderByRelationAggregateInputObjectSchema as CloudFolderOrderByRelationAggregateInputObjectSchema } from './CloudFolderOrderByRelationAggregateInput.schema'
import { CloudFolderOrderByRelationAggregateInputObjectSchema as CloudFolderOrderByRelationAggregateInputObjectSchema } from './CloudFolderOrderByRelationAggregateInput.schema';
import { PatientServiceHistoryOrderByRelationAggregateInputObjectSchema as PatientServiceHistoryOrderByRelationAggregateInputObjectSchema } from './PatientServiceHistoryOrderByRelationAggregateInput.schema'
const makeSchema = () => z.object({
id: SortOrderSchema.optional(),
@@ -49,7 +50,8 @@ const makeSchema = () => z.object({
communications: z.lazy(() => CommunicationOrderByRelationAggregateInputObjectSchema).optional(),
documents: z.lazy(() => PatientDocumentOrderByRelationAggregateInputObjectSchema).optional(),
conversation: z.lazy(() => PatientConversationOrderByWithRelationInputObjectSchema).optional(),
cloudFolders: z.lazy(() => CloudFolderOrderByRelationAggregateInputObjectSchema).optional()
cloudFolders: z.lazy(() => CloudFolderOrderByRelationAggregateInputObjectSchema).optional(),
serviceHistory: z.lazy(() => PatientServiceHistoryOrderByRelationAggregateInputObjectSchema).optional()
}).strict();
export const PatientOrderByWithRelationInputObjectSchema: z.ZodType<Prisma.PatientOrderByWithRelationInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientOrderByWithRelationInput>;
export const PatientOrderByWithRelationInputObjectZodSchema = makeSchema();