JavaScript client implementation of DICOMweb.
For further details please refer to PS3.18 of the DICOM standard.
This is work-in-progress and should not be used in clinical practice.
The main motivation for this project is:
- Support for storing, quering, retrieving DICOM objects over the web using RESTful services STOW-RS, QIDO-RS and WADO-RS, respectively
- Building a lightweight library to facilitate integration into web applications
Install the dicomweb-client package using the npm
package manager:
npm install dicomweb-client
Build and test code locally:
git clone https://github.com/dcmjs-org/dicomweb-client ~/dicomweb-client
cd ~/dicomweb-client
npm install
npm run build
npm test
<script type="text/javascript" src="https://unpkg.com/dicomweb-client"></script>
const url = 'http://localhost:8080/dicomweb';
const client = new DICOMwebClient.api.DICOMwebClient({url});
client.searchForStudies().then(studies => {
console.log(studies)
});
Publish a new minor version
npm version minor
npm publish
git push --tags
The developers gratefully acknowledge their reseach support:
- Open Health Imaging Foundation (OHIF)
- Quantitative Image Informatics for Cancer Research (QIICR)
- Radiomics
- The Neuroimage Analysis Center
- The National Center for Image Guided Therapy
- The MGH & BWH Center for Clinical Data Science