pynetdicom.dimse_primitives.C_STORE#
- class pynetdicom.dimse_primitives.C_STORE[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:
 
 - 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 
 
 - OffendingElement#
- An optional status related field containing a list of the elements in which an error was detected. 
 - ErrorComment#
- An optional status related field containing a text description of the error detected. 64 characters maximum. - Type:
- str or None 
 
 - Methods - __init__()- 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 Data Set as - io.BytesIO.- Get or set the Message ID value as - int.- Get or set the Message ID Being Responded To as - int.- Get or set the Move Originator Application Entity Title as - str.- Get or set the Move Originator Message ID as - int.- Get or set the Priority as - int.- REQUEST_KEYWORDS- RESPONSE_KEYWORDS- STATUS_OPTIONAL_KEYWORDS- Get or set the Status as - int.- is_valid_request- Return - Trueif the request is valid,- Falseotherwise.- is_valid_response- Return - Trueif the response is valid,- Falseotherwise.- msg_type- Return the DIMSE message type as - str.- property AffectedSOPInstanceUID: UID | None#
- Get or set 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. 
 
 - property DataSet: BytesIO | None#
- Get or set the Data Set as - io.BytesIO.
 
