pynetdicom.dimse_primitives.N_GET

class pynetdicom.dimse_primitives.N_GET[source][source]

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 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

RequestedSOPClassUID

The UID of the SOP Class for which attribute values are to be retrieved.

Type

pydicom.uid.UID, bytes or str

RequestedSOPInstanceUID

The SOP Instance for which attribute values are to be retrieved.

Type

pydicom.uid.UID, bytes or str

AttributeIdentifierList

A list of attribute tags to be sent to the peer.

Type

list of pydicom.tag.Tag

AffectedSOPClassUID

The SOP Class UID of the SOP Instance for which the attributes were retrieved.

Type

pydicom.uid.UID, bytes or str

AffectedSOPInstanceUID

The SOP Instance UID of the SOP Instance for which the attributes were retrieved.

Type

pydicom.uid.UID, bytes or str

AttributeList

A DICOM dataset containing elements matching those supplied in Attribute Identifier List.

Type

pydicom.dataset.Dataset

Status

The error or success notification of the operation.

Type

int

__init__()[source][source]

Methods

__init__()

Attributes

AffectedSOPClassUID

Return the Affected SOP Class UID.

AffectedSOPInstanceUID

Return the Affected SOP Instance UID.

AttributeIdentifierList

Return the value of (0000,1005) Attribute Identifier List.

AttributeList

Return the Attribute List.

MessageID

Return the DIMSE Message ID.

MessageIDBeingRespondedTo

Return the Message ID Being Responded To.

REQUEST_KEYWORDS

RESPONSE_KEYWORDS

RequestedSOPClassUID

Return the Requested SOP Class UID.

RequestedSOPInstanceUID

Return the Requested SOP Instance UID.

STATUS_OPTIONAL_KEYWORDS

Status

Return the Status.

is_valid_request

Return True if the request is valid, False otherwise.

is_valid_response

Return True if the response is valid, False otherwise.