pynetdicom.dimse_primitives.N_CREATE¶
-
class
pynetdicom.dimse_primitives.
N_CREATE
[source]¶ Represents a N-CREATE primitive.
Parameter
Req/ind
Rsp/conf
Message ID
M
-
Message ID Being Responded To
-
M
Affected SOP Class UID
M
U(=)
Affected SOP Instance UID
U
C
Attribute List
U
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
-
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
-
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
-
AttributeList
¶ A set of attributes and values that are to be assigned to the new SOP Instance.
- Type
-
Status
¶ The error or success notification of the operation. It shall be one of the following values:
- Type
Methods
__init__
()Initialize self.
Attributes
Return the Affected SOP Class UID as
UID
.Return the Affected SOP Instance UID as
UID
.Return the Attribute List as
io.BytesIO
.Return the Message ID value as
int
.Return the Message ID Being Responded To as
int
.REQUEST_KEYWORDS
RESPONSE_KEYWORDS
STATUS_OPTIONAL_KEYWORDS
Return the Status as
int
.is_valid_request
Return
True
if the request is valid,False
otherwise.is_valid_response
Return
True
if the response is valid,False
otherwise.msg_type
Return the DIMSE message type as
str
.-
property
AttributeList
¶ Return the Attribute List as
io.BytesIO
.
-