- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
该应用程序尝试在患者层面进行 CFind、获取研究、进行研究、获取系列,最后获取图像。
代码在查询两个不同的 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
jdicom的日志,可以执行study级别的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,要用什么方法检索studies和series呢?我在这里有点迷路,但非常感谢您花时间提供提示。
这是来自其他工具的日志(由于帖子的最大长度而被截断),该工具列出了患者和研究以及一些显示这是可能的屏幕截图。还有一个来自 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
最佳答案
根据您对问题的出色描述,对我来说似乎很明显,您正在测试的第三个 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 信息模型简述:
[编辑]查看 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 - 根本不支持任何查询/检索服务。
所以我认为您需要更改您要查询的 AE 的配置。
关于c# - CFind 在研究级别失败 - 不支持 SOP 类或找不到抽象语法的可接受表示上下文,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55024674/
在此处回答的另一个问题中,我发现了以下 JavaScript代码: function _dom_trackActiveElement(evt) { if (evt && evt.target)
if (A == 0) OR (B == 0) 怎么说? 最佳答案 只是为了讽刺: if (A === 0 || B === 0) 关于语法,我们在Stack Overflow上找到一个类似的问题:
var ret = [] ,xresult = document.evaluate(exp, rootEl, null, X
我一直在寻找一些类似于下例的 JavaScript。有人可以解释一下吗,因为我以前从未见过这样编写的 JavaScript。 “SomethingHere”和冒号代表什么?我习惯于看到函数 myFun
这是我的程序: delimiter // drop procedure if exists migContactToActor; create procedure migContactToActor(
我遇到了一个问题。我一直在使用 gcc 编译/汇编我的 C 代码一段时间,并且习惯了阅读 Intel 汇编语法。我在生成程序集文件时使用了 -masm=intel 标志。 但是最近因为公司迁移,拿到了
自上而下和自下而上语法有什么区别?举个例子就太好了。 最佳答案 首先,语法本身不是自上而下或自下而上的,解析器是(尽管有些语法可以被其中一个解析,但不能被另一个解析)。 从实践的角度来看,主要区别在于
我知道这是草率的代码,但它是: display dialog ("Start Screensaver. Please type: matrix, coffee, waffles, star, wate
这个问题已经有答案了: Giving name to a loop (6 个回答) 已关闭 8 年前。 我见过这个字符在 C# 中使用,就像 Java 中的扩展一样,但最近我在代码中发现了这个 loo
我正在尝试编写一个函数来检查字符串是否为回文,但我认为在使用字符串指针时存在一些错误。这段代码有什么问题? #include #include #define MAX 1000 int IsPalin
所以在this question我询问了一些 Javascript 是如何被压缩的。问题已得到解答,但以下片段让我非常困惑,以至于我不得不问另一个问题。在这里: for (Y = 0; $ = 'zx
假设我有一个接受这些参数的函数。 int create(Ptr * p,void * (*insert)(void *, void *)) { //return something later } 结
这个问题已经有答案了: Bitwise '&' operator (6 个回答) 已关闭 5 年前。 我在代码中找到了这个,但我从未遇到过像 & 这样的事情,仅 && if ((code & 1) =
我在处理继承类及其中的构造函数和方法的语法时遇到了问题。 我想实现一个类日期和一个子类 date_ISO,它们将按特定顺序设置给定的日、月、年,并通过一种方法将其写入字符串。我觉得我的基类日期工作正常
我正在尝试通过存储过程填充表,如下所示: SET @resultsCount = (SELECT COUNT(*) FROM tableA); SET @i = 0; WHILE @i THEN
谁能解释一下下面代码中的“<<”? mysql test<
刚刚开始学习 MySQL,这是一个菜鸟问题,也是我在 StackOverflow 上的第一个问题。 假设我有 12 个订单状态,我想从其中的 5 个中选择总计。我会使用: SELECT SUM(tot
我的编程背景是在学校学过一点Java。由于某些原因,JavaScript 语法往往让我感到困惑。下面的 JavaScript 代码是一种我不知道如何构成的语法模式: foo.ready = funct
我正在阅读 javascript 源代码,并且我以前没有编写过 javascript。我对它的一些语法感到困惑。 $(function () { window.onload=function
我什至不知道如何命名我想要的东西。那么让我举个例子来解释一下。 虽然火狐使用textContent,但其他浏览器支持innerText属性。顺便说一句,如果我使用了错误的术语,请纠正我。无论如何,到目
我是一名优秀的程序员,十分优秀!