Hello
I want to export a stuctured report .V2 in a XML file using the tool "dsr2xml". Can I add these lines to dicom.ini? Currently it does not work: syntax problem or inconsistency ?
Thank you.
alain godard Châtellerault France
Hello
I want to export a stuctured report .V2 in a XML file using the tool "dsr2xml". Can I add these lines to dicom.ini? Currently it does not work: syntax problem or inconsistency ?
Thank you.
alain godard Châtellerault France
Hi,
The "to" is only for built-in commands. Try:
C:\dcmtk\bin\dsr2xml.exe %f F:\structured_report\%f.xml
Marcel
Bonjour
This line in dicom.ini
don't work....
[CONQUESTSRV1] Exportconverter0.0 executes: C:\dcmtk\bin\dsr2xml.exe F:\VOLUSON\dicom_server\data\7294-08-01-23-1\1.2.276.0.26.1.1.1.2.2008.54.25012.490901.1_0001_000001_12010714650001.v2 F:\VOLUSON\structured_report\F:\VOLUSON\dicom_server\data\7294-08-01-23-1\1.2.276.0.26.1.1.1.2.2008.54.25012.490901.1_0001_000001_12010714650001.v2.xml
another one :
This line works well, but the file is not in the desired directory ... An idea?
Bonjour,
The problem lies in the expanded command: "F:\VOLUSON\structured_report\F:\VOLUSON .... " is not a valid filename.
You will have to use other % options to generate your required filename, or you may be able to use e.g., %f[3, 999] to strip of the "F:\" from the filename and then use the same construction, i.e., use
F:\VOLUSON\structured_report\%f[3,999].xml
Marcel
Unfortunately, it does not work ... The original folder path is taken, as well as the former extension. V2 (in bold) ...
[CONQUESTSRV1] Exportconverter1.0 executes: C:\dcmtk\bin\dsr2xml.exe F:\VOLUSON\dicom_server\data\7294-02-01-01-1\1.2.276.0.26.1.1.1.2.2002.32.2053.1965899.1_0001_000001_12011663650001.v2 F:\VOLUSON\structured_report\VOLUSON\dicom_server\data\7294-02-01-01-1\1.2.276.0.26.1.1.1.2.2002.32.2053.1965899.1_0001_000001_12011663650001.v2.xml
Hi,
is that a problem? .v2.xml is a workable filename. Otherwise may be able to use other % options such as %Vgggg,eeee or %p and %b to create the required filename (see manual).
E.g., %p[3,999]\%b.xml may give you what you want.
Marcel
i.e. = c'est
e.g. = par example
Marcel
Don’t have an account yet? Register yourself now and be a part of our community!