Filenames cannot exceed 8 characters.
Building or reading a valid DICOMDIR requires precise byte-level manipulation and pointer management. Major open-source and commercial toolkits facilitate this: DicomDir Class | Raster, Medical, Document Help DICOMDIR
According to the specifications outlined by NEMA (National Electrical Manufacturers Association) , DICOMDIR follows standard Part 10 file structuring. It features a 128-byte preamble, followed by the letters "DICM" as a magic number, and a sequence of data sets. 2.2 Hierarchical Data Model Filenames cannot exceed 8 characters