File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ class AnnotationGroup {
2525 * @param {string } options.studyInstanceUID - Study Instance UID of Annotation instances
2626 * @param {string } options.seriesInstanceUID - Series Instance UID of Annotation instances
2727 * @param {string[] } options.sopInstanceUIDs - SOP Instance UIDs of Annotation instances
28+ * @param {string } options.referencedSeriesInstanceUID - Referenced Series Instance UID of Annotation instances
29+ * @param {string } options.referencedSOPInstanceUID - Referenced SOP Instance UID of Annotation instances
2830 */
2931 constructor ( {
3032 uid,
@@ -37,7 +39,8 @@ class AnnotationGroup {
3739 studyInstanceUID,
3840 seriesInstanceUID,
3941 sopInstanceUIDs,
40- referencedSeriesInstanceUID
42+ referencedSeriesInstanceUID,
43+ referencedSOPInstanceUID
4144 } ) {
4245 this [ _attrs ] = { }
4346 if ( uid == null ) {
@@ -84,6 +87,7 @@ class AnnotationGroup {
8487 }
8588 this [ _attrs ] . sopInstanceUIDs = sopInstanceUIDs
8689 this [ _attrs ] . referencedSeriesInstanceUID = referencedSeriesInstanceUID
90+ this [ _attrs ] . referencedSOPInstanceUID = referencedSOPInstanceUID
8791 Object . freeze ( this )
8892 }
8993
@@ -180,6 +184,10 @@ class AnnotationGroup {
180184 get referencedSeriesInstanceUID ( ) {
181185 return this [ _attrs ] . referencedSeriesInstanceUID
182186 }
187+
188+ get referencedSOPInstanceUID ( ) {
189+ return this [ _attrs ] . referencedSOPInstanceUID
190+ }
183191}
184192
185193/**
Original file line number Diff line number Diff line change @@ -3711,7 +3711,8 @@ class VolumeImageViewer {
37113711 studyInstanceUID : metadata . StudyInstanceUID ,
37123712 seriesInstanceUID : metadata . SeriesInstanceUID ,
37133713 sopInstanceUIDs : [ metadata . SOPInstanceUID ] ,
3714- referencedSeriesInstanceUID : metadata . ReferencedSeriesSequence [ 0 ] . SeriesInstanceUID
3714+ referencedSeriesInstanceUID : metadata . ReferencedSeriesSequence [ 0 ] . SeriesInstanceUID ,
3715+ referencedSOPInstanceUID : metadata . ReferencedImageSequence [ 0 ] . ReferencedSOPInstanceUID
37153716 } ) ,
37163717 style : { ...defaultAnnotationGroupStyle } ,
37173718 defaultStyle : defaultAnnotationGroupStyle ,
You can’t perform that action at this time.
0 commit comments