fix: Optional OCR-Assisted Draft Pre-Fill
This commit is contained in:
@@ -69,7 +69,8 @@ public class BatchService : IBatchService
|
||||
patientId ??= supersededBatch.PatientId;
|
||||
}
|
||||
|
||||
var (objectKey, sha256, fileSize) = await _storage.UploadAsync(fileStream, contentType, Guid.NewGuid());
|
||||
var batchId = Guid.NewGuid();
|
||||
var (objectKey, sha256, fileSize) = await _storage.UploadAsync(fileStream, contentType, batchId);
|
||||
|
||||
// Duplicate detection: same SHA-256 for same patient within 24 hours
|
||||
if (patientId.HasValue)
|
||||
@@ -101,7 +102,6 @@ public class BatchService : IBatchService
|
||||
}
|
||||
}
|
||||
|
||||
var batchId = Guid.NewGuid();
|
||||
var batch = new DigitizationBatch
|
||||
{
|
||||
Id = batchId,
|
||||
|
||||
Reference in New Issue
Block a user