pynetdicom.dimse_primitives.N_GET¶
-
class
pynetdicom.dimse_primitives.N_GET¶ Represents an N-GET 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
-
Attribute Identifier List
U
-
Affected SOP Class UID
-
U
Affected SOP Instance UID
-
U
Attribute List
-
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
int
-
MessageIDBeingRespondedTo¶ The Message ID of the operation request/indication to which this response/confirmation applies.
- Type
int
-
AffectedSOPClassUID¶ The SOP Class UID of the SOP Instance for which the attributes were retrieved.
- Type
pydicom.uid.UID, bytes or str
-
Status¶ The error or success notification of the operation.
- Type
int
-
__init__() → None¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__()Initialize self.
Attributes
Get or set the Affected SOP Class UID as
UID.Get or set the Affected SOP Instance UID as
UID.Get or set the Attribute Identifier List as a
listofBaseTag.Get or set the Attribute List as
io.BytesIO.Get or set the Message ID value as
int.Get or set the Message ID Being Responded To as
int.REQUEST_KEYWORDSRESPONSE_KEYWORDSGet or set the Requested SOP Class UID as
UID.Get or set 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
AffectedSOPInstanceUID¶ Get or set the Affected SOP Instance UID as
UID.
-
property
AttributeIdentifierList¶ Get or set the Attribute Identifier List as a
listofBaseTag.- Parameters
of pydicom.tag.BaseTag (list) – The value to use for the Attribute Identifier List parameter. A list of pydicom
pydicom.tag.BaseTaginstances or any values acceptable for creating them.
-
property
AttributeList¶ Get or set the Attribute List as
io.BytesIO.- Parameters
io.BytesIO – The value to use for the Attribute List parameter.
-
property
RequestedSOPClassUID¶ Get or set the Requested SOP Class UID as
UID.- Parameters
pydicom.uid.UID – The value to use for the Requested SOP Class UID parameter.
or str (bytes) – The value to use for the Requested SOP Class UID parameter.
-
property
RequestedSOPInstanceUID¶ Get or set the Requested SOP Instance UID as
UID.- Parameters
pydicom.uid.UID – The value to use for the Requested SOP Instance UID parameter.
or str (bytes) – The value to use for the Requested SOP Instance UID parameter.
-