diff --git a/IRC.Core.SCP/Service/CStoreSCPService.cs b/IRC.Core.SCP/Service/CStoreSCPService.cs index 06300b430..dc964e6f7 100644 --- a/IRC.Core.SCP/Service/CStoreSCPService.cs +++ b/IRC.Core.SCP/Service/CStoreSCPService.cs @@ -232,7 +232,7 @@ namespace IRaCIS.Core.SCP.Service { #region 测试接收课题组信息 - var privateTag = new DicomTag(0x9999, 0x1001, "PRJGROUPS"); + var privateTag = new DicomTag(0x9999, 0x1001, "HIR"); var groupIdsJson = request.Dataset.GetSingleValueOrDefault(privateTag, string.Empty); var projectGroupIds = JsonConvert.DeserializeObject>(groupIdsJson); Log.Logger.Information("收到课题组信息: " + string.Join(", ", projectGroupIds)); diff --git a/IRaCIS.Core.Application/Service/Visit/PatientService.cs b/IRaCIS.Core.Application/Service/Visit/PatientService.cs index daae191a1..35cd7c4fe 100644 --- a/IRaCIS.Core.Application/Service/Visit/PatientService.cs +++ b/IRaCIS.Core.Application/Service/Visit/PatientService.cs @@ -3410,10 +3410,17 @@ namespace IRaCIS.Application.Services cmoveRequest.OnResponseReceived += responseDelegate; #region 测试私有tag 传输信息 - var privateTag = new DicomTag(0x9999, 0x1001, "PRJGROUPS"); + // 声明私有Creator + var privateCreator = new DicomTag(0x9999, 0x0010); + cmoveRequest.Dataset.Add(new DicomLongString(privateCreator, "HIR")); + + // 添加私有Tag,元素号 >= 0x1000 + var privateTag = new DicomTag(0x9999, 0x1001); var groupIdsJson = (new List { "KTGroup1", "KTGroup2" }).ToJson(); + cmoveRequest.Dataset.Add(new DicomLongString(privateTag, groupIdsJson)); + #endregion