Giter Club home page Giter Club logo

puppet-openmrs-radiologydcm4chee's Introduction

puppet-openmrs-radiologydcm4chee

IMPORTANT NOTE: DICOM Wado + Weasis wont work right away

Since server http://dicom.vital-it.ch:8087 is currently down libclib_jiio.so cannot automatically be exchanged for you. DICOM wado and thus opening images with weasis will not work from the start. Please exchange libclib_jiio.so yourself if you have it, otherwise follow 8. Mac OSX and Windows x64 specific changes for the WADO service at https://dcm4che.atlassian.net/wiki/display/ee2/Installation/

####Table of Contents

  1. Overview
  2. Project Description - What the project does and why it is useful
  3. Setup - The basics of getting started
  4. Limitations
  5. Development
  6. Further reading

##Overview

Puppet control repository including vagrant to automatically create required infrastructure for [OpenMRS] (http://openmrs.org/), [dcm4chee] (http://www.dcm4che.org/) and [openmrs-module-radiologydcm4chee] (https://github.com/openmrs/openmrs-module-radiologydcm4chee)

##Project Description

This project is a puppet control repository using [r10k] (https://github.com/puppetlabs/r10k) which helps you to provision a server running dcm4chee and OpenMRS.

The goal is to ease development and help get people started with the OpenMRS module [openmrs-module-radiologydcm4chee] (https://github.com/openmrs/openmrs-module-radiologydcm4chee) a module adding RIS capabilities to OpenMRS.

The provisioning of openmrs and dcm4chee is done by the following custom puppet modules:

##Setup

###Setup requirements

To get started you need to install:

###How to get started To setup a virtual machine with OpenMRS and dcm4chee execute:

git clone https://github.com/teleivo/puppet-openmrs-radiologydcm4chee.git
cd puppet-openmrs-radiologydcm4chee
vagrant up

This will download a virtualbox VM with Ubuntu 14.04 64bit, install all necessary puppet modules via [r10k] (https://github.com/puppetlabs/r10k) and run the manifest/site.pp which

Note: vagrant up will deploy the puppet code that is on a remote branch named like the branch you are currently on. (By default: master)

####Access OpenMRS and dcm4chee Once vagrant is done with the installation of the VM you can access the following via your browser:

Or ssh into the virtual machine with

vagrant ssh

####Final configurations A few things are still needed to finish the installation and integrate OpenMRS with dcm4chee: #####OpenMRS Run through the OpenMRS wizard to finish the OpenMRS installation. Note that the OpenMRS database has not yet been created but will be created by the wizard. The database user openmrs (password=openmrs) with "CREATE DATABASE" privileges does already exist.

In the wizard select/enter the following:

  • Which type of installation do you want? => Advanced
  • Step 1 of 5, Do you currently have an OpenMRS database installed that you would like to connect to? => No
    • If no, what would you like to name this database? Database name => openmrs
    • A user that has "CREATE DATABASE" privileges must be specified here...
      • Username => openmrs
      • Password => openmrs
  • Step 2 of 5, Do you currently have a database user other than root that has read/write access to the openmrs database? => Yes
    • If yes, specify the login user name and password for that database user
      • Username => openmrs
      • Password => openmrs
  • Complete the remaining steps of the wizard

Refer to [openmrs-module-radiologydcm4chee] (https://github.com/openmrs/openmrs-module-radiologydcm4chee) on how to build and deploy the radiology module in OpenMRS.

#####dcm4chee

  • configure weasis as the web viewer at localhost:8081/jmx-console/ section dcm4chee.web, service=WebConfig set
    • WebviewerNames= weasis
    • WebviewerBaseUrls= weasis:/weasis-pacs-connector/viewer-applet
  • add the radiology module as DICOM Application Entity at localhost:8081/dcm4chee-web3/
  • configure DICOM MPPS message forwarding to the OpenMRS radiology module at localhost:8081/jmx-console/ section dcm4chee.archive, service=MPPSScu

###How to speed up recreating a fresh VM Once you have completed all steps in How to get started its a good idea to create your own custom vagrant box. This will allow you to quickly recreate a fresh VM without having to go through all the installation and configuration again :)

So make sure you have fully completed the setup as described above and issue the following commands

vagrant package --output openmrs-radiologydcm4chee.box
vagrant box add openmrs-radiologydcm4chee.box --name openmrs-radiologydcm4chee

To setup a new VM using your custom box, create a new directory and in it execute

vagrant init openmrs-radiologydcm4chee

##Limitations

Currently you will only be able to run this on a machine providing support for 64bit virtualization which is due to the puppet module [teleivo/dcm4chee] (https://github.com/teleivo/puppet-dcm4chee).

##Development

###Running tests This project contains a rake task to verify linitan errors and syntax.

To install all dependencies for the testing environment:

sudo gem install bundler
bundle install

To run the checks execute:

bundle exec rake test

##Further reading For infos about puppet control repositories and roles/profiles please read

puppet-openmrs-radiologydcm4chee's People

Contributors

teleivo avatar

Watchers

Ulrich Tchuenkam avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.