The IDLffDicomEx::GetDescription function method returns the description associated with a public DICOM attribute specified by a standard DICOM attribute tag.

Syntax


Result = Obj->[IDLffDicomEx::]GetDescription(DicomTag )

Return Value


Arguments


DicomTag

A string that identifies the group and element of a DICOM attribute in the form 'XXXX,XXXX'. The DicomTag argument must reference a public tag. See DICOM Attributes for a list of tags.

Keywords


None

Example


The following example returns the description of Photometric Interpretation attribute from a DICOM file in the examples\data directory. See PHOTOMETRIC_INTERPRETATION"for more information on this attribute.

PRO read_attrdescription_doc
 
; Select a DICOM file to examine.
sFile = DIALOG_PICKFILE( $
    PATH=FILEPATH('',SUBDIRECTORY=['examples','data']), $
    TITLE='Select DICOM Patient File', FILTER='*.dcm', $
    GET_PATH=path)
 
; Open the selected file in read-only mode.
 oImg = OBJ_NEW('IDLffDicomEx', sfile)
 
; Return the photometric interpretation description. 
result = oImg->GetDescription('0028,0004')
 
Print, 'Result is ', result
 
END

For the mr_knee.dcm file, the following appears in the Output Log window:

Result is Photometric Interpretation

Version History


6.1

Introduced