Mercurial > hg > orthanc
view Resources/Samples/Lua/IncomingFindRequestFilter.lua @ 2313:d19e716b79fa issue-46-anonymization
switch to anonymization according to DICOM 2017c
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 12 Jul 2017 22:07:07 +0200 |
parents | 444f0bdaba01 |
children |
line wrap: on
line source
-- This example solves the following problem: -- https://groups.google.com/d/msg/orthanc-users/PLWKqVVaXLs/n_0x4vKhAgAJ function IncomingFindRequestFilter(source, origin) -- First display the content of the C-Find query PrintRecursive(source) PrintRecursive(origin) -- Remove the "PrivateCreator" tag from the query local v = source v['5555,0010'] = nil return v end