pynetdicom.dimse_primitives.N_EVENT_REPORT#

class pynetdicom.dimse_primitives.N_EVENT_REPORT[source]#

Represents a N-EVENT-REPORT primitive.

Parameter

Req/ind

Rsp/conf

Message ID

M

-

Message ID Being Responded To

-

M

Affected SOP Class UID

M

U(=)

Affected SOP Instance UID

M

U(=)

Event Type ID

M

C(=)

Event Information

U

-

Event Reply

-

C

Status

-

M

(=) - The value of the parameter is equal to the value of the parameter in the column to the left
C - The parameter is conditional.
M - Mandatory
MF - Mandatory with a fixed value
U - The use of this parameter is a DIMSE service user option
UF - User option with a fixed value
MessageID#

Identifies the operation and is used to distinguish this operation from other notifications or operations that may be in progress. No two identical values for the Message ID shall be used for outstanding operations.

Type:

int

MessageIDBeingRespondedTo#

The Message ID of the operation request/indication to which this response/confirmation applies.

Type:

int

AffectedSOPClassUID#

For the request/indication this specifies the SOP Class for storage. If included in the response/confirmation, it shall be equal to the value in the request/indication

Type:

pydicom.uid.UID, bytes or str

Status#

The error or success notification of the operation.

Type:

int

__init__() None[source]#

Methods

Attributes

AffectedSOPClassUID

Get or set the Affected SOP Class UID as UID.

AffectedSOPInstanceUID

Get or set the Affected SOP Instance UID as UID.

EventInformation

Get or set the Event Information as io.BytesIO.

EventReply

Get or set the Event Reply as io.BytesIO.

EventTypeID

Get or set the Event Type ID as int.

MessageID

Get or set the Message ID value as int.

MessageIDBeingRespondedTo

Get or set the Message ID Being Responded To as int.

REQUEST_KEYWORDS

RESPONSE_KEYWORDS

STATUS_OPTIONAL_KEYWORDS

Status

Get or set the Status as int.

is_valid_request

Return True if the request is valid, False otherwise.

is_valid_response

Return True if the response is valid, False otherwise.

msg_type

Return the DIMSE message type as str.

property AffectedSOPInstanceUID: UID | None#

Get or set the Affected SOP Instance UID as UID.

property EventInformation: BytesIO | None#

Get or set the Event Information as io.BytesIO.

property EventReply: BytesIO | None#

Get or set the Event Reply as io.BytesIO.

property EventTypeID: int | None#

Get or set the Event Type ID as int.