Skip to content

update segmentations view#129

Open
fedorov wants to merge 1 commit intoImagingDataCommons:masterfrom
fedorov:update-segmentations
Open

update segmentations view#129
fedorov wants to merge 1 commit intoImagingDataCommons:masterfrom
fedorov:update-segmentations

Conversation

@fedorov
Copy link
Member

@fedorov fedorov commented Jan 23, 2026

  • include SegmentationType
  • make sure SegmentAlgorithmName is not REPEATED
  • switch to using OHIF v3 for viewer_url
  • use more concise initialSeriesInstanceUID for the viewer parameter

* include SegmentationType
* make sure SegmentAlgorithmName is not REPEATED
* switch to using OHIF v3 for viewer_url
* use more concise initialSeriesInstanceUID for the viewer parameter
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the segmentations derived view to expose additional segmentation metadata and modernizes the viewer URL to use the OHIF v3 viewer with a simplified parameterization.

Changes:

  • Adds SegmentationType to the segmentation records by selecting it from dicom_metadata and propagating it through the segmentations CTE.
  • Normalizes SegmentAlgorithmName selection by indexing the repeated field with SAFE_OFFSET(0) to avoid repeated-field issues.
  • Updates viewer_url to point to the OHIF v3 viewer, switching from the older viewer/ endpoint and seriesInstanceUID list to StudyInstanceUIDs plus initialSeriesInstanceUID using the segmentation series UID.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

fedorov added a commit to ImagingDataCommons/idc-index-data that referenced this pull request Jan 23, 2026
Relies on a slightly modified version of the IDC segmentations table -
this should be fixed once the query in this PR goes live:
ImagingDataCommons/etl_flow#129
fedorov added a commit to ImagingDataCommons/idc-index-data that referenced this pull request Jan 23, 2026
Relies on a slightly modified version of the IDC segmentations table -
this should be fixed once the query in this PR goes live:
ImagingDataCommons/etl_flow#129
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants