41 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			C#
		
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			C#
		
	
	
| using IRaCIS.Core.Application.Contracts;
 | |
| using IRaCIS.Core.Application.Contracts.DTO;
 | |
| using IRaCIS.Core.Domain.Share;
 | |
| using MediatR;
 | |
| using Microsoft.AspNetCore.Hosting;
 | |
| using Microsoft.AspNetCore.Http;
 | |
| using Microsoft.AspNetCore.Mvc;
 | |
| 
 | |
| namespace IRaCIS.Core.Application.Image.QA
 | |
| {
 | |
|     public interface IQCOperationService
 | |
|     {
 | |
|         Task<IResponseOutput> CheckBack(Guid subjectVisitId, Guid signId);
 | |
|         Task<IResponseOutput> SetNeedReupload(Guid trialId, Guid signId, Guid qcChallengeId);
 | |
|         Task<IResponseOutput> QCPassedOrFailed(Guid trialId, Guid subjectVisitId, Guid signId, [FromRoute] AuditStateEnum auditState);
 | |
|         Task<IResponseOutput> SetCheckPass(Guid subjectVisitId,Guid signId);
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|         Task<IResponseOutput<CheckChallengeDialog>> AddCheckChallengeReply(CheckChallengeDialogCommand checkDialogCommand);
 | |
|         Task<IResponseOutput> AddOrUpdateQCChallenge(QCChallengeCommand qaQuestionCommand, Guid trialId, [FromRoute] TrialQCProcess trialQCProcess, [FromRoute] CurrentQC currentQCType);
 | |
|         Task<IResponseOutput> AddOrUpdateQCQuestionAnswerList(QCQuestionAnswerCommand[] qcQuestionAnswerCommands, Guid trialId, Guid subjectVisitId, [FromRoute] TrialQCProcess trialQCProcess, [FromRoute] CurrentQC currentQCType, [FromServices] IServiceProvider serviceProvider);
 | |
|         Task<IResponseOutput> AddQCChallengeReply(QADialogCommand qaDialogCommand);
 | |
|         Task<IResponseOutput> CloseCheckChallenge(Guid subjectVisitId);
 | |
|         Task<IResponseOutput> CloseQCChallenge(Guid qcChallengeId, Guid subjectVisitId, [FromRoute] QCChallengeCloseEnum closeEnum, [FromRoute] string closeReason);
 | |
|         Task<IResponseOutput> CRCRequestReUpload(Guid qcChallengeId);
 | |
|         Task<IResponseOutput> CRCRequestToQC(CRCRequestToQCCommand cRCRequestToQCCommand);
 | |
|         Task<IResponseOutput> CRCRequstCheckBack(Guid subjectVisitId);
 | |
|         Task<IResponseOutput> DeleteQCChallenge(Guid qcChallengeId);
 | |
|         Task<IResponseOutput> DeleteStudyList(Guid[] ids, Guid subjectVisitId, Guid trialId);
 | |
|         Task<IResponseOutput> ObtainOrCancelQCTask(Guid trialId, Guid subjectVisitId, bool obtaionOrCancel);
 | |
|         Task<IResponseOutput> SetReuploadFinished(CRCReuploadFinishedCommand cRCReuploadFinishedCommand);
 | |
|         Task<IResponseOutput> SetSeriesState(Guid subjectVisitId, Guid studyId, Guid seriesId, int state);
 | |
|         Task<IResponseOutput> SetVisitUrgent(Guid trialId, Guid subjectVisitId, bool setOrCancel);
 | |
|         Task<IResponseOutput> UpdateModality(Guid id, int type, [FromQuery] string modality, [FromQuery] string bodyPart);
 | |
|         Task<IResponseOutput> UpdateSubjectAndSVInfo(UploadSubjectAndVisitCommand command);
 | |
|         Task<IResponseOutput> UploadVisitCheckExcel(IFormFile file, [FromServices] IMediator _mediator, Guid trialId, [FromServices] IWebHostEnvironment _hostEnvironment);
 | |
|         Task<IResponseOutput> VerifyCanQCPassedOrFailed(Guid subjectVisitId);
 | |
|     }
 | |
| } |