DCM4CHEE 安装参考:
https://blog.csdn.net/zj850324/article/details/80016355?spm=1001.2014.3001.5502
0,启动服务
D:\dcm4chee\jboss-eap-7.1\bin\start.bat
8080端口占用。换8090,修改D:\dcm4chee\jboss-eap-7.1\standalone\configuration\dcm4chee-arc.xml
<socket-binding name="http" port="${jboss.http.port:8090}"/>
浏览器访问:http://192.168.1.188:8090/dcm4chee-arc/ui2/
1,展开左侧菜单,选择configuration,AE List,点击 +
Name:RELO 节点名称一般和AET一致
Hostname:192.168.1.215 节点IP地址或域名
Port:8091 端口(DCM4CHEE支持CFind的端口,也是节点 Storescp收图的端口)
AE Title:RELO
2,测试(我用的DCMTK)
先试下cfind,创建个.bat
findscu_x86 -S -k 0008,0052=STUDY -k 0008,0020= -k 0008,0030= -k 0008,0050=03863929 -k 0008,0061 -k 0008,0090 -k 0008,1030 -k 0008,1048 -k 0008,1060 -k 0008,1080 -k 0010,0000 -k 0010,0010 -k 0010,0020 -k 0010,0030 -k 0010,0032 -k 0010,0040 -k 0010,1000 -k 0010,1001 -k 0010,1010 -k 0010,1020 -k 0010,1030 -k 0010,2160 -k 0010,2180 -k 0010,21b0 -k 0010,4000 -k 0020,0000 -k 0020,000d -k 0020,0010 -k 0020,1206 -k 0020,1208 -aec DCM4CHEE 192.168.1.188 11112
pause
运行得到:
D:\medical\code\vc\DCMTK\zjTest_movescu>findscu_x86 -S -k 0008,0052=STUDY -k 0008,0020= -k 0008,0030= -k 0008,0050=03863929 -k 0008,0061 -k 0008,0090 -k 0008,1030 -k 0008,1048 -k 0008,1060 -k 0008,1080 -k 0010,0000 -k 0010,0010 -k 0010,0020 -k 0010,0030 -k 0010,0032 -k 0010,0040 -k 0010,1000 -k 0010,1001 -k 0010,1010 -k 0010,1020 -k 0010,1030 -k 0010,2160 -k 0010,2180 -k 0010,21b0 -k 0010,4000 -k 0020,0000 -k 0020,000d -k 0020,0010 -k 0020,1206 -k 0020,1208 -aec DCM4CHEE 192.168.1.188 11112
W: ---------------------------
W: Find Response: 1 (Pending)
W:
W: # Dicom-Data-Set
W: # Used TransferSyntax: Little Endian Implicit
W: (0008,0005) CS [ISO_IR 100] # 10, 1 SpecificCharacterSet
W: (0008,0020) DA [20161027] # 8, 1 StudyDate
W: (0008,0030) TM [092651.015000 ] # 14, 1 StudyTime
W: (0008,0050) SH [03863929] # 8, 1 AccessionNumber
W: (0008,0052) CS [STUDY ] # 6, 1 QueryRetrieveLevel
W: (0008,0054) AE [DCM4CHEE] # 8, 1 RetrieveAETitle
W: (0008,0056) CS [ONLINE] # 6, 1 InstanceAvailability
W: (0008,0061) CS [CT\PT ] # 6, 2 ModalitiesInStudy
W: (0008,0090) PN (no value available) # 0, 0 ReferringPhysicianName
W: (0008,1030) LO [PET^0WholebodyCBM (Adult) ] # 26, 1 StudyDescription
W: (0008,1048) PN [2016102701] # 10, 1 PhysiciansOfRecord
W: (0010,0010) PN [Fu Wen Hua] # 10, 1 PatientName
W: (0010,0020) LO [2016102701] # 10, 1 PatientID
W: (0010,0030) DA [19530101] # 8, 1 PatientBirthDate
W: (0010,0040) CS [F ] # 2, 1 PatientSex
W: (0010,1010) AS [063Y] # 4, 1 PatientAge
W: (0010,1020) DS [1.6 ] # 4, 1 PatientSize
W: (0010,1030) DS [50] # 2, 1 PatientWeight
W: (0020,000d) UI [1.2.276.0.7230010.3.1.3.3969987548.1736.1477529664.531] # 54, 1 StudyInstanceUID
W: (0020,0010) SH [zj00401001] # 10, 1 StudyID
W: (0020,1206) IS [2 ] # 2, 1 NumberOfStudyRelatedSeries
W: (0020,1208) IS [966 ] # 4, 1 NumberOfStudyRelatedInstances
W:
E: Writing file: results/rsp0001.dcm: No such file or directory
D:\medical\code\vc\DCMTK\zjTest_movescu>pause
请按任意键继续. . .
再试cmove,创建个.bat ,把cfind查到的 0020,000D的值作为条件
movescu -v -S 192.168.1.188 11112 --port 8091 -aec DCM4CHEE -aet RELO -aem RELO -od .\image -k QueryRetrieveLevel=STUDY -k 0020,000D="1.2.276.0.7230010.3.1.3.3969987548.1736.1477529664.531"
pause
运行得到,dicom下到了 image目录
...
I: Received Store Request: MsgID 960, (PI)
RECV: .........
I: Received Store Request: MsgID 961, (PI)
RECV: .........
I: Received Store Request: MsgID 962, (PI)
RECV: .........
I: Received Store Request: MsgID 963, (PI)
RECV: .........
I: Received Store Request: MsgID 964, (PI)
RECV: .........
I: Received Store Request: MsgID 965, (PI)
RECV: .........
I: Received Store Request: MsgID 966, (PI)
RECV: .........
I: ===================== INCOMING DIMSE MESSAGE ====================
I: Message Type : C-MOVE RSP
I: Message ID Being Responded To : 1
I: Affected SOP Class UID : MOVEStudyRootQueryRetrieveInformationModel
I: Remaining Suboperations : none
I: Completed Suboperations : 966
I: Failed Suboperations : 0
I: Warning Suboperations : 0
I: Data Set : none
I: DIMSE Status : 0x0000: Success
I: ======================= END DIMSE MESSAGE =======================
I: Releasing Association
D:\medical\code\vc\DCMTK\zjTest_movescu>pause
请按任意键继续. . .