_addMeasurementsAndEvaluationsProperties (feature) {
    const { measurements, evaluations } = feature.getProperties()

    if (measurements && measurements.length) {
      return measurements.some((measurement) => {// eslint-disable-line
        const SUPPORTED_MEASUREMENTS_CODED_CONCEPTS = [
          new dcmjs.sr.coding.CodedConcept({
            meaning: 'Area',
            value: '42798000',
            schemeDesignator: 'SCT'
          }),
          new dcmjs.sr.coding.CodedConcept({
            meaning: 'Length',
            value: '410668003',
            schemeDesignator: 'SCT'
          })
        ]
        const measurementCodedConcept = getContentItemNameCodedConcept(
          measurement
        )
        if (
          SUPPORTED_MEASUREMENTS_CODED_CONCEPTS.some((codedConcept) =>
            areCodedConceptsEqual(measurementCodedConcept, codedConcept)
          )
        ) {
          feature.set(
            Enums.InternalProperties.Markup,
            Enums.Markup.Measurement
          )
        }
      })
    }

    if (evaluations && evaluations.length) {
      return evaluations.some((evaluation) => {// eslint-disable-line
        const SUPPORTED_EVALUATIONS_CODED_CONCEPTS = [
          new dcmjs.sr.coding.CodedConcept({
            value: '112039',
            meaning: 'Tracking Identifier',
            schemeDesignator: 'DCM'
          })
        ]
        const evaluationCodedConcept = getContentItemNameCodedConcept(
          evaluation
        )
        if (
          SUPPORTED_EVALUATIONS_CODED_CONCEPTS.some((codedConcept) =>
            areCodedConceptsEqual(codedConcept, evaluationCodedConcept)
          )
        ) {
          feature.set(
            Enums.InternalProperties.Markup,
            Enums.Markup.TextEvaluation
          )
        }
      })
    }
  }
/**
   * Add markup properties based on ROI
   * measurements and evaluations.
   *
   * @param {Feature} feature The feature
   */
Add markup properties based on ROI
measurements and evaluations.

@param {Feature} feature The feature
Add markup properties based on ROI measurements and evaluations . @param { Feature } feature The feature
_addMeasurementsAndEvaluationsProperties (feature) {
    const { measurements, evaluations } = feature.getProperties()
    if (measurements && measurements.length) {
      return measurements.some((measurement) => {
        const SUPPORTED_MEASUREMENTS_CODED_CONCEPTS = [
          new dcmjs.sr.coding.CodedConcept({
            meaning: 'Area',
            value: '42798000',
            schemeDesignator: 'SCT'
          }),
          new dcmjs.sr.coding.CodedConcept({
            meaning: 'Length',
            value: '410668003',
            schemeDesignator: 'SCT'
          })
        ]
        const measurementCodedConcept = getContentItemNameCodedConcept(
          measurement
        )
        if (
          SUPPORTED_MEASUREMENTS_CODED_CONCEPTS.some((codedConcept) =>
            areCodedConceptsEqual(measurementCodedConcept, codedConcept)
          )
        ) {
          feature.set(
            Enums.InternalProperties.Markup,
            Enums.Markup.Measurement
          )
        }
      })
    }
    if (evaluations && evaluations.length) {
      return evaluations.some((evaluation) => {
        const SUPPORTED_EVALUATIONS_CODED_CONCEPTS = [
          new dcmjs.sr.coding.CodedConcept({
            value: '112039',
            meaning: 'Tracking Identifier',
            schemeDesignator: 'DCM'
          })
        ]
        const evaluationCodedConcept = getContentItemNameCodedConcept(
          evaluation
        )
        if (
          SUPPORTED_EVALUATIONS_CODED_CONCEPTS.some((codedConcept) =>
            areCodedConceptsEqual(codedConcept, evaluationCodedConcept)
          )
        ) {
          feature.set(
            Enums.InternalProperties.Markup,
            Enums.Markup.TextEvaluation
          )
        }
      })
    }
  }
_addMeasurementsAndEvaluationsProperties ( feature ) { const { measurements , evaluations } = feature . getProperties ( ) if ( measurements && measurements . length ) { return measurements . some ( ( measurement ) => { const SUPPORTED_MEASUREMENTS_CODED_CONCEPTS = [ new dcmjs . sr . coding . CodedConcept ( { meaning : 'Area' , value : '42798000' , schemeDesignator : 'SCT' } ) , new dcmjs . sr . coding . CodedConcept ( { meaning : 'Length' , value : '410668003' , schemeDesignator : 'SCT' } ) ] const measurementCodedConcept = getContentItemNameCodedConcept ( measurement ) if ( SUPPORTED_MEASUREMENTS_CODED_CONCEPTS . some ( ( codedConcept ) => areCodedConceptsEqual ( measurementCodedConcept , codedConcept ) ) ) { feature . set ( Enums . InternalProperties . Markup , Enums . Markup . Measurement ) } } ) } if ( evaluations && evaluations . length ) { return evaluations . some ( ( evaluation ) => { const SUPPORTED_EVALUATIONS_CODED_CONCEPTS = [ new dcmjs . sr . coding . CodedConcept ( { value : '112039' , meaning : 'Tracking Identifier' , schemeDesignator : 'DCM' } ) ] const evaluationCodedConcept = getContentItemNameCodedConcept ( evaluation ) if ( SUPPORTED_EVALUATIONS_CODED_CONCEPTS . some ( ( codedConcept ) => areCodedConceptsEqual ( codedConcept , evaluationCodedConcept ) ) ) { feature . set ( Enums . InternalProperties . Markup , Enums . Markup . TextEvaluation ) } } ) } }
Add markup properties based on ROI
 measurements and evaluations.
Add markup properties based on ROI measurements and evaluations .
// eslint-disable-line // eslint-disable-line