Package Exports
- dicom-dimse-native
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (dicom-dimse-native) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
dicom-dimse-native
node js native addon for dimse services using IMEBRA DICOM toolkit Attention: watch license restrictions coming from IMEBRA!
supported DIMSE services
- C-Store-scp
- C-Move-scu
- C-Find-scu
in development
- C-Store-scu
- C-Get-scu
- C-Echo-scu
How to install
npm i -s dicom-native-addon
Examples
const addon = require('./module');
addon.startScp(JSON.stringify(
{
"source": {
"aet": "IMEBRA",
"ip" : "127.0.0.1",
"port": "9999"
}
}
), (result) => {
console.log(result);
});
addon.moveScu(JSON.stringify(
{
"source": {
"aet": "IMEBRA",
"ip" : "127.0.0.1",
"port": "9999"
},
"target": {
"aet": "CONQUESTSRV1",
"ip" : "127.0.0.1",
"port": "5678"
},
"destination" : "IMEBRA",
"tags" : [
{
"key": "0020000D",
"value": "1.3.46.670589.11.0.1.1996082307380006",
},
{
"key": "00080052",
"value": "STUDY",
},
]
}
), (result) => {
console.log("result: ", result);
});
addon.findScu(JSON.stringify(
{
"source": {
"aet": "IMEBRA",
"ip" : "127.0.0.1",
"port": "9999"
},
"target": {
"aet": "CONQUESTSRV1",
"ip" : "127.0.0.1",
"port": "5678"
},
"tags" : [
{
"key": "00100010",
"value": "",
},
{
"key": "0020000D",
"value": "1.3.46.670589.11.0.1.1996082307380006",
},
{
"key": "00080052",
"value": "STUDY",
},
]
}
), (result) => {
console.log("result: ", result);
});