hello everyone!
I am generating worklist using php to upload it on server using static value. For that i have created one text file demo.txt. and i am creating target1.wl from that using new.php an uploading it on server machine using ftp as shown in new.php.
now my question is that,
0) can I generate worklist like this???
- will this work properly while fetching worklist from modality using query???
- which tags should be included in demo.php complusory??
- should I include UID also? or this will be generated by modality??
new.php (2.35 KB)
demo.txt (3.39 KB)
Hi, Devanshi!
- can I generate worklist like this???
Yes, you can. A worklist file is a dcm (minus image data). Take a look at Orthanc’s Sample Modality Worklists plugin:
https://book.orthanc-server.com/plugins/worklists-plugin.html
This page describes generating WL files using dump2dcm utility your PHP uses.
- will this work properly while fetching worklist from modality using query???
It depends more on the modality itself. Generally speaking, it should. But last week I had to rush to one of my customer’s units because their US’s were not displaying Study Description. It turned out those modalities (mostly GE) expected us to provide the “Schedule Procedure Step Description” (0040,0007). Your sample txt looks fine to me, just make sure you replace your sample values (like “Modality” and “PID”) for real ones.
- which tags should be included in demo.php complusory??
I’m not sure whether there are rules. At least “fixed” ones, specially after experiencing what I recounted on [1]. Obviously, I might be wrong and in any case this is one point I must study a lot.
Also, at the Orthanc page I linked earlier, you’ll notice a “How to create a worklist file”. Your TXT should look like the example provided there.
- should I include UID also? or this will be generated by modality??
I believe UID’s are generated by the modalities. The only ID’s I reckon must be known while generating the worklist are Patient ID and AccessionNumber. Those should be generated by the HIS.
Hi Luiz & Devanshi,
Just a quick remark, you should probably include the StudyInstanceUID in your worklist (that’s what we do in a “RIS” project). That way, your RIS is ready to “link” with the study before it is actually acquired. SeriesInstanceUID and SOPInstanceUID are generated by the modality.