N-DELETE SCU — DIMSE-N Delete Service Class User.
Sends an N-DELETE-RQ to delete a managed SOP Instance.
DICOM Reference
- PS3.7 Section 10.1.6 (N-DELETE Service)
Summary
Functions
Builds an N-DELETE-RQ command set.
Uses RequestedSOPClassUID (0000,0003) and RequestedSOPInstanceUID (0000,1001). No data set follows (CommandDataSetType = 0x0101).
@spec send(pid(), String.t(), String.t(), keyword()) :: {:ok, integer(), nil} | {:error, {:status, integer(), nil} | term()}
Sends an N-DELETE-RQ and waits for N-DELETE-RSP.
Returns {:ok, status, nil} for successful or warning responses,
{:error, {:status, status, nil}} for DIMSE failure statuses,
or {:error, reason} for transport/protocol failures.