The dash “-” character is used to specify a range in C-Find queries and I have some fields that contain the dash character that I need to do a search on via /tools/find. Is there any way to escape dash characters in C-Find queries?
Anyone?
Range matching only applies to “DA” (date), “TM” (time) and “DT” (date/time) VR:
http://dicom.nema.org/medical/dicom/current/output/html/part04.html#sect_C.2.2.2.5
As a consequence, “escaping” dash characters make no sense.
Here is the relevant part of the source code of Orthanc:
https://bitbucket.org/sjodogne/orthanc/src/Orthanc-1.5.6/OrthancServer/Search/DatabaseLookup.cpp#lines-147