The DICOMcloud is a standalone DICOMweb server with RESTful implementation of the DICOMweb/WADO services:
-
QIDO-RS: Look up studies, series, images. Results will be limited to a maximum results. more info
-
WADO-RS: Retrieve studies, series, images, frames and metadata
-
STOW-RS: Store DICOM instances/images
-
WADO-URI: Web Access to DICOM objects
Additionally, the server implements the following RESTful services which are not part of the DICOM standard:
-
DELOW-RS: Delete DICOM instances/images
-
OHIF-Viewer: Integration service with the OHIF viewer, return OHIF formatted study information (series and instances) Click here to learn more about using the DICOMcloud server and the OHIF Viewer.
The DICOMcloud server can interface with any DICOMweb client over the current implemented features (qido-rs, wado-uri, wado-rs and stow-rs).
https://dicomcloud.github.io/docs/dicomcloud/about/
An online version is hosted in Azure: https://dicomcloud.azurewebsites.net/
A DICOMweb Client demo is hosted live at: http://dicomweb.azurewebsites.net/
The Client demo source code is avaialbile here: https://github.com/DICOMcloud/DICOMweb-js
The DICOMcloud is a web server that can interface with any DICOMweb client over the current implemented features (qido-rs, wado-uri, wado-rs and stow-rs).
An example DICOMweb client implementation with viewer support is provided here.
The implementation is customizable by using StructureMap as a DI (Dependency Injection) framework to provide a plug-in architecture.
The main layers of the DICOMcloud:
The code is written in C# .NET Framework 4.5.2 and can be built using Visual Studio 2017 and can run on Windows machine or Azure WebApp.
The project uses MS SQL Database (Azure SQL Database compatabile) to query the DICOM information and saves the DICOM datasets to either the file system or an Azure Blob Storage.
You will need Visual Studio 2017/2015 (can be downloaded for free here). Open the solution file DICOMcloud.sln on the root directory, if not already selected as the StartUp Project, right click on the "DICOMcloud.Wado.WebApi" project and select "Set as startup project" then run the solution by pressting F5.
Once you run the project, the DICOMweb server will run on https://localhost:44301/ and the default settings will attach an empty database to your local SQL DB server installed with Visual Studio (LocalDb)\MSSQLLocalDB and the images will be written to a directory under the "App_Data" folder.
You can change these settings from the web.config by updating the two values under the appSettings section:
<add key="app:PacsStorageConnection" value="|DataDirectory|\App_Data\Storage\ds" />
<add key="app:PacsDataArchieve" value="Data Source=(LocalDb)\MSSQLLocalDB;AttachDbFilename=|DataDirectory|\DB\DICOMcloud.mdf;Initial Catalog=DICOMcloud;Integrated Security=True" />
A detailed endpoints URLs with parameters can be viewed here: https://dicomcloud.azurewebsites.net/swagger/
The tables below describes the DICOMweb featrues currently implemented in the DICOMcloud project.
Feature | Support | Notes |
---|---|---|
application/dicom+xml | Y | |
application/json | Y | |
Studies | Y | |
Series | Y | |
Instances | Y | |
relational query | ~ | |
fuzzy matching | Y | Always supported |
ranges | Y | |
includefield | Y | |
sequences | Y | |
limit | Y | |
offset | Y | |
dicomKeyword group element | N | |
dicomKeyword name | Y | |
TimezoneOffsetFromUTC | N |
Feature | Support | Notes |
---|---|---|
application/dicom+xml | Y | |
application/json | Y | |
transfer-syntax | Y | |
Retrieve Study | Y | |
Retrieve Series | Y | |
Retrieve Instance | Y | |
Retreive Frames | Y | |
Retrieve Bulkdata | Y | header is missing Content-Location: {BulkDataURI} |
Retrieve Metadata | Y |
The server can be configured to anonymize the DICOM image by default by enabling the feature in the web.config:
<add key="app:enableAnonymizer" value="true"/>
<add key="app:anonymizerOptions" value="BasicProfile,RetainUIDs,RetainLongFullDates,RetainPatientChars"/>
Feature | Support | Notes |
---|---|---|
application/dicom | Y | |
application/dicom+xml | Y | |
application/dicom+json | Y | |
Multipart store | Y | can process multiple instances in single request |
Feature | Support | Notes |
---|---|---|
application/dicom | Y | |
Frame Number | Y | |
Charset | N | |
Anonymize | N | |
Transfer Syntax | Y | |
Charset | N | |
Annotation | N | |
Rows | N | |
Columns | N | |
Region | N | |
Windows Center | N | |
Window Width | N | |
Image Quality | N | |
Presentation UID | N | |
Presentation Series UID | N |
The DICOMcloud project utilizes the opensource fo-dicom DICOM library for operations on the DICOM datasets, such as reading and writing elements, compress/decompress the DICOM images, anonymization feature and many others.
Copyright 2017 DICOMcloud Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.