Well, crickets are asleep here at this time of the day …
By the way there are indeed some syntax issues with your script. This should work:
function OnStoredInstance(instanceId, tags, metadata, origin)
Well, crickets are asleep here at this time of the day …
By the way there are indeed some syntax issues with your script. This should work:
function OnStoredInstance(instanceId, tags, metadata, origin)
Alain,
I really appreciate your willingness to assist. I allowed my frustration get the best of me rather than walking away and taking a breathe. I’m going to give it a shot with your recommendations.
Thanks again.
I did try this one:
function OnStoredInstance(instanceId, tags, metadata, origin)
if tags['Modality'] == 'SR' then
SendToModality(instanceId, 'RADSR')
SendToModality(instanceId, 'POWERSCRIBE')
end
end
But there is still no indication of it even trying. Interestingly, the only data I am getting into the system are the SRs. It appears to be ignoring every other series in the exam. I feel like perhaps I am missing something in the script itself. I have attached it.
forward.lua (190 Bytes)
Could you be more precise ? In my understanding, you have a setup with at least 4 modalities so when you state ‘I am getting the SRs’, it’s a bit confusing for us… where do you get them ?
In my understanding, you have:
So, what is working and what is not ?
As a complement to Alain’s answer, besides a precise description of your setup and of your problem, please also provide your configuration file and the Orthanc log:
https://orthanc.chu.ulg.ac.be/book/faq/log.html#log
Sébastien-
Firstly thanks for getting back to me.
It iss only one Modality. It is a CT scanner. And I am trying to route the SRs received to two different locations on is my powerscribe and the other is my dose monitoring.
The CT is able to send data over to Orthanc fine. But the routing job doesn't seem to be working. I don't get the SRs in either of those locations after the storage is complete.
Thanks for showing me how to get more in-depth logs as well. I scratching my head with that one too.
Alain/Sebastian,
Thanks for your help. The changes worked perfectly.
Much Appreciated.