pynetdicom.pdu_primitives.ImplementationClassUIDNotification

class pynetdicom.pdu_primitives.ImplementationClassUIDNotification

A representation of a Implementation Class UID Notification primitive.

The implementation identification notification allows implementations of communicating AEs to identify each other at Association establishment time. It is intended to provider respective and non-ambiguous identification in the event of communication problems encountered between two nodes. This negotiation is required.

Implementation identification relies on two pieces of information: - Implementation Class UID (required) - Implementation Version Name (optional)

The Implementation Class UID is required during Association negotiation and there must only be a single ImplementationClassUID item

usr_data_neg = [] usr_data_neg.append(impl_class_uid)

implementation_class_uid

The UID to use

Type:pydicom.uid.UID, bytes or str

Examples

>>> from pynetdicom.pdu_primitives import (
...     ImplementationClassUIDNotification
... )
>>> item = ImplementationClassUIDNotification()
>>> item.implementation_class_uid = '1.2.3.4'

References

  • DICOM Standard, Part 7, Annex D.3.3.2
__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

implementation_class_uid Return the Implementation Class UID.
from_primitive()

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

Returns:item
Return type:pdu_items.ImplementationClassUIDSubItem
Raises:ValueError – If no UID is set
implementation_class_uid

Return the Implementation Class UID.