Hello,
I am experimenting with Conquest used as an Overlay over Radiant database directory. I have changed the MAG0 to the Radiant database folder and indexed. Now, I see the files in the in-built Web Viewer and in the GUI, if i browse the database. But if I query the Server from the GUI or from another DICOM Client (another Radiant) - the search does not find any patients. Does that ring any bells, like something that can happen and what is the solution?
Code
[CONQUESTSRV1] *** lua run error [string "local first=true; local ae=[[CONQUESTSRV1]]..."]:1: attempt to call a nil value in 'local first=true; local ae=[[CONQUESTSRV1]];local level=[[STUDY]];local q={QueryRetrieveLevel=[[STUDY]],PatientID=[[]],PatientName=[[hofmann]],StudyDate=[[]],};local q2=DicomObject:new(); for k,v in pairs(q) do q2[k]=v end;local r2=dicomquery(ae, level, q2);local s=tempfile("txt") f=io.open(s, "wb");if r2==nil then f:write("no connection with "..ae.."\n") returnfile=s f:close() return end; local r = loadstring("return "..r2:Serialize())();r[1].QueryRetrieveLevel=nil; r[1].TransferSyntaxUID=nil; local keys={} for k,v in pairs(r[1]) do keys[#keys+1]=k end; table.sort(keys, function(a, b) return string.sub(a, 1, 7)<string.sub(b, 1, 7) end); if first then for k,v in ipairs(keys) do f:write(v.." ") end f:write("\n") end if first then f:write("---------------------------------------------------------------------------------------------------------------------------------------------------------------\n") end for k,v in ipairs(r) do for k2,v2 in ipairs(keys) do f:write("["..v[v2].."] ") end f:write("\n") end returnfile=s f:close();'
[CONQUESTSRV1] *** lua run error [string "local first=true; local ae=[[CONQUESTSRV1]]..."]:1: attempt to call a nil value in 'local first=true; local ae=[[CONQUESTSRV1]];local level=[[SERIES]];local q={QueryRetrieveLevel=[[SERIES]],PatientID=[[]],PatientName=[[hofmann]],StudyDate=[[]],SeriesNumber=[[]],SeriesDescription=[[]],Modality=[[]],};local q2=DicomObject:new(); for k,v in pairs(q) do q2[k]=v end;local r2=dicomquery(ae, level, q2);local s=tempfile("txt") f=io.open(s, "wb");if r2==nil then f:write("no connection with "..ae.."\n") returnfile=s f:close() return end; local r = loadstring("return "..r2:Serialize())();r[1].QueryRetrieveLevel=nil; r[1].TransferSyntaxUID=nil; local keys={} for k,v in pairs(r[1]) do keys[#keys+1]=k end; table.sort(keys, function(a, b) return string.sub(a, 1, 7)<string.sub(b, 1, 7) end); if first then for k,v in ipairs(keys) do f:write(v.." ") end f:write("\n") end if first then f:write("---------------------------------------------------------------------------------------------------------------------------------------------------------------\n") end for k,v in ipairs(r) do for k2,v2 in ipairs(keys) do f:write("["..v[v2].."] ") end f:write("\n") end returnfile=s f:close();'
[CONQUESTSRV1] *** lua run error [string "local first=true; local ae=[[CONQUESTSRV1]]..."]:1: attempt to call a nil value in 'local first=true; local ae=[[CONQUESTSRV1]];local level=[[SERIES]];local q={QueryRetrieveLevel=[[SERIES]],PatientID=[[]],PatientName=[[Hofmann]],StudyDate=[[]],SeriesNumber=[[]],SeriesDescription=[[]],Modality=[[]],};local q2=DicomObject:new(); for k,v in pairs(q) do q2[k]=v end;local r2=dicomquery(ae, level, q2);local s=tempfile("txt") f=io.open(s, "wb");if r2==nil then f:write("no connection with "..ae.."\n") returnfile=s f:close() return end; local r = loadstring("return "..r2:Serialize())();r[1].QueryRetrieveLevel=nil; r[1].TransferSyntaxUID=nil; local keys={} for k,v in pairs(r[1]) do keys[#keys+1]=k end; table.sort(keys, function(a, b) return string.sub(a, 1, 7)<string.sub(b, 1, 7) end); if first then for k,v in ipairs(keys) do f:write(v.." ") end f:write("\n") end if first then f:write("---------------------------------------------------------------------------------------------------------------------------------------------------------------\n") end for k,v in ipairs(r) do for k2,v2 in ipairs(keys) do f:write("["..v[v2].."] ") end f:write("\n") end returnfile=s f:close();'