pydicom.datadict.dictionary_is_retired¶
-
pydicom.datadict.dictionary_is_retired(tag)¶ Return
Trueif the element corresponding to tag is retired.Only performs the lookup for official DICOM elements.
Parameters: tag (int) – The tag for the element whose retirement status is being checked. Returns: Trueif the element’s retirement status is ‘Retired’,Falseotherwise.Return type: bool Raises: KeyError– If the tag is not present in the DICOM data dictionary.