Appearance
Command-Line Options
Each DICOM7 service is a console executable in the installation folder. Windows runs it as a service, but you can also start it from an administrator command prompt to watch its log output directly. Stop the matching Windows service first so the two copies do not compete for the same ports and cache.
cmd
cd "C:\Program Files\Flux Inc\DICOM7"
DICOM2ORM.exePress Ctrl+C to stop a service started from the console.
| Executable | Service |
|---|---|
DICOM2ORM.exe | DICOM2ORM |
DICOM2ORU.exe | DICOM2ORU |
ORM2DICOM.exe | ORM2DICOM |
ORU2DICOM.exe | ORU2DICOM |
ORU2REPORT.exe | ORU2REPORT |
HL72HL7.exe | HL72HL7 |
Options
| Option | Services | Description |
|---|---|---|
--path <folder> | All | Uses <folder> as the service's data folder instead of %ProgramData%\Flux Inc\DICOM7\<SERVICE>\. The service reads config.yaml from this folder and writes its logs, templates, and default cache below it. The folder must already exist; if it does not, the service prints an error and exits with code 1. |
--validate-config | HL72HL7 | Loads and validates config.yaml, prints HL72HL7 configuration is valid: <path>, and exits with code 0 without starting the broker. If the configuration is invalid, the error is logged and the exit code is 1. |
Examples
Run a second, isolated copy of ORM2DICOM against a test configuration:
cmd
mkdir C:\DICOM7-Test\ORM2DICOM
copy "%ProgramData%\Flux Inc\DICOM7\ORM2DICOM\config.yaml" C:\DICOM7-Test\ORM2DICOM\
ORM2DICOM.exe --path C:\DICOM7-Test\ORM2DICOMCheck an HL72HL7 configuration change before restarting the service:
cmd
"C:\Program Files\Flux Inc\DICOM7 HL72HL7 Broker\HL72HL7.exe" --path "C:\ProgramData\Flux Inc\DICOM7\HL72HL7" --validate-config
echo %ERRORLEVEL%TIP
--path changes where a service looks for everything, including config.yaml. A relative Cache.Folder in the configuration is resolved against this folder.