I use the example:http://support.dcmtk.org/wiki/dcmtk/how ... cu-example to query information from the public DICOM server http://www.dicomserver.co.uk .
And I modify the example like below:
Code: Select all
/* Assemble and send C-FIND request */
OFList<QRResponse*> findResponses;
DcmDataset dataSet;
dataSet.putAndInsertOFStringArray(DCM_QueryRetrieveLevel, "SERIES");
dataSet.putAndInsertOFStringArray(DCM_PatientID, patientId);
dataSet.putAndInsertOFStringArray(DCM_PatientName, patientName);
dataSet.putAndInsertOFStringArray(DCM_PatientSex, "");
dataSet.putAndInsertOFStringArray(DCM_PatientBirthDate, "");
dataSet.putAndInsertOFStringArray(DCM_StudyID, "");
dataSet.putAndInsertOFStringArray(DCM_StudyDate, this->ByDate);
dataSet.putAndInsertOFStringArray(DCM_Modality, this->ByModality);
dataSet.putAndInsertOFStringArray(DCM_StudyTime, this->ByTime);
dataSet.putAndInsertOFStringArray(DCM_SeriesNumber, "");
dataSet.putAndInsertOFStringArray(DCM_SeriesInstanceUID, "");
I read the Dicom standard Part-4 Annex C, and find the above attributes not belong to series level, I think it is the root cause
but I use the same code to access the local sever(DCM4CHEE), I can get all the information!
So Why?
Thanks!