Data Dictionary Utilities (pydicom.datadict)

Data dictionary functions

DICOM Data Dictionary

add_dict_entries(new_entries_dict)

Update the DICOM dictionary with new non-private entries.

add_dict_entry(tag, VR, keyword, description)

Update the DICOM dictionary with a new non-private entry.

dictionary_description(tag)

Return the description of the element corresponding to tag.

dictionary_has_tag(tag)

Return True if tag is in the official DICOM data dictionary.

dictionary_is_retired(tag)

Return True if the element corresponding to tag is retired.

dictionary_keyword(tag)

Return the keyword of the element corresponding to tag.

dictionary_VM(tag)

Return the VM of the element corresponding to tag.

dictionary_VR(tag)

Return the VR of the element corresponding to tag.

get_entry(tag)

Return an entry from the DICOM dictionary as a tuple.

keyword_for_tag(tag)

Return the keyword of the element corresponding to tag.

mask_match(tag)

Return the repeaters tag mask for tag.

repeater_has_keyword(keyword)

Return True if keyword is in the DICOM repeaters data dictionary.

repeater_has_tag(tag)

Return True if tag is in the DICOM repeaters data dictionary.

tag_for_keyword(keyword)

Return the tag of the element corresponding to keyword.

Private Data Dictionary

add_private_dict_entries(private_creator, ...)

Update pydicom's private DICOM tag dictionary with new entries.

add_private_dict_entry(private_creator, tag, ...)

Update the private DICOM dictionary with a new entry.

get_private_entry(tag, private_creator)

Return an entry from the private dictionary corresponding to tag.

private_dictionary_description(tag, ...)

Return the description of the private element corresponding to tag.

private_dictionary_VM(tag, private_creator)

Return the VM of the private element corresponding to tag.

private_dictionary_VR(tag, private_creator)

Return the VR of the private element corresponding to tag.