Skip to content

SR SCOORD rows render as dead "content by reference" links #923

Description

@clicker71

Describe the bug. What happened?

In the DICOM SR viewer, a content item of value type SCOORD (an "Image Region" row) is rendered as a reference-style entry - the viewer shows it as "content by reference: link 1.6.1" - and that link does nothing when clicked. No navigation, no graphic, no log entry. The rows above and below it ("Source of Measurement" / "Show image") work and open the image.

Environment: Weasis 4.7.2 on Windows, opened against a DICOMweb archive.

Document: Enhanced SR 1.2.840.10008.5.1.4.1.1.88.22, TID 1500 Measurement Report. Each Measurement Group holds an IMAGE content item ("Source of Measurement"), NUM findings, and a SCOORD ("Image Region", POLYLINE) with a SELECTED FROM IMAGE child carrying a Referenced SOP Sequence.

Rendered tree (translated from the Russian UI):

6. Measurement Group
   1. Source of Measurement: Show image
   2. Probability = 0.503496
      1. Finding: Pneumothorax
   3. Operating threshold = 0.009812
      1. Finding: Pneumothorax
   4. Image Region: POLYLINE  Content by reference: link 1.6.1
   1. Source of Measurement: Show image

Clicking "link 1.6.1" / "link 1.7.1" does nothing; clicking the "Show image" rows works. The viewer's own log (~/.weasis/log/default.log) records NOTHING for these clicks - no navigation attempt, no warning, no exception. The click is silently inert.

The SCOORD item is conformant: Value Type SCOORD, Relationship Type CONTAINS, Referenced Content Item Identifier present ON the SCOORD per PS3.3 C.18.6.1.1, and a SELECTED FROM IMAGE child (mandatory per PS3.3 C.18.6) whose Referenced SOP Sequence names the source DX instance. So the reference the viewer renders as "link 1.6.1" is the SCOORD's own identifier, displayed as an intra-document link to the content item itself, and that link has no click action.

Reproduction:

  1. Open the attached measurements_sr.dcm together with source_dx.dcm in Weasis 4.7.2.
  2. Open the SR document. Groups 6 and 7 contain "Image Region" rows rendered as "content by reference: link 1.6.1" and "link 1.7.1".
  3. Click those links: nothing happens, and nothing is written to the viewer log.

link_repro.zip

What version of Weasis are you running?

4.7.2

On which system the problem occurs?

Windows

Relevant log output

The clicks produce no log entries at all: default.log shows nothing between "End of loading DICOM locally" and the next unrelated action.

Additional contextual elements

Best regards,
Clarus PACS - https://github.com/clicker71/clarus-pacs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions