diff --git a/IRC.Core.SCP/Service/CStoreSCPService.cs b/IRC.Core.SCP/Service/CStoreSCPService.cs index 15fb28701..a4f599084 100644 --- a/IRC.Core.SCP/Service/CStoreSCPService.cs +++ b/IRC.Core.SCP/Service/CStoreSCPService.cs @@ -256,23 +256,6 @@ namespace IRaCIS.Core.SCP.Service public async Task OnCStoreRequestAsync(DicomCStoreRequest request) { - #region 测试接收课题组信息 这里无法获取 - - //var privateTag = new DicomTag(0x9999, 0x1001); - //var groupIdsJsonStr = request.Dataset.GetSingleValueOrDefault(privateTag, string.Empty); - - //if (!string.IsNullOrEmpty(groupIdsJsonStr)) - //{ - // var projectGroupIds = JsonConvert.DeserializeObject>(groupIdsJsonStr); - - // Log.Logger.Information("收到课题组信息: " + string.Join(", ", projectGroupIds)); - - //} - #endregion - - - - string studyInstanceUid = request.Dataset.GetSingleValueOrDefault(DicomTag.StudyInstanceUID, string.Empty); string seriesInstanceUid = request.Dataset.GetSingleValueOrDefault(DicomTag.SeriesInstanceUID, string.Empty); diff --git a/IRC.Core.SCP/Service/DicomArchiveService.cs b/IRC.Core.SCP/Service/DicomArchiveService.cs index c17f2eac4..b1ec53800 100644 --- a/IRC.Core.SCP/Service/DicomArchiveService.cs +++ b/IRC.Core.SCP/Service/DicomArchiveService.cs @@ -219,6 +219,7 @@ namespace IRaCIS.Core.SCP.Service findStudy.DicomStudyDate = dataset.GetSingleValueOrDefault(DicomTag.StudyDate, string.Empty); findStudy.DicomStudyTime = dataset.GetSingleValueOrDefault(DicomTag.StudyTime, string.Empty); findStudy.CalledAE = calledAE; + findStudy.CallingAE = callingAE; findStudy.PatientName = dataset.GetSingleValueOrDefault(DicomTag.PatientName, string.Empty); findStudy.PatientSex = dataset.GetSingleValueOrDefault(DicomTag.PatientSex, string.Empty); findStudy.PatientAge = dataset.GetSingleValueOrDefault(DicomTag.PatientAge, string.Empty);