Hello,
Does anyone know of a way to edit the Orthanc config file programmatically specially things like adding/editing/deleting modalities and other things like this ?
Hello,
Does anyone know of a way to edit the Orthanc config file programmatically specially things like adding/editing/deleting modalities and other things like this ?
Modalities can be dynamically configured. Please see DicomModalitiesInDatabase
in the configuration and the relevant REST API doc
Also, there is a generic example that shows how to download and modify the configuration file and instruct Orthanc to restart to start using the new file in the Orthanc Setup Samples
HTH