#!/bin/bash
#
# HELP: SYNOPSIS:
# HELP:     dicom_send
# HELP:
# HELP: DESCRIPTION:
# HELP:     Send the currently selected files to the standard DICOM server.

# You can copy this script and set the following variables to 
# adjust it to your environment. 
# It is not recommended to change the original script, as it will be
# overwritten by installing new versions.

DICOM_SERVER=localhost
DICOM_PORT=1104

#
# No user serviceable parts below, unless you know the Offis tools well.
#

cd %d
/usr/local/dicom/bin/storescu -v "$DICOM_SERVER" "$DICOM_PORT" %f | \
	grep "Sending file:" 
