$dcmtk: dsrdump v3.7.1 2026-10-15 $
dsrdump: Dump DICOM SR file and data set
usage: dsrdump [options] dsrfile-in...
parameters:
dsrfile-in DICOM SR input filename to be dumped
("-" for stdin)
general options:
-h --help print this help text and exit
--version print version information and exit
--arguments print expanded command line arguments
-q --quiet quiet mode, print no warnings and errors
-v --verbose verbose mode, print processing details
-d --debug debug mode, print debug information
-ll --log-level [l]evel: string constant
(fatal, error, warn, info, debug, trace)
use level l for the logger
-lc --log-config [f]ilename: string
use config file f for the logger
input options:
input file format:
+f --read-file read file format or data set (default)
+fo --read-file-only read file format only
-f --read-dataset read data set without file meta information
input transfer syntax:
-t= --read-xfer-auto use TS recognition (default)
-td --read-xfer-detect ignore TS specified in the file meta header
-te --read-xfer-little read with explicit VR little endian TS
-tb --read-xfer-big read with explicit VR big endian TS
-ti --read-xfer-implicit read with implicit VR little endian TS
processing options:
additional information:
-Ip --processing-details show currently processed content item
error handling:
-Er --unknown-relationship accept unknown/missing relationship type
-Ev --invalid-item-value accept invalid content item value
(e.g. violation of VR or VM definition)
-Ec --ignore-constraints ignore relationship content constraints
-Ee --ignore-item-errors do not abort on content item errors, just warn
(e.g. missing value type specific attributes)
-Ei --skip-invalid-items skip invalid content items (incl. sub-tree)
-Dv --disable-vr-checker disable check for VR-conformant string values
specific character set:
+U8 --convert-to-utf8 convert all element values that are affected
by Specific Character Set (0008,0005) to UTF-8
output options:
general printing:
+Pf --print-filename print header with filename for each document
-Ph --no-document-header do not print general document information
+Pn --number-nested-items print position string in front of each line
-Pn --indent-nested-items indent nested items by spaces (default)
printing values:
+Pl --print-long-values print long item values completely
-Pl --shorten-long-values print long item values shortened (default)
+Pu --print-instance-uid print SOP instance UID of referenced objects
-Ps --print-sopclass-short print short SOP class name of referenced
image objects, e.g. "CT image" (default)
+Ps --print-sopclass-long print long SOP class name of ref. objects
+Psu --print-sopclass-uid print SOP class UID of referenced objects
+Pc --print-all-codes print all codes (incl. concept name codes)
+Pi --print-invalid-codes print invalid codes (for debugging purposes)
-Pi --no-invalid-codes print text "invalid code" instead (default)
+Pt --print-template-id print template identification information
enhanced encoding mode:
+Pe --indicate-enhanced indicate that enhanced mode is used for codes
-Pe --no-enhanced-mode do not indicate enhanced mode (default)
color:
+C --print-color use ANSI escape codes for colored output
-C --no-color do not use any ANSI escape codes (default)
Options (28)
| Option | Description | Source |
|---|---|---|
-h | --help print this help text and exit | help |
--version | print version information and exit | help |
--arguments | print expanded command line arguments | help |
-q | --quiet quiet mode, print no warnings and errors | help |
-v | --verbose verbose mode, print processing details | help |
-d | --debug debug mode, print debug information | help |
-ll | --log-level [l]evel: string constant (fatal, error, warn, info, debug, trace) use level l for the logger | help |
-lc | --log-config [f]ilename: string use config file f for the logger | help |
-f | --read-dataset read data set without file meta information | help |
-t | --read-xfer-auto use TS recognition (default) | help |
-td | --read-xfer-detect ignore TS specified in the file meta header | help |
-te | --read-xfer-little read with explicit VR little endian TS | help |
-tb | --read-xfer-big read with explicit VR big endian TS | help |
-ti | --read-xfer-implicit read with implicit VR little endian TS | help |
-Ip | --processing-details show currently processed content item | help |
-Er | --unknown-relationship accept unknown/missing relationship type | help |
-Ev | --invalid-item-value accept invalid content item value (e.g. violation of VR or VM definition) | help |
-Ec | --ignore-constraints ignore relationship content constraints | help |
-Ee | --ignore-item-errors do not abort on content item errors, just warn (e.g. missing value type specific attributes) | help |
-Ei | --skip-invalid-items skip invalid content items (incl. | help |
-Dv | --disable-vr-checker disable check for VR-conformant string values | help |
-Ph | --no-document-header do not print general document information | help |
-Pn | --indent-nested-items indent nested items by spaces (default) | help |
-Pl | --shorten-long-values print long item values shortened (default) | help |
-Ps | --print-sopclass-short print short SOP class name of referenced image objects, e.g. "CT image" (default) | help |
-Pi | --no-invalid-codes print text "invalid code" instead (default) | help |
-Pe | --no-enhanced-mode do not indicate enhanced mode (default) | help |
-C | --no-color do not use any ANSI escape codes (default) | help |