extensions/xnat/src/utils/IO/classes/RTStructReader.js
/**
   * _getSopInstancesInSeries - gets the referenced sop instance UIDs in the series.
   *
   * @returns {string[]} An array of sop instance UIDs.
   */
gets the referenced sop instance UIDs in the series.
@returns {string[]} An array of sop instance UIDs.
gets the referenced sop instance UIDs in the series . @returns { string [] } An array of sop instance UIDs .
_getSopInstancesInSeries() {
    let sopInstanceUids = [];
    const RTReferencedSeries = this._getRTReferenceSeries();
    if (RTReferencedSeries !== null) {
      const ContourImageSequenceItems =
        RTReferencedSeries.dataSet.elements[RTStructTag['ContourImageSequence']]
          .items;
      for (let i = 0; i < ContourImageSequenceItems.length; i++) {
        const ContourImage = ContourImageSequenceItems[i];
        const sopInstanceUid = ContourImage.dataSet.string(
          RTStructTag['ReferencedSOPInstanceUID']
        );
        sopInstanceUids.push(sopInstanceUid);
      }
    }
    return sopInstanceUids;
  }
_getSopInstancesInSeries ( ) { let sopInstanceUids = [ ] ; const RTReferencedSeries = this . _getRTReferenceSeries ( ) ; if ( RTReferencedSeries !== null ) { const ContourImageSequenceItems = RTReferencedSeries . dataSet . elements [ RTStructTag [ 'ContourImageSequence' ] ] . items ; for ( let i = 0 ; i < ContourImageSequenceItems . length ; i ++ ) { const ContourImage = ContourImageSequenceItems [ i ] ; const sopInstanceUid = ContourImage . dataSet . string ( RTStructTag [ 'ReferencedSOPInstanceUID' ] ) ; sopInstanceUids . push ( sopInstanceUid ) ; } } return sopInstanceUids ; }
_getSopInstancesInSeries - gets the referenced sop instance UIDs in the series.
_getSopInstancesInSeries - gets the referenced sop instance UIDs in the series .