Giter Site home page Giter Site logo

docker-orthanc-postgres24's Introduction

Dockerized NOOP

This project aims to narrow down the unsupported DICOM modalities
and SOP Class UIDs when these studies are uploaded into Orthanc.

This project uses the following docker images:

  • N - nginx:latest
  • O - orthancteam/orthanc
  • O - ohif/app:latest
  • P - postgres:14

PS: Currently this should only be installed locally be the user.

Installation

  1. Clone the repo
  2. Run docker-compose up

Once the steps above are done, you should now be able to immediately
use the apps. Follow the usage section below.

Usage

These 3 are the main endpoints you can use to view, upload, and search
for dicom data. None of the apps can be developed with this repo as we
have used their corresponding Docker Images for this project.

Immediately after running the installation you should be able to click
on the links below. You should be able to see them working.

OHIF Viewer
http://localhost:3000/

Orthanc Explorer V2
http://localhost:8042/ui/app/settings#/

DICOM STOW-RS
http://localhost:4242

Supported DICOM Modalities and Media Storage SOP Class UIDs

There is currently 1 study proven to be supported by this project.

For a complete list of the UIDs, refer to:
https://dicom.nema.org/dicom/2013/output/chtml/part04/sect_i.4.html

For the more in-depth look at the Orthanc-emf2sf support, see:
Support and unsupported modalities and SOP Class UIDs

Tables In PostgreSQL

These are the following tables created by Orthanc.
These store all values related to the study's: Metadata, Study size, etc...

  • attachedfiles
  • changes
  • dicomidentifiers
  • exportedresources
  • globalintegers
  • globalintegerschanges
  • globalproperties
  • labels
  • maindicomtags
  • metadata
  • patientrecyclingorder
  • resources
  • serverproperties
  • storagearea

Local OrthancStorage Configuration

Should you wish to change the OrthancStorage from postgres to local sqlite
Add these to the plugins.json file just below the name prop (Line 2).

"StorageDirectory": "/var/lib/orthanc/storage/",
"IndexDirectory": "/var/lib/orthanc/index/",
"TemporaryDirectory": "/tmp/Orthanc/",

And set the EnableStorage of the PostgreSQL plugin to false (Line 94).

"EnableStorage" : true,

OHIF Datasource Configuration

Add this to the datasource configuration of the OHIF Viewer.
The default.js file can be found in platform/app/public/config.
Append the code below into the dataSources array (Line 35).

{
  friendlyName: 'Orthanc Server',
  namespace: '@ohif/extension-default.dataSourcesModule.dicomweb',
  sourceName: 'dicomweb',
  configuration: {
    name: 'Orthanc',
    wadoUriRoot: 'http://localhost/wado',
    qidoRoot: 'http://localhost/dicom-web',
    wadoRoot: 'http://localhost/dicom-web',
    qidoSupportsIncludeField: false,
    imageRendering: 'wadors',
    thumbnailRendering: 'wadors',
  },
}

Disclaimer

This is a personal project of mine. Any updates or breakages are not directly accountable to me.
Visit the links below to know more about support regarding the docker images.

Docker

Nginx

Orthanc

OHIF Viewer

PostgreSQL

volumes: - ./postgresql.conf:/var/lib/postgresql/data/postgresql.conf

docker-orthanc-postgres24's People

Contributors

serhiili24 avatar alecpayos 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.