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.

9.8 Protocol Data Unit 203<br />

9.8.3<br />

A-Associate-RJ<br />

The A-Associate-RJ message is used to reject a proposed association request<br />

(A-Associate-RQ). As we have already mentioned, the reasons for rejections<br />

can be many: <strong>in</strong>compatible devices, unsupported transfer protocols, <strong>in</strong>valid<br />

format, <strong>and</strong> so on. Unlike the A-Associate-RQ <strong>and</strong> the A-Associate-AC, which<br />

we have considered <strong>in</strong> all their complexity, the A-Associate-RJ message is really<br />

quite simple (Fig. 65). The only parameters to be supplied here are:<br />

1. Result. This field can be either 1 (rejected-permanent) or 2 (rejected-transient).<br />

Transient rejection can correspond to temporary problems (network<br />

congestion), but more common permanent rejection <strong>in</strong>dicates mismatched<br />

association parameters, <strong>in</strong>compatible device profiles, <strong>and</strong> such.<br />

2. Source. This can be 1, 2, or 3 depend<strong>in</strong>g on the current provider <strong>and</strong> protocol<br />

type. The most typical code is 3, correspond<strong>in</strong>g to service provider<br />

rejection.<br />

3. Reason. This can take a code value from 1 to 8. You can f<strong>in</strong>d them all <strong>in</strong><br />

PS3.8, but the most typical reason code you will encounter <strong>in</strong> your practical<br />

experience will unfortunately be 1, st<strong>and</strong><strong>in</strong>g for “no reason given”.<br />

Because the choice of result, source, <strong>and</strong> reason codes is left to the reject<strong>in</strong>g<br />

application, it really depends on how explicit it wants to be about the rejection<br />

cause. In other words, even if you set reason, source, <strong>and</strong> result codes <strong>in</strong> the<br />

A-Associate-RJ to whatever codes you like, this will not change the outcome<br />

because none of these fields is meant for further process<strong>in</strong>g. Simply, the association<br />

will be rejected, all association-related process<strong>in</strong>g will stop, <strong>and</strong> (if<br />

we have a good piece of software) some error message will be written <strong>in</strong> the<br />

participat<strong>in</strong>g AEs error logs.<br />

Fig. 65 A-Associate-RJ message structure, from PS3.8, <strong>and</strong> its most typical example

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

Saved successfully!

Ooh no, something went wrong!