Hello there,
I was tasked to create a pacs server for a small radiology department and decided to copy the instance I have in my department.
So far so good, managed to “#” all of the unnecessary stuff out of the .yml file and when I access it I still get the full list of the patients I had. So my maybe dumb question is how do I get rid of the old db in order to start a new one ?
Hello
What is your setup like and what DB do you use?
If you’re using SQLite (the default), you can simply delete the SQLite index file (and dicom storage contents) and it will be recreated anew. By doing this, obviously, there won’t be any patient or studies in the list anymore.
You can also write a script to delete all patients, but it will be much slower than simply deleting the file.
You might want to be careful and only move the file aside if you’re not 100% certain this is what you need.
Also, you mention yaml files which are not really part of a typical Orthanc installation… Was it a typo and are you referring to the json configuration file?
HTH
No, it wasn’t a typo. I am using docker in order to deploy it as I need to run caddy in order to reverse proxy it.
I have another question, but I am not sure whether I should post a new thread about it.
Can the Orthanc explorer 2 have different tiers of accounts? For example individual doctors which can see only the patients they referred to the radiology department (added tags during the dicom creation process) and can I limit their ability to delete studies from the explorer ?
You might want to study the following sample, that describes how to use the authorization plugin to restrict/allow access based on the InstitutionName
tag : orthanc-setup-samples/docker/access-control at master · orthanc-server/orthanc-setup-samples
Filtering can be customized on the specific request, such as deletion.
The corresponding reference documentation can be found in the Orthanc Book
HTH