From 6ff8a57f50ada073dcee2f10bd44b8cf184bd1ef Mon Sep 17 00:00:00 2001 From: "Emanuel F. Oliveira" Date: Wed, 22 Feb 2017 17:42:22 -0300 Subject: [PATCH] Added orthanc script for both DIMSE and DICOMWeb --- OHIFViewer/bin/orthanc.sh | 13 +++++++++++++ config/orthancDIMSE.json | 11 ++++++++--- 2 files changed, 21 insertions(+), 3 deletions(-) create mode 100755 OHIFViewer/bin/orthanc.sh diff --git a/OHIFViewer/bin/orthanc.sh b/OHIFViewer/bin/orthanc.sh new file mode 100755 index 000000000..47bea2d95 --- /dev/null +++ b/OHIFViewer/bin/orthanc.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +declare config='../config/orthancDICOMWeb.json' + +if [ $# -gt 0 ]; then + if [ "$1" = '--dimse' ]; then + config="${config%/*}/orthancDIMSE.json" + [ -f "$config" ] && echo "DIMSE config file selected: $config" + fi +fi + +echo 'Starting Meteor server...' +METEOR_PACKAGE_DIRS="../Packages" meteor --settings "$config" diff --git a/config/orthancDIMSE.json b/config/orthancDIMSE.json index fd24e05ff..51123489b 100644 --- a/config/orthancDIMSE.json +++ b/config/orthancDIMSE.json @@ -14,11 +14,12 @@ "host": "localhost", "port": 4242, "aeTitle": "ORTHANC", - "default": true + "default": true, + "server": false }, { "host": "0.0.0.0", - "port": 11119, + "port": 11112, "aeTitle": "OHIFDCM", "default": true, "server": true @@ -31,7 +32,11 @@ "public": { "verifyEmail": false, "ui": { - "studyListFunctionsEnabled": true + "studyListFunctionsEnabled": true, + "leftSidebarOpen": false, + "displaySetNavigationLoopOverSeries": false, + "displaySetNavigationMultipleViewports": true, + "autoPositionMeasurementsTextCallOuts": "TRLB" } } }