openradx / adit

ADIT (Automated DICOM Transfer) is a swiss army knife to exchange DICOM data between various systems by using a convenient web frontend.
GNU General Public License v3.0
7 stars 2 forks source link

Client side pseudonymization #27

Open mdebic opened 1 year ago

mdebic commented 1 year ago

Related to issue #19

A java script class which handles the complete process of client side pseudonymization need to be implemented. Build a class with general properties for managing the pseudonymization. Probably just a pseudonymization method needed.

General workflow:

Start implementation as follow:

lmdulz commented 1 year ago

To replace certain DicomTags like street names we need fake data, cant be empty - therefore JS Fakers need to be checked and choosen

medihack commented 1 year ago

It also can't depend on node js stuff as this would be backend. But that's OK as dcmjs works fully browser based. I guess there won't be a ready to use anonymization lib for dcmjs, but I think it's not to hard to create one. maybe we can open source it on its own, too (I can help with that). Makes sense as it should best be completely independent from adit. A good guideline what to anonymize is https://dicom.nema.org/medical/dicom/current/output/chtml/part15/chapter_E.html

medihack commented 1 year ago

And yes, fakerjs is super solid now (after it's cumbersome history https://javascript.plainenglish.io/open-source-a-horror-story-c14caba386a8 it was adopted by a large maintainer group)