DIMSE status codes.
Status codes are returned in the (0000,0900) element of DIMSE response command sets. They indicate the outcome of the requested operation.
Defined in PS3.7 Annex C.
Status Categories
- Success (0x0000) — operation completed successfully
- Pending (0xFF00, 0xFF01) — matches remain, more results to follow
- Cancel (0xFE00) — operation cancelled by the SCU
- Warning (0x0001, 0xB000-0xBFFF) — completed with warnings
- Failure (0xA000-0xCFFF) — operation failed
Common Status Codes
| Code | Category | Name |
|---|---|---|
| 0x0000 | Success | Success |
| 0xFF00 | Pending | Pending (matches) |
| 0xFF01 | Pending | Pending (optional keys may be unsupported) |
| 0xFE00 | Cancel | Cancel |
| 0x0001 | Warning | Coercion of data elements |
| 0xA700 | Failure | Out of resources |
| 0xA900 | Failure | Identifier does not match SOP class |
| 0xC000 | Failure | Unable to process |
| 0xC001 | Failure | Unable to process (more detail) |
Summary
Functions
Cancel status — operation cancelled (0xFE00).
Returns the category of a status code.
Identifier does not match SOP class failure (0xA900).
Out of resources failure (0xA700).
Unable to process failure (0xC000).
Pending status — more results to follow (0xFF00).
Pending status — optional keys may not be supported (0xFF01).
Success status (0x0000).
Coercion warning status (0x0001).
Functions
Cancel status — operation cancelled (0xFE00).
@spec category(integer()) :: :success | :pending | :cancel | :warning | :failure
Returns the category of a status code.
Identifier does not match SOP class failure (0xA900).
Out of resources failure (0xA700).
Unable to process failure (0xC000).
Pending status — more results to follow (0xFF00).
Pending status — optional keys may not be supported (0xFF01).
Success status (0x0000).
Coercion warning status (0x0001).