feat(ocr) - schema updated, allowed payment model to allow both - claim and ocr data

This commit is contained in:
2025-09-03 23:05:23 +05:30
parent 155f338a15
commit 399c47dcfd
7 changed files with 166 additions and 160 deletions

View File

@@ -67,12 +67,14 @@ export type PaymentWithExtras = Prisma.PaymentGetPayload<{
serviceLines: true;
};
};
serviceLines: true; // ✅ OCR-only service lines directly under Payment
serviceLineTransactions: {
include: {
serviceLine: true;
};
};
updatedBy: true;
patient: true;
};
}> & {
patientName: string;