DICOM tag-based permission

Hello users,

The idea is that once the user ( a doctor) logs in through explorer2, they’d only see studies with referring physician tag (0008,0090) matches the user’s name. Is there a way to implement that?

Looking at the examples of authorization plugin, permission restrictions are mostly based on URI pattern. orthanc-auth-service/demo-setup/orthanc.jsonc at main · orthanc-team/orthanc-auth-service · GitHub

If that particular tag isn’t good is there any other tag that would work? or any workaround that you can think of?

Hi,

One option is to add a label with the value of the ReferringPhysician to every incoming study in Orthanc and then, use the label based permission system implemented in the orthanc-auth-service project.

Another alternative is to re-implement an equivalent of the authorization plugin in python with your custom logic.

Best regards,

Alain.

Thank you alain. I was thinking along the same lines as I realized label is being index in the database and can drive authorization. Thanks for sharing your idea!