Filter patients/studies/series per registered user


I am trying to use orthanc in a project to my college. I’ve search ways to filter patients and stuff per user, I mean, in my scenario each user would be a doctor, each one with a set of patients, I would like to show only those set of patients to his corresposding doctor. I’ve read the lua script page in orthanc book, but I still have no idea how to do this or even if this is possible.

Anyone can share his knowledge with me?

Thanks in advance.

This will require some custom development at your end. You will need to store StudyUID of the study along with a unique ID for the doctor to which it is assigned and then only allow access to those studies via your app depending on who is logged in.In short this functionality is way outside the scope of Orthanc in my opinion.