DICOMDIR created using dcmmkdir not working to open with EchoPAC

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
himanshu.mistri
Posts: 18
Joined: Tue, 2018-06-05, 10:21

DICOMDIR created using dcmmkdir not working to open with EchoPAC

#1 Post by himanshu.mistri »

Hello Forum,

I have created DICOMDIR using below command.

dcmmkdir -v -d +id EFSCAN/ +r -I -Pus -Pum +D TESTDIR

My EFSCAN Directory contains two Dicom files 0001 and 0002. With the above command,
I generated a DICOMDIR file.

Below is my dump of the DICOMDIR file.

Code: Select all

# Dicom-File-Format

# Dicom-Meta-Information-Header
# Used TransferSyntax: Little Endian Explicit
(0002,0000) UL 192                                      #   4, 1 FileMetaInformationGroupLength
(0002,0001) OB 00\01                                    #   2, 1 FileMetaInformationVersion
(0002,0002) UI =MediaStorageDirectoryStorage            #  20, 1 MediaStorageSOPClassUID
(0002,0003) UI [1.2.276.0.7230010.3.1.4.8323329.9486.1612362966.326558] #  54, 1 MediaStorageSOPInstanceUID
(0002,0010) UI =LittleEndianExplicit                    #  20, 1 TransferSyntaxUID
(0002,0012) UI [1.2.276.0.7230010.3.0.3.6.5]            #  28, 1 ImplementationClassUID
(0002,0013) SH [OFFIS_DCMTK_365]                        #  16, 1 ImplementationVersionName

# Dicom-Data-Set
# Used TransferSyntax: Little Endian Explicit
(0004,1130) CS [DCMTK_MEDIA_DEMO]                       #  16, 1 FileSetID
(0004,1200) up 406                                      #   4, 1 OffsetOfTheFirstDirectoryRecordOfTheRootDirectoryEntity
(0004,1202) up 406                                      #   4, 1 OffsetOfTheLastDirectoryRecordOfTheRootDirectoryEntity
(0004,1212) US 0                                        #   2, 1 FileSetConsistencyFlag
(0004,1220) SQ (Sequence with explicit length #=5)      # 914, 1 DirectoryRecordSequence
  (fffe,e000) na "Directory Record" PATIENT #=7           # 120, 1 Item
  #  offset=$406
    (0004,1400) up 0                                        #   4, 1 OffsetOfTheNextDirectoryRecord
    (0004,1410) US 65535                                    #   2, 1 RecordInUseFlag
    (0004,1420) up 534                                      #   4, 1 OffsetOfReferencedLowerLevelDirectoryEntity
    (0004,1430) CS [PATIENT]                                #   8, 1 DirectoryRecordType
    (0008,0005) CS [ISO_IR 100]                             #  10, 1 SpecificCharacterSet
    (0010,0010) PN [Prepilot]                               #  24, 1 PatientName
    (0010,0020) LO [TMP_C5XN_JOD]                           #  12, 1 PatientID
  (fffe,e00d) na "ItemDelimitationItem for re-encoding"   #   0, 0 ItemDelimitationItem
  (fffe,e000) na "Directory Record" STUDY #=11            # 206, 1 Item
  #  offset=$534
    (0004,1400) up 0                                        #   4, 1 OffsetOfTheNextDirectoryRecord
    (0004,1410) US 65535                                    #   2, 1 RecordInUseFlag
    (0004,1420) up 748                                      #   4, 1 OffsetOfReferencedLowerLevelDirectoryEntity
    (0004,1430) CS [STUDY]                                  #   6, 1 DirectoryRecordType
    (0008,0005) CS [ISO_IR 100]                             #  10, 1 SpecificCharacterSet
    (0008,0020) DA [20210128]                               #   8, 1 StudyDate
    (0008,0030) TM [015038.16600]                           #  12, 1 StudyTime
    (0008,0050) SH (no value available)                     #   0, 0 AccessionNumber
    (0008,1030) LO (no value available)                     #   0, 0 StudyDescription
    (0020,000d) UI [1.2.276.0.7230010.3.1.2.16777343.2177.1611799781.462153] #  56, 1 StudyInstanceUID
    (0020,0010) SH [J1_I1ZLR58XO69RR]                       #  16, 1 StudyID
  (fffe,e00d) na "ItemDelimitationItem for re-encoding"   #   0, 0 ItemDelimitationItem
  (fffe,e000) na "Directory Record" SERIES #=7            # 132, 1 Item
  #  offset=$748
    (0004,1400) up 0                                        #   4, 1 OffsetOfTheNextDirectoryRecord
    (0004,1410) US 65535                                    #   2, 1 RecordInUseFlag
    (0004,1420) up 888                                      #   4, 1 OffsetOfReferencedLowerLevelDirectoryEntity
    (0004,1430) CS [SERIES]                                 #   6, 1 DirectoryRecordType
    (0008,0060) CS [US]                                     #   2, 1 Modality
    (0020,000e) UI [1.2.276.0.7230010.3.1.3.16777343.2177.1611799781.462154] #  56, 1 SeriesInstanceUID
    (0020,0011) IS [1]                                      #   2, 1 SeriesNumber
  (fffe,e00d) na "ItemDelimitationItem for re-encoding"   #   0, 0 ItemDelimitationItem
  (fffe,e000) na "Directory Record" IMAGE #=9             # 208, 1 Item
  #  offset=$888  refFileID="EFSCAN\0001"
    (0004,1400) up 1104                                     #   4, 1 OffsetOfTheNextDirectoryRecord
    (0004,1410) US 65535                                    #   2, 1 RecordInUseFlag
    (0004,1420) up 0                                        #   4, 1 OffsetOfReferencedLowerLevelDirectoryEntity
    (0004,1430) CS [IMAGE]                                  #   6, 1 DirectoryRecordType
    (0004,1500) CS [EFSCAN\0001]                            #  12, 2 ReferencedFileID
    (0004,1510) UI =UltrasoundMultiframeImageStorage        #  28, 1 ReferencedSOPClassUIDInFile
    (0004,1511) UI [1.2.276.0.7230010.3.1.4.16777343.2177.1611799785.462157] #  56, 1 ReferencedSOPInstanceUIDInFile
    (0004,1512) UI =JPEGBaseline                            #  22, 1 ReferencedTransferSyntaxUIDInFile
    (0020,0013) IS [1]                                      #   2, 1 InstanceNumber
  (fffe,e00d) na "ItemDelimitationItem for re-encoding"   #   0, 0 ItemDelimitationItem
  (fffe,e000) na "Directory Record" IMAGE #=9             # 208, 1 Item
  #  offset=$1104  refFileID="EFSCAN\0002"
    (0004,1400) up 0                                        #   4, 1 OffsetOfTheNextDirectoryRecord
    (0004,1410) US 65535                                    #   2, 1 RecordInUseFlag
    (0004,1420) up 0                                        #   4, 1 OffsetOfReferencedLowerLevelDirectoryEntity
    (0004,1430) CS [IMAGE]                                  #   6, 1 DirectoryRecordType
    (0004,1500) CS [EFSCAN\0002]                            #  12, 2 ReferencedFileID
    (0004,1510) UI =UltrasoundMultiframeImageStorage        #  28, 1 ReferencedSOPClassUIDInFile
    (0004,1511) UI [1.2.276.0.7230010.3.1.4.16777343.2177.1611799797.462159] #  56, 1 ReferencedSOPInstanceUIDInFile
    (0004,1512) UI =JPEGBaseline                            #  22, 1 ReferencedTransferSyntaxUIDInFile
    (0020,0013) IS [2]                                      #   2, 1 InstanceNumber
  (fffe,e00d) na "ItemDelimitationItem for re-encoding"   #   0, 0 ItemDelimitationItem
(fffe,e0dd) na (SequenceDelimitationItem for re-encod.) #   0, 0 SequenceDelimitationItem

Now I copy the PATIENT Directory and TESTDIR file into USB Drive and used this USB drive to import the Patient's Dicom files into EchoPac software, But it''s not working, While the same USB drive working fine for the MIcroDicom and Horos.

Any help in right direction will be appreciated.

Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1435
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

Re: DICOMDIR created using dcmmkdir not working to open with EchoPAC

#2 Post by Marco Eichelberg »

The DICOM directory file MUST be named "DICOMDIR" and must be located in the root directory of the storage media. If the file on the USB stick is named "TESTDIR", then the stick will not be recognized as a DICOM storage medium.

Post Reply

Who is online

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