feature: Corrections and Supersession
This commit is contained in:
@@ -1,8 +1,22 @@
|
||||
public interface IBatchService
|
||||
{
|
||||
Task<DigitizationBatch> CreateAsync(Stream fileStream, string contentType, BatchType batchType, BatchTrack track, Guid? patientId, Guid actorUserId);
|
||||
Task<CreateBatchResult> CreateAsync(
|
||||
Stream fileStream,
|
||||
string contentType,
|
||||
BatchType batchType,
|
||||
BatchTrack track,
|
||||
Guid? patientId,
|
||||
Guid? supersedesBatchId,
|
||||
Guid actorUserId);
|
||||
|
||||
Task<DigitizationBatch> GetByIdAsync(Guid id);
|
||||
Task<PagedResult<DigitizationBatch>> ListAsync(BatchStatus? status, BatchType? batchType, Guid? assignedTo, BatchTrack? track, int page, int pageSize);
|
||||
|
||||
Task<PagedResult<DigitizationBatch>> ListAsync(
|
||||
BatchStatus? status, BatchType? batchType,
|
||||
Guid? assignedTo, BatchTrack? track,
|
||||
int page, int pageSize);
|
||||
|
||||
Task<DigitizationBatch> AssignAsync(Guid batchId, Guid entryClerkUserId, Guid actorUserId);
|
||||
|
||||
BatchStatus[] GetAllowedTransitions(BatchStatus current);
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public interface IDigitizationHistoryService
|
||||
{
|
||||
Task<PatientDigitizationHistoryResponse> GetPatientHistoryAsync(Guid patientId);
|
||||
}
|
||||
@@ -20,4 +20,6 @@ public interface IPromotionService
|
||||
/// Returns the promotion result for an already-promoted batch.
|
||||
/// </summary>
|
||||
Task<PromotionResultResponse> GetPromotionResultAsync(Guid batchId);
|
||||
|
||||
Task<PromotionResult> PromoteAsync(Guid batchId, Guid actorUserId);
|
||||
}
|
||||
Reference in New Issue
Block a user