Giter Site home page Giter Site logo

Comments (5)

chafey avatar chafey commented on August 15, 2024 1

The bug is that the patientModule metadataprovider assumes a dicom-parser/P10 based metadata here:

https://github.com/cornerstonejs/react-cornerstone-viewport/blob/master/src/metadataProvider.js#L96

Support fro DICOMWeb formatted PN attributes needs to be added there for your use case, or use WADOURI instead

from react-cornerstone-viewport.

dannyrb avatar dannyrb commented on August 15, 2024

That's odd. I can't remember if that's valid output from dicom-parser, but I would think that any metadata coming from cornerstone-wado-image-loader would be a string for patient name 🤔

Do you have an easy way to reproduce this issue that would allow for me to test on my end?

from react-cornerstone-viewport.

chafey avatar chafey commented on August 15, 2024

dicom-parser will not return a name like this - I suspect your source is a DICOMWeb server since it returns PN attributes coded this way. Perhaps the DICOMWeb server is not standards compliant or there is a bug in the cornerstone code that consumes it

from react-cornerstone-viewport.

mkramers avatar mkramers commented on August 15, 2024

@dannyrb, @chafey - it seems that this may be specific to using WADORS via a PACS/DICOMWeb server (dcm4chee) which I have running locally. I am having a bit of trouble finding an easy way for you to reproduce this, as I can't seem to find a public PACS with WADORS. Any suggestions?

from react-cornerstone-viewport.

mkramers avatar mkramers commented on August 15, 2024

If it helps - while using the same images which are causing issues, non of the tools work either (through settings them via props as per the example). If I add them manually (via cornerstoneTools.addTool(...)) they work fine.

from react-cornerstone-viewport.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.