extensions/xnat/src/utils/IO/classes/RoiExtractor.js
/**
   * _getSeriesInstanceUidFromImageId - Gets the series instance UID of an
   *                                    image from its imageId.
   *
   * @param  {string} imageId The imageId of the instance.
   * @returns {string} The series instance UID.
   */
Gets the series instance UID of an
image from its imageId.

@param  {string} imageId The imageId of the instance.
@returns {string} The series instance UID.
Gets the series instance UID of an image from its imageId . @param { string } imageId The imageId of the instance . @returns { string } The series instance UID .
_getSeriesInstanceUidFromImageId(imageId) {
    const generalSeriesModule = cornerstone.metaData.get(
      'generalSeriesModule',
      imageId
    );
    if (!generalSeriesModule.seriesInstanceUID) {
      throw new Error('no seriesInstanceUID on metadata provider for imageIds');
    }
    return generalSeriesModule.seriesInstanceUID;
  }
_getSeriesInstanceUidFromImageId ( imageId ) { const generalSeriesModule = cornerstone . metaData . get ( 'generalSeriesModule' , imageId ) ; if ( ! generalSeriesModule . seriesInstanceUID ) { throw new Error ( 'no seriesInstanceUID on metadata provider for imageIds' ) ; } return generalSeriesModule . seriesInstanceUID ; }
_getSeriesInstanceUidFromImageId - Gets the series instance UID of an
                                    image from its imageId.
_getSeriesInstanceUidFromImageId - Gets the series instance UID of an image from its imageId .