pynetdicom.dimse_primitives.N_ACTION#
- class pynetdicom.dimse_primitives.N_ACTION[source]#
Represents a N-ACTION primitive.
Parameter
Req/ind
Rsp/conf
Message ID
M
-
Message ID Being Responded To
-
M
Requested SOP Class UID
M
-
Requested SOP Instance UID
M
-
Action Type ID
M
C(=)
Action Information
U
-
Affected SOP Class UID
-
U
Affected SOP Instance UID
-
U
Action Reply
-
C
Status
-
M
(=) - The value of the parameter is equal to the value of the parameter in the column to the leftC - The parameter is conditional.M - MandatoryMF - Mandatory with a fixed valueU - The use of this parameter is a DIMSE service user optionUF - 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:
- MessageIDBeingRespondedTo#
The Message ID of the operation request/indication to which this response/confirmation applies.
- Type:
- 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
Methods
__init__()Attributes
Return the Action Information as
io.BytesIO.Return the Action Reply as
io.BytesIO.Return the Action Type ID as
int.Get or set the Affected SOP Class UID as
UID.Return the Affected SOP Instance UID as
UID.Get or set the Message ID value as
int.Get or set the Message ID Being Responded To as
int.REQUEST_KEYWORDSRESPONSE_KEYWORDSReturn the Requested SOP Class UID as
UID.Return the Requested SOP Instance UID as
UID.STATUS_OPTIONAL_KEYWORDSGet or set the Status as
int.is_valid_requestReturn
Trueif the request is valid,Falseotherwise.is_valid_responseReturn
Trueif the response is valid,Falseotherwise.msg_typeReturn the DIMSE message type as
str.- property ActionInformation: BytesIO | None#
Return the Action Information as
io.BytesIO.- Parameters:
io.BytesIO – The value to use for the Action Information parameter.
- property ActionReply: BytesIO | None#
Return the Action Reply as
io.BytesIO.- Parameters:
io.BytesIO – The value to use for the Action Reply parameter.
- property ActionTypeID: int | None#
Return the Action Type ID as
int.- Parameters:
int – The value to use for the Action Type ID parameter.
- property AffectedSOPInstanceUID: UID | None#
Return the Affected SOP Instance UID as
UID.- Parameters:
value (pydicom.uid.UID, bytes or str) – The value to use for the Affected SOP Class UID parameter.