CFind在Study级别上失败 - 不支持SOP类或未找到适用于抽象语法的接受呈现上下文。

7
应用程序尝试在患者级别上进行CFind查询,获取研究,对于一个研究,获取序列,并最终获取图像。
该代码在查询两个不同的PACS实现时可以运行,但在研究级别上在第三个PACS上失败了。
代码的一部分是进行患者请求的。
var request = DicomCFindRequest.CreatePatientQuery(patientId: _patientid, patientName: _patientname);

var client = new DicomClient();
client.AddRequest(request);
await client.SendAsync(destip, port, useTLS, callingAE, calledAE);

针对学习水平的要求

request = DicomCFindRequest.CreateStudyQuery(patientId: _patientid);

通过检查日志并比较工具的日志,似乎应该有一个抽象语法列表,而不仅仅是一个?或者有什么问题吗?

    2019-02-24 02:32:49.1671 INFO Dicom.Log.NLogManager+NLogger.Log DICOM_STORAGE -> Association request:
    Calling AE Title:       TEST_01
    Called AE Title:        DICOM_STORAGE
    Remote host:            xxx.29.

51.150
Remote port:            7817
Implementation Class:   Implementation Class UID [1.3.6.1.4.1.30071.8]
Implementation Version: fo-dicom 4.0.0
Maximum PDU Length:     16384
Async Ops Invoked:      1
Async Ops Performed:    1
Presentation Contexts:  1
  Presentation Context:  1 [Proposed]
       Abstract Syntax:  Study Root Query/Retrieve Information Model - FIND
       Transfer Syntax:  Implicit VR Little Endian: Default Transfer Syntax for DICOM 
2019-02-24 02:32:49.1671 INFO Dicom.Log.NLogManager+NLogger.Log DICOM_STORAGE <- Association accept:
Calling AE Title:       TEST_01
Called AE Title:        DICOM_STORAGE
Remote host:            xxx.29.51.150
Remote port:            7817
Implementation Class:   Unknown [1.2.752.24.3.3.25.7]
Implementation Version: WISSTOSCP_20_1
Maximum PDU Length:     28672
Async Ops Invoked:      1
Async Ops Performed:    1
Presentation Contexts:  1
  Presentation Context:  1 [RejectAbstractSyntaxNotSupported]
       Abstract Syntax:  Study Root Query/Retrieve Information Model - FIND
       Transfer Syntax:  Implicit VR Little Endian: Default Transfer Syntax for DICOM 
2019-02-24 02:32:49.1671 INFO DicomHandler.DicomHandler+<>c__DisplayClass8_0.<QueryRetrieveSCU>b__0 DicomCFindRequest.QueryRetrieveSCU response rp.status=Failure [0122: Refused: SOP class not supported] 
2019-02-24 02:32:49.1671 INFO Dicom.Network.DicomCFindRequest.PostResponse DicomCFindRequest.QueryRetrieveSCU response return. 
2019-02-24 02:32:49.1671 ERROR Dicom.Log.NLogManager+NLogger.Log No accepted presentation context found for abstract syntax: Study Root Query/Retrieve Information Model - FIND [1.2.840.10008.5.1.4.1.2.2.1] 
2019-02-24 02:32:49.2288 INFO Dicom.Log.NLogManager+NLogger.Log DICOM_STORAGE -> Association release request 
2019-02-24 02:32:49.2288 INFO Dicom.Log.NLogManager+NLogger.Log DICOM_STORAGE <- Association release response 
记录可以在研究级别上执行cfind请求的日志
jdicom: *** request ***
application context UID: null
called title: DICOM_QR_SCP
calling title: jdicom
max pdu size: 32768
max operation invoked: 1
max operation performed: 1
implementation class UID: 1.2.826.0.1.3680043.2.60.0.1
implementation version Name: softlink_jdt103
abstract syntax                 scu scp 
1.2.840.10008.1.1               -1  -1  
1.2.840.10008.5.1.4.1.2.1.1     -1  -1  
1.2.840.10008.5.1.4.1.2.2.1     -1  -1  
1.2.840.10008.5.1.4.1.2.3.1     -1  -1  
1.2.840.10008.5.1.4.1.2.1.2     -1  -1  
1.2.840.10008.5.1.4.1.2.2.2     -1  -1  
1.2.840.10008.5.1.4.1.2.3.2     -1  -1  
nr   abstract syntax                 pcid  description                                            
0    1.2.840.10008.1.1               1     Verification SOP Class                                 
  ts-0     1.2.840.10008.1.2               Implicit VR Little Endian Transfer Syntax              
1    1.2.840.10008.5.1.4.1.2.1.1     3     Patient Root Query/Retrieve Information Model - FIND SOP Cl...
  ts-0     1.2.840.10008.1.2               Implicit VR Little Endian Transfer Syntax              
2    1.2.840.10008.5.1.4.1.2.2.1     5     Study Root Query/Retrieve Information Model - FIND SOP Cl...
  ts-0     1.2.840.10008.1.2               Implicit VR Little Endian Transfer Syntax              
3    1.2.840.10008.5.1.4.1.2.3.1     7     Patient/Study Only Query/Retrieve Information Model - FIND SOP Cl...
  ts-0     1.2.840.10008.1.2               Implicit VR Little Endian Transfer Syntax              
4    1.2.840.10008.5.1.4.1.2.1.2     9     Patient Root Query/Retrieve Information Model - MOVE SOP Cl...
  ts-0     1.2.840.10008.1.2               Implicit VR Little Endian Transfer Syntax              
5    1.2.840.10008.5.1.4.1.2.2.2     11    Study Root Query/Retrieve Information Model - MOVE SOP Cl...
  ts-0     1.2.840.10008.1.2               Implicit VR Little Endian Transfer Syntax              
6    1.2.840.10008.5.1.4.1.2.3.2     13    Patient/Study Only Query/Retrieve Information Model - MOVE SOP Cl...
  ts-0     1.2.840.10008.1.2               Implicit VR Little Endian Transfer Syntax              
***************

Waiting for AssociationRsp

ASSOCIATE_ACKNOWLEDGE detected

jdicom: #17:DICOM_QR_SCP >> A-ASSOCIATE-AC PDU

jdicom: *** acknowledge ***
max pdu size: 28672
max operation invoked: 1
max operation performed: 1
implementation class UID: 1.2.752.24.3.3.25.7
implementation version name: WIQRSCP_20_1
abstract syntax                 scu scp 
nr   pcid  result                          transfer syntax     
0    1     accepted                        1.2.840.10008.1.2   
1    3     accepted                        1.2.840.10008.1.2   
2    5     accepted                        1.2.840.10008.1.2   
3    7     accepted                        1.2.840.10008.1.2   
4    9     accepted                        1.2.840.10008.1.2   
5    11    accepted                        1.2.840.10008.1.2   
6    13    accepted                        1.2.840.10008.1.2   
*******************

编辑,
这是一份符合性声明。 https://sectramedical.blob.core.windows.net/uploads/2018/04/pacs-dicom-conformance-statement-20.1.pdf

但是如果不支持CFind,应该使用什么方法来检索研究和系列呢?在这方面我有点迷失,但我非常感谢您花时间给出提示。

这里是来自另一个工具的日志(由于发布的最大长度被截断),它设法列出患者和研究,并显示了一些屏幕截图,证明这是可能的。还有来自Radiant的屏幕截图,它也可以连接,显示患者并显示图像。

PatientRootLog

                            #  14      1  PatientID
(0020,000d) UI [1.3.6.1.4.1.30071.8.345050320220.6024574499476158]#  50      1  StudyInstanceUID
(0020,000e) UI []                                           #  0       0  SeriesInstanceUID
(0020,0011) IS []                                           #  0       0  SeriesNumber
(0020,1209) IS []                                           #  0       0  NumberOfSeriesRelatedImages
jdicom: DICOM_QR_SCP PDU received

jdicom: #16:DICOM_QR_SCP >> C-FIND-RSP Patient Root Query/Retrieve Information Model - FIND SOP Class, status #ff00H[StatusEntry.PENDING]

(0000,0002) UI [1.2.840.10008.5.1.4.1.2.1.1]                #  28      1  AffectedSOPClassUID
(0000,0100) US [32800]                                      #  2       1  CommandField
(0000,0120) US [1]                                          #  2       1  MessageIDBeingRespondedTo
(0000,0800) US [258]                                        #  2       1  DataSetType
(0000,0900) US [65280]                                      #  2       1  Status
jdicom: #16:DICOM_QR_SCP >> Dataset

(0008,0005) CS [ISO_IR 100]                                 #  10      1  SpecificCharacterSet
(0008,0050) SH [1912121-0034201]                           #  16      1  AccessionNumber
(0008,0052) CS [SERIES]                                     #  6       1  QueryRetrieveLevel
(0008,0054) AE [DICOM_QR_SCP]                               #  12      1  RetrieveAETitle
(0008,0060) CS [OP]                                         #  2       1  Modality
(0010,0020) LO [19121212-1212]                              #  14      1  PatientID
(0020,000d) UI [1.3.6.1.4.1.30071.8.345050320220.6024574499476158]#  50      1  StudyInstanceUID
(0020,000e) UI [1.3.6.1.4.1.30071.8.345050320220.6024574499476159]#  50      1  SeriesInstanceUID
(0020,0010) SH [1912121-0034201]                           #  16      1  StudyID
(0020,0011) IS [1]                                          #  2       1  SeriesNumber
(0020,1209) IS [1]                                          #  2       1  NumberOfSeriesRelatedImages
jdicom: DICOM_QR_SCP Waiting for PDU

jdicom: DICOM_QR_SCP PDU received

jdicom: #16:DICOM_QR_SCP >> C-FIND-RSP Patient Root Query/Retrieve Information Model - FIND SOP Class, status #0000H[Success]

(0000,0002) UI [1.2.840.10008.5.1.4.1.2.1.1]                #  28      1  AffectedSOPClassUID
(0000,0100) US [32800]                                      #  2       1  CommandField
(0000,0120) US [1]                                          #  2       1  MessageIDBeingRespondedTo
(0000,0800) US [257]                                        #  2       1  DataSetType
(0000,0900) US [0]                                          #  2       1  Status
jdicom: DICOM_QR_SCP Waiting for PDU

jdicom: Enter _dimseSCUs.waitUntilEmpty(

jdicom: Enter _as.sendReleaseRequest()

jdicom: #16:DICOM_QR_SCP << A-RELEASE-RQ PDU

jdicom: Leave DimseExchange.releaseAssoc()

jdicom: DICOM_QR_SCP PDU received

jdicom: #16:DICOM_QR_SCP >> A-RELEASE-RP PDU

jdicom: #16:DICOM_QR_SCP closing socket

jdicom: DICOM_QR_SCP Leave DimseExchange.run()

jdicom: #17:DICOM_QR_SCP << A-ASSOCIATE-RQ PDU

jdicom: *** request ***
application context UID: null
called title: DICOM_QR_SCP
calling title: jdicom
max pdu size: 32768
max operation invoked: 1
max operation performed: 1
implementation class UID: 1.2.826.0.1.3680043.2.60.0.1
implementation version Name: softlink_jdt103
abstract syntax                 scu scp 
1.2.840.10008.1.1               -1  -1  
1.2.840.10008.5.1.4.1.2.1.1     -1  -1  
1.2.840.10008.5.1.4.1.2.2.1     -1  -1  
1.2.840.10008.5.1.4.1.2.3.1     -1  -1  
1.2.840.10008.5.1.4.1.2.1.2     -1  -1  
1.2.840.10008.5.1.4.1.2.2.2     -1  -1  
1.2.840.10008.5.1.4.1.2.3.2     -1  -1  
nr   abstract syntax                 pcid  description                                            
0    1.2.840.10008.1.1               1     Verification SOP Class                                 
  ts-0     1.2.840.10008.1.2               Implicit VR Little Endian Transfer Syntax              
1    1.2.840.10008.5.1.4.1.2.1.1     3     Patient Root Query/Retrieve Information Model - FIND SOP Cl...
  ts-0     1.2.840.10008.1.2               Implicit VR Little Endian Transfer Syntax              
2    1.2.840.10008.5.1.4.1.2.2.1     5     Study Root Query/Retrieve Information Model - FIND SOP Cl...
  ts-0     1.2.840.10008.1.2               Implicit VR Little Endian Transfer Syntax              
3    1.2.840.10008.5.1.4.1.2.3.1     7     Patient/Study Only Query/Retrieve Information Model - FIND SOP Cl...
  ts-0     1.2.840.10008.1.2               Implicit VR Little Endian Transfer Syntax              
4    1.2.840.10008.5.1.4.1.2.1.2     9     Patient Root Query/Retrieve Information Model - MOVE SOP Cl...
  ts-0     1.2.840.10008.1.2               Implicit VR Little Endian Transfer Syntax              
5    1.2.840.10008.5.1.4.1.2.2.2     11    Study Root Query/Retrieve Information Model - MOVE SOP Cl...
  ts-0     1.2.840.10008.1.2               Implicit VR Little Endian Transfer Syntax              
6    1.2.840.10008.5.1.4.1.2.3.2     13    Patient/Study Only Query/Retrieve Information Model - MOVE SOP Cl...
  ts-0     1.2.840.10008.1.2               Implicit VR Little Endian Transfer Syntax              
***************

Waiting for AssociationRsp

ASSOCIATE_ACKNOWLEDGE detected

jdicom: #17:DICOM_QR_SCP >> A-ASSOCIATE-AC PDU

jdicom: *** acknowledge ***
max pdu size: 28672
max operation invoked: 1
max operation performed: 1
implementation class UID: 1.2.752.24.3.3.25.7
implementation version name: WIQRSCP_20_1
abstract syntax                 scu scp 
nr   pcid  result                          transfer syntax     
0    1     accepted                        1.2.840.10008.1.2   
1    3     accepted                        1.2.840.10008.1.2   
2    5     accepted                        1.2.840.10008.1.2   
3    7     accepted                        1.2.840.10008.1.2   
4    9     accepted                        1.2.840.10008.1.2   
5    11    accepted                        1.2.840.10008.1.2   
6    13    accepted                        1.2.840.10008.1.2   
*******************

jdicom: DICOM_QR_SCP Enter DimseExchange.run()

jdicom: #17:DICOM_QR_SCP << C-FIND-RQ Patient Root Query/Retrieve Information Model - FIND SOP Class

jdicom: DICOM_QR_SCP Waiting for PDU

(0000,0002) UI [1.2.840.10008.5.1.4.1.2.1.1]                #  28      1  AffectedSOPClassUID
(0000,0100) US [32]                                         #  2       1  CommandField
(0000,0110) US [1]                                          #  2       1  MessageID
(0000,0700) US [0]                                          #  2       1  Priority
(0000,0800) US [65278]                                      #  2       1  DataSetType
jdicom: #17:DICOM_QR_SCP << Dataset

(0008,0018) UI []                                           #  0       0  SOPInstanceUID
(0008,0052) CS [IMAGE]                                      #  6       1  QueryRetrieveLevel
(0010,0020) LO [19121212-1212]                              #  14      1  PatientID
(0020,000d) UI [1.3.6.1.4.1.30071.8.345050320220.6024574499476158]#  50      1  StudyInstanceUID
(0020,000e) UI [1.3.6.1.4.1.30071.8.345050320220.6024574499476159]#  50      1  SeriesInstanceUID
(0020,0013) IS []                                           #  0       0  InstanceNumber
jdicom: DICOM_QR_SCP PDU received

jdicom: #17:DICOM_QR_SCP >> C-FIND-RSP Patient Root Query/Retrieve Information Model - FIND SOP Class, status #ff00H[StatusEntry.PENDING]

(0000,0002) UI [1.2.840.10008.5.1.4.1.2.1.1]                #  28      1  AffectedSOPClassUID
(0000,0100) US [32800]                                      #  2       1  CommandField
(0000,0120) US [1]                                          #  2       1  MessageIDBeingRespondedTo
(0000,0800) US [258]                                        #  2       1  DataSetType
(0000,0900) US [65280]                                      #  2       1  Status
jdicom: #17:DICOM_QR_SCP >> Dataset

(0008,0005) CS [ISO_IR 100]                                 #  10      1  SpecificCharacterSet
(0008,0018) UI [1.3.6.1.4.1.30071.8.345050320220.6024575915205577]#  50      1  SOPInstanceUID
(0008,0050) SH [1912121-0034201]                           #  16      1  AccessionNumber
(0008,0052) CS [IMAGE]                                      #  6       1  QueryRetrieveLevel
(0008,0054) AE [DICOM_QR_SCP]                               #  12      1  RetrieveAETitle
(0010,0020) LO [19121212-1212]                              #  14      1  PatientID
(0020,000d) UI [1.3.6.1.4.1.30071.8.345050320220.6024574499476158]#  50      1  StudyInstanceUID
(0020,000e) UI [1.3.6.1.4.1.30071.8.345050320220.6024574499476159]#  50      1  SeriesInstanceUID
(0020,0010) SH [1912121-0034201]                           #  16      1  StudyID
(0020,0013) IS [1]                                          #  2       1  InstanceNumber
jdicom: DICOM_QR_SCP Waiting for PDU

jdicom: DICOM_QR_SCP PDU received

jdicom: #17:DICOM_QR_SCP >> C-FIND-RSP Patient Root Query/Retrieve Information Model - FIND SOP Class, status #0000H[Success]

(0000,0002) UI [1.2.840.10008.5.1.4.1.2.1.1]                #  28      1  AffectedSOPClassUID
(0000,0100) US [32800]                                      #  2       1  CommandField
(0000,0120) US [1]                                          #  2       1  MessageIDBeingRespondedTo
(0000,0800) US [257]                                        #  2       1  DataSetType
(0000,0900) US [0]                                          #  2       1  Status
jdicom: DICOM_QR_SCP Waiting for PDU

jdicom: Enter _dimseSCUs.waitUntilEmpty(

jdicom: Enter _as.sendReleaseRequest()

jdicom: #17:DICOM_QR_SCP << A-RELEASE-RQ PDU

jdicom: Leave DimseExchange.releaseAssoc()

jdicom: DICOM_QR_SCP PDU received

jdicom: #17:DICOM_QR_SCP >> A-RELEASE-RP PDU

jdicom: #17:DICOM_QR_SCP closing socket

jdicom: DICOM_QR_SCP Leave DimseExchange.run()



Studyroot LOG:

   1  Priority
(0000,0800) US [65278]                                      #  2       1  DataSetType
jdicom: #23:DICOM_QR_SCP << Dataset

(0008,0052) CS [SERIES]                                     #  6       1  QueryRetrieveLevel
(0008,0060) CS []                                           #  0       0  Modality
(0020,000d) UI [1.3.6.1.4.1.30071.8.345050320220.6024574499476158]#  50      1  StudyInstanceUID
(0020,000e) UI []                                           #  0       0  SeriesInstanceUID
(0020,0011) IS []                                           #  0       0  SeriesNumber
(0020,1209) IS []                                           #  0       0  NumberOfSeriesRelatedImages
jdicom: DICOM_QR_SCP PDU received

jdicom: #23:DICOM_QR_SCP >> C-FIND-RSP Study Root Query/Retrieve Information Model - FIND SOP Class, status #ff00H[StatusEntry.PENDING]

(0000,0002) UI [1.2.840.10008.5.1.4.1.2.2.1]                #  28      1  AffectedSOPClassUID
(0000,0100) US [32800]                                      #  2       1  CommandField
(0000,0120) US [1]                                          #  2       1  MessageIDBeingRespondedTo
(0000,0800) US [258]                                        #  2       1  DataSetType
(0000,0900) US [65280]                                      #  2       1  Status
jdicom: #23:DICOM_QR_SCP >> Dataset

(0008,0005) CS [ISO_IR 100]                                 #  10      1  SpecificCharacterSet
(0008,0050) SH [1912121-0034201]                           #  16      1  AccessionNumber
(0008,0052) CS [SERIES]                                     #  6       1  QueryRetrieveLevel
(0008,0054) AE [DICOM_QR_SCP]                               #  12      1  RetrieveAETitle
(0008,0060) CS [OP]                                         #  2       1  Modality
(0020,000d) UI [1.3.6.1.4.1.30071.8.345050320220.6024574499476158]#  50      1  StudyInstanceUID
(0020,000e) UI [1.3.6.1.4.1.30071.8.345050320220.6024574499476159]#  50      1  SeriesInstanceUID
(0020,0010) SH [1912121-0034201]                           #  16      1  StudyID
(0020,0011) IS [1]                                          #  2       1  SeriesNumber
(0020,1209) IS [1]                                          #  2       1  NumberOfSeriesRelatedImages
jdicom: DICOM_QR_SCP Waiting for PDU

jdicom: DICOM_QR_SCP PDU received

jdicom: #23:DICOM_QR_SCP >> C-FIND-RSP Study Root Query/Retrieve Information Model - FIND SOP Class, status #0000H[Success]

(0000,0002) UI [1.2.840.10008.5.1.4.1.2.2.1]                #  28      1  AffectedSOPClassUID
(0000,0100) US [32800]                                      #  2       1  CommandField
(0000,0120) US [1]                                          #  2       1  MessageIDBeingRespondedTo
(0000,0800) US [257]                                        #  2       1  DataSetType
(0000,0900) US [0]                                          #  2       1  Status
jdicom: DICOM_QR_SCP Waiting for PDU

jdicom: Enter _dimseSCUs.waitUntilEmpty(

jdicom: Enter _as.sendReleaseRequest()

jdicom: #23:DICOM_QR_SCP << A-RELEASE-RQ PDU

jdicom: Leave DimseExchange.releaseAssoc()

jdicom: DICOM_QR_SCP PDU received

jdicom: #23:DICOM_QR_SCP >> A-RELEASE-RP PDU

jdicom: #23:DICOM_QR_SCP closing socket

jdicom: DICOM_QR_SCP Leave DimseExchange.run()

jdicom: #24:DICOM_QR_SCP << A-ASSOCIATE-RQ PDU

jdicom: *** request ***
application context UID: null
called title: DICOM_QR_SCP
calling title: jdicom
max pdu size: 32768
max operation invoked: 1
max operation performed: 1
implementation class UID: 1.2.826.0.1.3680043.2.60.0.1
implementation version Name: softlink_jdt103
abstract syntax                 scu scp 
1.2.840.10008.1.1               -1  -1  
1.2.840.10008.5.1.4.1.2.1.1     -1  -1  
1.2.840.10008.5.1.4.1.2.2.1     -1  -1  
1.2.840.10008.5.1.4.1.2.3.1     -1  -1  
1.2.840.10008.5.1.4.1.2.1.2     -1  -1  
1.2.840.10008.5.1.4.1.2.2.2     -1  -1  
1.2.840.10008.5.1.4.1.2.3.2     -1  -1  
nr   abstract syntax                 pcid  description                                            
0    1.2.840.10008.1.1               1     Verification SOP Class                                 
  ts-0     1.2.840.10008.1.2               Implicit VR Little Endian Transfer Syntax              
1    1.2.840.10008.5.1.4.1.2.1.1     3     Patient Root Query/Retrieve Information Model - FIND SOP Cl...
  ts-0     1.2.840.10008.1.2               Implicit VR Little Endian Transfer Syntax              
2    1.2.840.10008.5.1.4.1.2.2.1     5     Study Root Query/Retrieve Information Model - FIND SOP Cl...
  ts-0     1.2.840.10008.1.2               Implicit VR Little Endian Transfer Syntax              
3    1.2.840.10008.5.1.4.1.2.3.1     7     Patient/Study Only Query/Retrieve Information Model - FIND SOP Cl...
  ts-0     1.2.840.10008.1.2               Implicit VR Little Endian Transfer Syntax              
4    1.2.840.10008.5.1.4.1.2.1.2     9     Patient Root Query/Retrieve Information Model - MOVE SOP Cl...
  ts-0     1.2.840.10008.1.2               Implicit VR Little Endian Transfer Syntax              
5    1.2.840.10008.5.1.4.1.2.2.2     11    Study Root Query/Retrieve Information Model - MOVE SOP Cl...
  ts-0     1.2.840.10008.1.2               Implicit VR Little Endian Transfer Syntax              
6    1.2.840.10008.5.1.4.1.2.3.2     13    Patient/Study Only Query/Retrieve Information Model - MOVE SOP Cl...
  ts-0     1.2.840.10008.1.2               Implicit VR Little Endian Transfer Syntax              
***************

Waiting for AssociationRsp

ASSOCIATE_ACKNOWLEDGE detected

jdicom: #24:DICOM_QR_SCP >> A-ASSOCIATE-AC PDU

jdicom: *** acknowledge ***
max pdu size: 28672
max operation invoked: 1
max operation performed: 1
implementation class UID: 1.2.752.24.3.3.25.7
implementation version name: WIQRSCP_20_1
abstract syntax                 scu scp 
nr   pcid  result                          transfer syntax     
0    1     accepted                        1.2.840.10008.1.2   
1    3     accepted                        1.2.840.10008.1.2   
2    5     accepted                        1.2.840.10008.1.2   
3    7     accepted                        1.2.840.10008.1.2   
4    9     accepted                        1.2.840.10008.1.2   
5    11    accepted                        1.2.840.10008.1.2   
6    13    accepted                        1.2.840.10008.1.2   
*******************

jdicom: DICOM_QR_SCP Enter DimseExchange.run()

jdicom: #24:DICOM_QR_SCP << C-FIND-RQ Study Root Query/Retrieve Information Model - FIND SOP Class

jdicom: DICOM_QR_SCP Waiting for PDU

(0000,0002) UI [1.2.840.10008.5.1.4.1.2.2.1]                #  28      1  AffectedSOPClassUID
(0000,0100) US [32]                                         #  2       1  CommandField
(0000,0110) US [1]                                          #  2       1  MessageID
(0000,0700) US [0]                                          #  2       1  Priority
(0000,0800) US [65278]                                      #  2       1  DataSetType
jdicom: #24:DICOM_QR_SCP << Dataset

(0008,0018) UI []                                           #  0       0  SOPInstanceUID
(0008,0052) CS [IMAGE]                                      #  6       1  QueryRetrieveLevel
(0020,000d) UI [1.3.6.1.4.1.30071.8.345050320220.6024574499476158]#  50      1  StudyInstanceUID
(0020,000e) UI [1.3.6.1.4.1.30071.8.345050320220.6024574499476159]#  50      1  SeriesInstanceUID
(0020,0013) IS []                                           #  0       0  InstanceNumber
jdicom: DICOM_QR_SCP PDU received

jdicom: #24:DICOM_QR_SCP >> C-FIND-RSP Study Root Query/Retrieve Information Model - FIND SOP Class, status #ff00H[StatusEntry.PENDING]

(0000,0002) UI [1.2.840.10008.5.1.4.1.2.2.1]                #  28      1  AffectedSOPClassUID
(0000,0100) US [32800]                                      #  2       1  CommandField
(0000,0120) US [1]                                          #  2       1  MessageIDBeingRespondedTo
(0000,0800) US [258]                                        #  2       1  DataSetType
(0000,0900) US [65280]                                      #  2       1  Status
jdicom: #24:DICOM_QR_SCP >> Dataset

(0008,0005) CS [ISO_IR 100]                                 #  10      1  SpecificCharacterSet
(0008,0018) UI [1.3.6.1.4.1.30071.8.345050320220.6024575915205577]#  50      1  SOPInstanceUID
(0008,0050) SH [1912121-0034201]                           #  16      1  AccessionNumber
(0008,0052) CS [IMAGE]                                      #  6       1  QueryRetrieveLevel
(0008,0054) AE [DICOM_QR_SCP]                               #  12      1  RetrieveAETitle
(0020,000d) UI [1.3.6.1.4.1.30071.8.345050320220.6024574499476158]#  50      1  StudyInstanceUID
(0020,000e) UI [1.3.6.1.4.1.30071.8.345050320220.6024574499476159]#  50      1  SeriesInstanceUID
(0020,0010) SH [1912121-0034201]                           #  16      1  StudyID
(0020,0013) IS [1]                                          #  2       1  InstanceNumber
jdicom: DICOM_QR_SCP Waiting for PDU

jdicom: DICOM_QR_SCP PDU received

jdicom: #24:DICOM_QR_SCP >> C-FIND-RSP Study Root Query/Retrieve Information Model - FIND SOP Class, status #0000H[Success]

(0000,0002) UI [1.2.840.10008.5.1.4.1.2.2.1]                #  28      1  AffectedSOPClassUID
(0000,0100) US [32800]                                      #  2       1  CommandField
(0000,0120) US [1]                                          #  2       1  MessageIDBeingRespondedTo
(0000,0800) US [257]                                        #  2       1  DataSetType
(0000,0900) US [0]                                          #  2       1  Status
jdicom: DICOM_QR_SCP Waiting for PDU

jdicom: Enter _dimseSCUs.waitUntilEmpty(

jdicom: Enter _as.sendReleaseRequest()

jdicom: #24:DICOM_QR_SCP << A-RELEASE-RQ PDU

jdicom: Leave DimseExchange.releaseAssoc()

jdicom: DICOM_QR_SCP PDU received

jdicom: #24:DICOM_QR_SCP >> A-RELEASE-RP PDU

jdicom: #24:DICOM_QR_SCP closing socket

jdicom: DICOM_QR_SCP Leave DimseExchange.run()


PatientStudyOnly

OM_QR_SCP << C-FIND-RQ Patient/Study Only Query/Retrieve Information Model - FIND SOP Class

jdicom: DICOM_QR_SCP Waiting for PDU

(0000,0002) UI [1.2.840.10008.5.1.4.1.2.3.1]                #  28      1  AffectedSOPClassUID
(0000,0100) US [32]                                         #  2       1  CommandField
(0000,0110) US [1]                                          #  2       1  MessageID

Log truncated hitting the post max length.
病人 研究 系列 图片 放射线
1个回答

8
从您优秀的问题描述中,我可以很明显地看出,您正在测试的第三个PACS显然不支持Study Root Query Retrieve。
您的关联请求格式正确,每个呈现上下文只能提出一个抽象语法,无法提出其他提议。然而,PACS随后回答:
Presentation Contexts:  1
  Presentation Context:  1 [RejectAbstractSyntaxNotSupported]
       Abstract Syntax:  Study Root Query/Retrieve Information Model - FIND
       Transfer Syntax:  Implicit VR Little Endian: Default Transfer Syntax for DICOM 

这告诉你这项服务根本不受支持。

失败通信的日志似乎被缩短了。从dcm4chee日志中,你可以得知另一个Q/R信息模型也被提出。这是患者根模型:

1    1.2.840.10008.5.1.4.1.2.1.1     3     Patient Root Query/Retrieve Information Model - FIND SOP Cl...
  ts-0     1.2.840.10008.1.2               Implicit VR Little Endian Transfer Syntax              

我很有兴趣知道这是否得到了支持。如果没有,你所说的系统很难称为“PACS”。我建议查看该系统的DICOM符合性声明。它应该能够传达你是否正在与正确的应用实体(标题)交互以及哪些特定的信息模型支持查询/检索服务类。

如果您发布了完整的日志文件,则演示上下文可能是由您提出查询的方式确定的:

var request = DicomCFindRequest.CreatePatientQuery(patientId: _patientid, patientName: _patientname);

在这种情况下,您可能希望尝试使用CreateStudyQuery()函数,该函数还允许指定患者参数。
DICOM信息模型简介:
- 患者根:患者ID唯一标识患者。 - 研究根:将患者信息视为研究级别的辅助信息。
【编辑】经过查看Sectra PACS的DICOM一致性声明后发现:也许您连接到了错误的应用实体。似乎Sectra PACS有不同的应用实体(即相同的IP,可能是相同/不同的端口但具有不同的AET)来处理存储和查询/检索服务。您正在寻址的AET看起来很可疑。
Calling AE Title:       TEST_01
Called AE Title:        DICOM_STORAGE
Remote host:            xxx.29.51.150
Remote port:            7817
Implementation Class:   Unknown [1.2.752.24.3.3.25.7]
Implementation Version: WISSTOSCP_20_1

请注意所调用的AE标题和实现版本。它们似乎属于存储SCP,根据DCS的说明,该SCP不支持任何查询/检索服务。 因此,我认为您需要更改要查询的AE的配置。

1
PACS来自一家主要供应商,这是符合性声明。我将编辑问题并提供更多信息。 https://sectramedical.blob.core.windows.net/uploads/2018/04/pacs-dicom-conformance-statement-20.1.pdf - Hans
今天我没有权限,所以无法测试这个。但是我注意到从Q/R病人查询返回的一个字段名为“检索AE标题”,其值为DICOM_QR_SCP。因此,应用程序在研究层面查询时可能会使用此AETitle。 - Hans
2
@Hans RetrieveAETitle指定了SCP的应用实体标题(AET),您应该将后续的“检索”(即C-GET或C-MOVE)指向该AET。所有Q/R级别的“查询”(C-FIND)都应由同一AET处理。 - J. Riesmeier
2
在DCS中是真的,但只有一个应用实体可用于查询和检索。因此,AET DICOM_QR_SCP很可能适合解决查询问题。 - Markus Sabin
@kritzel_sw 但是汉斯在他的评论中写道,“Q/R患者查询”有效,否则他不会收到带有检索AE标题的C-FIND响应。因此,对于研究级别的查询,使用与工作的患者级别查询相同的AE标题应该可以解决问题。或者我理解错了什么? - J. Riesmeier
显示剩余2条评论

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接