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 ImplementationVersionName item
-
implementation_version_name
¶ The version name to use, maximum of 16 characters
Type: str or bytes
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__
()¶ 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_version_name
Return the Implementation Version Name. -
from_primitive
()¶ 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
-
implementation_version_name
Return the Implementation Version Name.