Hello all,
We've pinned down an issue we've been having with DQR searches using the plugin. The referring physician tag (0018, ) from a particular scanner unfortunately inserts too many carets in the string with the doctor's name. This causes an error when we do a search for the patient's data, both through the XNAT web interface or through CSV REST query. The XNAT will say that no data was found for the patient on the remote PACS, even though there are multiple series available. As far as we can tell, we only run into this issue when there are 3+ consecutive carets in a tag in the response from PACS. Usually, our queries run without any problem.
We checked the packets returned from the remote PACS to verify the response to XNAT contained a valid response. I've attached screenshots of the query and response contents (with sensitive info scrubbed).
The error from the dqr.log will read something like: (dummy physician name inserted)
2023-01-13 10:50:08,944 [http-nio-8080-exec-5] ERROR org.nrg.xnatx.dqr.services.impl.basic.BasicDicomQueryRetrieveService - The submitted PACS query criteria were invalid
org.nrg.xapi.exceptions.DataFormatException: A DQR run-time exception occurred, which usually indicates a problem performing a query to the PACS: SMITH^JOHN^^^^MD
I've tried the 1.0.4-SNAPSHOT DQR plugin, but it does not fix the problem.
Has anyone else encountered this issue? Please let us know if we can clarify or test anything further.
Thanks,
Eve
Query out from XNAT to PACS:
Query returned from PACS: