Mercurial > hg > orthanc
annotate TODO @ 5557:87c0fbc8f457
todo: cache invalidation
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Fri, 19 Apr 2024 10:52:44 +0200 |
parents | 1fc1289383ae |
children | 462b8f8a619c |
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. | |
4931 | 32 * Provide more flexibility wrt Dicom TLS ciphers and TLS version: |
4926 | 33 https://groups.google.com/g/orthanc-users/c/X4IhmXCSr7I/m/EirawAFcBwAJ |
5010 | 34 Can maybe be achieved by adding a configuration to select the TLS Security Profile: |
35 https://github.com/DCMTK/dcmtk/blob/master/dcmtls/include/dcmtk/dcmtls/tlsciphr.h#L83 | |
36 (e.g: TSP_Profile_BCP195_ND instead of TSP_Profile_BCP195) | |
5013 | 37 * Add configurations to enable/disable warnings: |
38 - Modifying an instance while keeping its original SOPInstanceUID: This should be avoided! | |
5034 | 39 - Modifying a study while keeping its original StudyInstanceUID: This should be avoided! |
5391 | 40 * Store the job registry in a dedicatd table in DB ? |
41 https://discourse.orthanc-server.org/t/performance-issue-when-adding-a-lot-of-jobs-in-the-queue/3915/2 | |
42 Note: that might also be the right time to have a central jobs registry when working | |
43 with multiple Orthanc instances on the same DB. | |
5400 | 44 * Right now, some Stable events never occurs (e.g. when Orthanc is restarted before the event is triggered). |
45 Since these events are used to e.g. generate dicom-web cache (or update it !), we should try | |
46 to make sure these events always happen. | |
47 - Generate the events when setting IsStable=true when starting an Orthanc (ok for SQLite) ? | |
48 - Also consider the use case of an Orthanc cluster that is being scaled-down just after one Orthanc instance | |
49 has received a few instances -> we can not only check for missing stable events at startup since no Orthanc will start. | |
50 We would need to maintain the list of "unstable" resources in DB instead of memory only. | |
51 * In prometheus metrics, implement Histograms or Exponential Histograms to measure durations. Right now, we only provide | |
52 "average" durations that are not very relevant | |
53 (https://opentelemetry.io/docs/specs/otel/metrics/data-model/#histogram) | |
54 - for job durations (+ have one histogram for each job) | |
55 - for HTTP request handling | |
56 - ... | |
5409 | 57 * Investigate if one could fix KeepAlive race conditions: |
58 https://discourse.orthanc-server.org/t/socket-hangup-with-rest-api/4023/3 | |
5556 | 59 * Logging: PHI can appear in logs when failing to write an archive: |
60 E0418 14:05:41.769994 OrthancException.cpp:61] Error in the network protocol: HTTP client has disconnected while creating an archive in synchronous mode | |
61 E0418 14:05:41.769994 OrthancException.cpp:61] Cannot write to file: Cannot add new file inside ZIP archive: 13...63 S......RI 40Y M/DR D B...I L SPINE TBI/MR t1_fse_sag/MR000026.dcm | |
62 E0418 14:05:41.769994 ArchiveJob.cpp:1342] Error while creating an archive: Cannot write to file | |
5557 | 63 * The DICOM file cache shall keep a MD5 of the cached file and compare it with MD5 |
64 from the DB. That would allow 2 orthancs in a swarm to realize when the other | |
65 Orthanc has updated the file: | |
66 https://discourse.orthanc-server.org/t/instances-id-content-api-results-are-different-in-docker-swarm-replicas-of-orthanc/4582 | |
67 | |
4643 | 68 |
69 ============================ | |
70 Documentation (Orthanc Book) | |
71 ============================ | |
72 | |
4928 | 73 * 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
|
74 https://orthanc.uclouvain.be/book/users/cookbook.html : |
4928 | 75 - Ubuntu/Debian |
76 - Windows | |
77 - OSX | |
78 - Docker on Linux | |
79 Each step by step guide should contain: | |
80 - get binaries | |
81 - launch | |
82 - open explorer | |
83 - edit configuration file | |
84 - restart and observe changes | |
85 | |
4645 | 86 * Explain how log rotation can be achieved (no built-in support in Orthanc) |
87 * Explain how to interface with Mirth/NextGen Connect | |
88 https://en.wikipedia.org/wiki/NextGen_Connect | |
89 * How to reproduce issues by replacing Orthanc with storescp or wlmscpfs | |
90 * How to capture TCP traffic of DICOM protocol using tcpdump and Wireshark | |
91 * Add more configurations of viewers (Weasis, Slicer...): | |
5432
59e3b6f8c5be
migration to UCLouvain servers
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
5409
diff
changeset
|
92 https://orthanc.uclouvain.be/book/integrations.html |
4648 | 93 * Discuss HL7 in a dedicated page: |
94 https://groups.google.com/d/msg/orthanc-users/4dt4992O0lQ/opTjTFU2BgAJ | |
4728 | 95 https://groups.google.com/g/orthanc-users/c/Spjtcj9vSPo/m/ktUArWxUDQAJ |
4812 | 96 |
97 | |
98 ================ | |
99 Orthanc Explorer | |
100 ================ | |
101 | |
102 * Option to tune the number of results for a local lookup: | |
103 https://groups.google.com/g/orthanc-users/c/LF39musq02Y/ | |
104 | |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
105 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
106 ======== |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
107 REST API |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
108 ======== |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
109 |
5014 | 110 ---------- |
111 Short-term | |
112 ---------- | |
113 | |
114 | |
3967 | 115 -------- |
116 Mid-term | |
117 -------- | |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
118 |
4927 | 119 * (1) Archive jobs: Resume downloads using "range requests": |
4478 | 120 https://developer.mozilla.org/en-US/docs/Web/HTTP/Range_requests |
4927 | 121 * (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
|
122 with "/tools/create-dicom" |
4927 | 123 * (2) Create multi-frame images with /tools/create-dicom (by adding a |
4644 | 124 "MultiFrame" flag to avoid creating a series), or modify PixelData |
125 of a multi-frame image: | |
126 https://groups.google.com/g/orthanc-users/c/y3-xa_GcdLM/m/m0Kr5G5UPAAJ | |
4927 | 127 * (1) Specify the transfer syntax in /tools/create-dicom |
5055 | 128 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
|
129 * Support Palette PNG in /tools/create-dicom: |
50e73f7db661
todo palette PNG in create-dicom
Alain Mazy <am@osimis.io>
parents:
5304
diff
changeset
|
130 https://discourse.orthanc-server.org/t/404-on-tools-create-dicom-endpoint-with-specific-png/3562 |
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 | |
5314
0b8068aa7142
revert 5306:155637655710: re-enable automatic conversion from YBR to RGB
Alain Mazy <am@osimis.io>
parents:
5307
diff
changeset
|
152 * Allow skiping automatic conversion of color-space in transcoding/decoding. |
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 |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
190 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
191 --------- |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
192 Long-term |
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 |
4885 | 195 * 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
|
196 https://groups.google.com/d/msg/orthanc-users/xD4d3mpc6ms/srF7E2goAAAJ |
3465 | 197 * Support C-MOVE-CANCEL: |
198 https://groups.google.com/d/msg/orthanc-users/KnduYBFd06A/o86cl5SeCAAJ | |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
199 |
3967 | 200 -------------------- |
201 Internationalization | |
202 -------------------- | |
3218 | 203 |
204 * 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
|
205 - 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
|
206 - Japanese test: http://dicom.nema.org/MEDICAL/dicom/2017c/output/chtml/part05/sect_H.3.2.html |
5385 | 207 https://discourse.orthanc-server.org/t/garbled-characters-when-i-uploaded-japanese-patient-name/3204/5 |
3218 | 208 * Support Supplementary Kanji set (ISO 2022 IR 159) |
3261 | 209 * Create DICOM files with multibyte encodings (Korean, JapaneseKanji, SimplifiedChinese) |
3218 | 210 |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
211 |
4467 | 212 =========== |
213 Performance | |
214 =========== | |
215 | |
4927 | 216 * (3) ServerContext::DicomCacheLocker => give access to the raw buffer, |
4467 | 217 useful in ServerContext::DecodeDicomInstance() |
4927 | 218 * (2) DicomMap: create a cache to the main DICOM tags index |
219 * (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
|
220 * 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
|
221 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
|
222 OtherTags that could be saved in Metadata as well: |
f377d5643538
new Warnings configuration + InstanceAvailability tag
Alain Mazy <am@osimis.io>
parents:
4928
diff
changeset
|
223 - ModalitiesInStudy |
f377d5643538
new Warnings configuration + InstanceAvailability tag
Alain Mazy <am@osimis.io>
parents:
4928
diff
changeset
|
224 - all computed counters at series/study/patient level |
f377d5643538
new Warnings configuration + InstanceAvailability tag
Alain Mazy <am@osimis.io>
parents:
4928
diff
changeset
|
225 - RequestAttributesSequence (sequence that must be included in all DicomWeb QIDO-RS for series) |
4467 | 226 |
4986 | 227 * Long-shot & not sure it is even feasible at all: try to reduce memory usage by implementing streaming |
228 when receiving DICOM instances from the Rest API or from DICOM and store files directly to disk as they | |
229 are received. Note that this would likely require rewriting large parts of Orthanc. Note sure that | |
230 would be compatible with Transcoding. | |
231 Use case: receiving 10 1GB instances in parallel can consume up to 20 GB | |
232 Alternative option 1: write an "external application/plugin" that would take care of these receptions, write the | |
5096 | 233 file at the right place and send a signal to Orthanc to "adopt" the file. |
4986 | 234 Alternative option 2: declare a memory resource (X GB) that is available for reception. Every time |
5096 | 235 Orthanc starts receiving a file, it reserves the memory or twice the memory (through a Semaphore) |
236 if no memory is available, it waits and possibly timeouts returning a 503 or DIMSE A700 (out of resources). | |
237 This would at least protect from "out of memory" crashes. | |
238 Alternative option 3: Configure DCMTK to "stream" DICOM files on a temporary file on disk. Pass the file handle | |
239 to Orthanc and/or the Storage plugin (instead of passing a memory buffer) -> the object-storage plugin could | |
240 "stream" the file to the storage. The HTTP server could also "stream" its response from file handles. | |
241 Transcoding should be "file based" too. | |
5404 | 242 * To investigate: usage of mapped_file (not only in the indexer plugin): |
243 https://discourse.orthanc-server.org/t/patch-for-orthanc-indexer-plugin-crashing-on-big-non-dicom-files/3849/7 | |
4986 | 244 |
4624 | 245 ======== |
246 Database | |
247 ======== | |
248 | |
249 * Integration test searching for "\" and "%" in PatientName, PatientID... | |
250 | |
251 | |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
252 ======= |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
253 Plugins |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
254 ======= |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
255 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
256 --- |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
257 SDK |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
258 --- |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
259 |
4212 | 260 * Implement PluginsJob::GetOutput() to allow user-defined jobs to provide output: |
261 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
|
262 * Add plugins for normalized operations (notably so as to support |
4645 | 263 Print SCU/SCP, cf. "dcmprscp"): |
3570
f05887b1d1bf
Replaced broken url with url from wayback archive
Tomas Zubiri <me@tomaszubiri.com>
parents:
3472
diff
changeset
|
264 https://web.archive.org/web/20170923150432/https://www.medicalconnections.co.uk/kb/DICOM_Print_Service |
3153 | 265 * Provide access to the Orthanc::DicomUserConnection class in plugins: |
266 https://groups.google.com/d/msg/orthanc-users/ycDA1xPuTRY/nsT2_GOtEgAJ | |
3390 | 267 * 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
|
268 https://orthanc.uclouvain.be/book/users/lua.html#filtering-incoming-dicom-instances |
3390 | 269 https://groups.google.com/d/msg/orthanc-users/BtvLTE5Ni8A/vIMhmMgfBAAJ |
4645 | 270 * In "OrthancPluginLog[Error|Warning|Info]()", prefix the log line with |
271 the name of the plugin, as retrieved by "OrthancPluginGetName()" | |
4912
45d6ce72a84e
fix linking of Sanitizer sample plugin
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4892
diff
changeset
|
272 * Update the SDK to handle buffer sizes > 4GB (all sizes are currently coded in uint32_t) |
5106 | 273 * Add a C-Get SCP handler: OrthancPluginRegisterGetCallback |
5107 | 274 https://groups.google.com/g/orthanc-users/c/NRhPkYX9IXQ/m/mWS11g0jBwAJ |
5165 | 275 * Add a primitive for user authentication (to generate 401 HTTP status, whereas |
276 the "RegisterIncomingHttpRequestFilter()" can only generate 403 HTTP status) | |
277 https://groups.google.com/g/orthanc-users/c/ymtaAmgSs6Q/m/PqVBactQAQAJ | |
5408 | 278 * Add an index on the UUID column in the DelayedDeletion plugin: |
279 https://discourse.orthanc-server.org/t/delayeddeletion-improvement-unique-index-on-pending-uuid-column/4032 | |
280 | |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
281 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
282 ---------------- |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
283 Ideas of plugins |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
284 ---------------- |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
285 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
286 * DICOM-RT primitives (RT-STRUCT, RT-PLAN, RT-DOSE) |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
287 * Converter to/from NIfTI |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
288 * Decode JPEG2k with grok: https://github.com/GrokImageCompression/grok |
2251 | 289 * Generate dynamic HTTP content using Lua: |
2199 | 290 https://groups.google.com/d/msg/orthanc-users/KompazkxRSs/5Rh03mzgDAAJ |
2251 | 291 * More generally, expose more callbacks of the plugin SDK in Lua: |
292 https://groups.google.com/d/msg/orthanc-users/_FbiRHuXPGM/J-OAv7zaCAAJ | |
3300 | 293 * Configuration interface plugin |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
294 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
295 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
296 === |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
297 Lua |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
298 === |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
299 |
5016
c89ffa13173e
Lua: new "SetHttpTimeout" function
Alain Mazy <am@osimis.io>
parents:
5015
diff
changeset
|
300 * Configure HTTP headers from Lua (in RestApiPost(), RestApiPut() |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
301 and RestApiDelete(). |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
302 https://groups.google.com/forum/#!msg/orthanc-users/WNnW187OILM/6XX_bm96BwAJ |
5387 | 303 * Retrieve HTTP status from calls to HttpGet, HttpPost, ... |
304 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
|
305 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
306 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
307 ================ |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
308 Code refactoring |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
309 ================ |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
310 |
2207
6dc3bdb4088b
Fix handling of encodings in C-FIND for worklists
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2202
diff
changeset
|
311 * 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
|
312 methods private), go through ParsedDicomFile wherever possible |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
313 |
4459
16392fe89ce0
new mutex to protect registration of REST callbacks: restCallbackRegistrationMutex_
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4452
diff
changeset
|
314 |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
315 ================= |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
316 Platform-specific |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
317 ================= |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
318 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
319 --------- |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
320 Packaging |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
321 --------- |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
322 |
4467 | 323 * 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
|
324 http://fedoraproject.org/wiki/EPEL_Package_Maintainers |
4643 | 325 * Fedora: Are DICOM dictionaries correctly located? |
326 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
|
327 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
328 ------------------------ |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
329 Big-endian architectures |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
330 ------------------------ |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
331 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
332 * Check the generated 16bpp PNG images |
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 ----------------- |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
335 Microsoft Windows |
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 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
338 * Add compatibility with non-ASCII paths (Orthanc expresses its paths |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
339 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
|
340 system locale) |
5053 | 341 * Fix error message when stopping the service: |
342 https://groups.google.com/g/orthanc-users/c/NyrwUJ9N6Ec/m/sTZIcWvaAgAJ | |
343 | |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
344 |
3672
ea8c1c0e81eb
Fix issue #65 (Logging improvements)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3570
diff
changeset
|
345 ==== |
ea8c1c0e81eb
Fix issue #65 (Logging improvements)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3570
diff
changeset
|
346 Misc |
ea8c1c0e81eb
Fix issue #65 (Logging improvements)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3570
diff
changeset
|
347 ==== |
ea8c1c0e81eb
Fix issue #65 (Logging improvements)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3570
diff
changeset
|
348 |
4643 | 349 ----------------- |
350 Maintenance tools | |
351 ----------------- | |
352 | |
353 * Standalone tool to detect corrupted files: | |
354 https://groups.google.com/g/orthanc-users/c/KASEJ9Gx3vQ/m/MIJFJdRhAwAJ | |
355 * Standalone tool to detect orphan files in OrthancStorage | |
356 | |
357 ---------------------------------- | |
358 Code quality and integration tests | |
359 ---------------------------------- | |
4459
16392fe89ce0
new mutex to protect registration of REST callbacks: restCallbackRegistrationMutex_
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4452
diff
changeset
|
360 |
4467 | 361 * Have a look at openQA (cf. GNU Health) |
4643 | 362 * Add integration tests for LUT |
4926 | 363 * Add more complex testing scenarios like data-migration, change of |
364 configuration files, multiple orthanc interacting togethers with various | |
365 config. This should probably look like the python toolbox tests ... | |
5304 | 366 - add a test to validate Modalities and Peers stored in DB are not lost |
367 while upgrading from one version to the other (Sylvain) | |
5349 | 368 * On Ubuntu 20.04, accesses to unitialized memory are sometimes |
369 reported in libgjpeg by valgrind, if running the following command | |
370 (this is probably unrelated to Orthanc): | |
371 $ ./Start.sh --force Orthanc.test_bitbucket_issue_141 Orthanc.test_create_pdf Orthanc.test_decode_brainix_as_jpeg | |
4926 | 372 |
3672
ea8c1c0e81eb
Fix issue #65 (Logging improvements)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3570
diff
changeset
|
373 |
4467 | 374 --------------------- |
375 External applications | |
376 --------------------- | |
377 | |
378 * Create REST bindings with Slicer | |
379 * Create REST bindings with Horos/OsiriX |