DICOMTAG

Purpose: Retrieve the value of a DICOM tag.

Format:    DICOMTAG    variable name    tag

Notes:     The  DICOMREAD  statement reads the header information from the image file specified by  filename.  This statement must executed prior to executing  DICOMTAG  statements.
 

Example:

getfile $dcmfile “Select a Dicom file”

dicomread $dcmfile

dicomtag $patname 0x00100010
pause “Patient Name: “ $patname

dicomtag a 0x00201041
pause “Slice Location: “ a
exit
 

See Also:  DICOMREAD