Posts by marcelvanherk
-
-
Hi,
I am not sure why this happens and have not seen this before. The lua script in line 11 calls a dicomget that fails with the message in line 1. I guess it works on the next attempt? What OS are you using?
Marcel
-
Debug by using a print statement, its output goes to the console.
-
Yes it is.
You can use e.g. ImportConverter0 = recordinfo.lua
In that script all patient information is available as e.g. Data.PatientID
Marcel
-
Ok, you need to find a working lua mysql driver first. It is called luasql_mysql. I do not have a copy, though.
-
Hi, sorry about that. I fixed the link. Marcel
-
Hi,
I think the issue may in be in the internal dicomcopy function. I will have a look.
Marcel
-
I can test it, I expect no problems. Marcel
-
Hi,
importConverters can run a lua script that in principle can load database drivers to write to whatever or run external executables. What database did you have in mind?
Marcel
-
Hi,
can you post your dicom.ini file for completeness?
Reading the code the difference is not obvious.
Marcel
-
Thanks,
I will add a flag IgnoreRewrite on Github somewhere in the new year.
Marcel
-
Hi,
this one show the previous tag on most errors, some depending on NoDicomCheck.
Marcel
-
This usually happens when conquest does not understand an item is a sequence, it is then transmitted binary but may have another coding than the surrounding. Too bad the error is different, I added a message to the invalid length one.
-
Hi,
this 32 bits version of dgate has an additional logging message that may help find the offending data in the communication. The length and element reported are are part of string 'Philips' but that occurs several time in the file.
To use this dgate in your server temporarily rename or move your dgate64.exe and put this one in. The 64 bits version is too big to attach here.
regards,
Marcel
-
Hi, all items marked SQ should be in dgate.dic:
Can you try adding them?
Marcel
-
Hi,
there may be a (private?) sequence in the data that is not defined in dgate.dic on the receiving end. This could cause the parsing error (***Implicit_Parse encountered an invalid element length during load of DCM file (in 68506c69)).
The error would only occur when data is sent with an implicit syntax, which is likely to be the default between two conquests.
Marcel
-
Hi,
first test if drag and drop works. This calls a command line option dgate64 --loadhl7:file
Marcel
-
Hi,
use dgatesop.lst. But as soon as you add one it will block all others. Also add the server itself. GUI and web access need it.
Marcel
-
Open console.bat and type:
q=DicomObject:new() q.SOPInstanceUID="" q.StudyDate="20200101-20200131" print(#dicomquery("CONQUESTSRV1", "IMAGE", q))
This gives you the numner of images in january 2020 on server CONQUESTSRV1.
Marcel
-
Hi,
you can easily write a lua script to query images using date ranges, see examples in the lua folder, e.g. q.seriesDate="20200101-20200131". The best is to use zerobrane studio to develop the script. But the console (batch file) would work as well.
Marcel