pynetdicom.dimse_primitives.N_SET¶
-
class
pynetdicom.dimse_primitives.
N_SET
¶ Represents a N-SET 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
-
Modification List
M
-
Attribute List
-
U
Affected SOP Class UID
-
U
Affected SOP Instance UID
-
U
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
int
-
MessageIDBeingRespondedTo
¶ The Message ID of the operation request/indication to which this response/confirmation applies.
- Type
int
-
RequestedSOPClassUID
¶ The UID of the SOP Class for which attribute values are to be modified.
- Type
pydicom.uid.UID, bytes or str
-
RequestedSOPInstanceUID
¶ The SOP Instance for which attribute values are to be modified.
- Type
pydicom.uid.UID, bytes or str
-
ModificationList
¶ A DICOM dataset containing the attributes and values that are to be used to modify the SOP Instance.
- Type
io.BytesIO
-
AttributeList
¶ A DICOM dataset containing the attributes and values that were used to modify the SOP Instance.
- Type
io.BytesIO
-
AffectedSOPClassUID
¶ The SOP Class UID of the modified SOP Instance.
- Type
pydicom.uid.UID, bytes or str
-
AffectedSOPInstanceUID
¶ The SOP Instance UID of the modified SOP Instance.
- Type
pydicom.uid.UID, bytes or str
-
Status
¶ The error or success notification of the operation.
- Type
int
-
__init__
()¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
()Initialize self.
Attributes
Return the Affected SOP Class UID as a UID.
Return the Affected SOP Instance UID as UID.
Return the Attribute List as io.BytesIO.
Return the Message ID value as an int.
Return the Message ID Being Responded To as an int.
Return the Modification List as io.BytesIO.
REQUEST_KEYWORDS
RESPONSE_KEYWORDS
Return the Requested SOP Class UID as UID.
Return the Requested SOP Instance UID as UID.
STATUS_OPTIONAL_KEYWORDS
Return the Status as an int.
Return True if the request is valid, False otherwise.
Return True if the response is valid, False otherwise.
Return the DIMSE message type as str.
-
property
AffectedSOPClassUID
Return the Affected SOP Class UID as a UID.
-
property
AffectedSOPInstanceUID
Return the Affected SOP Instance UID as UID.
-
property
AttributeList
Return the Attribute List as io.BytesIO.
-
property
MessageID
Return the Message ID value as an int.
-
property
MessageIDBeingRespondedTo
Return the Message ID Being Responded To as an int.
-
property
ModificationList
Return the Modification List as io.BytesIO.
-
property
RequestedSOPClassUID
Return the Requested SOP Class UID as UID.
-
property
RequestedSOPInstanceUID
Return the Requested SOP Instance UID as UID.
-
property
Status
Return the Status as an int.
-
property
is_valid_request
¶ Return True if the request is valid, False otherwise.
-
property
is_valid_response
¶ Return True if the response is valid, False otherwise.
-
property
msg_type
¶ Return the DIMSE message type as str.
-