annotate TODO @ 5109:027366cae766

cppcheck
author Alain Mazy <am@osimis.io>
date Tue, 22 Nov 2022 12:57:10 +0100
parents 43461cc99838
children c387ebeb67b5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2163
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2162
diff changeset
1 =======================
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2162
diff changeset
2 === Orthanc Roadmap ===
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2162
diff changeset
3 =======================
2162
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
4
4707
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4662
diff changeset
5 For higher-level ideas in the roadmap, please first read the
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4662
diff changeset
6 "Contributing to Orthanc" section of the Orthanc Book:
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4662
diff changeset
7 https://book.orthanc-server.com/contributing.html
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4662
diff changeset
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
Alain Mazy <am@osimis.io>
parents: 4926
diff changeset
11 selected features are marked with priorities ((1) - higher, (2) - medium, (3) - nice to have)
Alain Mazy <am@osimis.io>
parents: 4926
diff changeset
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
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2163
diff changeset
21 * Support partial file retrieval in Orthanc::HttpClient
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2163
diff changeset
22 * Support retry counter in Orthanc::HttpClient
4662
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4654
diff changeset
23 * Option to enable DNS lookups in DICOM:
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4654
diff changeset
24 https://hg.orthanc-server.com/orthanc/file/Orthanc-1.9.3/OrthancFramework/Sources/OrthancFramework.cpp#l88
4643
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4624
diff changeset
25 * Toolbox::ComputeMD5() fails on files larger than 4GB
4841
Alain Mazy <am@osimis.io>
parents: 4837
diff changeset
26 * Add an option to run Orthanc in read-only mode both for DICOM and for Rest API.
4885
Alain Mazy <am@osimis.io>
parents: 4877
diff changeset
27 * Logging: add some information like Thread-Id to contextualize the logs
4927
Alain Mazy <am@osimis.io>
parents: 4926
diff changeset
28 * (1) Accept extra DICOM tags dictionaries in the DCMTK format '.dic' (easier to use than declare
4885
Alain Mazy <am@osimis.io>
parents: 4877
diff changeset
29 them in the Orthanc configuration file). Even the standard dictionaries could be
Alain Mazy <am@osimis.io>
parents: 4877
diff changeset
30 overriden by these custom dictionaries.
4931
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4928
diff changeset
31 * Provide more flexibility wrt Dicom TLS ciphers and TLS version:
4926
Alain Mazy <am@osimis.io>
parents: 4912
diff changeset
32 https://groups.google.com/g/orthanc-users/c/X4IhmXCSr7I/m/EirawAFcBwAJ
5010
88d838c6b4c7 TODO TLS Security Profile
Alain Mazy <am@osimis.io>
parents: 5008
diff changeset
33 Can maybe be achieved by adding a configuration to select the TLS Security Profile:
88d838c6b4c7 TODO TLS Security Profile
Alain Mazy <am@osimis.io>
parents: 5008
diff changeset
34 https://github.com/DCMTK/dcmtk/blob/master/dcmtls/include/dcmtk/dcmtls/tlsciphr.h#L83
88d838c6b4c7 TODO TLS Security Profile
Alain Mazy <am@osimis.io>
parents: 5008
diff changeset
35 (e.g: TSP_Profile_BCP195_ND instead of TSP_Profile_BCP195)
5013
Alain Mazy <am@osimis.io>
parents: 5010
diff changeset
36 * Add configurations to enable/disable warnings:
Alain Mazy <am@osimis.io>
parents: 5010
diff changeset
37 - Modifying an instance while keeping its original SOPInstanceUID: This should be avoided!
5034
Alain Mazy <am@osimis.io>
parents: 5033
diff changeset
38 - Modifying a study while keeping its original StudyInstanceUID: This should be avoided!
5036
877bc3b96476 Handle Dicom sequences in ExtraMainDicomTags and save them in the 'MainDicomSequences' metadata
Alain Mazy <am@osimis.io>
parents: 5034
diff changeset
39
4643
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4624
diff changeset
40
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4624
diff changeset
41 ============================
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4624
diff changeset
42 Documentation (Orthanc Book)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4624
diff changeset
43 ============================
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4624
diff changeset
44
4928
Alain Mazy <am@osimis.io>
parents: 4927
diff changeset
45 * Write a getting started guide (step by step) for each platform to replace
Alain Mazy <am@osimis.io>
parents: 4927
diff changeset
46 https://book.orthanc-server.com/users/cookbook.html :
Alain Mazy <am@osimis.io>
parents: 4927
diff changeset
47 - Ubuntu/Debian
Alain Mazy <am@osimis.io>
parents: 4927
diff changeset
48 - Windows
Alain Mazy <am@osimis.io>
parents: 4927
diff changeset
49 - OSX
Alain Mazy <am@osimis.io>
parents: 4927
diff changeset
50 - Docker on Linux
Alain Mazy <am@osimis.io>
parents: 4927
diff changeset
51 Each step by step guide should contain:
Alain Mazy <am@osimis.io>
parents: 4927
diff changeset
52 - get binaries
Alain Mazy <am@osimis.io>
parents: 4927
diff changeset
53 - launch
Alain Mazy <am@osimis.io>
parents: 4927
diff changeset
54 - open explorer
Alain Mazy <am@osimis.io>
parents: 4927
diff changeset
55 - edit configuration file
Alain Mazy <am@osimis.io>
parents: 4927
diff changeset
56 - restart and observe changes
Alain Mazy <am@osimis.io>
parents: 4927
diff changeset
57
4645
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4644
diff changeset
58 * Explain how log rotation can be achieved (no built-in support in Orthanc)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4644
diff changeset
59 * Explain how to interface with Mirth/NextGen Connect
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4644
diff changeset
60 https://en.wikipedia.org/wiki/NextGen_Connect
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4644
diff changeset
61 * How to reproduce issues by replacing Orthanc with storescp or wlmscpfs
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4644
diff changeset
62 * How to capture TCP traffic of DICOM protocol using tcpdump and Wireshark
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4644
diff changeset
63 * Add more configurations of viewers (Weasis, Slicer...):
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4644
diff changeset
64 https://book.orthanc-server.com/integrations.html
4648
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4645
diff changeset
65 * Discuss HL7 in a dedicated page:
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4645
diff changeset
66 https://groups.google.com/d/msg/orthanc-users/4dt4992O0lQ/opTjTFU2BgAJ
4728
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4727
diff changeset
67 https://groups.google.com/g/orthanc-users/c/Spjtcj9vSPo/m/ktUArWxUDQAJ
4812
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4808
diff changeset
68
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4808
diff changeset
69
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4808
diff changeset
70 ================
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4808
diff changeset
71 Orthanc Explorer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4808
diff changeset
72 ================
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4808
diff changeset
73
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4808
diff changeset
74 * Option to tune the number of results for a local lookup:
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4808
diff changeset
75 https://groups.google.com/g/orthanc-users/c/LF39musq02Y/
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4808
diff changeset
76
2162
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
77
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
78 ========
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
79 REST API
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
80 ========
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
81
5014
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 5013
diff changeset
82 ----------
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 5013
diff changeset
83 Short-term
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 5013
diff changeset
84 ----------
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 5013
diff changeset
85
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 5013
diff changeset
86
3967
5b731d898bee refresh TODO
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 3672
diff changeset
87 --------
5b731d898bee refresh TODO
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 3672
diff changeset
88 Mid-term
5b731d898bee refresh TODO
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 3672
diff changeset
89 --------
2162
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
90
4927
Alain Mazy <am@osimis.io>
parents: 4926
diff changeset
91 * (1) Archive jobs: Resume downloads using "range requests":
4478
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4467
diff changeset
92 https://developer.mozilla.org/en-US/docs/Web/HTTP/Range_requests
4927
Alain Mazy <am@osimis.io>
parents: 4926
diff changeset
93 * (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
94 with "/tools/create-dicom"
4927
Alain Mazy <am@osimis.io>
parents: 4926
diff changeset
95 * (2) Create multi-frame images with /tools/create-dicom (by adding a
4644
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4643
diff changeset
96 "MultiFrame" flag to avoid creating a series), or modify PixelData
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4643
diff changeset
97 of a multi-frame image:
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4643
diff changeset
98 https://groups.google.com/g/orthanc-users/c/y3-xa_GcdLM/m/m0Kr5G5UPAAJ
4927
Alain Mazy <am@osimis.io>
parents: 4926
diff changeset
99 * (1) Specify the transfer syntax in /tools/create-dicom
5055
Alain Mazy <am@osimis.io>
parents: 5053
diff changeset
100 https://groups.google.com/g/orthanc-users/c/o15Dekecgds/m/xmPE2y3bAwAJ
4927
Alain Mazy <am@osimis.io>
parents: 4926
diff changeset
101 * (1) In the /studies/{id}/anonymize route, add an option to remove
4478
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4467
diff changeset
102 secondary captures. They usually contains Patient info in the
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4467
diff changeset
103 image. The SOPClassUID might be used to identify such secondary
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4467
diff changeset
104 captures.
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4467
diff changeset
105 * Support "/preview" and "/matlab" for LUT color images
4803
Alain Mazy <am@osimis.io>
parents: 4787
diff changeset
106 * Try to transcode files if a simple decoding fails:
Alain Mazy <am@osimis.io>
parents: 4787
diff changeset
107 https://groups.google.com/g/orthanc-users/c/b8168-NkAhA/m/Df3j-CO9CgAJ
4927
Alain Mazy <am@osimis.io>
parents: 4926
diff changeset
108 * (2) Ranges of DICOM tags for "Keep" and "Remove" in ".../modify" and ".../anonymize":
4644
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4643
diff changeset
109 https://groups.google.com/g/orthanc-users/c/6dETktKo9v8/m/b0LUvSfwAgAJ
5006
Alain Mazy <am@osimis.io>
parents: 5002
diff changeset
110 * return error code/reason in HTTP response if resubmit/cancel/pause fails ...
5008
59491402f8f1 todo: more info in jobs
Alain Mazy <am@osimis.io>
parents: 5007
diff changeset
111 * filter /changes by type e.g: /changes?filter=StablePatient
59491402f8f1 todo: more info in jobs
Alain Mazy <am@osimis.io>
parents: 5007
diff changeset
112 https://groups.google.com/g/orthanc-users/c/r20kDb0axms/m/2tzbQzYJAgAJ
59491402f8f1 todo: more info in jobs
Alain Mazy <am@osimis.io>
parents: 5007
diff changeset
113 * save more details in jobs e.g: the resources being sent/exported ...
59491402f8f1 todo: more info in jobs
Alain Mazy <am@osimis.io>
parents: 5007
diff changeset
114 https://groups.google.com/g/orthanc-users/c/rDDusFG5Lco/m/TzTUjWXLAQAJ
2162
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
115
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
116 ---------
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
117 Long-term
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
118 ---------
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
119
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
120 * 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
121 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
122 http://www.admiraalit.nl/jarest/
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
123
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
124
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
125 =====
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
126 DICOM
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
127 =====
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
128
3383
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 3335
diff changeset
129 --------
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 3335
diff changeset
130 Mid-term
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 3335
diff changeset
131 --------
2162
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
132
4452
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4448
diff changeset
133 * Support C-GET SCU (note that C-GET SCP was introduced in Orthanc 1.7.0)
3335
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 3300
diff changeset
134 * Support "Retrieve AE Title" (0008,0054) in C-FIND:
4144
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 3967
diff changeset
135 - On SCP side: done by https://hg.orthanc-server.com/orthanc/rev/1ec3e1e18f50
3472
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 3465
diff changeset
136 - On SCU side:
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 3465
diff changeset
137 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
138 * Check Big Endian transfer syntax in ParsedDicomFile::EmbedImage and
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
139 DicomImageDecoder
3384
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 3383
diff changeset
140 * Strict hierarchical C-FIND:
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 3383
diff changeset
141 https://groups.google.com/d/msg/orthanc-users/VBHpeGVSNKM/tkaVvjWFBwAJ
4986
Alain Mazy <am@osimis.io>
parents: 4978
diff changeset
142 * report DIMSE error codes in Rest API and job status for /store /query /move /retrieve
Alain Mazy <am@osimis.io>
parents: 4978
diff changeset
143 * Log outgoing C-Find queries
2162
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
144
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
145 ---------
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
146 Long-term
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
147 ---------
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
148
4885
Alain Mazy <am@osimis.io>
parents: 4877
diff changeset
149 * 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
150 https://groups.google.com/d/msg/orthanc-users/xD4d3mpc6ms/srF7E2goAAAJ
3465
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 3390
diff changeset
151 * Support C-MOVE-CANCEL:
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 3390
diff changeset
152 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
153
3967
5b731d898bee refresh TODO
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 3672
diff changeset
154 --------------------
5b731d898bee refresh TODO
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 3672
diff changeset
155 Internationalization
5b731d898bee refresh TODO
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 3672
diff changeset
156 --------------------
3218
9a83d94b2a1e kanji encoding
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 3153
diff changeset
157
9a83d94b2a1e kanji encoding
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 3153
diff changeset
158 * 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
159 - 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
160 - Japanese test: http://dicom.nema.org/MEDICAL/dicom/2017c/output/chtml/part05/sect_H.3.2.html
3218
9a83d94b2a1e kanji encoding
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 3153
diff changeset
161 * Support Supplementary Kanji set (ISO 2022 IR 159)
3261
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 3239
diff changeset
162 * Create DICOM files with multibyte encodings (Korean, JapaneseKanji, SimplifiedChinese)
3218
9a83d94b2a1e kanji encoding
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 3153
diff changeset
163
2162
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
164
4467
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4464
diff changeset
165 ===========
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4464
diff changeset
166 Performance
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4464
diff changeset
167 ===========
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4464
diff changeset
168
4927
Alain Mazy <am@osimis.io>
parents: 4926
diff changeset
169 * (3) ServerContext::DicomCacheLocker => give access to the raw buffer,
4467
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4464
diff changeset
170 useful in ServerContext::DecodeDicomInstance()
4927
Alain Mazy <am@osimis.io>
parents: 4926
diff changeset
171 * (2) DicomMap: create a cache to the main DICOM tags index
Alain Mazy <am@osimis.io>
parents: 4926
diff changeset
172 * (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
173 * 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
174 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
175 OtherTags that could be saved in Metadata as well:
f377d5643538 new Warnings configuration + InstanceAvailability tag
Alain Mazy <am@osimis.io>
parents: 4928
diff changeset
176 - ModalitiesInStudy
f377d5643538 new Warnings configuration + InstanceAvailability tag
Alain Mazy <am@osimis.io>
parents: 4928
diff changeset
177 - all computed counters at series/study/patient level
f377d5643538 new Warnings configuration + InstanceAvailability tag
Alain Mazy <am@osimis.io>
parents: 4928
diff changeset
178 - RequestAttributesSequence (sequence that must be included in all DicomWeb QIDO-RS for series)
4467
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4464
diff changeset
179
4986
Alain Mazy <am@osimis.io>
parents: 4978
diff changeset
180 * Long-shot & not sure it is even feasible at all: try to reduce memory usage by implementing streaming
Alain Mazy <am@osimis.io>
parents: 4978
diff changeset
181 when receiving DICOM instances from the Rest API or from DICOM and store files directly to disk as they
Alain Mazy <am@osimis.io>
parents: 4978
diff changeset
182 are received. Note that this would likely require rewriting large parts of Orthanc. Note sure that
Alain Mazy <am@osimis.io>
parents: 4978
diff changeset
183 would be compatible with Transcoding.
Alain Mazy <am@osimis.io>
parents: 4978
diff changeset
184 Use case: receiving 10 1GB instances in parallel can consume up to 20 GB
Alain Mazy <am@osimis.io>
parents: 4978
diff changeset
185 Alternative option 1: write an "external application/plugin" that would take care of these receptions, write the
5096
Alain Mazy <am@osimis.io>
parents: 5055
diff changeset
186 file at the right place and send a signal to Orthanc to "adopt" the file.
4986
Alain Mazy <am@osimis.io>
parents: 4978
diff changeset
187 Alternative option 2: declare a memory resource (X GB) that is available for reception. Every time
5096
Alain Mazy <am@osimis.io>
parents: 5055
diff changeset
188 Orthanc starts receiving a file, it reserves the memory or twice the memory (through a Semaphore)
Alain Mazy <am@osimis.io>
parents: 5055
diff changeset
189 if no memory is available, it waits and possibly timeouts returning a 503 or DIMSE A700 (out of resources).
Alain Mazy <am@osimis.io>
parents: 5055
diff changeset
190 This would at least protect from "out of memory" crashes.
Alain Mazy <am@osimis.io>
parents: 5055
diff changeset
191 Alternative option 3: Configure DCMTK to "stream" DICOM files on a temporary file on disk. Pass the file handle
Alain Mazy <am@osimis.io>
parents: 5055
diff changeset
192 to Orthanc and/or the Storage plugin (instead of passing a memory buffer) -> the object-storage plugin could
Alain Mazy <am@osimis.io>
parents: 5055
diff changeset
193 "stream" the file to the storage. The HTTP server could also "stream" its response from file handles.
Alain Mazy <am@osimis.io>
parents: 5055
diff changeset
194 Transcoding should be "file based" too.
4986
Alain Mazy <am@osimis.io>
parents: 4978
diff changeset
195
Alain Mazy <am@osimis.io>
parents: 4978
diff changeset
196
4624
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4478
diff changeset
197 ========
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4478
diff changeset
198 Database
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4478
diff changeset
199 ========
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4478
diff changeset
200
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4478
diff changeset
201 * Integration test searching for "\" and "%" in PatientName, PatientID...
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4478
diff changeset
202
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4478
diff changeset
203
2162
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
204 =======
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
205 Plugins
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
206 =======
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
207
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
208 ---
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
209 SDK
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
210 ---
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
211
4212
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4144
diff changeset
212 * Implement PluginsJob::GetOutput() to allow user-defined jobs to provide output:
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4144
diff changeset
213 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
214 * Add plugins for normalized operations (notably so as to support
4645
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4644
diff changeset
215 Print SCU/SCP, cf. "dcmprscp"):
3570
f05887b1d1bf Replaced broken url with url from wayback archive
Tomas Zubiri <me@tomaszubiri.com>
parents: 3472
diff changeset
216 https://web.archive.org/web/20170923150432/https://www.medicalconnections.co.uk/kb/DICOM_Print_Service
3153
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2975
diff changeset
217 * Provide access to the Orthanc::DicomUserConnection class in plugins:
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2975
diff changeset
218 https://groups.google.com/d/msg/orthanc-users/ycDA1xPuTRY/nsT2_GOtEgAJ
3390
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 3384
diff changeset
219 * Provide a C++ callback similar to "ReceivedInstanceFilter()" in Lua
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 3384
diff changeset
220 https://book.orthanc-server.com/users/lua.html#filtering-incoming-dicom-instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 3384
diff changeset
221 https://groups.google.com/d/msg/orthanc-users/BtvLTE5Ni8A/vIMhmMgfBAAJ
4645
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4644
diff changeset
222 * In "OrthancPluginLog[Error|Warning|Info]()", prefix the log line with
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4644
diff changeset
223 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
224 * Update the SDK to handle buffer sizes > 4GB (all sizes are currently coded in uint32_t)
5106
75fd2d35f053 TODO: Get SCP in SDK
Alain Mazy <am@osimis.io>
parents: 5103
diff changeset
225 * Add a C-Get SCP handler: OrthancPluginRegisterGetCallback
5107
43461cc99838 TODO cont
Alain Mazy <am@osimis.io>
parents: 5106
diff changeset
226 https://groups.google.com/g/orthanc-users/c/NRhPkYX9IXQ/m/mWS11g0jBwAJ
2162
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
227
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
228 ----------------
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
229 Ideas of plugins
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
230 ----------------
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
231
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
232 * DICOM-RT primitives (RT-STRUCT, RT-PLAN, RT-DOSE)
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
233 * Converter to/from NIfTI
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
234 * Decode JPEG2k with grok: https://github.com/GrokImageCompression/grok
2251
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2247
diff changeset
235 * Generate dynamic HTTP content using Lua:
2199
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2178
diff changeset
236 https://groups.google.com/d/msg/orthanc-users/KompazkxRSs/5Rh03mzgDAAJ
2251
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2247
diff changeset
237 * More generally, expose more callbacks of the plugin SDK in Lua:
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2247
diff changeset
238 https://groups.google.com/d/msg/orthanc-users/_FbiRHuXPGM/J-OAv7zaCAAJ
3300
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 3261
diff changeset
239 * Configuration interface plugin
2162
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
240
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
241
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
242 ===
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
243 Lua
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
244 ===
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
245
5016
c89ffa13173e Lua: new "SetHttpTimeout" function
Alain Mazy <am@osimis.io>
parents: 5015
diff changeset
246 * Configure HTTP headers from Lua (in RestApiPost(), RestApiPut()
2162
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
247 and RestApiDelete().
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
248 https://groups.google.com/forum/#!msg/orthanc-users/WNnW187OILM/6XX_bm96BwAJ
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
249
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
250
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
251 ================
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
252 Code refactoring
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
253 ================
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 * Use Semaphore::Locker everywhere (instead of explicit
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
256 Release() and Acquire())
2207
6dc3bdb4088b Fix handling of encodings in C-FIND for worklists
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2202
diff changeset
257 * 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
258 methods private), go through ParsedDicomFile wherever possible
2162
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
259
4459
16392fe89ce0 new mutex to protect registration of REST callbacks: restCallbackRegistrationMutex_
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4452
diff changeset
260
2162
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 Platform-specific
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
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 Packaging
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
267 ---------
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
268
4467
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4464
diff changeset
269 * 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
270 http://fedoraproject.org/wiki/EPEL_Package_Maintainers
4643
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4624
diff changeset
271 * Fedora: Are DICOM dictionaries correctly located?
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4624
diff changeset
272 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
273
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
274 ------------------------
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
275 Big-endian architectures
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
276 ------------------------
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
277
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
278 * Check the generated 16bpp PNG images
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
279
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
280 -----------------
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
281 Microsoft Windows
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
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
284 * Add compatibility with non-ASCII paths (Orthanc expresses its paths
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
285 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
286 system locale)
5053
Alain Mazy <am@osimis.io>
parents: 5036
diff changeset
287 * Fix error message when stopping the service:
Alain Mazy <am@osimis.io>
parents: 5036
diff changeset
288 https://groups.google.com/g/orthanc-users/c/NyrwUJ9N6Ec/m/sTZIcWvaAgAJ
Alain Mazy <am@osimis.io>
parents: 5036
diff changeset
289
2162
d738945c25cd migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
290
3672
ea8c1c0e81eb Fix issue #65 (Logging improvements)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 3570
diff changeset
291 ====
ea8c1c0e81eb Fix issue #65 (Logging improvements)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 3570
diff changeset
292 Misc
ea8c1c0e81eb Fix issue #65 (Logging improvements)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 3570
diff changeset
293 ====
ea8c1c0e81eb Fix issue #65 (Logging improvements)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 3570
diff changeset
294
4643
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4624
diff changeset
295 -----------------
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4624
diff changeset
296 Maintenance tools
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4624
diff changeset
297 -----------------
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4624
diff changeset
298
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4624
diff changeset
299 * Standalone tool to detect corrupted files:
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4624
diff changeset
300 https://groups.google.com/g/orthanc-users/c/KASEJ9Gx3vQ/m/MIJFJdRhAwAJ
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4624
diff changeset
301 * Standalone tool to detect orphan files in OrthancStorage
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4624
diff changeset
302
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4624
diff changeset
303 ----------------------------------
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4624
diff changeset
304 Code quality and integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4624
diff changeset
305 ----------------------------------
4459
16392fe89ce0 new mutex to protect registration of REST callbacks: restCallbackRegistrationMutex_
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4452
diff changeset
306
4467
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4464
diff changeset
307 * Have a look at openQA (cf. GNU Health)
4643
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4624
diff changeset
308 * Add integration tests for LUT
4926
Alain Mazy <am@osimis.io>
parents: 4912
diff changeset
309 * Add more complex testing scenarios like data-migration, change of
Alain Mazy <am@osimis.io>
parents: 4912
diff changeset
310 configuration files, multiple orthanc interacting togethers with various
Alain Mazy <am@osimis.io>
parents: 4912
diff changeset
311 config. This should probably look like the python toolbox tests ...
Alain Mazy <am@osimis.io>
parents: 4912
diff changeset
312
3672
ea8c1c0e81eb Fix issue #65 (Logging improvements)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 3570
diff changeset
313
4467
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4464
diff changeset
314 ---------------------
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4464
diff changeset
315 External applications
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4464
diff changeset
316 ---------------------
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4464
diff changeset
317
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4464
diff changeset
318 * Create REST bindings with Slicer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4464
diff changeset
319 * Create REST bindings with Horos/OsiriX