Skip to content

Starting and Stopping the Services ​

Each DICOM7 component runs as its own Windows service:

Service nameDisplay nameExecutable
DICOM7_DICOM2ORMDICOM7 C-Find to HL7 ORM brokerDICOM2ORM.exe
DICOM7_DICOM2ORUDICOM7 C-Store to HL7 ORU brokerDICOM2ORU.exe
DICOM7_ORM2DICOMDICOM7 HL7 ORM to Worklist C-Find brokerORM2DICOM.exe
DICOM7_ORU2DICOMDICOM7 HL7 ORU to DICOM bridgeORU2DICOM.exe
DICOM7_ORU2REPORTDICOM7 HL7 ORU to report bridgeORU2REPORT.exe
DICOM7_HL72HL7DICOM7 HL7-to-HL7 brokerHL72HL7.exe

The installer sets each service to Automatic startup and starts it at the end of installation. If a service process exits unexpectedly, Windows restarts it after 10 seconds, and after 20 seconds on the next failure.

Configuration changes need a restart

Every service reads config.yaml and its templates once, at startup. After you edit a configuration or template file, restart the service.

Using services.msc ​

Win + R → services.msc. Find the DICOM7 … entries, then right-click a service to Start, Stop, or Restart it.

Using net / sc ​

From an administrator command prompt:

cmd
net stop  DICOM7_ORM2DICOM
net start DICOM7_ORM2DICOM

sc query DICOM7_ORM2DICOM

Change the startup type (the space after = is required):

cmd
sc config DICOM7_ORM2DICOM start= auto
sc config DICOM7_ORM2DICOM start= demand
sc config DICOM7_ORM2DICOM start= disabled

Using PowerShell ​

powershell
Get-Service DICOM7_*
Restart-Service DICOM7_ORU2DICOM
Stop-Service DICOM7_HL72HL7
Start-Service DICOM7_HL72HL7

Confirming a clean start ​

After starting a service, open its log (see Interrogating the Logs) and confirm that it:

  • loaded config.yaml from the expected path (Loading configuration from path: …), and did not report Configuration file not found or Error loading configuration file,
  • reports its cache folder,
  • reports the ports it listens on (for MLLP listeners and DICOM SCPs).

HL72HL7 validates its configuration strictly. If the configuration is invalid it logs the reason and exits, and Windows restarts it until the configuration is fixed. Use --validate-config to check a change before restarting.

What happens on stop ​

Stopping a service closes its listeners and finishes or abandons the current operation. Messages and objects that have been written to the cache but not yet delivered stay in the cache and are retried after the next start. See Cache and Retention.