GetSubejectVisitPathInfo(Guid subjectVisitId)
+ {
+ var query = from sv in _subjectVisitRepository.Where(t => t.Id == subjectVisitId)
+
+ select new
+ {
+ SubjectCode = sv.Subject.Code,
+ VisitName = sv.VisitName,
+ StudyList = sv.StudyList.Select(u => new
+ {
+ u.PatientId,
+ u.StudyTime,
+ u.StudyCode,
+
+ SeriesList = u.SeriesList.Select(z => new
+ {
+ z.Modality,
+
+ InstancePathList = z.DicomInstanceList.Select(k => new
+ {
+ k.Path
+ })
+ })
+
+ })
+ };
+
+ var info = query.FirstOrDefault();
+
+ return ResponseOutput.Ok(info);
+ }
+
///
/// 后台任务调用,前端忽略该接口
///
From 5cc41b3b0f86599bfb8fa73fb3764ed8714e51cd Mon Sep 17 00:00:00 2001
From: hang <872297557@qq.com>
Date: Tue, 2 Jul 2024 17:16:46 +0800
Subject: [PATCH 3/9] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=80=E8=87=B4?=
=?UTF-8?q?=E6=80=A7=E6=A0=B8=E6=9F=A5=E9=A2=9C=E8=89=B2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../_MediatR/Handlers/ConsistencyVerificationHandler.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/IRaCIS.Core.Application/_MediatR/Handlers/ConsistencyVerificationHandler.cs b/IRaCIS.Core.Application/_MediatR/Handlers/ConsistencyVerificationHandler.cs
index b2cb55016..975656660 100644
--- a/IRaCIS.Core.Application/_MediatR/Handlers/ConsistencyVerificationHandler.cs
+++ b/IRaCIS.Core.Application/_MediatR/Handlers/ConsistencyVerificationHandler.cs
@@ -213,7 +213,7 @@ namespace IRaCIS.Core.Application.MediatR.Handlers
else
{
//"Problems are as follows:
- dialogMsg.AppendLine($"
{_localizer["ConsistencyVerification_Prob"]}
");
+ dialogMsg.AppendLine($"
{_localizer["ConsistencyVerification_Prob"]}
");
num = 0;
foreach (var item in dbExceptExcel)
From d094f22ab21a51d262fb5d7bfaad2a0471afaede Mon Sep 17 00:00:00 2001
From: hang <872297557@qq.com>
Date: Tue, 2 Jul 2024 17:20:32 +0800
Subject: [PATCH 4/9] =?UTF-8?q?pacs=20=E7=9B=B4=E8=BF=9E=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Controllers/InspectionController.cs | 13 ++
.../IRaCIS.Core.Application.xml | 58 +++++++
.../Common/DTO/ExploreRecommendViewModel.cs | 16 +-
.../TrialSiteUser/DTO/DicomAEViewModel.cs | 66 ++++++++
.../TrialSiteUser/DTO/TrialConfigDTO.cs | 10 ++
.../DTO/TrialSiteDicomAEViewModel.cs | 55 +++++++
.../Interface/IDicomAEService.cs | 24 +++
.../Interface/ITrialConfigService.cs | 2 +-
.../Interface/ITrialSiteDicomAEService.cs | 24 +++
.../TrialSiteUser/TrialConfigService.cs | 25 ++-
.../TrialSiteUser/TrialDicomAEService.cs | 149 ++++++++++++++++++
.../TrialSiteUser/TrialSiteDicomAEService.cs | 74 +++++++++
.../Service/TrialSiteUser/_MapConfig2.cs | 6 +-
IRaCIS.Core.Domain/Image/SCPImageUpload.cs | 61 +++++++
IRaCIS.Core.Domain/Image/SCPInstance.cs | 53 +++++++
IRaCIS.Core.Domain/Image/SCPPatient.cs | 37 +++++
IRaCIS.Core.Domain/Image/SCPSeries.cs | 57 +++++++
IRaCIS.Core.Domain/Image/SCPStudy.cs | 95 +++++++++++
IRaCIS.Core.Domain/Image/TrialDicomAE.cs | 52 ++++++
IRaCIS.Core.Domain/Trial/Trial.cs | 2 +
.../TrialSiteUser/TrialSiteDicomAE.cs | 59 +++++++
.../Context/IRaCISDBContext.cs | 12 ++
IRaCIS.Core.Test/DbHelper.ttinclude | 2 +-
23 files changed, 934 insertions(+), 18 deletions(-)
create mode 100644 IRaCIS.Core.Application/Service/TrialSiteUser/DTO/DicomAEViewModel.cs
create mode 100644 IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialSiteDicomAEViewModel.cs
create mode 100644 IRaCIS.Core.Application/Service/TrialSiteUser/Interface/IDicomAEService.cs
create mode 100644 IRaCIS.Core.Application/Service/TrialSiteUser/Interface/ITrialSiteDicomAEService.cs
create mode 100644 IRaCIS.Core.Application/Service/TrialSiteUser/TrialDicomAEService.cs
create mode 100644 IRaCIS.Core.Application/Service/TrialSiteUser/TrialSiteDicomAEService.cs
create mode 100644 IRaCIS.Core.Domain/Image/SCPImageUpload.cs
create mode 100644 IRaCIS.Core.Domain/Image/SCPInstance.cs
create mode 100644 IRaCIS.Core.Domain/Image/SCPPatient.cs
create mode 100644 IRaCIS.Core.Domain/Image/SCPSeries.cs
create mode 100644 IRaCIS.Core.Domain/Image/SCPStudy.cs
create mode 100644 IRaCIS.Core.Domain/Image/TrialDicomAE.cs
create mode 100644 IRaCIS.Core.Domain/TrialSiteUser/TrialSiteDicomAE.cs
diff --git a/IRaCIS.Core.API/Controllers/InspectionController.cs b/IRaCIS.Core.API/Controllers/InspectionController.cs
index 7de33aaae..e9deab588 100644
--- a/IRaCIS.Core.API/Controllers/InspectionController.cs
+++ b/IRaCIS.Core.API/Controllers/InspectionController.cs
@@ -402,6 +402,19 @@ namespace IRaCIS.Core.API.Controllers
return result;
}
+
+ [HttpPost, Route("Inspection/configTrialBasicInfo/ConfigTrialPACSInfoConfirm")]
+ [UnitOfWork]
+ [TypeFilter(typeof(TrialResourceFilter), Arguments = new object[] { "BeforeOngoingCantOpt" })]
+ public async Task ConfigTrialPACSInfoConfirm(DataInspectionDto opt)
+ {
+ opt.Data.IsTrialPACSConfirmed = true;
+ var singid = await _inspectionService.RecordSing(opt.SignInfo);
+ var result = await _trialConfigService.ConfigTrialPACSInfo(opt.Data);
+ await _inspectionService.CompletedSign(singid, result);
+ return result;
+ }
+
///
/// 签名确认
///
diff --git a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml
index dc0ac3d68..8232128a0 100644
--- a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml
+++ b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml
@@ -9813,6 +9813,24 @@