F.1 DICOM mapping to media format

Only one File-set shall be stored onto a single CD-R.

F.1.1 DICOM file-set

The ISO 9660 Standard provides a Volume Identifier in byte position 41 to 72 of the Primary Volume Descriptor. A DICOM File-Set is defined to be one volume, and the File-Set ID shall be placed in the Volume Identifier, starting with byte position 41. Extra bytes within the Volume Identifier shall be spaces (20H).

The Volume Identifier for a File-Set ID consisting of zero characters shall consist of all spaces (20H).

Notes: 1. The character set for File IDs and File-set IDs (see PS 3.10) is a subset of the ISO 9660 character set, therefore no further restrictions need to be imposed.

2. Multiple ISO 9660 File-Sets on a single volume are achievable, but this profile does not support multiple file-sets.

F.1.2 DICOM file ID mapping

The ISO 9660 standard provides a hierarchical structure for directories and files within directories. Each volume has a root directory that may contain references to both files and subdirectories. Subdirectories may contain reference to both files and other subdirectories.

F.1.2.1 FILE ID

A volume may have at most 8 levels of directories, where the root directory is defined as level 1. The nomenclature for referring to a file in the ISO 9660 standard is dependent upon the receiving system. For the purposes of this document, the following notation will be used:

a) / – For the root directory

b) /FILENAME.;1 – For a file in the root directory

c) /SUBDIR – For a subdirectory in the root directory

d) /SUBDIR/FILENAME.;1 – For a file in the subdirectory

Given a File ID consisting of N components, referred to as Comp1 through CompN, then the corresponding ISO 9660 file shall be named /Comp1/.../CompN.;1

The ISO 9660 File Name Extension shall not be used.

The ISO 9660 standard requires the two separators "." and ";" to demarcate a "File Name Extension" and a "Version Number". To remain compatible with the ISO standard, the version number shall be 1.

Notes: 1. The above specified file ID mapping corresponds to ISO 9660 Level 1 compliance. This ensures the greatest level of compatibility across receiving systems.

2. The following is an example of the DICOM to ISO 9660 file mapping:

DICOM File ID ISO 9660 File Name
DICOMDIR /DICOMDIR.;1
SUBDIRA\IMAGE1 /SUBDIRA/IMAGE1.;1

3. The ISO 9660 File Name written on the media as described above is not necessarily the name that an application will use in interacting with an operating system or CD-R writing utility. For example, the application will generally create a directory structure, and the OS or utility will create the correct full path file names with “/” characters. Similarly, the application generally will not need to append the dot character and “;1” version identifier to the name, as these will be added by the OS or utility to create an ISO 9660 compliant File Name. In fact, if the application appends “;1” to the name, and the OS or utility supports the Rock Ridge or Joliet extensions, those characters may be interpreted as part of the application specified file name rather than the file version identifier; a further file version identifier may be appended, resulting in an incorrect file name such as “/DICOMDIR.;1.;1”.

F.1.2.2 DICOMDIR FILE

A DICOMDIR file in a DICOM File-set shall reside in the root directory of the directory hierarchy, and shall be named /DICOMDIR.;1.

Multiple DICOMDIR files shall not be stored on a single volume under this annex.

F.1.3 DICOM file management information

A Directory record in ISO 9660 provides for a Recording Data and Time field which shall be set to the creation date of the file.

File modification data, file owner identification, and permissions are part of the ISO 9660 - Extended Attribute Record. The Extended Attribute Record is not required by this annex and shall be ignored at this time. To ensure future backwards compatibility and file accessibility, the Extended Attribute Record Length and File Flag of the Directory record shall be set as follows for each file. The Extended Attribute Record Length (byte position 2) shall be zero. The File Flags (byte position 26) shall have bit positions 3 and 4 set to zero.