# HG changeset patch # User Sebastien Jodogne # Date 1539095269 -7200 # Node ID 703d1e8489077b0871ead20aa002452192eee371 # Parent 9d08edde614b31b74fbcab7d732e09a660a73916 Orthanc Explorer: Lookup and limit the results to 100 patients/studies diff -r 9d08edde614b -r 703d1e848907 NEWS --- a/NEWS Tue Oct 09 14:19:48 2018 +0200 +++ b/NEWS Tue Oct 09 16:27:49 2018 +0200 @@ -7,6 +7,12 @@ * Possibility to restrict the allowed DICOM commands for each modality +Orthanc Explorer +---------------- + +* The first screen of Orthanc Explorer is now a form to do studies lookups +* Support of large databases, by limiting the results to 100 patients or studies + REST API -------- diff -r 9d08edde614b -r 703d1e848907 OrthancExplorer/explorer.html --- a/OrthancExplorer/explorer.html Tue Oct 09 14:19:48 2018 +0200 +++ b/OrthancExplorer/explorer.html Tue Oct 09 16:27:49 2018 +0200 @@ -34,11 +34,11 @@ -
+
-

Find a patient

+

Lookup studies

@@ -48,16 +48,67 @@
-
    -
+
+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+
+
 
+
+
+
+
+

Warning:

Your lookup led to many results! + Showing only ? studies to + avoid performance issue. Please make your query more + specific, then relaunch the lookup. +
+
 
+
+
    +
+
-
+
-

Find a study

+

All patients

@@ -67,6 +118,43 @@
+
+
+

Warning:

This is a large Orthanc server. Showing + only ? patients to avoid + performance issue. Make sure to use lookup if targeting + specific patients! +
+
 
+
+
    +
+
+
+ +
+
+

All studies

+
+ Lookup + Plugins +
+ +
+
+
+
+

Warning:

This is a large Orthanc server. Showing + only ? studies to avoid + performance issue. Make sure to use lookup if targeting + specific studies! +
+
 
+
@@ -76,8 +164,8 @@

Upload DICOM files

@@ -105,8 +193,8 @@

Patient

Upload @@ -166,8 +254,8 @@ Study
Upload @@ -221,8 +309,8 @@ Series
Upload @@ -278,8 +366,8 @@ Instance
Upload @@ -334,8 +422,8 @@

Plugins

@@ -348,8 +436,8 @@

DICOM Query/Retrieve (1/4)

@@ -419,8 +507,8 @@

DICOM Query/Retrieve (2/4)

Query/Retrieve
@@ -435,8 +523,8 @@

DICOM Query/Retrieve (3/4)

Query/Retrieve
@@ -451,8 +539,8 @@

DICOM Query/Retrieve (4/4)

Query/Retrieve
@@ -480,8 +568,8 @@
@@ -494,8 +582,8 @@

Job

Jobs diff -r 9d08edde614b -r 703d1e848907 OrthancExplorer/explorer.js --- a/OrthancExplorer/explorer.js Tue Oct 09 14:19:48 2018 +0200 +++ b/OrthancExplorer/explorer.js Tue Oct 09 16:27:49 2018 +0200 @@ -13,6 +13,8 @@ //$.mobile.defaultPageTransition = 'slide'; +var LIMIT_RESOURCES = 100; + var currentPage = ''; var currentUuid = ''; @@ -360,57 +362,169 @@ +$('#lookup').live('pagebeforeshow', function() { + // NB: "GenerateDicomDate()" is defined in "query-retrieve.js" + var target = $('#lookup-study-date'); + $('option', target).remove(); + target.append($('