Mercurial > hg > orthanc-book
changeset 312:b19b892977a2
expand in /tools/find
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 06 Feb 2020 09:46:10 +0100 |
parents | 0078d465c768 |
children | 8e97e0524e16 |
files | Sphinx/source/users/rest.rst |
diffstat | 1 files changed, 36 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Sphinx/source/users/rest.rst Tue Feb 04 17:18:02 2020 +0100 +++ b/Sphinx/source/users/rest.rst Thu Feb 06 09:46:10 2020 +0100 @@ -773,6 +773,42 @@ $ curl --request POST --url http://localhost:8042/tools/find --data '{"Level":"Instance","Query":{"Modality":"CR","StudyDate":"20180323-","PatientID":"*"}}' +Setting the ``Expand`` field to ``true`` in the POST body of the +query will automatically report details about each study:: + + $ curl https://demo.orthanc-server.com/tools/find -d '{"Level":"Study","Query":{"PatientName":"KNIX"},"Expand":true}' + [ + { + "ID" : "b9c08539-26f93bde-c81ab0d7-bffaf2cb-a4d0bdd0", + "IsStable" : true, + "LastUpdate" : "20180414T091528", + "MainDicomTags" : { + "InstitutionName" : "0ECJ52puWpVIjTuhnBA0um", + "ReferringPhysicianName" : "1", + "StudyDate" : "20070101", + "StudyDescription" : "Knee (R)", + "StudyID" : "1", + "StudyInstanceUID" : "1.2.840.113619.2.176.2025.1499492.7391.1171285944.390", + "StudyTime" : "120000.000000" + }, + "ParentPatient" : "6816cb19-844d5aee-85245eba-28e841e6-2414fae2", + "PatientMainDicomTags" : { + "PatientID" : "ozp00SjY2xG", + "PatientName" : "KNIX" + }, + "Series" : [ + "20b9d0c2-97d85e07-f4dbf4d2-f09e7e6a-0c19062e", + "edbfa0a9-fa2641d7-29514b1c-45881d0b-46c374bd", + "f2635388-f01d497a-15f7c06b-ad7dba06-c4c599fe", + "4d04593b-953ced51-87e93f11-ae4cf03c-25defdcd", + "5e343c3e-3633c396-03aefde8-ba0e08c7-9c8208d3", + "8ea120d7-5057d919-837dfbcc-ccd04e0f-7f3a94aa" + ], + "Type" : "Study" + } + ] + + Additional Options ^^^^^^^^^^^^^^^^^^