15.12.2012 Views

Digital Imaging and Communications in Medicine (DICOM)

Digital Imaging and Communications in Medicine (DICOM)

Digital Imaging and Communications in Medicine (DICOM)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

236<br />

Chapter 10 <strong>DICOM</strong> Media: Files, Folders, <strong>and</strong> <strong>DICOM</strong>DIRs<br />

3. M-DELETE: to delete exist<strong>in</strong>g files based on their File ID.<br />

4. M-INQUIRE FILE-SET: to <strong>in</strong>quire about free space availability for creat<strong>in</strong>g<br />

new files with<strong>in</strong> the File Set.<br />

5. M-INQUIRE FILE: to <strong>in</strong>quire about the date <strong>and</strong> time of file creation (or<br />

last update if applicable) for any file with<strong>in</strong> the File Set.<br />

As you can see, everyth<strong>in</strong>g <strong>in</strong> this list is really transparent: media storage<br />

M-services manage files <strong>and</strong> file space. Consequently, any <strong>DICOM</strong> AE may<br />

take one or more of the follow<strong>in</strong>g three concept roles:<br />

1. File Set Creator (FSC): the AE uses M-WRITE to create the <strong>DICOM</strong>DIR File<br />

<strong>and</strong> zero or more <strong>DICOM</strong> files (if there are no <strong>DICOM</strong> files, you can still have<br />

<strong>DICOM</strong>DIR with an empty file list).<br />

2. File Set Reader (FSR): the AE uses M-READ to access one or more files <strong>in</strong> a<br />

file set. An FSR must not modify any of the files of the File Set (<strong>in</strong>clud<strong>in</strong>g<br />

the <strong>DICOM</strong>DIR File).<br />

3. File Set Updater (FSU): the AE uses M-READ, M-WRITE, <strong>and</strong> M-DELETE.<br />

It reads, but must not modify, the content of any of the <strong>DICOM</strong> files <strong>in</strong> a<br />

File Set except for the <strong>DICOM</strong>DIR File. It may create additional files by<br />

means of an M-WRITE, or delete exist<strong>in</strong>g files <strong>in</strong> a File Set by means of an<br />

M-DELETE.<br />

Simple, isn’t it? One or more of the three concept roles makes seven possible<br />

comb<strong>in</strong>ations that <strong>DICOM</strong> software can support.<br />

Note that although FSU is not generally allowed to modify file contents, it<br />

is often implemented as a “delete-write” pair. You delete the entire old file <strong>and</strong><br />

write its new version, even if the difference between the two was <strong>in</strong> a s<strong>in</strong>gle<br />

character. The delete-write comb<strong>in</strong>ation is conceptually simple, <strong>and</strong> it always<br />

works. Some file media will not let you modify the file content, so you really<br />

need to overwrite the file completely even for a m<strong>in</strong>ute change. This means that<br />

FSU often equals FSC + FSR, provided it can do M-DELETE to remove the old<br />

file version.<br />

It is worthwhile to compare <strong>DICOM</strong> media storage services to <strong>DICOM</strong> network<strong>in</strong>g<br />

because they follow the same framework. Look at Fig. 75. Both <strong>in</strong> network<strong>in</strong>g<br />

<strong>and</strong> file management scenarios, <strong>DICOM</strong> applications communicate if<br />

they have match<strong>in</strong>g application profiles:<br />

1. AEs on a <strong>DICOM</strong> network are communicat<strong>in</strong>g based on the supported SOP<br />

classes (such as Verification or Storage, which we studied <strong>in</strong> Chap. 7). If two<br />

AEs support identical SOPs <strong>and</strong> their SCU-SCP roles match, then their profiles<br />

match <strong>and</strong> the AEs can talk. For example, two AEs could support Verification<br />

SOPs with one act<strong>in</strong>g as the Verification SCU <strong>and</strong> the other as the<br />

Verification SCP), then their profiles match <strong>and</strong> the AEs can talk (see 7.10).<br />

In network<strong>in</strong>g, application profiles are negotiated dur<strong>in</strong>g the association<br />

establishment process: roles, SOPs, Transfer Syntaxes, <strong>and</strong> other options are<br />

compared by the communicat<strong>in</strong>g AEs, <strong>and</strong> the best match is selected when<br />

possible.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!