N-EVENT-REPORT SCU — DIMSE-N Event Report Service Class User.
Sends an N-EVENT-REPORT-RQ to notify the SCP of an event on a managed SOP Instance.
DICOM Reference
- PS3.7 Section 10.1.1 (N-EVENT-REPORT Service)
Summary
Functions
Builds an N-EVENT-REPORT-RQ command set.
Sends an N-EVENT-REPORT-RQ with event data and waits for N-EVENT-REPORT-RSP.
Functions
Builds an N-EVENT-REPORT-RQ command set.
Uses AffectedSOPClassUID (0000,0002), AffectedSOPInstanceUID (0000,1000), and EventTypeID (0000,1002).
@spec send(pid(), String.t(), String.t(), integer(), binary() | nil, keyword()) :: {:ok, integer(), binary() | nil} | {:error, {:status, integer(), binary() | nil} | term()}
Sends an N-EVENT-REPORT-RQ with event data and waits for N-EVENT-REPORT-RSP.
Returns {:ok, status, data} for successful or warning responses,
{:error, {:status, status, data}} for DIMSE failure statuses,
or {:error, reason} for transport/protocol failures.