feat: Select Procedures flow, batch-column NPI provider fix, auto PDF save
- Add 'Select Procedures' right-click option on appointment page (separate from Claims/PreAuth) - Select Procedures form saves CDT codes + NPI provider to AppointmentProcedure storage - Remove Save button from insurance claim form; Claims/PreAuth opens for insurance submission only - Claims/PreAuth auto-prefills from saved procedures including NPI provider - Batch-column: procedures npiProviderId takes priority over stale claim npiProviderId - Batch-column: auto-save PDF to patient Documents after successful submission (no socket needed) - Add npiProviderId column to AppointmentProcedure table (prisma db push) - Fix 'invalid db creation invocation': guard staffId, npiProviderId, procedureDate as Date object, totalBilled NaN guard - Add full error logging to batch-column catch block Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -189,6 +189,7 @@ exports.Prisma.AppointmentProcedureScalarFieldEnum = {
|
||||
id: 'id',
|
||||
appointmentId: 'appointmentId',
|
||||
patientId: 'patientId',
|
||||
npiProviderId: 'npiProviderId',
|
||||
procedureCode: 'procedureCode',
|
||||
procedureLabel: 'procedureLabel',
|
||||
fee: 'fee',
|
||||
@@ -218,7 +219,8 @@ exports.Prisma.ClaimScalarFieldEnum = {
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt',
|
||||
status: 'status',
|
||||
claimNumber: 'claimNumber'
|
||||
claimNumber: 'claimNumber',
|
||||
npiProviderId: 'npiProviderId'
|
||||
};
|
||||
|
||||
exports.Prisma.ServiceLineScalarFieldEnum = {
|
||||
@@ -242,7 +244,8 @@ exports.Prisma.ClaimFileScalarFieldEnum = {
|
||||
id: 'id',
|
||||
claimId: 'claimId',
|
||||
filename: 'filename',
|
||||
mimeType: 'mimeType'
|
||||
mimeType: 'mimeType',
|
||||
filePath: 'filePath'
|
||||
};
|
||||
|
||||
exports.Prisma.InsuranceCredentialScalarFieldEnum = {
|
||||
@@ -351,6 +354,7 @@ exports.Prisma.CloudFileScalarFieldEnum = {
|
||||
folderId: 'folderId',
|
||||
isComplete: 'isComplete',
|
||||
totalChunks: 'totalChunks',
|
||||
diskPath: 'diskPath',
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt'
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user