$ curl --request POST \ --url http://localhost:8042/modalities/sample/query \ --data '{"Level":"Study","Query": {"PatientID":"","StudyDescription":"*Chest*","PatientName":""}}'
--data '{"Level":"Study","Query": {"PatientID":"","StudyDescription":"","PatientName":"", "0008,1032":""}}'
"HttpError" : "Bad Request",
"HttpStatus" : 400,
"Message" : "Parameter out of range",
"Method" : "POST",
"OrthancError" : "Parameter out of range",
"OrthancStatus" : 3,
"Uri" : "/modalities/Gepacs/query"
My actual goal would be to search for a specific procedure code sequence (actually its SequenceTag "CodeMeaning" 0008,0104) since GE PACS does not support searching for StudyDescription. Therefore I would have assumed that the code below might work to find all "Thorax" related procedures:
--data '{"Level":"Study","Query": {"PatientID":"","StudyDescription":"","PatientName":"", "0008,1032":[{"0008,0104":"*Thorax*"}] }}'
"Details" : "Associative array of DICOM tags to strings expected in field: Query",
"HttpError" : "Bad Request",
"HttpStatus" : 400,
"Message" : "Bad file format",
"Method" : "POST",
"OrthancError" : "Bad file format",
"OrthancStatus" : 15,
"Uri" : "/modalities/Gepacs/query"