pynetdicom.dimse_primitives.C_STORE¶
-
class
pynetdicom.dimse_primitives.C_STORE[source][source]¶ Represents a C-STORE primitive.
Parameter Req/ind Rsp/conf Message ID M U Message ID Being Responded To - M Affected SOP Class UID M U(=) Affected SOP Instance UID M U(=) Priority M - Move Originator Application Entity Title U - Move Originator Message ID U - Data Set M - Status - M Offending Element - C Error Comment - C (=) - 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¶ 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
-
AffectedSOPInstanceUID¶ For the request/indication this specifies the SOP Instance 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
-
Priority¶ The priority of the C-STORE operation. It shall be one of the following:
- 0: Medium
- 1: High
- 2: Low (Default)
Type: int
-
MoveOriginatorApplicationEntityTitle¶ The DICOM AE Title of the AE that invoked the C-MOVE operation from which this C-STORE sub-operation is being performed
Type: bytes
-
MoveOriginatorMessageID¶ The Message ID of the C-MOVE request/indication primitive from which this C-STORE sub-operation is being performed
Type: int
-
DataSet¶ The pydicom Dataset containing the Attributes of the Composite SOP Instance to be stored, encoded as a BytesIO object
Type: io.BytesIO
-
OffendingElement¶ An optional status related field containing a list of the elements in which an error was detected.
Type: list of int or None
-
ErrorComment¶ An optional status related field containing a text description of the error detected. 64 characters maximum.
Type: str or None
Methods
__init__()Initialize self. Attributes
AffectedSOPClassUIDReturn the Affected SOP Class UID. AffectedSOPInstanceUIDReturn the Affected SOP Instance UID. DataSetReturn the Data Set. MessageIDReturn the DIMSE Message ID. MessageIDBeingRespondedToReturn the Message ID Being Responded To. MoveOriginatorApplicationEntityTitleReturn the Move Originator Application Entity Title. MoveOriginatorMessageIDReturn the Move Originator Message ID. PriorityReturn the Priority. REQUEST_KEYWORDSRESPONSE_KEYWORDSSTATUS_OPTIONAL_KEYWORDSStatusReturn the Status. is_valid_requestReturn True if the request is valid, False otherwise. is_valid_responseReturn True if the response is valid, False otherwise. -
AffectedSOPClassUID Return the Affected SOP Class UID.
-
AffectedSOPInstanceUID Return the Affected SOP Instance UID.
-
DataSet Return the Data Set.
-
MessageID Return the DIMSE Message ID.
-
MessageIDBeingRespondedTo Return the Message ID Being Responded To.
-
MoveOriginatorApplicationEntityTitle Return the Move Originator Application Entity Title.
-
MoveOriginatorMessageID Return the Move Originator Message ID.
-
Priority Return the Priority.
-
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.
-