extensions/xnat/src/components/XNATSegmentationMenu/SegmentationMenuListItem.js
/**
   * _getTypeWithModifier - Returns the segment type with its modifier as a string.
   *
   * @returns {string}
   */
Returns the segment type with its modifier as a string.
@returns {string}
Returns the segment type with its modifier as a string . @returns { string }
_getTypeWithModifier() {
    const { metadata } = this.props;
    let typeWithModifier =
      metadata.SegmentedPropertyTypeCodeSequence.CodeMeaning;
    const modifier =
      metadata.SegmentedPropertyTypeCodeSequence
        .SegmentedPropertyTypeModifierCodeSequence;
    if (modifier) {
      typeWithModifier += ` (${modifier.CodeMeaning})`;
    }
    return typeWithModifier;
  }
_getTypeWithModifier ( ) { const { metadata } = this . props ; let typeWithModifier = metadata . SegmentedPropertyTypeCodeSequence . CodeMeaning ; const modifier = metadata . SegmentedPropertyTypeCodeSequence . SegmentedPropertyTypeModifierCodeSequence ; if ( modifier ) { typeWithModifier += ` ${ modifier . CodeMeaning } ` ; } return typeWithModifier ; }
_getTypeWithModifier - Returns the segment type with its modifier as a string.
_getTypeWithModifier - Returns the segment type with its modifier as a string .