Giter Club home page Giter Club logo

Comments (6)

bgeVam avatar bgeVam commented on June 8, 2024

I managed to achieve this calling the "/manifest" servlet here.

I still hope you suggest a proper way to do this.

from weasis-pacs-connector.

nroduit avatar nroduit commented on June 8, 2024

This feature already exists but it doesn't work on the master branch.

When requesting the manifest, you get the error:
HTTP Status 404 - Cannot build Manifest [id=121] - java.lang.IllegalStateException: Empty Patient List
message Cannot build Manifest [id=121] - java.lang.IllegalStateException: Empty Patient List
description The requested resource is not available.

Requesting the viewer will open the empty viewer instead of returning an error. This is an issue when you have the default configuration "accept.noimage=false"

If you have a fix, you can make a pull request. Otherwise I will treat this issue later.

from weasis-pacs-connector.

bgeVam avatar bgeVam commented on June 8, 2024

I do get the error you describe calling /manifest, but not when calling /viewer or /IHEInvokeImageDisplay. What I want to achieve is that the .jnlp file does not download at all if the image does not exist

from weasis-pacs-connector.

nroduit avatar nroduit commented on June 8, 2024

The property "accept.noimage=false" is only for the manifest. We could add a new property for the viewer but in general the user expect something.

When the manifest cannot build for any reason, the error message is transmit to the viewer by the manifest. When no image has been found is a specific case with a specific behavior.

from weasis-pacs-connector.

bgeVam avatar bgeVam commented on June 8, 2024

but in general the user expect something.

I think that is the point. Weasis is built to open links for pictures that already exist (like opening it by clicking the view icon when its integrated in DCM4CHEE).

In my use case, a prepared weasis link is generated from the point where the order is scheduled. The users need to click the link to find out, if the image already exists on DCM4CHEE or not.

from weasis-pacs-connector.

nroduit avatar nroduit commented on June 8, 2024

I close the issue.
If you want to know if images exist, you should call the manifest.

from weasis-pacs-connector.

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.