Hi
I am developing an windows application Java based (dcm4che2), When i try to fetch data from CONQUEST PACS through get or move this give following exception.
1.2.840.10008.5.1.4.1.2.2.2/Study Root Query/Retrieve Information Model - MOVE not supported by CONQUEST
Please help me so i can finish my project
Regards
Shahrukh
1.2.840.10008.5.1.4.1.2.2.2/Study Root Query/Retrieve Inform
-
-
Hi,
Try to enable jpeg support that adds some transfer syntaxes.
Marcel
-
Thank you for your help, I have enabled jpeg support in conquest but still having same problem,I am pasting my code below
DcmQR dcmqr = new DcmQR("hello");
dcmqr.setCalledAET("CONQUEST", true);
dcmqr.setRemoteHost("127.0.0.1");
dcmqr.setRemotePort(9090);
dcmqr.getKeys();
dcmqr.setDateTimeMatching(true);
dcmqr.setCFind(true);
dcmqr.setCGet(true);dcmqr.setQueryLevel(DcmQR.QueryRetrieveLevel.IMAGE);
dcmqr.addMatchingKey(Tag.toTagPath("PatientName"),"Ayesha^Javeed^^^");
dcmqr.configureTransferCapability(true);List<DicomObject> result = null;
try {
dcmqr.start();
dcmqr.open();
result = dcmqr.query();
dcmqr.setMoveDest("RADISHSOL1");
dcmqr.move(result);
System.out.println("List Size : " + result.size());
displayObjectDetails(result);
for (DicomObject dco : result) {
byte[] data = toByteArray(dco);// here how can get dicom image ??
}
} catch (Exception e) {
System.out.println("error " + e);
}
try {
if (dcmqr != null) {
dcmqr.stop();
dcmqr.close();
}
} catch (Exception e) {
e.printStackTrace();
}Thanks
-
Hi,
c-get is not supported in conquest. To get the image you need to c-move it to a server thread or so.
Marcel
-
HI Marcel,
Yes i am trying C-Move both C-Get and C-Move gives same error.
Thanks -
You as for a find and a get.
First try a find only.
dcmqr.setCFind(true);
dcmqr.setCGet(true);Marcel
-
yes, C-Find works fine, Other both not working.
-
C-Find works fine, If i try it with iQ-WEBX? iQ-WEBX does support?
-
Hi,
Can you post the code that fails?
Marcel
-
here is complete code of Java
DcmQR dcmqr = new DcmQR("hello");
dcmqr.setCalledAET("hello2", true);
dcmqr.setRemoteHost("192.168.39.247");
dcmqr.setRemotePort(4096);
dcmqr.setLocalHost("192.168.39.219");
dcmqr.setLocalPort(1111);
dcmqr.getKeys();
dcmqr.setDateTimeMatching(true);
dcmqr.setCFind(true);
// dcmqr.setCGet(true);dcmqr.setQueryLevel(DcmQR.QueryRetrieveLevel.IMAGE);
dcmqr.addMatchingKey(Tag.toTagPath("PatientName"),"Noreen^Anwar^^^");
dcmqr.configureTransferCapability(true);List<DicomObject> result = null;
try {
dcmqr.start();
dcmqr.open();
result = dcmqr.query();
dcmqr.setMoveDest("RADISHSOL1");
dcmqr.move(result); //This is not working and says not supported by hello2System.out.println("List Size : " + result.size());
displayObjectDetails(result);
for (DicomObject dco : result) {
byte[] data = toByteArray(dco);// here how can get dicom image ??
}
} catch (Exception e) {
System.out.println("error " + e);
}
try {
if (dcmqr != null) {
dcmqr.stop();
dcmqr.close();
}
} catch (Exception e) {
e.printStackTrace();
} -
Hi,
you miss:
dcmqr.setCMove(true);
Marcel
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!