Hallo,
We are using DCMTK as library for dicom import and export in our application. The idea we have is to create DICOMDIR when importing data to obtain a patient sorted structure. We are testing our importer with quite large set of data comming from various vendors. Some of the datasets have filenames longer than 8 characters and / or have filename extension. We cannot put these files in DICOMDIR and we get "invalid stream" as error. Now to the questions: What is the official way to include such files in DICOMDIR ? How can we do this using DCMTK ?
Thanks
filenames and DICOMDIR
Moderator: Moderator Team
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
According to the DICOM standard files referenced from a DICOMDIR must not have file extensions or filenames longer than 8 characters, i.e. you need to rename these files before you can add them to the DICOMDIR. Furthermore, only upcase characters (A-Z), numbers (0-9) and the underscore (_) are allowed. See the standard text for details.
Who is online
Users browsing this forum: Google [Bot] and 1 guest