Mercurial > hg > orthanc
annotate TODO @ 5848:b8fb95937f22 find-refactoring
fix warnings
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 29 Oct 2024 13:48:39 +0000 |
parents | e7332019da3b |
children | 8279eaab0d1d 6488cebb7147 |
rev | line source |
---|---|
2163 | 1 ======================= |
2 === Orthanc Roadmap === | |
3 ======================= | |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
4 |
4707 | 5 For higher-level ideas in the roadmap, please first read the |
6 "Contributing to Orthanc" section of the Orthanc Book: | |
5432
59e3b6f8c5be
migration to UCLouvain servers
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
5409
diff
changeset
|
7 https://orthanc.uclouvain.be/book/contributing.html |
4707 | 8 |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
9 |
4978
2cfa50d8eb60
Speed-up handling of DicomModalitiesInStudy in C-Find and tools/find queries
Alain Mazy <am@osimis.io>
parents:
4954
diff
changeset
|
10 Some features are being funded by an OpenCollective one-time donations. |
4927 | 11 selected features are marked with priorities ((1) - higher, (2) - medium, (3) - nice to have) |
12 | |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
13 ======= |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
14 General |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
15 ======= |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
16 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
17 * Configure an user-defined site UID root if generating DICOM UIDs |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
18 ("FromDcmtkBridge::GenerateUuid()") |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
19 * Improve handling of errors in the command queue: |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
20 https://groups.google.com/d/msg/orthanc-users/--njEbqcDDI/rBu8XL-Mm-cJ |
2178 | 21 * Support partial file retrieval in Orthanc::HttpClient |
22 * Support retry counter in Orthanc::HttpClient | |
4662 | 23 * Option to enable DNS lookups in DICOM: |
5432
59e3b6f8c5be
migration to UCLouvain servers
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
5409
diff
changeset
|
24 https://orthanc.uclouvain.be/hg/orthanc/file/Orthanc-1.9.3/OrthancFramework/Sources/OrthancFramework.cpp#l88 |
4643 | 25 * Toolbox::ComputeMD5() fails on files larger than 4GB |
4841 | 26 * Add an option to run Orthanc in read-only mode both for DICOM and for Rest API. |
5450
9ffd6d18daf3
log lines now contain the thread name
Alain Mazy <am@osimis.io>
parents:
5432
diff
changeset
|
27 * Logging: add more specific information to contextualize the logs. |
5166 | 28 For a DICOM Transfer, that would be nice to include the modality in the context + a study identifier or a job id. |
4927 | 29 * (1) Accept extra DICOM tags dictionaries in the DCMTK format '.dic' (easier to use than declare |
4885 | 30 them in the Orthanc configuration file). Even the standard dictionaries could be |
31 overriden by these custom dictionaries. | |
5013 | 32 * Add configurations to enable/disable warnings: |
33 - Modifying an instance while keeping its original SOPInstanceUID: This should be avoided! | |
5034 | 34 - Modifying a study while keeping its original StudyInstanceUID: This should be avoided! |
5391 | 35 * Store the job registry in a dedicatd table in DB ? |
36 https://discourse.orthanc-server.org/t/performance-issue-when-adding-a-lot-of-jobs-in-the-queue/3915/2 | |
37 Note: that might also be the right time to have a central jobs registry when working | |
38 with multiple Orthanc instances on the same DB. | |
5727 | 39 Note: the json serialization of a job "content" can be very large -> compress it before saving it to DB ? |
5400 | 40 * Right now, some Stable events never occurs (e.g. when Orthanc is restarted before the event is triggered). |
41 Since these events are used to e.g. generate dicom-web cache (or update it !), we should try | |
42 to make sure these events always happen. | |
43 - Generate the events when setting IsStable=true when starting an Orthanc (ok for SQLite) ? | |
44 - Also consider the use case of an Orthanc cluster that is being scaled-down just after one Orthanc instance | |
45 has received a few instances -> we can not only check for missing stable events at startup since no Orthanc will start. | |
46 We would need to maintain the list of "unstable" resources in DB instead of memory only. | |
47 * In prometheus metrics, implement Histograms or Exponential Histograms to measure durations. Right now, we only provide | |
48 "average" durations that are not very relevant | |
49 (https://opentelemetry.io/docs/specs/otel/metrics/data-model/#histogram) | |
50 - for job durations (+ have one histogram for each job) | |
51 - for HTTP request handling | |
52 - ... | |
5409 | 53 * Investigate if one could fix KeepAlive race conditions: |
54 https://discourse.orthanc-server.org/t/socket-hangup-with-rest-api/4023/3 | |
5557 | 55 * The DICOM file cache shall keep a MD5 of the cached file and compare it with MD5 |
56 from the DB. That would allow 2 orthancs in a swarm to realize when the other | |
57 Orthanc has updated the file: | |
58 https://discourse.orthanc-server.org/t/instances-id-content-api-results-are-different-in-docker-swarm-replicas-of-orthanc/4582 | |
5559
462b8f8a619c
todo private tags in ExtraMainDicomTags
Alain Mazy <am@orthanc.team>
parents:
5557
diff
changeset
|
59 * Allow saving PrivateTags in ExtraMainDicomTags. |
462b8f8a619c
todo private tags in ExtraMainDicomTags
Alain Mazy <am@orthanc.team>
parents:
5557
diff
changeset
|
60 Note: they can actually be stored but they then appear as "Unknown Tag & Data" in the responses. |
462b8f8a619c
todo private tags in ExtraMainDicomTags
Alain Mazy <am@orthanc.team>
parents:
5557
diff
changeset
|
61 If we try to add the PrivateCreator in the ExtraMainDicomTags, then, the DICOMWeb plugin fails to initialize because the private tags are not known. |
4643 | 62 |
63 ============================ | |
64 Documentation (Orthanc Book) | |
65 ============================ | |
66 | |
4928 | 67 * Write a getting started guide (step by step) for each platform to replace |
5432
59e3b6f8c5be
migration to UCLouvain servers
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
5409
diff
changeset
|
68 https://orthanc.uclouvain.be/book/users/cookbook.html : |
4928 | 69 - Ubuntu/Debian |
5742
078b724dcbf8
if frame decoding fails, transcode to LittleEndianExplicit using plugins and decode with built-in decoder
Alain Mazy <am@orthanc.team>
parents:
5741
diff
changeset
|
70 - Windows (done) |
4928 | 71 - OSX |
72 - Docker on Linux | |
73 Each step by step guide should contain: | |
74 - get binaries | |
75 - launch | |
76 - open explorer | |
77 - edit configuration file | |
78 - restart and observe changes | |
79 | |
4645 | 80 * Explain how log rotation can be achieved (no built-in support in Orthanc) |
81 * Explain how to interface with Mirth/NextGen Connect | |
82 https://en.wikipedia.org/wiki/NextGen_Connect | |
83 * How to reproduce issues by replacing Orthanc with storescp or wlmscpfs | |
84 * How to capture TCP traffic of DICOM protocol using tcpdump and Wireshark | |
85 * Add more configurations of viewers (Weasis, Slicer...): | |
5432
59e3b6f8c5be
migration to UCLouvain servers
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
5409
diff
changeset
|
86 https://orthanc.uclouvain.be/book/integrations.html |
4648 | 87 * Discuss HL7 in a dedicated page: |
88 https://groups.google.com/d/msg/orthanc-users/4dt4992O0lQ/opTjTFU2BgAJ | |
4728 | 89 https://groups.google.com/g/orthanc-users/c/Spjtcj9vSPo/m/ktUArWxUDQAJ |
4812 | 90 |
91 | |
92 ================ | |
93 Orthanc Explorer | |
94 ================ | |
95 | |
96 * Option to tune the number of results for a local lookup: | |
97 https://groups.google.com/g/orthanc-users/c/LF39musq02Y/ | |
98 | |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
99 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
100 ======== |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
101 REST API |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
102 ======== |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
103 |
5014 | 104 ---------- |
105 Short-term | |
106 ---------- | |
107 | |
108 | |
3967 | 109 -------- |
110 Mid-term | |
111 -------- | |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
112 |
4927 | 113 * (1) Archive jobs: Resume downloads using "range requests": |
4478 | 114 https://developer.mozilla.org/en-US/docs/Web/HTTP/Range_requests |
4927 | 115 * (3) Create DICOM from DICOMweb JSON ("application/dicom+json") |
4459
16392fe89ce0
new mutex to protect registration of REST callbacks: restCallbackRegistrationMutex_
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4452
diff
changeset
|
116 with "/tools/create-dicom" |
4927 | 117 * (2) Create multi-frame images with /tools/create-dicom (by adding a |
4644 | 118 "MultiFrame" flag to avoid creating a series), or modify PixelData |
119 of a multi-frame image: | |
120 https://groups.google.com/g/orthanc-users/c/y3-xa_GcdLM/m/m0Kr5G5UPAAJ | |
4927 | 121 * (1) Specify the transfer syntax in /tools/create-dicom |
5055 | 122 https://groups.google.com/g/orthanc-users/c/o15Dekecgds/m/xmPE2y3bAwAJ |
5305
50e73f7db661
todo palette PNG in create-dicom
Alain Mazy <am@osimis.io>
parents:
5304
diff
changeset
|
123 * Support Palette PNG in /tools/create-dicom: |
50e73f7db661
todo palette PNG in create-dicom
Alain Mazy <am@osimis.io>
parents:
5304
diff
changeset
|
124 https://discourse.orthanc-server.org/t/404-on-tools-create-dicom-endpoint-with-specific-png/3562 |
5649 | 125 * Support creation of DICOM files from MP4 in /tools/create-dicom. |
126 Sample python code: https://github.com/salimkanoun/OrthancGif/blob/new-organisation/python/create_dicom_video.py. | |
127 We would need to extract frame rate + dimension from the MP4 which would | |
128 require ffmpeg or a similar library -> can not be done in the Orthanc core. | |
129 -> keep it for a python plugin | |
130 -> or require the payload to include rows/columns/cinerate/... | |
4927 | 131 * (1) In the /studies/{id}/anonymize route, add an option to remove |
4478 | 132 secondary captures. They usually contains Patient info in the |
133 image. The SOPClassUID might be used to identify such secondary | |
134 captures. | |
135 * Support "/preview" and "/matlab" for LUT color images | |
5541 | 136 * /preview should be able to display a dose report: |
137 https://discourse.orthanc-server.org/t/orthanc-image-preview-shows-empty-image/4459 | |
4803 | 138 * Try to transcode files if a simple decoding fails: |
139 https://groups.google.com/g/orthanc-users/c/b8168-NkAhA/m/Df3j-CO9CgAJ | |
4927 | 140 * (2) Ranges of DICOM tags for "Keep" and "Remove" in ".../modify" and ".../anonymize": |
4644 | 141 https://groups.google.com/g/orthanc-users/c/6dETktKo9v8/m/b0LUvSfwAgAJ |
5006 | 142 * return error code/reason in HTTP response if resubmit/cancel/pause fails ... |
5008 | 143 * filter /changes by type e.g: /changes?filter=StablePatient |
144 https://groups.google.com/g/orthanc-users/c/r20kDb0axms/m/2tzbQzYJAgAJ | |
145 * save more details in jobs e.g: the resources being sent/exported ... | |
146 https://groups.google.com/g/orthanc-users/c/rDDusFG5Lco/m/TzTUjWXLAQAJ | |
5386 | 147 https://discourse.orthanc-server.org/t/some-confusion-about-jobs-function/3887 |
5133 | 148 * allow filtering/ordering on the /jobs route: |
149 https://groups.google.com/g/orthanc-users/c/hsZ1jng5rIg/m/8xZL2C1VBgAJ | |
5367 | 150 * add an "AutoDeleteIfSuccessful": false option when creating jobs |
151 https://discourse.orthanc-server.org/t/job-history-combined-with-auto-forwarding/3729/10 | |
5742
078b724dcbf8
if frame decoding fails, transcode to LittleEndianExplicit using plugins and decode with built-in decoder
Alain Mazy <am@orthanc.team>
parents:
5741
diff
changeset
|
152 * Allow skipping automatic conversion of color-space in transcoding/decoding. |
5314
0b8068aa7142
revert 5306:155637655710: re-enable automatic conversion from YBR to RGB
Alain Mazy <am@osimis.io>
parents:
5307
diff
changeset
|
153 The patch that was initialy provided was breaking the IngestTranscoding. |
5481 | 154 This might require a DCMTK decoding plugin ? |
5314
0b8068aa7142
revert 5306:155637655710: re-enable automatic conversion from YBR to RGB
Alain Mazy <am@osimis.io>
parents:
5307
diff
changeset
|
155 https://discourse.orthanc-server.org/t/orthanc-convert-ybr-to-rgb-but-does-not-change-metadata/3533/9 |
5382 | 156 * Implement a 'commit' route to force the Stable status earlier. |
157 https://discourse.orthanc-server.org/t/expediting-stability-of-a-dicom-study-new-api-endpoint/1684 | |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
158 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
159 --------- |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
160 Long-term |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
161 --------- |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
162 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
163 * Stick to the JSONapi or JAREST guidelines for a "v2" of the API: |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
164 https://groups.google.com/forum/#!msg/orthanc-users/Bag-SwEE9ZI/-w7QXI6p7-oJ |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
165 http://www.admiraalit.nl/jarest/ |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
166 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
167 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
168 ===== |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
169 DICOM |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
170 ===== |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
171 |
3383 | 172 -------- |
173 Mid-term | |
174 -------- | |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
175 |
4452 | 176 * Support C-GET SCU (note that C-GET SCP was introduced in Orthanc 1.7.0) |
3335 | 177 * Support "Retrieve AE Title" (0008,0054) in C-FIND: |
5432
59e3b6f8c5be
migration to UCLouvain servers
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
5409
diff
changeset
|
178 - On SCP side: done by https://orthanc.uclouvain.be/hg/orthanc/rev/1ec3e1e18f50 |
3472 | 179 - On SCU side: |
180 https://groups.google.com/d/msg/orthanc-users/wPl0g5mqZco/5X1Z8tEzBgAJ | |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
181 * Check Big Endian transfer syntax in ParsedDicomFile::EmbedImage and |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
182 DicomImageDecoder |
3384 | 183 * Strict hierarchical C-FIND: |
184 https://groups.google.com/d/msg/orthanc-users/VBHpeGVSNKM/tkaVvjWFBwAJ | |
4986 | 185 * report DIMSE error codes in Rest API and job status for /store /query /move /retrieve |
5114 | 186 * report progress report of C-Move operation in jop progress. There are |
187 progress callbacks available in DIMSE_moveUser | |
188 https://groups.google.com/g/orthanc-users/c/c8cGnA7FzsE/m/BSs66D8wBwAJ | |
4986 | 189 * Log outgoing C-Find queries |
5687 | 190 * Support other Transfer Syntaxes in the Worklist plugin: |
191 https://discourse.orthanc-server.org/t/could-you-please-create-an-option-to-set-the-transfer-syntax-in-the-worklist-plugin-currently-little-endian-explicit-is-fixed/4871 | |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
192 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
193 --------- |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
194 Long-term |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
195 --------- |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
196 |
4885 | 197 * Support extended association (e.g. for C-Find relational queries): |
2405
85a22aad7dfe
todo: extended association
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2377
diff
changeset
|
198 https://groups.google.com/d/msg/orthanc-users/xD4d3mpc6ms/srF7E2goAAAJ |
3465 | 199 * Support C-MOVE-CANCEL: |
200 https://groups.google.com/d/msg/orthanc-users/KnduYBFd06A/o86cl5SeCAAJ | |
5626
72dcf3a8d7d5
todo: Combine StudyDate + StudyTime in C-Find matching
Alain Mazy <am@orthanc.team>
parents:
5597
diff
changeset
|
201 * Combine StudyDate + StudyTime in C-Find matching (also for the worklist plugin with |
72dcf3a8d7d5
todo: Combine StudyDate + StudyTime in C-Find matching
Alain Mazy <am@orthanc.team>
parents:
5597
diff
changeset
|
202 ScheduledProcedureStartTime & Date). |
72dcf3a8d7d5
todo: Combine StudyDate + StudyTime in C-Find matching
Alain Mazy <am@orthanc.team>
parents:
5597
diff
changeset
|
203 We should first filter in SQL by StudyDate only, combine it with StudyTime into a single |
72dcf3a8d7d5
todo: Combine StudyDate + StudyTime in C-Find matching
Alain Mazy <am@orthanc.team>
parents:
5597
diff
changeset
|
204 DateTime string and filter again in C++. |
72dcf3a8d7d5
todo: Combine StudyDate + StudyTime in C-Find matching
Alain Mazy <am@orthanc.team>
parents:
5597
diff
changeset
|
205 https://discourse.orthanc-server.org/t/performin-find-within-orthanc-for-time-frames/4704 |
5755 | 206 * Worklist plugin: support MPPS |
207 https://github.com/orthanc-server/orthanc-setup-samples/blob/master/python-samples/worklist-with-mpps.py | |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
208 |
3967 | 209 -------------------- |
210 Internationalization | |
211 -------------------- | |
3218 | 212 |
213 * Support multiple specific character sets (cf. "SCSH32" in orthanc-tests) | |
3223
c94f23198946
unit testing japanese
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3221
diff
changeset
|
214 - http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.12.html#sect_C.12.1.1.2 |
c94f23198946
unit testing japanese
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3221
diff
changeset
|
215 - Japanese test: http://dicom.nema.org/MEDICAL/dicom/2017c/output/chtml/part05/sect_H.3.2.html |
5385 | 216 https://discourse.orthanc-server.org/t/garbled-characters-when-i-uploaded-japanese-patient-name/3204/5 |
3218 | 217 * Support Supplementary Kanji set (ISO 2022 IR 159) |
3261 | 218 * Create DICOM files with multibyte encodings (Korean, JapaneseKanji, SimplifiedChinese) |
3218 | 219 |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
220 |
4467 | 221 =========== |
222 Performance | |
223 =========== | |
224 | |
4927 | 225 * (2) DicomMap: create a cache to the main DICOM tags index |
226 * (3) Check out rapidjson: https://github.com/miloyip/nativejson-benchmark | |
4978
2cfa50d8eb60
Speed-up handling of DicomModalitiesInStudy in C-Find and tools/find queries
Alain Mazy <am@osimis.io>
parents:
4954
diff
changeset
|
227 * For C-Find results: we could store the computed tags |
4944
f377d5643538
new Warnings configuration + InstanceAvailability tag
Alain Mazy <am@osimis.io>
parents:
4928
diff
changeset
|
228 in metadata on some events like NewSeries + DeletedSeries (same for other computer tags). |
f377d5643538
new Warnings configuration + InstanceAvailability tag
Alain Mazy <am@osimis.io>
parents:
4928
diff
changeset
|
229 OtherTags that could be saved in Metadata as well: |
f377d5643538
new Warnings configuration + InstanceAvailability tag
Alain Mazy <am@osimis.io>
parents:
4928
diff
changeset
|
230 - ModalitiesInStudy |
f377d5643538
new Warnings configuration + InstanceAvailability tag
Alain Mazy <am@osimis.io>
parents:
4928
diff
changeset
|
231 - all computed counters at series/study/patient level |
f377d5643538
new Warnings configuration + InstanceAvailability tag
Alain Mazy <am@osimis.io>
parents:
4928
diff
changeset
|
232 - RequestAttributesSequence (sequence that must be included in all DicomWeb QIDO-RS for series) |
4467 | 233 |
4986 | 234 * Long-shot & not sure it is even feasible at all: try to reduce memory usage by implementing streaming |
235 when receiving DICOM instances from the Rest API or from DICOM and store files directly to disk as they | |
236 are received. Note that this would likely require rewriting large parts of Orthanc. Note sure that | |
237 would be compatible with Transcoding. | |
238 Use case: receiving 10 1GB instances in parallel can consume up to 20 GB | |
239 Alternative option 1: write an "external application/plugin" that would take care of these receptions, write the | |
5096 | 240 file at the right place and send a signal to Orthanc to "adopt" the file. |
4986 | 241 Alternative option 2: declare a memory resource (X GB) that is available for reception. Every time |
5096 | 242 Orthanc starts receiving a file, it reserves the memory or twice the memory (through a Semaphore) |
243 if no memory is available, it waits and possibly timeouts returning a 503 or DIMSE A700 (out of resources). | |
244 This would at least protect from "out of memory" crashes. | |
245 Alternative option 3: Configure DCMTK to "stream" DICOM files on a temporary file on disk. Pass the file handle | |
246 to Orthanc and/or the Storage plugin (instead of passing a memory buffer) -> the object-storage plugin could | |
247 "stream" the file to the storage. The HTTP server could also "stream" its response from file handles. | |
248 Transcoding should be "file based" too. | |
5404 | 249 * To investigate: usage of mapped_file (not only in the indexer plugin): |
250 https://discourse.orthanc-server.org/t/patch-for-orthanc-indexer-plugin-crashing-on-big-non-dicom-files/3849/7 | |
4986 | 251 |
4624 | 252 ======== |
253 Database | |
254 ======== | |
255 | |
256 * Integration test searching for "\" and "%" in PatientName, PatientID... | |
257 | |
258 | |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
259 ======= |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
260 Plugins |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
261 ======= |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
262 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
263 --- |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
264 SDK |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
265 --- |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
266 |
4212 | 267 * Implement PluginsJob::GetOutput() to allow user-defined jobs to provide output: |
268 https://groups.google.com/g/orthanc-users/c/GZ7u0bTTVoo/m/Z7iTNTi2BgAJ | |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
269 * Add plugins for normalized operations (notably so as to support |
4645 | 270 Print SCU/SCP, cf. "dcmprscp"): |
3570
f05887b1d1bf
Replaced broken url with url from wayback archive
Tomas Zubiri <me@tomaszubiri.com>
parents:
3472
diff
changeset
|
271 https://web.archive.org/web/20170923150432/https://www.medicalconnections.co.uk/kb/DICOM_Print_Service |
3153 | 272 * Provide access to the Orthanc::DicomUserConnection class in plugins: |
273 https://groups.google.com/d/msg/orthanc-users/ycDA1xPuTRY/nsT2_GOtEgAJ | |
3390 | 274 * Provide a C++ callback similar to "ReceivedInstanceFilter()" in Lua |
5432
59e3b6f8c5be
migration to UCLouvain servers
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
5409
diff
changeset
|
275 https://orthanc.uclouvain.be/book/users/lua.html#filtering-incoming-dicom-instances |
3390 | 276 https://groups.google.com/d/msg/orthanc-users/BtvLTE5Ni8A/vIMhmMgfBAAJ |
4912
45d6ce72a84e
fix linking of Sanitizer sample plugin
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4892
diff
changeset
|
277 * Update the SDK to handle buffer sizes > 4GB (all sizes are currently coded in uint32_t) |
5106 | 278 * Add a C-Get SCP handler: OrthancPluginRegisterGetCallback |
5107 | 279 https://groups.google.com/g/orthanc-users/c/NRhPkYX9IXQ/m/mWS11g0jBwAJ |
5165 | 280 * Add a primitive for user authentication (to generate 401 HTTP status, whereas |
281 the "RegisterIncomingHttpRequestFilter()" can only generate 403 HTTP status) | |
282 https://groups.google.com/g/orthanc-users/c/ymtaAmgSs6Q/m/PqVBactQAQAJ | |
5408 | 283 * Add an index on the UUID column in the DelayedDeletion plugin: |
284 https://discourse.orthanc-server.org/t/delayeddeletion-improvement-unique-index-on-pending-uuid-column/4032 | |
285 | |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
286 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
287 ---------------- |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
288 Ideas of plugins |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
289 ---------------- |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
290 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
291 * DICOM-RT primitives (RT-STRUCT, RT-PLAN, RT-DOSE) |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
292 * Converter to/from NIfTI |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
293 * Decode JPEG2k with grok: https://github.com/GrokImageCompression/grok |
2251 | 294 * Generate dynamic HTTP content using Lua: |
2199 | 295 https://groups.google.com/d/msg/orthanc-users/KompazkxRSs/5Rh03mzgDAAJ |
2251 | 296 * More generally, expose more callbacks of the plugin SDK in Lua: |
297 https://groups.google.com/d/msg/orthanc-users/_FbiRHuXPGM/J-OAv7zaCAAJ | |
3300 | 298 * Configuration interface plugin |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
299 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
300 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
301 === |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
302 Lua |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
303 === |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
304 |
5016
c89ffa13173e
Lua: new "SetHttpTimeout" function
Alain Mazy <am@osimis.io>
parents:
5015
diff
changeset
|
305 * Configure HTTP headers from Lua (in RestApiPost(), RestApiPut() |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
306 and RestApiDelete(). |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
307 https://groups.google.com/forum/#!msg/orthanc-users/WNnW187OILM/6XX_bm96BwAJ |
5387 | 308 * Retrieve HTTP status from calls to HttpGet, HttpPost, ... |
309 https://discourse.orthanc-server.org/t/how-to-get-http-status-code-from-httppost/1263/4 | |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
310 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
311 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
312 ================ |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
313 Code refactoring |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
314 ================ |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
315 |
2207
6dc3bdb4088b
Fix handling of encodings in C-FIND for worklists
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2202
diff
changeset
|
316 * Avoid direct calls to FromDcmtkBridge (make most of its |
6dc3bdb4088b
Fix handling of encodings in C-FIND for worklists
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2202
diff
changeset
|
317 methods private), go through ParsedDicomFile wherever possible |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
318 |
4459
16392fe89ce0
new mutex to protect registration of REST callbacks: restCallbackRegistrationMutex_
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4452
diff
changeset
|
319 |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
320 ================= |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
321 Platform-specific |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
322 ================= |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
323 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
324 --------- |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
325 Packaging |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
326 --------- |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
327 |
4467 | 328 * RHEL through EPEL (as of 2021, CentOS seems to be over): |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
329 http://fedoraproject.org/wiki/EPEL_Package_Maintainers |
4643 | 330 * Fedora: Are DICOM dictionaries correctly located? |
331 https://groups.google.com/g/orthanc-users/c/YB_LTBuUQNA/m/3H1xsrZJDgAJ | |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
332 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
333 ------------------------ |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
334 Big-endian architectures |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
335 ------------------------ |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
336 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
337 * Check the generated 16bpp PNG images |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
338 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
339 ----------------- |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
340 Microsoft Windows |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
341 ----------------- |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
342 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
343 * Add compatibility with non-ASCII paths (Orthanc expresses its paths |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
344 as UTF-8 strings, but Windows expects them to be translated to the |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
345 system locale) |
5053 | 346 * Fix error message when stopping the service: |
347 https://groups.google.com/g/orthanc-users/c/NyrwUJ9N6Ec/m/sTZIcWvaAgAJ | |
348 | |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
349 |
3672
ea8c1c0e81eb
Fix issue #65 (Logging improvements)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3570
diff
changeset
|
350 ==== |
ea8c1c0e81eb
Fix issue #65 (Logging improvements)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3570
diff
changeset
|
351 Misc |
ea8c1c0e81eb
Fix issue #65 (Logging improvements)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3570
diff
changeset
|
352 ==== |
ea8c1c0e81eb
Fix issue #65 (Logging improvements)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3570
diff
changeset
|
353 |
4643 | 354 ----------------- |
355 Maintenance tools | |
356 ----------------- | |
357 | |
358 * Standalone tool to detect corrupted files: | |
359 https://groups.google.com/g/orthanc-users/c/KASEJ9Gx3vQ/m/MIJFJdRhAwAJ | |
360 * Standalone tool to detect orphan files in OrthancStorage | |
361 | |
362 ---------------------------------- | |
363 Code quality and integration tests | |
364 ---------------------------------- | |
4459
16392fe89ce0
new mutex to protect registration of REST callbacks: restCallbackRegistrationMutex_
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4452
diff
changeset
|
365 |
4467 | 366 * Have a look at openQA (cf. GNU Health) |
4643 | 367 * Add integration tests for LUT |
4926 | 368 * Add more complex testing scenarios like data-migration, change of |
369 configuration files, multiple orthanc interacting togethers with various | |
370 config. This should probably look like the python toolbox tests ... | |
5304 | 371 - add a test to validate Modalities and Peers stored in DB are not lost |
372 while upgrading from one version to the other (Sylvain) | |
5349 | 373 * On Ubuntu 20.04, accesses to unitialized memory are sometimes |
374 reported in libgjpeg by valgrind, if running the following command | |
375 (this is probably unrelated to Orthanc): | |
376 $ ./Start.sh --force Orthanc.test_bitbucket_issue_141 Orthanc.test_create_pdf Orthanc.test_decode_brainix_as_jpeg | |
4926 | 377 |
3672
ea8c1c0e81eb
Fix issue #65 (Logging improvements)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3570
diff
changeset
|
378 |
4467 | 379 --------------------- |
380 External applications | |
381 --------------------- | |
382 | |
383 * Create REST bindings with Slicer | |
384 * Create REST bindings with Horos/OsiriX |