Orthanc scripting and automation

Automating and extending Orthanc with Lua, Python and Java plugins and the REST API, including anonymization, pixel masking and DICOM creation.

Server-side Lua scripting in Orthanc

Tailoring Orthanc to a workflow with Lua: installing scripts, event callbacks, filtering incoming instances and REST calls, calling the REST API from scripts, concurrency pitfalls and when to move to Python.

Extending Orthanc with the Python plugin

What the Python plugin makes possible in Orthanc: new REST routes, reacting to new instances, pydicom processing, scheduled tasks, custom SCP handling and storage, plus the AGPL obligations for your scripts.

Writing Orthanc plugins in Java

Building Orthanc extensions in Java instead of C or C++: SDK coverage, REST routes, event handlers, key-value store and queues, packaging and when Java beats Lua or Python for a team.

Automating Orthanc with the REST API and jobs

Scripting routine archive work against Orthanc's REST API: asynchronous jobs, priorities and monitoring, archive generation, sending to modalities and peers, and service accounts for automation.

Anonymizing DICOM studies with Orthanc

De-identifying studies for research or sharing with Orthanc: DICOM PS3.15 profile versions, keeping or replacing specific tags, bulk anonymization jobs, consistent pseudonyms and burned-in text limits.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.