pynetdicom.pdu_primitives.ImplementationVersionNameNotification

class pynetdicom.pdu_primitives.ImplementationVersionNameNotification[source]

A representation of a Implementation Version Name 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 Version Name is optional and there may only be a single ImplementationVersionNameNotification item.

Examples

>>> from pynetdicom.pdu_primitives import (
...     ImplementationVersionNameNotification
... )
>>> item = ImplementationVersionNameNotification()
>>> item.implementation_version_name = b'SOME_NAME'

References

__init__() None[source]

Methods

__init__()

from_primitive()

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

Attributes

implementation_version_name

Get or set the Implementation Version Name.

from_primitive() ImplementationVersionNameSubItem[source]

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

Returns:

item

Return type:

pdu_items.ImplementationVersionNameSubItem

Raises:

ValueError – If no name is set

property implementation_version_name: str | None

Get or set the Implementation Version Name.

Parameters:

value (str or bytes) – The value for the Implementation Version Name

Raises:
  • TypeError – If value is not a str or bytes

  • ValueError – If value is empty or longer than 16 characters