Pull Metadata From DICOM?

0 votes
asked Apr 16, 2015 by (190 points)

Can Qvera access DICOM metadata through a third party Java library? I'd like to try and setup a channel to send ImageLink messages to GE Centricity.


1 Answer

0 votes

Here is some sample code on how to get Dicom Attributes or metadata out of the Dicom file.

//With DICOM support built in you can just set the source to dicom and then do a get node to the attribute you want.
//Use Shift F4 to lookup any dicom codes
var studyInstanceUID = message.getNode("0020,000D");
var seriesInstanceUID = message.getNode("0020,000E");
var objectUID = message.getNode("0008,1155");
var transferSyntax = message.getNode("0002,0010");

// Build a WADO Url
var wadoUrl = channelCache.getValue('baseWadoUrl');
wadoUrl += "requestType=WADO" +
   "&studyUID=" + studyInstanceUID +
   "&seriesUID=" + seriesInstanceUID +
   "&objectUID=" + objectUID +
   "&patientID=" + messageCache.getValue('pixId') +
   "&patientIDAuth=" + messageCache.getValue('uniqueRepId');

As mentioned you have the Dicom Code lookup dialog:

answered Aug 24 by brandon-w-8204 (33,030 points)
edited Aug 24 by brandon-w-8204