Edit this page

ProjectWeek

Back to Projects List

DICOMweb Projects

Key Investigators

Participating Remotely

Project Description

OHIFViewer can currently serialize/deserialize to DICOM SR for length measurements with unsecured dcm4chee back end. OHIFViewer can currently serialize/deserialize to DICOM SR for length measurements with unsecured dcm4chee back end.

Objective

Approach and Plan

Here’s an example endpoint for testing:

curl quantome.org:8080/dcm4chee-arc/aets/DCM4CHEE/rs/patients

Progress and Next Steps

Illustrations

Architecture Login Query teamplay+OHIF

Background and References

Notes

#/bin/bash

if [ "$#" -ne 2 ]; then
    echo "Usage: stow.sh <endpointURL> <instance>"
    exit -1
fi

echo $1 $2

endpointURL=$1
instance=$2

temp=$(mktemp)

echo Using temp dir $temp
echo -ne "\r\n--EOF\r\nContent-Type: application/dicom\r\n\r\n" > $temp
cat $instance >> $temp
echo -ne "\r\n--EOF--" >> $temp

curl -X POST -H "Content-Type: multipart/related; type=application/dicom; boundary=EOF" $endpointURL --data-binary @$temp

For example use this script like this from a directory full of DICOM files:

find . -exec stow.sh http://quantome.org:8080/dcm4chee-arc/aets/DCM4CHEE/rs/studies \{\} \;