pynetdicom._config.ENFORCE_UID_CONFORMANCE#
- pynetdicom._config.ENFORCE_UID_CONFORMANCE: bool = False#
Enforce UID conformance
If
Truethen 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:
FalseExamples
>>> from pynetdicom import _config >>> _config.ENFORCE_UID_CONFORMANCE = True