[Gdcm-hackers] [ gdcm-Bugs-3533810 ] gdcmscu does not handle Command Data Set Type
Cross-platform DICOM implementation
Brought to you by:
malat
|
From: SourceForge.net <no...@so...> - 2012-06-19 07:51:34
|
Bugs item #3533810, was opened at 2012-06-09 02:20 Message generated for change (Settings changed) made by malat You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=739587&aid=3533810&group_id=137895 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: SCU-SCP Group: 2.3 Status: Open Resolution: None >Priority: 9 Private: No Submitted By: Mathieu Malaterre (malat) >Assigned to: Mark Roden (mmroden) Summary: gdcmscu does not handle Command Data Set Type Initial Comment: Here is the issue as per PS 3.7/2011. Table 9.3-4 C-FIND-RSP MESSAGE FIELDS Command Data Set Type (0000,0800) US 1 This field indicates if a Data Set is present in the Message. This field shall be set to the value of 0101H (Null) if no Data Set is present; any other value indicates a Data Set is included in the Message. The current behavior in GDCM is hardcoded for case where Command Data Set is set to 0101H. This is why gdcmscu loops and try to wait for a DataSet which has already been sent previously... Mark could you comment on that ? How much will it impact gdcm code ? ---------------------------------------------------------------------- Comment By: Mathieu Malaterre (malat) Date: 2012-06-09 02:21 Message: The gdcmscu.patch is a hack to get pass the hang. gdcmscu with the patch only dump the Command DataSet eg: $ gdcmscu --find --patient --patientroot --call SERVERAE dicomserver 104 --key 10,10="*" (0000,0000) ?? 4 Loaded:4 (0000,0002) ?? 28 1.2.840.10008.5.1.4.1.2.1.1 (0000,0100) ?? 2 Loaded:2 (0000,0120) ?? 2 Loaded:2 (0000,0800) ?? 2 Loaded:2 (0000,0900) ?? 2 Loaded:2 instead of: $ findscu --call SERVERAE dicomserver 104 --key 10,10="*" -P --key 8,52="PATIENT" W: --------------------------- W: Find Response: 1 (Pending) W: W: # Dicom-Data-Set W: # Used TransferSyntax: Little Endian Explicit W: (0008,0005) CS [ISO_IR 100] # 10, 1 SpecificCharacterSet W: (0008,0052) CS [PATIENT ] # 8, 1 QueryRetrieveLevel W: (0008,0054) AE [SERVERAE] # 8, 1 RetrieveAETitle W: (0010,0010) PN [XXXXXXXXXXX ] # 12, 1 PatientName W: ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=739587&aid=3533810&group_id=137895 |