dsr2xml(1) OFFIS DCMTK dsr2xml(1) (NAME) dsr2xml - DICOM SR XML (SYNOPSIS) dsr2xml [options] dsrfile-in [xmlfile-out] (DESCRIPTION) dsr2xml (DICOM Structured Reporting - SR) (raw data set) XML ( ) . (XML Schema) dsr2xml.xsd . dsr2xml ( HL7/CDA - ). dsr2xml ( DICOM ) (transfer syntax) . dcmconv . -f -t[ieb] dsr2xml . (PARAMETERS) dsrfile-in DICOM SR ("-" stdin) xmlfile-out XML (: stdout) (OPTIONS) (general options) -h --help --version --arguments -q --quiet -v --verbose -d --debug -ll --log-level [l]evel: string constant (fatal, error, warn, info, debug, trace) l -lc --log-config [f]ilename: string f (input options) : +f --read-file () +fo --read-file-only -f --read-dataset : -t= --read-xfer-auto TS () -td --read-xfer-detect TS -te --read-xfer-little TS VR (little endian) -tb --read-xfer-big TS VR (big endian) -ti --read-xfer-implicit TS VR (little endian) (processing options) : -Er --unknown-relationship / -Ev --invalid-item-value ( VR VM) -Ec --ignore-constraints -Ee --ignore-item-errors ( ) -Ei --skip-invalid-items ( ) -Dv --disable-vr-checker VR : +Cr --charset-require () +Ca --charset-assume [c]harset: string c +Cc --charset-check-all (: PN, LO, LT, SH, ST, UC UT) # # Specific Character Set (0008,0005) # UTF-8 +U8 --convert-to-utf8 Specific Character Set (0008,0005) UTF-8 # # ( --version ) (output options) : +Ea --attr-all XML ( +Ec, +Er, +Ev +Et) +Ec --attr-code XML +Er --attr-relationship XML +Ev --attr-value-type XML +Et --attr-template-id XML +Ee --template-envelope ( +Wt +Et) XML: +Xs --add-schema-reference XML "dsr2xml.xsd" ( +Ea, +Ec, +Er, +Ev, +Et, +Ee, +We ) +Xn --use-xml-namespace (XML namespace) : +We --write-empty-tags +Wi --write-item-id +Wt --write-template-id (NOTES) DICOM (DICOM Conformance) dsr2xml SOP : SpectaclePrescriptionReportStorage 1.2.840.10008.5.1.4.1.1.78.6 MacularGridThicknessAndVolumeReportStorage 1.2.840.10008.5.1.4.1.1.79.1 BasicTextSRStorage 1.2.840.10008.5.1.4.1.1.88.11 EnhancedSRStorage 1.2.840.10008.5.1.4.1.1.88.22 ComprehensiveSRStorage 1.2.840.10008.5.1.4.1.1.88.33 Comprehensive3DSRStorage 1.2.840.10008.5.1.4.1.1.88.34 ProcedureLogStorage 1.2.840.10008.5.1.4.1.1.88.40 MammographyCADSRStorage 1.2.840.10008.5.1.4.1.1.88.50 KeyObjectSelectionDocumentStorage 1.2.840.10008.5.1.4.1.1.88.59 ChestCADSRStorage 1.2.840.10008.5.1.4.1.1.88.65 XRayRadiationDoseSRStorage 1.2.840.10008.5.1.4.1.1.88.67 RadiopharmaceuticalRadiationDoseSRStorage 1.2.840.10008.5.1.4.1.1.88.68 ColonCADSRStorage 1.2.840.10008.5.1.4.1.1.88.69 ImplantationPlanSRStorage 1.2.840.10008.5.1.4.1.1.88.70 AcquisitionContextSRStorage 1.2.840.10008.5.1.4.1.1.88.71 SimplifiedAdultEchoSRStorage 1.2.840.10008.5.1.4.1.1.88.72 PatientRadiationDoseSRStorage 1.2.840.10008.5.1.4.1.1.88.73 PlannedImagingAgentAdministrationSRStorage 1.2.840.10008.5.1.4.1.1.88.74 PerformedImagingAgentAdministrationSRStorage 1.2.840.10008.5.1.4.1.1.88.75 WaveformAnnotationSRStorage 1.2.840.10008.5.1.4.1.1.88.77 RenditionSelectionDocumentRealTimeCommunication 1.2.840.10008.10.4 (*) (*) Storage SOP (Real-Time) . . (Character Encoding) XML (0008,0005) "Specific Character Set" : ASCII (ISO_IR 6) => "UTF-8" UTF-8 "ISO_IR 192" => "UTF-8" ISO Latin 1 "ISO_IR 100" => "ISO-8859-1" ISO Latin 2 "ISO_IR 101" => "ISO-8859-2" ISO Latin 3 "ISO_IR 109" => "ISO-8859-3" ISO Latin 4 "ISO_IR 110" => "ISO-8859-4" ISO Latin 5 "ISO_IR 148" => "ISO-8859-9" ISO Latin 9 "ISO_IR 203" => "ISO-8859-15" Cyrillic "ISO_IR 144" => "ISO-8859-5" Arabic "ISO_IR 127" => "ISO-8859-6" Greek "ISO_IR 126" => "ISO-8859-7" Hebrew "ISO_IR 138" => "ISO-8859-8" Thai "ISO_IR 166" => "TIS-620" Japanese "ISO 2022 IR 13\ISO 2022 IR 87" => "ISO-2022-JP" Korean "ISO 2022 IR 6\ISO 2022 IR 149" => "ISO-2022-KR" Chinese "ISO 2022 IR 6\ISO 2022 IR 58" => "ISO-2022-CN" Chinese "GB18030" => "GB18030" Chinese "GBK" => "GBK" --charset- assume ( ) . : latin-1 latin-2 latin-3 latin-4 latin-5 latin-9 cyrillic arabic greek hebrew. --convert-to-utf8 UTF-8 XML . --convert-to-utf8 ASCII 32 "&#nnn;" "nnn" . ( "" ESC) XML . (Error Handling) --unknown- relationship --invalid-item-value --ignore-constraints --ignore-item-errors --skip-invalid-items DICOM SR . SR . (Limitations) XML dsr2xml.xsd dsr2xml . ( --use- xml-namespace) . (LOGGING) . (stderr) . --verbose . --debug . --log-level . --quiet (fatal) . . "oflog" . ( ) syslog () event log () --log-config . . /logger.cfg . (COMMAND LINE) : (0-1) (1-n) 0 n . '+' '-' . ( ). . . '@' ( @command.txt). ( ). . / ( /dumppat.txt ). (ENVIRONMENT) dsr2xml DCMDICTPATH . DCMDICTPATH /dicom.dic ( ). DCMDICTPATH . DCMDICTPATH PATH (":") . (";") . DCMDICTPATH . . dsr2xml . DCMTK oficonv ( ) ( DCMTK ). . DCMICONVPATH . . (FILES) /dsr2xml.xsd - XML (SEE ALSO) xml2dsr(1), dcmconv(1) (COPYRIGHT) (C) 2000-2025 OFFIS e.V., Escherweg 2, 26121 Oldenburg, Germany. 3.7.0 9 2026 dsr2xml(1)