pynetdicom.pdu_primitives.ImplementationVersionNameNotification¶
- class pynetdicom.pdu_primitives.ImplementationVersionNameNotification¶
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
DICOM Standard, Part 7, Annex D.3.3.2
- __init__() None ¶
Methods
__init__
()Convert the primitive to a PDU item ready to be encoded.
Attributes
Get or set the Implementation Version Name.
- from_primitive() ImplementationVersionNameSubItem ¶
Convert the primitive to a PDU item ready to be encoded.
- Returns:
item
- Return type:
- Raises:
ValueError – If no name is set
- property implementation_version_name: Optional[str]¶
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