extensions/xnat/src/components/XNATContourImportMenu/XNATContourImportMenu.js
/**
   * _getVolumeManagementLabels - Construct a list of roiCollections
   *                               already imported.
   *
   * @returns {string[]} An array of the labels of roiCollections already imported.
   */
Construct a list of roiCollections
already imported.

@returns {string[]} An array of the labels of roiCollections already imported.
Construct a list of roiCollections already imported . @returns { string [] } An array of the labels of roiCollections already imported .
_getVolumeManagementLabels() {
    const freehand3DStore = modules.freehand3D;
    const structureSetUids = [];
    const seriesCollection = freehand3DStore.state.seriesCollection;
    seriesCollection.forEach(series => {
      const structureSetCollection = series.structureSetCollection;
      for (let i = 0; i < structureSetCollection.length; i++) {
        const label = structureSetCollection[i].uid;
        if (label !== 'DEFAULT') {
          structureSetUids.push(label);
        }
      }
    });
    return structureSetUids;
  }
_getVolumeManagementLabels ( ) { const freehand3DStore = modules . freehand3D ; const structureSetUids = [ ] ; const seriesCollection = freehand3DStore . state . seriesCollection ; seriesCollection . forEach ( series => { const structureSetCollection = series . structureSetCollection ; for ( let i = 0 ; i < structureSetCollection . length ; i ++ ) { const label = structureSetCollection [ i ] . uid ; if ( label !== 'DEFAULT' ) { structureSetUids . push ( label ) ; } } } ) ; return structureSetUids ; }
_getVolumeManagementLabels - Construct a list of roiCollections
                               already imported.
_getVolumeManagementLabels - Construct a list of roiCollections already imported .