pynetdicom.pdu_primitives.SOPClassExtendedNegotiation

class pynetdicom.pdu_primitives.SOPClassExtendedNegotiation

A representation of the SOP Class Extended Negotiation primitive.

Allows peer AEs to exchange application information defined by specific Service Class specifications. Each Service Class is required to document the application information it supports and how this information is negotiated between SCUs and SCPs.

The SOP Class Extended Negotiation is optional and there may only be a single SOPClassExtendedNegotiation 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_application_information

The Service Class Application Information as per the Service Class Specifications (see PS3.4)

Type:bytes

Examples

>>> from pynetdicom.pdu_items import SOPClassExtendedNegotiation
>>> item = SOPClassExtendedNegotiation()
>>> item.sop_class_uid = '1.2.840.10008.5.1.4.1.2.1.3'
>>> item.service_class_application_information = b''

References

  • DICOM Standard, Part 7, Annex D.3.3.5
__init__()

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__() Initialize self.
from_primitive() Convert the primitive to a PDU item ready to be encoded.

Attributes

service_class_application_information Return the Service Class Application Information.
sop_class_uid Return the SOP Class UID.
from_primitive()

Convert the primitive to a PDU item ready to be encoded.

Returns:item
Return type:pdu_items.SOPClassExtendedNegotiationSubItem
Raises:ValueError – If sop_class_uid or service_class_application_information are not set
service_class_application_information

Return the Service Class Application Information.

sop_class_uid

Return the SOP Class UID.