annotate OrthancServer/Resources/Samples/Lua/IncomingFindRequestFilter.lua @ 5630:3b7fb32ecbb0
default tip
fix OrthancPlugin.doxygen
author |
Sebastien Jodogne <s.jodogne@gmail.com> |
date |
Fri, 17 May 2024 13:23:58 +0200 |
parents |
d25f4c0fa160 |
children |
|
rev |
line source |
1889
|
1 -- This example solves the following problem:
|
|
2 -- https://groups.google.com/d/msg/orthanc-users/PLWKqVVaXLs/n_0x4vKhAgAJ
|
|
3
|
|
4 function IncomingFindRequestFilter(source, origin)
|
|
5 -- First display the content of the C-Find query
|
|
6 PrintRecursive(source)
|
|
7 PrintRecursive(origin)
|
|
8
|
|
9 -- Remove the "PrivateCreator" tag from the query
|
|
10 local v = source
|
|
11 v['5555,0010'] = nil
|
|
12
|
|
13 return v
|
|
14 end
|