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.

Examples

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

References

__init__() None[source]

Methods

__init__()

from_primitive()

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

Attributes

implementation_class_uid

Get or set the Implementation Class UID.

from_primitive() ImplementationClassUIDSubItem[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: UID | None

Get or set the Implementation Class UID.

Parameters:

value (pydicom.uid.UID, bytes or str) – The value for the Implementation Class UID