pynetdicom.pdu_primitives.ImplementationClassUIDNotification

class pynetdicom.pdu_primitives.ImplementationClassUIDNotification[source]

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 ImplementationClassUIDNotification item.

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

__init__()[source]

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()[source]

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

property implementation_class_uid

Return the Implementation Class UID.