Viewers icon indicating copy to clipboard operation
Viewers copied to clipboard

Get study Metadata

Open MathisGuilhin opened this issue 7 years ago • 1 comments

Hello OHIF team,

I'm struggling to understand how metadata works in this app and how to access any metadata information by it's DICOM tag. It seems like both ohif-core and cornerstone can provide metadata?

In cornerstoneTools, I can access some metadata with

 const seriesModule = external.cornerstone.metaData.get(
      'generalSeriesModule',
      image.imageId
 );

and with other metadata providers such as imagePlaneModule, but I don't get that much information.

I saw that ohif core has the retrieveStudyMetadata method but it takes the server as an argument and I don't know how to access it.

Is there a way to get a specific metadata (by DICOM tag for example) from the studyInstanceUID/serieInstanceUID/sopInstanceUID?

Thank you !

MathisGuilhin avatar Jul 24 '19 07:07 MathisGuilhin

Solved my problem by looking into metadataProvider.js and retrieveMetadata.js

MathisGuilhin avatar Jul 24 '19 08:07 MathisGuilhin