Dimse.Command.Status (Dimse v0.8.7)

Copy Markdown View Source

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

CodeCategoryName
0x0000SuccessSuccess
0xFF00PendingPending (matches)
0xFF01PendingPending (optional keys may be unsupported)
0xFE00CancelCancel
0x0001WarningCoercion of data elements
0xA700FailureOut of resources
0xA900FailureIdentifier does not match SOP class
0xC000FailureUnable to process
0xC001FailureUnable 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()

Cancel status — operation cancelled (0xFE00).

category(status)

@spec category(integer()) :: :success | :pending | :cancel | :warning | :failure

Returns the category of a status code.

failure_identifier_mismatch()

Identifier does not match SOP class failure (0xA900).

failure_out_of_resources()

Out of resources failure (0xA700).

failure_unable_to_process()

Unable to process failure (0xC000).

pending()

Pending status — more results to follow (0xFF00).

pending_warning()

Pending status — optional keys may not be supported (0xFF01).

success()

Success status (0x0000).

warning_coercion()

Coercion warning status (0x0001).