pynetdicom._config.ENFORCE_UID_CONFORMANCE

pynetdicom._config.ENFORCE_UID_CONFORMANCE: bool = False

Enforce UID conformance

Added in version 1.3.

If True then UIDs will be checked to ensure they’re conformant to the DICOM Standard and if not then an appropriate response sent, otherwise UIDs will only be checked to ensure they’re no longer then 64 characters and if not then an appropriate response sent.

Default: False

Examples

>>> from pynetdicom import _config
>>> _config.ENFORCE_UID_CONFORMANCE = True