Sorry, but are you talking about wado-rs?
Only to you know, the image with pat id: 0009703828 (HEAD EXP2) from conquest github folder
is not showing in ohif latest version.
Sorry, but are you talking about wado-rs?
Only to you know, the image with pat id: 0009703828 (HEAD EXP2) from conquest github folder
is not showing in ohif latest version.
Is these params, level and function of queryfunctions correct to wado-rs, in the code below?
/*-------------------------Retrieve DICOM objects (WADO-RS)--------------------------------
/studies/{study}
-----------------------------------------------------------------------------------------*/
router.get("/rs/studies/:study", async (req, res) => {
const StudyInstanceUID = req.params.study;
const query = url.parse(req.url, true).query;
let params = { QueryRetrieveLevel: "SERIES", StudyInstanceUID };
const tparams = getParams(params, tags, query);
params = JSON.stringify(tparams);
...
const cmd = `--dolua:dofile([[${APIFOLDER}/queryfunctions.lua]]);series([[${CQAE}]],[[${params}]],[[${dicomweb}]])`;
....
});
/*-------------------------Retrieve DICOM objects (WADO-RS)--------------------------------
/studies/{study}/series/{series}
-----------------------------------------------------------------------------------------*/
router.get(
"/rs/studies/:studyInstanceUid/series/:seriesInstanceUid",
async (req, res) => {
const query = url.parse(req.url, true).query;
const StudyInstanceUID = req.params.studyInstanceUid;
const SeriesInstanceUID = req.params.seriesInstanceUid;
let params = {
QueryRetrieveLevel: "IMAGE",
StudyInstanceUID,
SeriesInstanceUID,
SOPInstanceUID,
};
....
const cmd = `--dolua:dofile([[${APIFOLDER}/queryfunctions.lua]]);images([[${CQAE}]],[[${params}]],[[${dicomweb}]])`;
/*-------------------------Retrieve DICOM objects (WADO-RS)--------------------------------
/studies/{study}/series/{series}/instances/{instance}
-----------------------------------------------------------------------------------------*/
router.get(
"/rs/studies/:studyInstanceUid/series/:seriesInstanceUid/instances/:sopInstanceUid",
async (req, res) => {
const query = url.parse(req.url, true).query;
const StudyInstanceUID = req.params.studyInstanceUid;
const SeriesInstanceUID = req.params.seriesInstanceUid;
const SOPInstanceUID = req.params.sopInstanceUid;
let params = {
QueryRetrieveLevel: "IMAGE",
StudyInstanceUID,
SeriesInstanceUID,
SOPInstanceUID,
};
....
const cmd = `--dolua:dofile([[${APIFOLDER}/queryfunctions.lua]]);images([[${CQAE}]],[[${params}]],[[${dicomweb}]])`;
....
);
Display MoreHi,
I think weasis is using QIDO retrieve that is not implemented. We switched OHIF to wadouri, can you do the same with weasis?
Not implemented yet in QIDO:
thumbnail
instances/{uid}
Marcel
Hi, Marcel,
A basic beginner doubt.
What means the term "Instance" in dicom. I have used as if it were the dicom image.
For sample. In this text from docs, from wado-rs, it says:
"10.4.1.1 Target Resources
10.4.1.1.1 Instance Resources
Instance Resources (defined in Table 10.4.1-1 are used to retrieve Instances.
Retrieving a Series Instances resource retrieves all the individual Instances contained in the Series. Retrieving a Study Instances resource retrieves all the individual Instances contained in all the Series."
I will do
Great. I'm out for some time. I will test ASAP
Kkkkkk. Update your node to latest LTS.
Your node is ancient
Do you mean ohif source code?
If yes, don´t use npm.
Use yarn (https://classic.yarnpkg.com/la…s/install/#windows-stable)
After install yarn do: "yarn install" and after "yarn dev"
I tried compile with npm and didn't works.
The ohif config is into: ...ohif\Viewers\platform\viewer\public\config\default.js
I am testing with this config:
I am comparing with the ohif online demo in https://v3-demo.ohif.org
But I didn't find anything wrong
I believe some tag is not found
Here is the functions you posted.
You see something causing it in the code since one works(but show only one serie) and the other doesn't?
http://localhost:3002/api/dico…892665384.993397/metadata
and
http://localhost:3002/api/dico…on/dicom&transferSyntax=*
The wado uri returns data as:
The error is here:
//
Cache the pixelData reference quickly incase we want to set a targetBuffer _and_ scale.
...
let pixelDataArray = imageFrame.pixelData;
imageFrame.pixelDataLength = imageFrame.pixelData.length; --> error
if (options.targetBuffer) {
.....
The error is:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'length')
at decodeImageFrame.js:163:53
at decodeImageFrame.js:137:18
(anonymous) @ decodeImageFrame.js:163
(anonymous) @ decodeImageFrame.js:137
Promise.catch (async)
Se @ decodeImageFrame.js:139
handler @ decodeTask.js:69
self.onmessage @ webWorker.js:109
You want test with the latest source code, just download it.
Do "yarn install" and "yarn dev"
Ok, But I needed to use dev mode to looking at the ohif source why it don´t work.
But the source code is complicated.
And it uses react. I´m not a specialist in react.
I use vuejs.
I tried dgate 32 and 64. The latest metadata function doesn´t work with OHIF.
I am using OHIF latest version executing in dev mode
I updated only dgate 32bits
Can you post your complete queryfunctions.lua file?