1.Worklist server generate the *.wl file in the server’s worklist file database
2.The Modality query for it’s worklists
3.The Worklist send back the worklist to the modality
4. The modality do it’s job
5.???How should the Worklist server knows the openration have been completed???
How does the WorkList server knows that the modality have operated the medical Image checking?
Hi Franklin,
I don’t have the answer to your question, but I can share how we usually do:
We run a nightly script which deletes all the *.wl files older than 24h.
That works fine given that if a job has not been done (patient not there, technical problem,…), a new visit will be planned and so a new worklist will be generated…
HTH,
Adding to what @bcrickboom has suggested, you can also check if any dicom file has been received for an item in the worklist or not. If yes, delete the .wl file from your .wl containing folder.
Here is a worklist file purge C++ plugin project, which deletes the .wl file when an instance receives with matching Study Instance UID or Accession no.
Thank you for your answer,I will consider it as a solution.
Can the MPPS works?If I got the status of the modality ,then I delete the *.wl file?
When I execute “make” command after executing “camke”,I encountered this error in the picture
,I am using Ubuntu18
Hello,
I manage to compile @Alvin’s plugin by applying the following patch:
diff --git a/Plugin.cpp b/Plugin.cpp
index 815a1d2..8e4e817 100644
--- a/Plugin.cpp
+++ b/Plugin.cpp
@@ -31,6 +31,7 @@
#include <string.h>
#include <iostream>
#include <algorithm>
+#include <fstream>
#define DCM_TAG_STDIUID "0020,000d"
#define DCM_TAG_ACCNO "0008,0050"
Kind Regards,
Sébastien-
Regarding MPPS:
That would be a nice addition.
/sds
OK,thank you for your reply,it is MPPS.