Feeding Orthanc modality worklists from a RIS

A practical plan for getting scheduled procedures from a RIS or order system into Orthanc's worklist server, with method choice, setup sequence, data mapping, security and testing.

On this page

Connecting a RIS to Orthanc worklists without guessing the feed method

Modalities need scheduled procedures before a patient arrives, and the orders that define those procedures sit in the RIS. Connecting the two means getting each scheduled procedure from the RIS into Orthanc's worklist server so that a CT or MR scanner can query it. Orthanc supports DICOM Modality Worklists through the worklists plugin, which serves worklists stored in a folder or in the Orthanc database and provides a REST API to create and manage them. The plugin is licensed AGPLv3 or later, so it carries the same copyleft obligations as other Orthanc plugins you distribute.

The plugin does not decide how orders reach it. Worklist generation is specific to each RIS, so the feed has to be written for your system. Common routes include HL7 messages from the RIS or order system, web service calls such as FHIR, and direct reads from the RIS database. Before choosing one, confirm with the RIS vendor or your integration team which interfaces are enabled in your installation, who owns them, and whether they expose every field the modalities need, including accession number, patient identifiers, scheduled station AE title and scheduled start time. The Orthanc Book worklist FAQ is the natural starting point for the plugin's role in this design.

Decide early whether the feed will write through the REST API or drop files into a worklist folder, because that choice sets who owns error handling. A REST feed can report failed inserts back to the sending system, while a folder feed depends on file naming, cleanup and locking. Also decide whether the feed will create, update and cancel entries, since a rescheduled or cancelled order that stays in the worklist can send a technologist to the wrong patient. Treat the feed as a system holding patient identifiers and scheduling data, so plan its credentials, network path and logging with the same care as the archive itself.

Choosing between folder, REST API and script-based feeds

Orthanc's worklist plugin accepts entries from three sources: files in a folder, the plugin's REST API writing to the Orthanc database, and a script you write to translate RIS messages. Each one places different demands on the RIS, on whoever maintains the code, and on how a missing or malformed order is noticed at the modality.

Folder-based worklists

The plugin reads worklist files from a directory, so the RIS or a small export job only has to write DICOM worklist files where Orthanc can see them. This assumes the RIS can export DICOM-formatted entries or that you can convert its output reliably. Check who owns the export job, how stale files are removed after a procedure is done, and whether a file that fails to parse is logged or silently skipped.

Worklists plugin docs

REST API into the Orthanc database

The plugin stores entries in the Orthanc database and exposes a REST API to create and manage them, so an integration can add, update and remove scheduled procedures without touching the filesystem. This assumes your RIS or middleware can make authenticated HTTP calls and handle responses. Confirm who gets alerted when a call fails, how deletions are reconciled after a cancelled order, and how access to the API is restricted on the network.

REST API reference

Custom script translating HL7 orders

A script can read HL7 order messages, such as scheduling messages from the RIS, and write the matching worklist entries through the plugin. This suits sites where the RIS speaks HL7 but cannot push DICOM worklists. The code becomes a maintained interface: someone must own its parsing rules, version changes from the RIS vendor and retry logic. Ask how dropped messages are detected and whether the script records every order it rejects.

Script translating FHIR orders

When the order system exposes FHIR resources such as ServiceRequest, a script can poll or receive them and map fields such as patient identifiers, accession numbers and scheduled times into worklist attributes. The mapping is specific to each FHIR server's profiles and codes, so it needs ongoing review when those change. Check how the script handles resources updated or cancelled after it first wrote an entry, since a stale entry at the modality causes wrong-patient or wrong-procedure errors.

How failures reach technologists

Every feed can fail quietly: a folder that stops updating, an API call that returns an error nobody reads, or a script that drops a malformed message. Technologists typically see the problem only when a modality shows an empty list or a patient is missing. Agree on a monitoring method for each feed, such as a count of entries over time or a log check, and decide who is paged and what the modality fallback is during an outage.

Configuring the worklists plugin and feed in sequence

This sequence takes the worklists plugin from a test instance to a production feed from the RIS. Each step closes with a check that proves the next step can start, so a modality never receives a worklist entry that has not been verified.

  1. Enable the worklists plugin on a test instance

    The integration engineer installs the worklists plugin alongside the Orthanc build used by the department and enables its configuration section on a non-clinical test server. Keep the plugin off the production archive until the feed is proven. The step is done when Orthanc starts without errors and the server log shows the worklists plugin loaded. If the plugin does not load, confirm that the plugin build matches the Orthanc core version before going further.

  2. Choose folder or database storage

    The team decides where scheduled procedures will live. Folder storage suits a RIS or interface engine that can write one file per order into a directory the server reads. Database storage suits a feed that creates, updates and deletes entries through the plugin's REST API. Record the choice, the storage path or database location, and who owns write access. The step is done when the configured location is writable by the feed account and an empty worklist query returns no entries without errors.

  3. Create a test entry through the REST API

    The engineer uses the worklists plugin REST API to create one test scheduled procedure step with a synthetic patient, accession number, modality, scheduled station AET and start date. Use a test patient identifier that cannot match a real patient. The step is done when the REST API lists the entry and the returned fields match what was submitted, character for character, including the accession number and the scheduled station AET.

  4. Confirm a modality can query the entry

    From a test modality or a DICOM test tool, the engineer sends a C-FIND request for the Modality Worklist SOP class using the calling AET and scheduled station AET that the test entry names. Confirm that Orthanc accepts the calling AET under its network settings before testing. The step is done when the query returns the scheduled procedure step with the expected patient ID, accession number and procedure code. An empty response usually points to an AET mismatch, a station filter or a wrong date range.

  5. Wire the RIS feed script

    The integration team connects the RIS or order system to the worklist storage. The feed is usually a script that reads HL7 order messages, polls a FHIR endpoint, or queries the RIS database, then maps each order to a scheduled procedure step. The script must handle new, updated and cancelled orders and must not create duplicates when an order is resent. The step is done when a test order from the RIS produces one entry, a corrected order updates that same entry, and a cancelled order removes it.

  6. Verify the end-to-end feed with test orders

    The team runs a set of test orders through the full path, from RIS to script to Orthanc to a modality query. The list should include a plain order, a repeated message, a changed scheduled time, a cancellation and a name with accented characters. The team records each result against the expected output. The step is done when every test order produces the expected scheduled procedure step and the results are signed off by the radiology informatics lead.

  7. Promote the feed to production

    The team moves the approved configuration to the production Orthanc instance, applies the agreed network allowlist for the modalities that will query it, and sets up logging and backups of the worklist storage. The cutover needs a rollback path that returns modalities to their previous worklist source. The step is done when a live order from the RIS appears in the production worklist, a production modality's query returns it, and the rollback has been rehearsed on the test instance.

How orders travel from the RIS to the modality

The flow starts in the RIS or order system, which holds the scheduled procedure. An optional translation step, written as a script that reads HL7 or FHIR messages, turns each order into a worklist entry. The worklists plugin then keeps the entry in a folder or in the Orthanc database, and the modality queries Orthanc with a C-FIND on the worklist. The trust boundary sits between the RIS network and the imaging network, so check which side owns the translation script and which credentials cross that line.

Orders flow from the RIS through an optional script into Orthanc's worklist server, which modalities query.

Mapping RIS order fields to worklist attributes

This table pairs the order fields a RIS usually sends with the DICOM worklist attributes Orthanc's worklists plugin serves to modalities. Use it as a starting checklist: confirm each mapping against your actual HL7 message, FHIR resource or database view and against the plugin documentation before the build starts. The main takeaway is that patient identity and accession number ownership must be agreed with the RIS team first.

RIS order fieldDICOM worklist attribute (to confirm)What to confirm with the RIS team
Patient identifier (MRN)Patient ID (0010,0020)Which identifier is the system of record, whether it is unique per site, and whether it can be reused after a merge
Patient namePatient's Name (0010,0010)Name format and character set, and how the RIS encodes family and given names and any transliteration
Date of birth and sexPatient's Birth Date (0010,0030), Patient's Sex (0010,0040)Date format and whether unknown values are sent as blank or as a coded value
Accession numberAccession Number (0008,0050)Who generates it, its uniqueness scope, and whether the modality will return it in the image headers unchanged
Requested procedureRequested Procedure Description (0032,1060), Requested Procedure ID (0040,1001)Whether the RIS code list matches the modality's procedure names and how multiple procedures per order are split
Scheduled station AE titleScheduled Station AE Title (0040,0001) inside Scheduled Procedure Step SequenceWhich AE titles are declared on each modality and that they match the names configured in Orthanc
Scheduled date and timeScheduled Procedure Step Start Date (0040,0002) and Start Time (0040,0003)Time zone handling, date format and how rescheduled or cancelled slots are updated or removed
Requesting physicianRequesting Physician (0032,1032)Name format and whether the RIS sends a physician identifier that the modality can display
ModalityScheduled Procedure Step Sequence, Modality (0008,0060)Coded modality values used by the RIS and the modality codes each scanner accepts

Patient identity and why duplicate orders cause wrong-patient risk

The core risk in a worklist feed is that a technologist selects an entry and the modality captures images for a patient who is not the one standing in front of it. Every RIS order becomes a worklist item keyed by patient identifiers, accession number and scheduled procedure, so any ambiguity in those keys carries straight to the scanner. A patient registered twice under two medical record numbers, an order re-sent after a correction with a changed name spelling or date of birth, or a cancelled exam that never left the worklist can each put the wrong entry on the screen. Before go-live, ask the RIS team which fields are the unique patient identifier, how a merged or corrected patient is announced to downstream systems, and whether accession numbers are unique across the whole RIS or only per site.

Updates and cancellations need an explicit rule, because the worklists plugin only serves what is stored in it. Decide whether an updated order replaces the existing entry (same accession number, new content) or creates a second one, and whether a cancellation deletes the item or closes it. Completed exams must also leave the worklist, either when the modality reports the procedure as performed or on a schedule tied to the order status in the RIS. Without a removal or closing rule, stale entries accumulate and a technologist can scroll past a valid exam to reach an old one. Write the rule down, test each case with a sample order (illustrative), and confirm how your RIS signals completion, since that signal differs between systems.

Reconciliation closes the gap between what the RIS considers scheduled and what Orthanc serves. At a set interval, compare counts of open orders per modality and per day in the RIS with the number of active items in the worklist store, and list any accession numbers present on one side only. Mismatches point to dropped messages, failed scripts or entries that were never removed, and they should be investigated before the next scanning session rather than discovered at the console. Ask the implementation partner, and your own team, to define who receives the mismatch report, how long a discrepancy may remain open, and whether the check runs against the database or the REST API output.

Hardening the worklist path and the Orthanc REST API

A worklist feed is a write path from the RIS into Orthanc, and the REST API that accepts it is reachable from more places than the modalities are. The cards below cover the access controls that decide who can push schedules in, which routes a feed account may touch, and how traffic is protected in transit.

Keep remote access closed by default

Orthanc accepts HTTP connections only from localhost unless you change that. A RIS or integration engine on another host needs RemoteAccessAllowed enabled, and that setting should be the deliberate step that opens the REST API. Before enabling it, confirm which hosts need to reach the API and document why. Test from an address that is not on the list to confirm the refusal works.

Orthanc security FAQ

Require authentication for every remote user

When RemoteAccessAllowed is on, the Orthanc documentation says AuthenticationEnabled should be true, with each account listed in RegisteredUsers. Give the RIS feed its own named account rather than a shared administrator login, so its activity appears separately in logs and can be revoked alone. Store the password in the feed system's secret store, not in the script.

Security FAQ

Terminate TLS at a reverse proxy

The Orthanc documentation recommends HTTPS and a reverse proxy for any exposure beyond the local host. The proxy handles certificates, can restrict source addresses and can limit request sizes. Confirm that the RIS talks to the proxy over HTTPS and that the proxy does not forward unauthenticated requests to the Orthanc port directly.

Limit the feed account to worklist routes

The worklist feed only needs to create, update and delete entries through the worklists plugin REST API. Check which routes the feed account can reach and block everything else at the proxy or with the authorization plugin, if you adopt it. Confirm with your Orthanc build which worklist routes exist before writing the allowlist, because route names depend on the plugin version.

Disable script execution and export routes

The Orthanc security FAQ warns that the /tools/execute-script route can let a malicious user run any system command, and that the export route can overwrite files. Both should stay disabled on any instance that accepts remote REST traffic. Verify this in the live configuration after every upgrade, since a rebuilt container can reintroduce settings from an older template.

Restrict worklist ports to known modalities

The DICOM worklist service is a separate listener from the REST API. Allow connections to it only from the modality addresses that query it, and declare each one by AET, IP and port so that unknown devices cannot pull patient schedules. Review the list whenever a modality is replaced or moved to a new network segment.

Encrypt DICOM traffic between sites

Where worklists or related DICOM exchanges cross a site boundary, DICOM TLS is available in Orthanc from version 1.9.0. Agree on certificate issuance and rotation with the peer site, and test both directions before moving patient data. Within a single hospital network, confirm with your security team whether TLS is required by policy or only recommended.

Evaluate fine-grained authorization

The advanced authorization plugin forwards each REST request's token to an external web service, which allows or denies it with HTTP 403. This can separate worklist writes from other routes more precisely than proxy rules. Confirm the plugin's current support status, the identity provider it needs and the operational cost of running the decision service before you commit to it.

Authorization plugin docs

Testing the feed before a modality goes live

Integration engineers own the path from the order system to the worklists plugin. Test that path in isolation before any scanner is involved, so a fault can be traced to one component. Use sample order messages exported from the RIS test environment or built by hand to match the mapping your script uses. Confirm the exact REST calls and the storage mode (folder or database) in the worklist plugin documentation before writing tests against them.

  • Sample order messages: Feed a known set of scheduled procedure records through the script and confirm each one creates an entry with the expected patient identifiers, accession number, modality and scheduled date.
  • REST round trip: Create, read, update and delete one entry through the plugin REST API, and confirm the stored fields match what was sent.
  • Storage mode checks: If both folder-based and database worklists are in use, repeat the tests for each, because the write and removal steps follow different paths.
  • Character and time handling: Include names with accents, empty optional fields and scheduled times in the timezone your RIS uses, then check each value on the returned worklist.
  • Logs as evidence: Keep the plugin and script logs for every run so a failure can be traced to the mapping or to the plugin.

Repeat the full set on a second run and confirm the entry fields match, so the results can be reproduced before the modality team starts.

Common worklist feed failures and fixes

This table pairs each common failure in a RIS-to-Orthanc worklist feed with its likely cause, the check to run and the fix. Work down the symptom column that matches what the modality shows, then confirm each check against your own RIS export and the worklist plugin's current documentation. The main takeaway is that most failures sit in the feed mapping and the modality configuration, not in Orthanc itself.

SymptomLikely causeCheck to runFix
Modality sees no entriesThe worklist plugin is not serving the folder or database store the modality queries, or the modality is not configured to query Orthanc.Query the worklist REST API directly and confirm entries are listed. Then confirm the modality's query AET, IP and port match Orthanc's DICOM settings.Point the modality at the correct Orthanc DICOM endpoint and confirm the worklist plugin loads with the expected storage location.
Entries carry the wrong station AE titleThe feed writes the scheduled station AET from the RIS room or device code, which does not match the AE title configured on the modality.Compare the scheduled station AET in a stored entry with the AE title set on the modality console for that room.Map each RIS room or device code to the exact modality AE title in the feed script, and agree that mapping with the RIS owner.
Duplicate patient entriesThe feed creates a new entry on every HL7 or FHIR resend instead of updating the existing scheduled procedure step, often because the accession number or procedure ID is not used as a stable key.Count entries per accession number and check whether the duplicates differ only in timestamps or identifiers.Use the RIS accession number or scheduled procedure step ID as the lookup key, and update or skip existing entries on resend.
Dates or times in the wrong formatThe RIS sends dates in a local or non-DICOM format, or the script writes a date and time without the expected separators, so the modality filters the entry out.Inspect the stored scheduled procedure date and time fields and compare them with a DICOM-conformant example from your modality vendor.Normalize dates and times in the script to the DICOM date and time formats, and test with one scheduled case per modality before going live.
Stale entries after cancellationsThe RIS sends a cancellation or discontinuation message that the feed does not handle, so the old entry stays in the worklist.Cancel a test order in the RIS and check whether the matching entry is removed or flagged in Orthanc.Add handling for cancel and modify messages to the feed script that deletes or updates the matching entry, and run a periodic reconciliation against open orders.
REST calls rejected with authentication errorsAuthentication is enabled on Orthanc, but the feed script does not send valid credentials, or the account is not listed in the registered users.Call the REST API from the feed host with the same credentials the script uses and check the HTTP response code returned.Create a dedicated service account in the Orthanc user list, store its credentials in the feed's secret store, and restrict it to the worklist operations it needs.

Questions buyers ask about RIS worklist integration

Is the Orthanc worklists plugin enough, or do we need a script?

The worklists plugin is enough to serve worklists, but it does not generate them. Orthanc supports DICOM Modality Worklists through plugins because each RIS produces worklist data differently, so something has to translate your orders into worklist entries. The plugin can serve entries stored in a folder or in the Orthanc database, and it provides a REST API to create and manage them. In practice most sites write a small script or interface that reads HL7 messages, calls a FHIR endpoint or queries the RIS database, then posts the result to the plugin. The plugin's REST API is the natural write point, so the main design question is how your RIS data becomes that API call.

What drives the effort of a RIS worklist feed?

Three factors usually matter most. The first is the RIS interface type: HL7 messages, a FHIR web service and direct database access each need different parsing, error handling and access approval. The second is the number of modalities, since each modality needs correct AET, character set and scheduled station settings to see the right entries. The third is duplicate and update handling: a single order may be re-sent, rescheduled or cancelled, and the feed must update or remove existing entries rather than create copies. Effort also rises with the number of test cases you want to cover before go-live. Ask for a written scope that lists the interface type, modalities, and how changes and cancellations are handled.

Can our own team build the worklist feed in-house?

Often yes, if the team has someone who can read the RIS interface specification and write and test a small integration service. The plugin's documentation and REST API are straightforward to call from common languages, so the work is mainly interface mapping, error handling and testing against real modalities. The in-house team should plan for ongoing work too: Orthanc releases, plugin upgrades and RIS changes all touch the feed. Consider a partner when the RIS interface is poorly documented, when the vendor controls access to the database, or when no one on staff has time to own the feed after launch. Whichever path you take, ask who will test modality behavior and who will maintain the script.

What do we need from the RIS vendor and radiology staff?

The RIS vendor typically needs to confirm the interface options that are enabled on your system, such as HL7 message types, FHIR resource formats or database views, and to provide test access. Without that, the feed team is guessing at field meanings. Radiology staff need to define which orders should appear on each modality, which procedure codes map to which station, and how cancelled or rescheduled exams are treated. They also need to test real scenarios at the modality, such as a technologist selecting a patient from the list. Agree these responsibilities in writing before work starts, and ask the vendor for any licensing or support conditions that apply to new interface access.

Does a HIPAA or GDPR review change the worklist design?

Yes, because a worklist carries patient identifiers and order details, which are electronic protected health information under the HIPAA Security Rule when a covered entity or business associate handles them. Covered entities and business associates must apply the Security Rule's technical safeguards to such data, including unique user identification, automatic logoff and encryption where addressable specifications apply. A business associate contract must also require the vendor to comply, flow terms to subcontractors and report security incidents. For EU data, GDPR Articles 32 and 34 expect appropriate security and breach handling. Design choices that follow from this include encrypted transport between the RIS bridge and Orthanc, restricted access to the REST API, and retention rules for entries. There is no HIPAA certification, so ask your compliance team which evidence they need.

How is the cost of a worklist feed quoted?

DeployOpen does not publish a price list. The cost follows from the written scope, which should state the interface type, number of modalities, test plan, duplicate and cancellation rules, and whether compliance evidence is needed. One-time costs usually cover analysis, interface build, modality testing and documentation. Recurring costs cover plugin and Orthanc upgrades, RIS interface changes and support. Ask for the quote to separate these items and to state what the client provides, such as RIS test access and modality time. Orthanc itself has no paid edition, and Orthanc Team SRL quotes its services on request.

Should the worklist feed expose the Orthanc REST API to other systems?

No. By default Orthanc only accepts HTTP connections from localhost, and if remote access is enabled the documentation says authentication should be on with users defined in RegisteredUsers, plus HTTPS and a reverse proxy for any Internet exposure. The feed script should run on the same trusted network as Orthanc, authenticate with a dedicated account, and avoid giving modalities or other users access to the write API. Keep the script execution and export routes disabled, since the security FAQ warns they can run system commands or overwrite files. An advanced authorization plugin can check each request's token against an external service if you need finer control.

How DeployOpen scopes and delivers a worklist feed

DeployOpen plans, builds, tests and hands over the path from your RIS or order system into the Orthanc worklists plugin inside infrastructure you control. The written scope fixes which order sources, storage option and interfaces are in play before any build starts.

How we scope

  • Confirm which RIS or order system supplies orders and whether it emits HL7 messages, exposes FHIR calls or requires direct database reads.
  • Decide whether worklist items live in a folder or in the Orthanc database, and document the reason.
  • Record the modalities, AE titles and scheduled procedure fields the worklist must carry, agreed in writing before work starts.

How we build

  • Configure the worklists plugin, its REST API access and the storage location inside your Orthanc deployment.
  • Write the generator script that converts HL7 or FHIR orders into worklist entries, with logging for rejected orders.
  • Test with a modality or DICOM test tool to confirm the expected worklist items return with the fields your modalities need.

How we hand over

  • Deliver the configuration, generator script, mapping table between order fields and worklist attributes, and test records.
  • Document the operational runbook: how to restart the feed, clear stale entries and read the logs.
  • Walk your RIS, PACS and modality teams through the handover so they can run the feed without DeployOpen present.

How we support

  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
  • Ongoing support, upgrades of the Orthanc and plugin versions, and continuous testing are available as a retainer.
  • Ask any partner, including DeployOpen, to confirm how upgrades of the RIS interface will be retested before a go-live date is set.

Sources and further reading

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.