PacsSwitch (DTRS, the DICOM Traffic Routing Server) is a Windows program that sits between your modalities and your PACS servers. It routes DICOM, HL7 and other network traffic: the modalities and HL7 systems send to PacsSwitch, and PacsSwitch forwards every connection to the servers of the active scenario. Activate a different scenario and the traffic goes somewhere else, without changing anything on a modality.

Animation: CT, MR, US and DX modalities and an HL7 system send to the PacsSwitch server, which forwards the traffic to the Radiology and Cardiology PACS of Velloria Comprehensive Health; after the Backup/Contingency scenario is activated, the same traffic goes to the PACS of Kesterson Memorial Bio-Care.

Why sites use it

A modality is set up with one destination: an AE title, an address and a port. Changing that on dozens of CT, MR, ultrasound and X-ray systems takes time, often needs the vendor's engineer, and is easy to get wrong. With PacsSwitch, every modality sends to the PacsSwitch server once, and the routing is changed in one place:

  • PACS downtime and upgrades: send the images to the Backup PACS while the Primary PACS is down, then switch back.
  • Moving to a new PACS or VNA: move the modalities over in one step, or test the new system with a few of them first.
  • Disaster recovery: send a whole site to its other data center in seconds.
  • Day and night routing: let a schedule switch the routing at set times, for example to a reading group's PACS at night.

The same server carries the DICOM images, the modality worklist queries and the HL7 messages (orders, results, ADT), so one switch moves all of them together.

From one hospital to a region

One PacsSwitch server serves one hospital. A region of several hospitals has a PacsSwitch server at each, and a schedule server switches all of them at the same time, for example from the Primary PACS to the Backup PACS for a planned downtime, and back again. From one site to a region shows it step by step.

Animation: five hospitals, each with modalities and a PacsSwitch server, send to the Primary PACS at Velloria Comprehensive Health. At 18:00 the schedule server signals a region change, every PacsSwitch server switches, and all the traffic goes to the Backup PACS at Kesterson Memorial Bio-Care. At 06:00 all of them switch back.

How PacsSwitch passes the data

PacsSwitch is a pass-through TCP proxy, not a store-and-forward DICOM router. It relays each connection live, as it happens: the modality's DICOM association goes straight through to the PACS, and the PACS's answers go straight back.

Store-and-forward DICOM routerPacsSwitch
What it does with an imageReceives it, saves it on its own disk, sends it on later in a new associationPasses the data through as it arrives; nothing is saved
Who confirms the imageThe router, before the PACS has itThe PACS itself, so the modality knows the PACS has the image
When the PACS is downImages wait in the router's queueThe modality sees the failure and retries as it normally does, unless the PacsSwitch rule has a second destination to fail over to automatically
Image store to look afterYes: disk space, queues, purgingNone
Changes to the dataCan rewrite tagsNone; the only exception is the optional feature to change the called AE title if needed

Because the conversation is passed through unchanged, two-way traffic such as worklist queries and HL7 acknowledgements works exactly as it does without PacsSwitch.

The main ideas

TermWhat it means
Primary and Backup PACSIn this help, the Primary PACS is the one you use every day (production); the Backup PACS is the one you switch to when the Primary is down (contingency).
Proxy ruleOne port PacsSwitch listens on, and the server (or servers, with failover) its connections are sent to. Example: port 12001 is sent to the Radiology PACS at 192.168.86.50, port 12001.
ScenarioA named set of proxy rules, saved as a .conf file. Example: the sample scenarios "Primary/Production" (Velloria Comprehensive Health's PACS) and "Backup/Contingency" (Kesterson Memorial Bio-Care's PACS) use the same ports with different destinations.
Active scenarioThe scenario in use right now. Exactly one scenario is active at a time.
ActivateMake a scenario the active one. PacsSwitch checks it first (the pre-flight check), then applies it within seconds.
The proxy serviceThe dedicated engine that moves the data. It runs as a Windows service, so routing keeps running when nobody is logged on and after a restart.
The monitorA background task that checks the server's health every minute, records the traffic, runs scheduled changes and sends alert emails.
Status pageA web page on the PacsSwitch server that shows the active scenario, the ports and the connections. The same information is in index.txt and, for monitoring tools, status.json.
RegionSeveral PacsSwitch servers that share one list of servers and one schedule, kept on a schedule server.

What happens when you switch

Every DICOM association and every HL7 session is a network connection. When a scenario is activated:

  1. PacsSwitch checks the new scenario: the ports are free, the configuration is valid, and the destinations answer.
  2. The proxy takes the new rules within a second or two. It does not restart, and it never stops listening.
  3. Connections that are already open keep going to where they were going until they end, so a study that is being sent is not cut off.
  4. Every new connection goes to the destinations of the new scenario.
  5. If the scenario asks for it, PacsSwitch emails the people on its notification list.
Recording: in the main window, Backup/Contingency is selected, ACTIVATE SCENARIO is clicked and confirmed, PacsSwitch reloads the proxy, and the title bar and the scenario title then show Backup/Contingency as the active scenario.

More than routing

Scheduled changes

Switch scenarios at set times, once or on a repeating schedule, with a notice in the main window before each switch.

Monitoring and alerts

Server Health, Connection History, Network Bandwidth and Port Proxy Status show what is happening; emails and Windows Event Log entries report problems.

Access control per rule

Allow only listed client addresses, block others, and limit the connections per client.

Captures

With the Capture add-on, record DICOM and HL7 conversations for troubleshooting, and read them in the Capture Viewer.

Several servers

A region keeps the scenario changes of several PacsSwitch servers on one schedule, with a daily digest email.

Test tools

The Test Sender plays the modalities and the Test Listener plays the PACS, so a scenario can be tried before it goes live.

Some Merative Merge Radiology PACS sites can benefit from two add-ons. With PacsLaunch, PacsLaunch and its sources file stay in step with the routing, so the users' PACS login goes to the same PACS the modalities store to (Appendix K). Sites with DocScanFx's series-level send tool DSFX Send can manage all of its send destinations centrally from PacsSwitch (Appendix L).

If you use DTRS v3 today

PacsSwitch is DTRS version 4. It does the same job, forwarding the modalities' traffic to the PACS chosen by the active scenario, but DTRS v3 used Windows port proxy rules, and PacsSwitch uses a dedicated proxy service that runs as a Windows service. Around that engine, version 4 adds:

  • Scenarios are checked before they are applied, and are switched with one click or by a schedule.
  • Live connections, connection history, bandwidth, Server Health and a status page show what is happening.
  • Alert emails and Windows Event Log entries report problems.
  • Regions keep several servers on one schedule with a daily digest, and settings can be exported and imported.
  • Captures, access control per rule, software updates and the test tools are included.

Your v3 rules can be converted into PacsSwitch scenarios, and old Windows port proxy rules found and removed (Appendix M).

Where to go next

New to PacsSwitch? Read Server requirements, then Installing and upgrading and First setup. The contents lists every page.

This page was revised 2026-10-30.


From one site to a region →