pynetdicom.pdu_primitives.SOPClassCommonExtendedNegotiation¶
-
class
pynetdicom.pdu_primitives.
SOPClassCommonExtendedNegotiation
[source]¶ A representation of the SOP Class Common Extended Negotiation primitive.
Allows peer AEs to exchange generic application information.
The SOP Class Common Extended Negotiation is optional and there may only be a single
SOPClassCommonExtendedNegotiation
item for each available SOP Class UID.Identical for both A-ASSOCIATE-RQ and A-ASSOCIATE-AC
-
sop_class_uid
¶ The UID of the SOP Class
- Type
pydicom.uid.UID, bytes or str
-
service_class_uid
¶ The UID of the corresponding Service Class
- Type
pydicom.uid.UID, bytes or str
Related General SOP Class UIDs (optional)
- Type
list of UID str
Examples
>>> from pynetdicom.pdu_primitives import SOPClassCommonExtendedNegotiation >>> item = SOPClassCommonExtendedNegotiation() >>> item.sop_class_uid = '1.2.840.10008.5.1.4.1.1.88.40' >>> item.service_class_uid = '1.2.840.10008.4.2' >>> item.related_general_sop_class_identification = [ ... '1.2.840.10008.5.1.4.1.1.88.22' ... ]
References
DICOM Standard, Part 7, Annex D.3.3.6
Methods
__init__
()Initialize self.
Convert the primitive to a PDU item ready to be encoded.
Attributes
Return the Related General SOP Class Identification.
Return the Service Class UID.
Return the SOP Class UID.
-
from_primitive
()[source]¶ Convert the primitive to a PDU item ready to be encoded.
- Returns
item
- Return type
- Raises
ValueError – If sop_class_uid or service_class_uid are not set
-
property
related_general_sop_class_identification
¶ Return the Related General SOP Class Identification.
-
property
service_class_uid
¶ Return the Service Class UID.
-
property
sop_class_uid
¶ Return the SOP Class UID.
-