Comments (3)
Hi Martin,
It looks like studyComments has not been added to the Cornerstone metadata provider. Check here:
Called from here:
Hope that helps!
from viewers.
Hi Erik,
Thanks for the tip, however I am still unable to display this dicom tag in the viewport. Instead of adding it to studyMetaData, I have added it to instanceMetaData in metadataProvider:
metaData.instance = { wadouri: instanceMetaData.wadouri, imageType: instanceMetaData.imageType, photometricInterpretation: instanceMetaData.photometricInterpretation, sopInstanceUid: instanceMetaData.sopInstanceUid, sopClassUid: instanceMetaData.sopClassUid, instanceNumber: instanceMetaData.instanceNumber, laterality: instanceMetaData.laterality, viewPosition: instanceMetaData.viewPosition, sliceThickness: instanceMetaData.sliceThickness, studyComments: instanceMetaData.studyComments, index: imageIndex };
I added this line to Instance level in QidoRs.cpp in Orthanc:
result.push_back(gdcm::Tag(0x0032, 0x4000)); // Study Comments
I also added this line to instances.js in qido:
studyComments: DICOMWeb.getString(instance['00324000'])
I added this line in ViewportOverlay.html:
<div>{{studyComments}}</div>
And finally this line to ViewportOverlay.js:
studyComments: function() { return getInstance.call(this, 'studyComments'); },
I have double checked whether or not the DICOM tag is correct (and it is). The tag is filled as a string, which I can confirm when looking at the initialisation of DICOM tags in the instance level of orthanc.
from viewers.
UPDATE: I can add dicom tag 0008,0070. It is displayed wonderfully in the upper left corner. Once I replace this tag with 0032,4000 (the desired tag), it stays blank. I suspect it is because this is not a regular DICOM tag, but added by the specific software manufacturer.
I guess there should be a translation file in which all standard dicom tags are noted. I remember a file called dataDictionary.json. Any idea what the exact location of this file is?
Is there a max on the length of a DICOM string? Because the dicom tag contains 123 characters.
I shall keep you informed.
from viewers.
Related Issues (20)
- [Feature Request] Report toggle within OHIF viewer
- [Bug] MPR Distortion when studyPrefetcher Enabled
- [Bug] Headers don't get passed on requests on orthanc dicom-web.
- [Bug] "Page not cross-origin isolated" error on some DICOM images when useSharedArrayBuffer is disabled HOT 4
- [Bug] Merge module only accepts dicomweb sourceName.
- [Feature Request] Interactive Onboarding Guides HOT 1
- [Bug] dicomjson displays bug HOT 2
- [Bug] Configuring activateViewportBeforeInteraction does not work HOT 1
- [Bug] Incorrect behavior when loading DICOM-SEG
- [Bug] DICOM_SEG masks are displayed only when selecting `No` for the prompt `Do you want to open this Segmentation?` HOT 1
- [Bug] XA studies rendered with wrong BW balance
- [Bug] TypeError: Cannot read properties of undefined (reading 'CLAMP_TO_EDGE') HOT 1
- [Bug] viewport overlays disappear for multiframe images when viewport initialImageOptions preset is 'middle'.
- [Bug] promise.start() is not a function when using merged dataSources
- [Bug] There is incomplete display of series images in latest version
- [Bug] Multiframe DICOM negative Spacing Between Slices not handled HOT 6
- [Bug] Improve hydrateStructuredReport with validation & types
- [Bug] Images in planar configuration 1 HOT 2
- [Bug] Internationalization for OHIF Viewer link in the documentation
- [Bug] Modes.json doesn't work HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from viewers.