@@ -404,7 +404,7 @@ export class ReportsService {
404404 UpdateExpression :
405405 'SET #title = :title, #bookmarked = :bookmarked, #category = :category, ' +
406406 '#processingStatus = :processingStatus, #labValues = :labValues, #summary = :summary, ' +
407- '#confidence = :confidence, #status = :status, #updatedAt = :updatedAt' ,
407+ '#confidence = :confidence, #status = :status, #missingInformation = :missingInformation, #isMedicalReport = :isMedicalReport, # updatedAt = :updatedAt' ,
408408 ConditionExpression : 'userId = :userId' , // Ensure the report belongs to the user
409409 ExpressionAttributeNames : {
410410 '#title' : 'title' ,
@@ -415,6 +415,8 @@ export class ReportsService {
415415 '#summary' : 'summary' ,
416416 '#confidence' : 'confidence' ,
417417 '#status' : 'status' ,
418+ '#missingInformation' : 'missingInformation' ,
419+ '#isMedicalReport' : 'isMedicalReport' ,
418420 '#updatedAt' : 'updatedAt' ,
419421 } ,
420422 ExpressionAttributeValues : marshall ( {
@@ -426,6 +428,8 @@ export class ReportsService {
426428 ':summary' : report . summary ,
427429 ':confidence' : report . confidence ,
428430 ':status' : report . status ,
431+ ':missingInformation' : report . missingInformation ,
432+ ':isMedicalReport' : report . isMedicalReport ,
429433 ':updatedAt' : report . updatedAt ,
430434 ':userId' : report . userId ,
431435 } ) ,
0 commit comments