I have a device that is making a MWL query that has this format:
{
“0008,0005” : “ISO_IR 100”,
“0008,0050” : “”,
“0008,0090” : “”,
“0008,1110” : [],
“0008,1120” : [],
“0010,0010” : “*”,
“0010,0020” : “”,
“0010,0030” : “”,
“0010,0040” : “”,
“0010,1010” : “”,
“0010,1030” : “”,
“0010,2000” : “”,
“0010,2110” : “”,
“0010,21c0” : null,
“0020,000d” : “”,
“0020,0010” : “”,
“0032,1032” : “”,
“0032,1060” : “”,
“0032,1064” : [
{
“0008,0100” : “”,
“0008,0102” : “”,
“0008,0103” : “”,
“0008,0104” : “”
}
],
“0038,0010” : “”,
“0038,0050” : “”,
“0038,0300” : “”,
“0038,0500” : “”,
“0040,0100” : [
{
“0008,0060” : “”,
“0032,1070” : “”,
“0040,0001” : “”,
“0040,0002” : “”,
“0040,0003” : “”,
“0040,0006” : “”,
“0040,0007” : “”,
“0040,0008” : [
{
“0008,0100” : “”,
“0008,0102” : “”,
“0008,0103” : “”,
“0008,0104” : “”
}
],
“0040,0009” : “”,
“0040,0010” : “”,
“0040,0011” : “”,
“0040,0012” : “”,
“0040,0020” : “”
}
],
“0040,1001” : “”,
“0040,1003” : “”,
“0040,1004” : “”,
“0040,3001” : “”
}
The device is a GE DX device, and we are having trouble getting the MWL to work with that device specifically, but it is working with multiple other devices such as US, CT, etc. on the network. It seems that maybe the PregnancyStatus tag might be the issue since it is set to null in the request, so that is on the GE side of things. I have not yet tried editing or filtering that from the MWL request with a Python script as suggested in the Orthanc Book, but might try that also.
I did try using a curl like http://localhost:8042/modalities/SELF/find-worklist with the above JSON to make a request (works on my system the way it is configured), and when PregnancyStatus is null it returns:
{
“Details” : “Bad Parameter type for tag 0010,21c0”,
“HttpError” : “Bad Request”,
“HttpStatus” : 400,
“Message” : “Bad type for a parameter”,
“Method” : “POST”,
“OrthancError” : “Bad type for a parameter”,
“OrthancStatus” : 5,
“Uri” : “/modalities/SELF/find-worklist”
}
When PregnancyStatus is and empty string, or a number in quotes, it just return the set of matching datasets as expected.
Just wondering if that is a bug, or something that can be fixed on the MWL plug-in side, or if the GE device request should not have null as a property value. I/we could filter that out or edit it with a Python script to edit the MWL Query as well.
https://book.orthanc-server.com/plugins/python.html#handling-worklist-scp-requests-new-in-3-2
/sds