Query study by tag

58 views
Skip to first unread message

shyam.b...@thoughti.com

unread,
Nov 15, 2018, 7:08:43 AM11/15/18
to Orthanc Users
I there any way to query Orthanc and get all studies with the tag (0008,0100) is 'x'.

Alain Mazy

unread,
Nov 15, 2018, 8:22:17 AM11/15/18
to shyam.b...@thoughti.com, orthan...@googlegroups.com

On Thu, Nov 15, 2018 at 1:08 PM <shyam.b...@thoughti.com> wrote:
I there any way to query Orthanc and get all studies with the tag (0008,0100) is 'x'.


--

Alain Mazy / CTO 
a...@osimis.io / +32 494 31 67 27

Osimis

OSIMIS S.A. 
Quai Banning 6BE-4000 Liège 
www.osimis.io

Twitter LinkedIn


Shyam Bhaskaran

unread,
Nov 15, 2018, 8:30:42 AM11/15/18
to a...@osimis.io, orthan...@googlegroups.com
I tried this but doesn't return anything, If i try something like patientID, studyID or Physician name it returns the result-set.

curl --request POST --url http://localhost:8042/tools/find --data '{"Level":"Instance","Query":{"0008,0100":"test"}}'
--

Thanks & Regards,

Shyam Bhaskaran
Team Lead

THOUGHTi, LLC - Your Partner in Healthcare IT  Learn more.
Unit # 120, Building No. 2, Sector - I , Millennium Business Park , Mahape , Navi Mumbai , Maharashtra, India
Ph: +91-22-41239960
Fax:+91 -22-67107430

Mobile:+91-9673699371
Skype:shyam.thoughti
Before printing, think about ENVIRONMENTAL responsibility.

This message and the electronic datafiles attached to it, if any(collectively hereinafter referred to as "this communication") are proprietary to THOUGHTi INDIA PVT LTD and CONFIDENTIAL and may well be PRIVILEGED and, unless specifically otherwise indicated, do not confer any license for the recipient to utilize this communication in any way. They are intended only for the use by the addressee. If you are not the intended recipient of this communication, you are hereby notified of its status. Any dissemination, copy or use by you of this communication for any purpose is strictly prohibited. Please delete all electronic copies and destroy any hard copies of this communication which you may have created and notify me immediately at my above e-mail address.

Sébastien Jodogne

unread,
Nov 15, 2018, 8:33:01 AM11/15/18
to Orthanc Users


Please provide a sample DICOM file.

Alain Mazy

unread,
Nov 15, 2018, 8:54:37 AM11/15/18
to shyam.b...@thoughti.com, orthan...@googlegroups.com
Are you actually sure that you have data with these tags ?

I don't -> I get no results
$ curl --request POST --url http://localhost:8042/tools/find --data '{"Level":"Study","Query":{"0008,0100":"*"}}'
[]

when trying any other fancy tag that are present in at least one image -> I get results:
$ curl --request POST --url http://localhost:8042/tools/find --data '{"Level":"Study","Query":{"0028,1101":"*"}}'
[ "2578aef7-f90dd1b6-574c432a-4de716e7-e272b61b" ]

Salim Kanoun

unread,
Nov 15, 2018, 5:11:35 PM11/15/18
to Orthanc Users
small question about that,
is it possible to search for a metadata value using this /tool/find API ?

Salim

Alain Mazy

unread,
Nov 16, 2018, 5:45:56 AM11/16/18
to Salim Kanoun, orthan...@googlegroups.com
no :-(
Reply all
Reply to author
Forward
0 new messages