dump2dcm SQ data

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
rbeaulieu
Posts: 7
Joined: Wed, 2009-07-29, 14:19

dump2dcm SQ data

#1 Post by rbeaulieu »

Hi,

I call dump2dcm.exe with a input text file (with DCMDICPATH set properly). The output file is generated when I remove the lines with data of type SQ. Can you help me to understand why the output generation wont pass while these 'SQ' four lines aren't removed?

Regards!

Regent.

My text file content:

(0008,0050) SH 00008
(0008,0005) CS [ISO_IR 100]
(0000,0002) UI 1.2.840.10008.5.1.4.31 # 22 1 AffectedSOPClassUID
(0000,0100) US 32800 # 2 1 CommandField
(0000,0120) US 4 # 2 1 MessageIDBeingRespondedTo
(0000,0800) US 65278 # 2 1 DataSetType
(0000,0900) US 65280 # 2 1 Status
(0008,0005) CS # 0 0 SpecificCharacterSet
(0008,0016) UI # 0 0 SOPClassUID
(0008,0050) SH 06716492 # 8 1 AccessionNumber
(0008,0090) PN # 0 0 ReferringPhysiciansName
(0008,1010) SH # 0 0 StationName
(0008,1030) LO # 0 0 StudyDescription
(0008,1080) LO # 0 0 AdmittingDiagnosisDescription
(0008,1110) SQ # 0 0 ReferencedStudySequence
(0010,0010) PN [My Patient] # 10 1 PatientName
(0010,0020) LO 69840277 # 8 1 PatientID
(0010,0030) DA 19790813 # 8 1 PatientBirthDate
(0010,0040) CS M # 2 1 PatientSex
(0010,1000) LO # 0 0 OtherPatientID
(0010,1020) DS # 0 0 PatientSize
(0010,1030) DS # 0 0 PatientWeight
(0010,2000) LO # 0 0 MedicalAlerts
(0010,2110) LO # 0 0 ContrastAllergies
(0010,21c0) US # 0 0 PregnancyStatus
(0010,21d0) DA # 0 0 LastMenstrualDate
(0010,4000) LT # 0 0 PatientComments
(0020,000d) UI 1.2.40.0.13.0.10.1.10.29.4880914.1248715444765.32769 # 52 1 StudyInstanceUID
(0032,1032) PN # 0 0 RequestingPhysician
(0032,1060) LO Abdomen # 8 1 RequestedProcedureDescription
(0032,1064) SQ # 0 0 RequestedProcedureCodeSequence
(0038,0050) LO # 0 0 SpecialNeeds
(0038,0500) LO # 0 0 PatientState
(0040,0100) SQ

(0008,0060) CS US # 2 1 Modality
(0040,0001) AE StationAET # 10 1 ScheduledStationAETitle
(0040,0002) DA 20090729 # 8 1 ScheduledProcedureStepStartDate
(0040,0003) TM 082729.000 # 10 1 ScheduledProcedureStepStartTime
(0040,0006) PN # 0 0 ScheduledPerformingPhysiciansName
(0040,0007) LO ABDM # 4 1 ScheduledProcedureStepDescription
(0040,0008) SQ # 0 0 ScheduledActionItemCodeSequence
(0040,0009) SH 45461652 # 8 1 ScheduledProcedureStepID
(0040,0400) LT # 0 0 CommentsOnTheScheduledProcedureStep
(0040,1001) SH 12658010 # 8 1 RequestedProcedureID
(0040,1002) LO # 0 0

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#2 Post by Jörg Riesmeier »

Obviously, the sequence delimitation item is missing. So, dump a (binary) DICOM file and you see what I mean.

rbeaulieu
Posts: 7
Joined: Wed, 2009-07-29, 14:19

#3 Post by rbeaulieu »

Thank you.

The text can now be generate as .wl without error. I have to test it with the acuson X300 modality, but I am optimistic.

Bests regards!

Regent.

This text content seem to be good for dump2dcm:

(0008,0050) SH 00008
(0008,0005) CS [ISO_IR 100]
(0000,0002) UI 1.2.840.10008.5.1.4.31 # 22 1 AffectedSOPClassUID
(0000,0100) US 32800 # 2 1 CommandField
(0000,0120) US 4 # 2 1 MessageIDBeingRespondedTo
(0000,0800) US 65278 # 2 1 DataSetType
(0000,0900) US 65280 # 2 1 Status
(0008,0005) CS # 0 0 SpecificCharacterSet
(0008,0016) UI # 0 0 SOPClassUID
(0008,0050) SH 06716492 # 8 1 AccessionNumber
(0008,0090) PN # 0 0 ReferringPhysiciansName
(0008,1010) SH # 0 0 StationName
(0008,1030) LO # 0 0 StudyDescription
(0008,1080) LO # 0 0 AdmittingDiagnosisDescription

(0008,1110) SQ # 0 0 ReferencedStudySequence
(fffe,e000) -
(fffe,e00d) -
(fffe,e0dd) -

(0010,0010) PN [Patient^Name] # 12 1 PatientName
(0010,0020) LO 69840277 # 8 1 PatientID
(0010,0030) DA 19790813 # 8 1 PatientBirthDate
(0010,0040) CS M # 2 1 PatientSex
(0010,1000) LO # 0 0 OtherPatientID
(0010,1020) DS # 0 0 PatientSize
(0010,1030) DS # 0 0 PatientWeight
(0010,2000) LO # 0 0 MedicalAlerts
(0010,2110) LO # 0 0 ContrastAllergies
(0010,21c0) US # 0 0 PregnancyStatus
(0010,21d0) DA # 0 0 LastMenstrualDate
(0010,4000) LT # 0 0 PatientComments
(0020,000d) UI 1.2.40.0.13.0.10.1.10.29.4880914.1248715444765.32769 # 52 1 StudyInstanceUID
(0032,1032) PN # 0 0 RequestingPhysician
(0032,1060) LO Abdomen # 8 1 RequestedProcedureDescription

(0032,1064) SQ # 0 0 RequestedProcedureCodeSequence
(fffe,e000) -
(fffe,e00d) -
(fffe,e0dd) -
(0038,0050) LO # 0 0 SpecialNeeds
(0038,0500) LO # 0 0 PatientState

(0040,0100) SQ
(fffe,e000) -
(0008,0060) CS US # 2 1 Modality
(0040,0001) AE StationAET # 10 1 ScheduledStationAETitle
(0040,0002) DA 20090729 # 8 1 ScheduledProcedureStepStartDate
(0040,0003) TM 082729.000 # 10 1 ScheduledProcedureStepStartTime
(0040,0006) PN # 0 0 ScheduledPerformingPhysiciansName
(0040,0007) LO ABDM # 4 1 ScheduledProcedureStepDescription
(0040,0008) SQ # 0 0 ScheduledActionItemCodeSequence
(fffe,e000) -
(fffe,e00d) -
(fffe,e0dd) -
(0040,0009) SH 45461652 # 8 1 ScheduledProcedureStepID
(0040,0400) LT # 0 0 CommentsOnTheScheduledProcedureStep
(fffe,e00d) -
(fffe,e0dd) -

(0040,1001) SH 12658010 # 8 1 RequestedProcedureID
(0040,1002) LO # 0 0

Post Reply

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 1 guest