F.2.2 Example of a directory

The example provided in this Section is only one simple example of a possible directory content and organization. This Section is not normative in nature. Therefore, this example is not meant to specify a conformant directory nor to restrict the range of possible directory organizations supported by this Part of the DICOM Standard.

The overall organization is illustrated at a logical level in Section F.2.2.1. The actual structure of the content is discussed in Section F.2.2.2. Two Annexes of PS 3.10 provide example where further details of the encoding of the file content is depicted.

F.2.2.1 Illustration of the Overall Directory Organization

A simple directory content is used as an example of Directory organization. It is depicted by Figure F.2-2. The left hand side part of Figure F.2-2 depicts the various Objects stored in Files of the File-set. The right hand side presents an example of organization of the directory which facilitates access to the Files of the File-set.

This example shows how stored Files are referenced by Directory Records which are grouped into Directory Entities. The two Study Directory Records (Study 1 and Study 2) are part of the Directory Entity relative to the Patient A.

Thin curved lines depict the referencing mechanism based on File IDs which allow reference to Files containing stored objects. Thick curved lines depict the internal referencing mechanisms which support the reference to a lower-level Directory Entity by a Directory Record,.

Keys which are used to select a specific Directory Record from among the Directory Records of a Directory Entity are not shown on Figure F.2-2.

One may note in this example that certain Directory Records such as the Series Directory Records do not reference Files containing stored objects. Other Directory Records such as the Image Directory Records do not reference lower level Directory Entities. However, a number of Directory Records reference both one lower level Directory Entity and one File containing a stored object. This flexibility allows the definition of a variety of directories.

[pic]

Figure F.2-2EXAMPLE OF A DIRECTORY ORGANIZATION AND CONTENT

F.2.2.2 Example of a DICOMDIR File Structure

Based on the example discussed in Section F.2.2.1, the internal data structure used by the Basic Directory IOD is depicted in Figure F.2-3. It shows a set of Directory Records where each Directory Record is linked by three different types of "referencing" mechanisms:

a. The chaining of Directory Records to form a Directory Entity. In particular, this facilitates the addition of new Directory Records at the level of any Directory Entity by placing them at the end of the DICOMDIR File. On Figure F.2-3, these chainings are shown by dotted lines:

1. #1 shows the chaining of the Directory Records forming the root Directory Entity

2. #2 shows the chaining of the Directory Records for the Directory Entity related to Patient A

3. #3 shows the chaining of the Directory Records for the Directory Entity related to Study 1

4. #4 shows the chaining of the Directory Records for the Directory Entity related to Series 1

b. Thick curved lines depict the reference by a Directory Record to a lower level Directory Entity

c. Thin curved lines depict the reference by a Directory Record to a stored file containing a SOP Class

This example of a DICOMDIR File structure shows one example of a specific order of the Directory Records. Other orderings of Directory Records could result in a functionally equivalent directory.

[pic]

Figure F.2-3EXAMPLE OF DATA STRUCTURE FOR THE DICOM DIRECTORY INFORMATION