forked from knopkem/dicomweb-proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.md.orig
More file actions
88 lines (62 loc) · 2.58 KB
/
README.md.orig
File metadata and controls
88 lines (62 loc) · 2.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# dicomweb-proxy
A proxy to translate between [DICOMWEB](https://www.dicomstandard.org/dicomweb) and traditional DICOM [DIMSE](https://dicom.nema.org/medical/dicom/current/output/chtml/part07/sect_7.5.html) services
## Description
* A nodejs tool to easily connect a DICOMWEB capable DICOM viewer to one or more legacy PACS that only know DIMSE services.
<<<<<<< HEAD
* Comes preinstalled with the popular [OHIF DICOM Web Viewer](https://github.com/OHIF/Viewers) (version 3.10.1).
* Supports OHIF MPR (vtk.js) feature for viewing volumetric datasets
* multithreaded
=======
Comes preinstalled with the popular [OHIF DICOM Web Viewer](https://github.com/OHIF/Viewers) (version 3.8.0).
Note: Since OHIF 3 is still beta you can also switch back to OHIF 2 version: just remove the public directory and unzip public.zip to public
>>>>>>> 74db2e0fe768e470142f1f2d7f2ec36ceecc15e7
## What is it for?
* if you want to view image data from one or more legacy PACS that does not understand DICOMWEB nor come with a web-viewer
## How does it work?
* the app should be installed within the hospital intranet and configured to connect via DIMSE networking to on or more PACS (peers)
* it hosts a default DICOMweb viewer (OHIF) which can be replaced
* the webserver exposes the default QIDO and WADOURI/WADORS API needed for the viewer and converts on the fly between the two protocols
* optionally: you can connect to a [DICOMWEB-WEBSOCKET-BRIDGE](https://github.com/knopkem/dicomweb-websocket-bridge) and expose the data to the public (handle with care!)
## Prerequisite
* nodejs 12 or newer
## Setup Instructions - npm
* install in empty directory:
```npm init -y```
```npm install dicomweb-proxy```
* update config file located in:
```./node_modules/dicomweb-proxy/config```
* or better: create config override, see: [config](https://www.npmjs.com/package/config)
* start proxy:
```npx dicomweb-proxy```
## Setup Instructions - source
* clone repository and install dependencies:
```npm install```
* update config file located in:
```./config```
* start proxy:
```npm start```
## What to modify
* (optional) change our port or AET
```
config.source = {
aet: "SOURCE_AET",
ip: "SOURCE_IP",
port: "SOURCE_PORT"
};
```
* change peer(s) to your PACS
```
config.peers = [{
aet: "TARGET_AET",
ip: "TARGET_IP",
port: "TARGET_PORT"
}, { more peers here...}];
```
* in case your PACS does not support C-GET, switch to C-Move:
```config.useCget = false;```
* update webserver port:
```config.webserverPort = 5000;```
* open webbrowser and start viewing:
e.g. ```http://localhost:5000```
## License
MIT