When DICOM storage commitment in Orthanc matters
Storage commitment matters when a modality or PACS deletes its local copy after sending images and needs proof that the receiver has stored them safely. A plain C-STORE only tells the sender that the transfer finished, not that the data is persistent on the receiving side. If your scanner, ultrasound unit or archive is configured to purge sent studies to free disk space, you need a confirmation step before that purge runs, and you need to know which system is responsible for issuing it. Storage commitment is a separate confirmation service that runs after C-STORE: the storage commitment SCU (usually the modality or sending PACS) asks the storage commitment SCP (the receiving archive) to confirm that named SOP instances are committed, and the SCP replies with success or failure for each instance. Deletion decisions should wait for that reply, not for the transfer status alone.
The IHE push model is the common pattern in clinical deployments: the sender pushes images, then requests commitment for the same instances, and the receiver reports back on a separate association. Before you design around it, confirm three things. First, whether your Orthanc version and build expose storage commitment in the role you need, because the supplied Orthanc facts do not document it, and the exact configuration keys and behavior must be checked in the Orthanc Book and against the release you plan to run. Second, whether each modality in your fleet supports the storage commitment SCU or SCP role, and which SOP classes it requests. Third, which AE titles, ports and TLS settings each side uses, since a mismatch here usually fails silently. Orthanc is distributed for Windows, macOS, Linux and Docker, so the test environment should match the production platform before any deletion rule is switched on.
How the commitment request and response move between modality and Orthanc
The diagram starts with a modality pushing instances to Orthanc over C-STORE, then the modality acting as storage commitment SCU sends a request to Orthanc acting as the SCP. Orthanc confirms once it has the instances in its own storage, and only that response lets the modality treat its local copies as safe to delete. The trust boundary marks where traffic crosses from the hospital network into the Orthanc host, so check that the commitment path crosses the same boundary controls as the image transfer.
Modality and Orthanc exchange image transfer, commitment request and commitment response across the network boundary.
Orthanc as commitment SCP versus SCU
When Orthanc is the storage commitment SCP, a modality or sending system pushes images to Orthanc with C-STORE, then asks Orthanc to take responsibility for those SOP instances. Orthanc answers the request and reports the outcome back to the sender, and the sender treats that report as its signal that local copies may be removed. The sender must be a known peer with a matching AET, IP address and port, and Orthanc must be able to open the return path used for the result.
- Data flow: the sender stores the instances, sends an N-ACTION request naming them, and Orthanc responds to the request before returning an N-EVENT-REPORT to the sender's commitment SCU.
- Configuration on the sender: the modality needs Orthanc's AET, host and port, plus the storage commitment service class enabled in its own settings.
- Configuration on Orthanc: the sender must be registered as a modality, and the return address must be reachable from Orthanc through any firewall between the two systems.
- What the sender waits for: a success report for every instance. A failure report, or no report within the sender's timeout, should keep the local copy in place.
- Commitment depends on storage: confirm that Orthanc reports success only after files and index entries are written under your chosen storage and database setup.
Before building on this role, check the storage commitment behavior in the Orthanc Book and the REST API for your exact version, and test a failed write to confirm that the sender receives a failure report.
When Orthanc is the storage commitment SCU, it forwards studies to a PACS, archive or other receiver, then requests commitment from that receiver before its own workflow treats the forwarded instances as safely stored. The receiver answers the request and later sends its result back to Orthanc, which records the outcome. Orthanc's routing or deletion logic should wait for that result, not only for the end of the C-STORE transfer.
- Data flow: Orthanc sends C-STORE to the receiver, sends an N-ACTION request for the same instances, and then receives an N-EVENT-REPORT from the receiver.
- Configuration on Orthanc: the receiver must be listed as a modality, and Orthanc must listen on a port the receiver can reach for the return report.
- Configuration on the receiver: the receiver must accept storage commitment requests from Orthanc's AET and must be able to open a connection back to it.
- What Orthanc waits for: a success report per instance before marking them eligible for deletion. Plan for missing reports, retries and manual review of pending requests.
- Routing integration: gate deletion in Lua or Python routing scripts on the commitment result, because a deletion triggered by C-STORE success alone skips the commitment step.
Before relying on this role, confirm in the Orthanc Book and REST API how pending commitment requests are exposed, whether Orthanc resends them, and how an operator can reconcile instances that never received a result.
Both roles depend on details that change between Orthanc releases and between environments, so the facts below need confirming before any deletion decision depends on them. Treat each item as a question to answer from the documentation for your version and from a test in your own network, not as an assumption carried over from another deployment.
- Version support: confirm which storage commitment behavior your Orthanc version provides by reading the Orthanc NEWS file for changes that touch DICOM networking.
- Configuration keys: confirm the names, defaults and scope of the DICOM modality and commitment options in the Orthanc Book for your release.
- REST API visibility: confirm which endpoints show commitment requests and results, and what state they return for pending, successful and failed requests.
- Peer matching: confirm how AET, host and port are matched in both directions, since a mismatch in either direction can stop the return report.
- Independent testing: run both roles against an independent DICOM toolkit such as dcm4che, including forced failures, before any modality or router deletes data.
Record the answers to each item for your version so that the sender's deletion rules and the Orthanc configuration can be reviewed together.
Where commitment sits in the ingest chain
A storage commitment response is only meaningful if the instances it covers are already safely stored, so the decision to confirm storage belongs at the end of the ingest path, not at the start. In Orthanc, a sending modality issues a C-STORE for each instance, and the storage commitment request follows for the set of instances it wants confirmed. The confirmation must describe what Orthanc has actually written, which means the commitment process should read from the same storage state that the REST API and downstream tools use. Before you enable commitment, confirm how your modalities sequence their C-STORE operations and their commitment requests, and whether they wait for a success response before deleting local copies.
Completeness is the first dependency. A study can be partly received when a commitment request arrives, especially when a modality sends series in parallel or a network interruption cut the association midway. Orthanc's stable study events and the StableAge concept, covered in the guide to complete study transfers, tell you when a study has stopped changing, and that signal should gate both the commitment decision and any routing. Auto-routing has the same dependency: if a router forwards or deletes a study on the first instance it sees, the commitment answer may describe images that the router has already moved on from. Keep the routing trigger, the stability check and the commitment logic consistent with one another.
The commitment answer is only as trustworthy as the storage behind it. The default file storage and the SQLite index are one combination, while the PostgreSQL, MySQL/MariaDB or ODBC database plugins and the S3, Azure and Google Cloud object storage plugins are others, and each has its own write and failure behavior. Ask your team which back end, and which index, holds the instances when Orthanc reports them as stored, and how a failed write to a remote object store is surfaced. Confirm this with your Orthanc build and your own storage configuration before relying on the response in a clinical workflow, because a confirmation that outruns a failed write can cause a modality to delete the only copy.
Storage commitment configuration decisions and when each fits
This table compares the configuration choices that shape a storage commitment setup in Orthanc, with the options to weigh and the conditions under which each one fits. Read it before opening the Orthanc Book, then use the confirm column to check each point against the documentation for your installed version. The main takeaway is that the initiating side, endpoint identity and failure handling should be agreed with the remote system owner before any settings are changed.
| Decision | Options to weigh | When each fits | What to confirm |
|---|---|---|---|
| Which side initiates the commitment request | Orthanc sends the request as the commitment SCU to the modality or archive, or the remote system sends it to Orthanc as the commitment SCP | Orthanc as SCU fits when Orthanc is the store that must hold images before the sender deletes them. Orthanc as SCP fits when a modality or archive keeps its own copies and asks Orthanc to confirm receipt | Which party the remote device supports in the IHE push model, and whether it expects a result to be sent back on the same association or on a separate one |
| AE titles and network endpoints for each party | Dedicated commitment AE titles, or reuse of the existing storage AE title; fixed IP and port per device, or hostname-based addressing | Dedicated titles fit sites that want to separate commitment traffic from C-STORE in logs and firewall rules. Reuse fits small setups where the remote device accepts only one configured title | Exact AE titles and ports the remote device expects, which side listens, and whether the remote system checks the calling title and address before accepting the association |
| Whether DICOM TLS is required between sites | Plain DICOM on a private network or VPN, DICOM TLS configured on both ends, or TLS terminated outside Orthanc | Plain DICOM fits a segregated network the organization already controls. DICOM TLS fits traffic that crosses a site boundary or an untrusted network. Outside termination fits devices that cannot speak TLS themselves | Your organization's transport policy, whether both devices support TLS for this message type, and the certificate setup described in the DICOM TLS topic |
| Trigger from the REST API or from a script | Manual or system calls to the REST API, or automatic requests from a Lua or Python script on stored or received events | REST calls fit controlled, supervised workflows and testing. Script triggers fit high-volume routing where every stored study must be confirmed without staff action | Which events are available in your installed version, how the script is loaded, and who owns the script after handover |
| How failures and retries are handled | Automatic retry with a limit, queued retries reviewed by staff, or manual resend after an alert | Automatic retry fits transient network faults. Queued review fits sites where a failed commitment must be investigated before the modality deletes anything. Manual resend fits low volume with a named owner | Which failure responses the remote device sends, how Orthanc records pending and failed requests, the retry settings in the Orthanc Book for your version, and what the modality does while a commitment is still open |
| Who owns the modality deletion decision | The modality deletes after the commitment response, after a time window, or never; Orthanc keeps the only copy or a copy is kept elsewhere | Deletion after commitment fits modalities whose local buffer is tight. Keeping the local copy fits sites that cannot accept a single point of storage during an outage | The modality vendor's documented deletion rule, and whether a failed or missing commitment response blocks deletion on that device |
| Testing before production | Test against a second DICOM implementation such as dcm4che, or test only against the live modality | A second implementation fits pre-go-live testing so that a misread of the standard is found before clinical traffic is affected. Live-only testing fits sites that have no spare system and accept more risk | Which test tools and versions you will use, who signs off the test results, and how test traffic is kept away from patient records |
How to set up storage commitment between Orthanc and a modality
This sequence takes a sending modality or PACS and an Orthanc server from an unconfigured pair to a verified storage commitment exchange, with written evidence that the receiving side confirmed storage before the sender is allowed to delete images.
Inventory the sender and its commitment support
Identify the modality or PACS that will send images, its vendor and software version, and whether its manual or configuration guide documents storage commitment as an SCU (requesting side) or SCP (answering side). Ask the vendor which Storage Commitment SOP class it supports and whether it deletes local copies only after receiving a success response. Done when you hold a written answer from the vendor, not an assumption from the product name.
Record AE titles, addresses and ports on both sides
Write down the Application Entity title, IP address and DICOM port of the sender and of Orthanc, and confirm which side initiates each association. Check the firewall rules between them in both directions, since the commitment response travels on a separate association that may be opened back toward the sender. Done when a single table lists each value and each direction, and a network team member has confirmed the open ports.
Confirm the Orthanc version and its documentation
Record the exact Orthanc version in use or planned, and read the storage commitment section of the Orthanc Book for that release. Check the NEWS file for changes to DICOM networking in your version, and note any plugin or configuration option the documentation says is required. Done when the version and the documentation reference are written into the change record and match the server you will configure.
Configure the Orthanc SCP or SCU role
Enable the storage commitment role that matches the design: Orthanc as SCP to answer commitment requests from a modality, or as SCU to request commitment from a remote archive. Add the remote system as a DicomModalities entry with its AE title, host and port, and set the options the documentation requires for commitment. Keep the configuration file under version control and restrict edit access to the administrators who own it. Done when Orthanc starts without configuration errors in its logs.
Configure the remote peer
On the sender, add Orthanc as a destination using the AE title, address and port recorded earlier, and enable storage commitment there with the role that complements Orthanc. Confirm that the sender sends the commitment request only after the C-STORE completes and that it retains the local copy until the result arrives. Done when the sender's configuration screen or export shows the Orthanc entry with commitment enabled.
Run C-ECHO to confirm basic connectivity
Send a C-ECHO from each side to the other using the configured AE titles and ports. A successful echo proves that the association can be established, but it does not test commitment, so record it as a connectivity check only. If it fails, compare AE titles, addresses and ports against your table before changing anything else. Done when both directions return success and the results are logged with timestamps.
Send a test study and verify the commitment response
Send one test study that contains a small number of instances from the sender to Orthanc. Confirm that Orthanc stores the instances, that the commitment request is received, and that the response reports success for every referenced SOP instance. Check the Orthanc logs and the stored instance list, and confirm the sender marks the study as committed. Done when the stored instance count matches the sent count and each instance shows a success result.
Record the evidence for review
Save the configuration excerpts with secrets removed, the version and documentation references, the C-ECHO results, the test study identifiers, the log lines showing the commitment response, and the sender's committed status. Ask the security or compliance owner to review the record and to confirm which tests must be repeated after upgrades or network changes. Done when the evidence is stored where the operations team can retrieve it and the owner has signed off on the test scope.
Security and operational risks of commitment in Orthanc
A storage commitment exchange depends on the same listeners, API routes and logs that any Orthanc server exposes. The cards below cover the controls that keep those paths closed, encrypted and auditable, so that a commitment report reflects storage you can defend.
Limit the DICOM listener
Commitment requests arrive over the DICOM listener, so the modalities and archives allowed to reach it define who can ask Orthanc to confirm storage. Check the DicomModalities entries on both sides, confirm the listening port and AET, and restrict network access to the peers you have registered. A listener open to any network address accepts associations you did not plan for, and the commitment reply is only as trustworthy as the peer list behind it.
Encrypt inter-site DICOM with TLS
Commitment messages between sites carry patient identifiers and storage status, and they should not cross an untrusted link in clear text. Orthanc supports DICOM TLS for inter-site exchanges starting with version 1.9.0. Confirm that the version you run supports it, configure certificates on both ends, and test the commitment exchange after enabling TLS, because a mismatch often fails silently at the association level.
Gate the REST API
Commitment status and retries are visible through the REST API, so that access must be controlled. Orthanc only accepts HTTP connections from localhost by default. If RemoteAccessAllowed is enabled, set AuthenticationEnabled to true and define every account in RegisteredUsers. For Internet exposure, the docs recommend HTTPS through a reverse proxy, so confirm that the proxy terminates TLS and that the Orthanc port is not reachable directly.
Disable script and export routes
The /tools/execute-script route can let a malicious user run any system command, and the export route can overwrite files. Commitment work does not need either route, so both should stay disabled in production. Verify this in the live configuration, not only in the template, and include the check in change reviews, since a route re-enabled during troubleshooting stays exposed until someone notices.
Monitor commitment outcomes
A commitment reply that fails or never arrives is an early warning that a modality may be about to delete images it cannot yet prove are stored. Track failed and pending commitment requests per peer, alert on repeated failures, and decide who acts on them and within what time. Review the Orthanc logs with the same routine used for other DICOM failures, and document which failed requests were resent, which were confirmed, and which were escalated.
Own the audit trail
When an auditor or a dispute asks whether a study was stored before the modality deleted it, the answer comes from your logs and the commitment records, not from the vendor. Decide where Orthanc logs are kept, how long they are retained, who can read or change them, and how they are backed up separately from the archive. Confirm these settings with your compliance team before go-live, since retention and access rules come from your own obligations.
Testing storage commitment against dcm4che
A second, independent DICOM implementation is the fastest way to find out whether Orthanc's storage commitment behaves as the standard expects. If Orthanc acts as the storage commitment SCP for a modality, testing it only against the same vendor's tools can hide mistakes that both sides share, such as how the transaction UID is echoed back or how a failure reason is encoded. Running the exchange with dcm4che, a separate open-source DICOM toolkit, gives you a second reading of the request and response. Confirm the exact dcm4che tool, command options and version against your own test plan before you rely on the results, since the commands and their behavior can change between releases.
Capture the N-ACTION request and the N-EVENT-REPORT response on both ends and compare them field by field. On the SCU side, check that the referenced SOP Class and SOP Instance UIDs match the instances you actually sent, that the transaction UID is the one the responder reports back, and that the success or failure status matches what happened on disk. Pair the DICOM traces with the Orthanc logs and the instance list returned by the REST API, so you can confirm that a success report corresponds to an instance that is really stored. Store the traces with the test record so an auditor or a modality vendor can replay the same case later.
Exercise the failure cases deliberately, because they are where integrations usually break. Test a rejected storage request, for example by making the storage area unwritable for one instance. Test an unreachable responder by stopping the listener or blocking the port, and confirm that the modality retries or holds its data as its own configuration dictates. Test mismatched AE titles on each side, which the connection logic should refuse cleanly. Finally, delay the response past the timeout your modality uses. The aim is to see whether the sender keeps the images until a positive report arrives. The supplied facts do not include any test results for Orthanc storage commitment, so record your own outcomes and treat them as the baseline for your environment.
Limits to confirm before relying on storage commitment
The supplied facts do not document Orthanc's storage commitment limits, so every card below is a check to complete before a modality is allowed to delete images based on a commitment response. Each item connects to the same question: what does a success response actually promise in your environment, and who is accountable if it turns out to be wrong.
Version and documented behavior
Confirm which Orthanc release you run and read the behavior documented for that exact release. Storage commitment handling sits alongside storage and parsing changes, and release notes can alter how instances are written and reported. Record the version in your change ticket so a later upgrade triggers a retest of the commitment path. Check the Orthanc Book and the release notes for your version rather than relying on memory of earlier behavior.
- Latest release listed
- 1.13.0
Sender role support
Confirm whether the modality or PACS you connect to supports the storage commitment service and which roles it implements, either as requester (SCU) or as the party that answers (SCP). Vendors often support one role only, and support for one role does not imply the other. Ask for the DICOM conformance statement and check the exact SOP classes listed, because a sender that never requests commitment gives you no confirmation to act on.
Failure response behavior
Test how the commitment response behaves when storage fails, when a file cannot be written, or when the database update is interrupted. A success message must never be sent before the instance is durably stored, and a failure must produce a response the sender can act on. Ask the vendor for the failure reason codes they return and confirm how Orthanc reports partial failures for multi-instance requests.
Interaction with sender deletion
Map the exact point at which the sending device deletes local copies after receiving commitment. Some devices delete on a timer, on a manual action, or on any completed transfer, regardless of commitment status. Confirm that the sender waits for the commitment response and that a missing or late response keeps local copies. Write the rule into your retention policy so clinical staff know which copy is the source of record.
Effect of the storage back end
Confirm whether the storage area you choose changes what is confirmed. A commitment that covers the local file system may not cover a cloud object store, a plugin-managed back end, or a replicated cluster where another instance writes the same data. Ask which layer determines that an instance is stored, how writes are verified, and what happens when a cloud write is accepted but not yet persisted in the way you expect. Document the answer per back end.
Orthanc plugins listQuestions teams ask about storage commitment in Orthanc
How much effort does a storage commitment setup in Orthanc take?
Effort depends mostly on how many senders need commitment, how varied their DICOM implementations are, and how much testing the change requires. A single modality that already supports the push model is a small configuration task with a verification run. Several modalities or PACS from different vendors, each with its own AE title, port and quirks, multiply the configuration and test cases. Ask for the effort estimate to be broken down per sender, with testing listed as its own line, so you can see which items drive the total. No general figure applies across sites.
What drives the cost of storage commitment work up or down?
The main drivers are the number of modalities and archives involved, the number of sites, whether DICOM TLS is required, how deep the testing goes, and what each sender supports. Senders that implement the storage commitment push model cleanly need less work than those that need vendor-specific settings or workarounds. Each additional site adds network and firewall review. Ask any quote to state which of these items it assumes, and what is one-time setup versus ongoing support, which is sold as a separate retainer if you want it.
How long does a storage commitment project usually take?
Duration follows from the written scope, not from a fixed template. The schedule is shaped by how many senders are in scope, how quickly your team can provide network details and access to modality configuration, and how long a change window is available for live testing. Delays most often come from waiting on vendor documentation, firewall changes and clinical scheduling of test windows. Most engagements are fixed-scope, so the timeline and its dependencies are agreed in writing before work starts. Ask for milestones tied to each sender, not one overall date.
What must our team provide before outside help starts?
Plan to supply the AE titles, IP addresses and ports for Orthanc and each sender, a network map showing which paths are open, and the documentation for each modality or PACS, including its storage commitment settings and any known limits. You also need a named technical contact for each system and a test window when a modality can be safely exercised. Without the test window, verification will be limited to lab-style checks. Ask the provider to list these inputs in the scope document so gaps are visible before the work begins.
Can an internal engineer set up storage commitment in Orthanc alone?
An engineer who knows DICOM networking, can read Orthanc logs and has access to the modalities can often complete a single, simple sender without help. The harder parts are the ones that depend on the vendor, such as how a device requests commitment, how it reacts to a failed response, and whether it deletes local copies on its own schedule. Those behaviors are easy to misjudge without test evidence. Before deciding, check whether your team has someone who can run a C-ECHO and a storage commitment test against a non-clinical sender and document the results.
What does DeployOpen cover for storage commitment in Orthanc?
DeployOpen plans, implements and documents open-source platforms inside your own infrastructure, including Orthanc configuration for DICOM exchange. For storage commitment, the work covers the agreed senders, the Orthanc configuration on both sides of each exchange, verification against the agreed test cases, and the operating notes your team needs. DeployOpen does not issue audit reports or certifications. The exact deliverables, exclusions and test depth are set out in the written scope before any work starts, and a quote follows from that scope.
What should we check in an Orthanc storage commitment proposal?
Check that the proposal names each sender, the Orthanc version it targets, and how each exchange will be tested, including the failure cases. It should state whether DICOM TLS is in scope, what evidence you receive at the end, and how retesting is handled after an Orthanc upgrade. Look for a clear statement of what is one-time and what recurs, and for a support option if you need help after go-live. Vague wording such as 'full integration' without a list of senders should prompt a request for a written scope.
How DeployOpen scopes and delivers Orthanc storage commitment work
DeployOpen plans, implements, tests and documents DICOM storage commitment inside your own infrastructure, on a self-hosted Orthanc server. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
How we scope
- Inventory every modality, PACS and archive that sends or must confirm storage, with its AE title, IP address and port.
- Record which device deletes local copies after commitment, and which commitment model each one expects.
- Agree in writing whether Orthanc acts as commitment SCP, SCU, or both, and which REST routes are in scope.
How we build
- Configure Orthanc's DicomModalities entries and storage commitment settings on both ends of each exchange.
- Test push model requests and responses with C-STORE and N-EVENT-REPORT traffic against dcm4che tools.
- Connect storage commitment status to downstream routing so deletion waits for a confirmed store.
How we hand over
- Document each modality pairing, its commitment role, timeouts and the failure behavior agreed with your team.
- Provide test scripts and evidence from dcm4che runs so your engineers can repeat checks after changes.
- Walk your operations and imaging teams through monitoring, logs and the steps to follow when a commitment fails.
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer after handover.
- Retest storage commitment after each Orthanc core upgrade or change to modality configuration.
- Confirm with your team which Orthanc version and deployment model apply before the scope is signed.

