/*
 *
 *  Copyright (C) 2015-2023, J. Riesmeier, Oldenburg, Germany
 *  All rights reserved.  See COPYRIGHT file for details.
 *
 *  Header file for class CID218_QuantitativeImageFeature
 *
 *  Generated automatically from DICOM PS 3.16-2023a
 *  File created on 2023-02-02 17:56:46 by J. Riesmeier
 *
 */


#ifndef CMR_CID218_H
#define CMR_CID218_H

#include "dcmtk/config/osconfig.h"   /* make sure OS specific configuration is included first */

#include "dcmtk/dcmsr/dsrctxgr.h"
#include "dcmtk/dcmsr/cmr/define.h"

#include "dcmtk/ofstd/ofmap.h"


/*---------------------*
 *  class declaration  *
 *---------------------*/

/** Implementation of DCMR Context Group:
 *  CID 218 - Quantitative Image Feature.
 *  (type: extensible, version: 20200920)
 */
class DCMTK_CMR_EXPORT CID218_QuantitativeImageFeature
  : public DSRContextGroup
{

  public:

    /** types of quantitative image feature
     */
    enum EnumType
    {
        /// (X6K6,IBSI,"Intensity Histogram Mean"), included from CID 7478
        IntensityHistogramMean,
        /// (CH89,IBSI,"Intensity Histogram Variance"), included from CID 7478
        IntensityHistogramVariance,
        /// (88K1,IBSI,"Intensity Histogram Skewness"), included from CID 7478
        IntensityHistogramSkewness,
        /// (C3I7,IBSI,"Intensity Histogram Kurtosis"), included from CID 7478
        IntensityHistogramKurtosis,
        /// (WIFQ,IBSI,"Intensity Histogram Median"), included from CID 7478
        IntensityHistogramMedian,
        /// (1PR8,IBSI,"Intensity Histogram Minimum Gray Level"), included from CID 7478
        IntensityHistogramMinimumGrayLevel,
        /// (GPMT,IBSI,"Intensity Histogram 10th Percentile"), included from CID 7478
        IntensityHistogram10thPercentile,
        /// (OZ0C,IBSI,"Intensity Histogram 90th Percentile"), included from CID 7478
        IntensityHistogram90thPercentile,
        /// (3NCY,IBSI,"Intensity Histogram Maximum Gray Level"), included from CID 7478
        IntensityHistogramMaximumGrayLevel,
        /// (AMMC,IBSI,"Intensity Histogram Mode"), included from CID 7478
        IntensityHistogramMode,
        /// (WR0O,IBSI,"Intensity Histogram Interquartile Range"), included from CID 7478
        IntensityHistogramInterquartileRange,
        /// (5Z3W,IBSI,"Intensity Histogram Range"), included from CID 7478
        IntensityHistogramRange,
        /// (D2ZX,IBSI,"Intensity Histogram Mean Absolute Deviation"), included from CID 7478
        IntensityHistogramMeanAbsoluteDeviation,
        /// (WRZB,IBSI,"Intensity Histogram Robust Mean Absolute Deviation"), included from CID 7478
        IntensityHistogramRobustMeanAbsoluteDeviation,
        /// (4RNL,IBSI,"Intensity Histogram Median Absolute Deviation"), included from CID 7478
        IntensityHistogramMedianAbsoluteDeviation,
        /// (CWYJ,IBSI,"Intensity Histogram Coefficient of Variation"), included from CID 7478
        IntensityHistogramCoefficientOfVariation,
        /// (SLWD,IBSI,"Intensity Histogram Quartile Coefficient of Dispersion"), included from CID 7478
        IntensityHistogramQuartileCoefficientOfDispersion,
        /// (TLU2,IBSI,"Intensity Histogram Entropy"), included from CID 7478
        IntensityHistogramEntropy,
        /// (BJ5W,IBSI,"Intensity Histogram Uniformity"), included from CID 7478
        IntensityHistogramUniformity,
        /// (12CE,IBSI,"Intensity Histogram Maximum Gradient"), included from CID 7478
        IntensityHistogramMaximumGradient,
        /// (8E6O,IBSI,"Intensity Histogram Maximum Gradient Gray Level"), included from CID 7478
        IntensityHistogramMaximumGradientGrayLevel,
        /// (VQB3,IBSI,"Intensity Histogram Minimum Gradient"), included from CID 7478
        IntensityHistogramMinimumGradient,
        /// (RHQZ,IBSI,"Intensity Histogram Minimum Gradient Gray Level"), included from CID 7478
        IntensityHistogramMinimumGradientGrayLevel,
        /// (TU9B,IBSI,"Joint Entropy of GLCM"), included from CID 7467
        JointEntropyOfGLCM,
        /// (126061,DCM,"Root Angular Second Moment of GLCM"), included from CID 7467
        RootAngularSecondMomentOfGLCM,
        /// (WF0Z,IBSI,"Inverse Difference Moment of GLCM"), included from CID 7467
        InverseDifferenceMomentOfGLCM,
        /// (ACUI,IBSI,"Contrast of GLCM"), included from CID 7467
        ContrastOfGLCM,
        /// (8S9J,IBSI,"Dissimilarity of GLCM"), included from CID 7467
        DissimilarityOfGLCM,
        /// (8ZQL,IBSI,"Angular Second Moment of GLCM"), included from CID 7467
        AngularSecondMomentOfGLCM,
        /// (NI2N,IBSI,"Correlation of GLCM"), included from CID 7467
        CorrelationOfGLCM,
        /// (GYBY,IBSI,"Joint Maximum of GLCM"), included from CID 7467
        JointMaximumOfGLCM,
        /// (60VM,IBSI,"Joint Average of GLCM"), included from CID 7467
        JointAverageOfGLCM,
        /// (UR99,IBSI,"Joint Variance of GLCM"), included from CID 7467
        JointVarianceOfGLCM,
        /// (TF7R,IBSI,"Difference Average of GLCM"), included from CID 7467
        DifferenceAverageOfGLCM,
        /// (D3YU,IBSI,"Difference Variance of GLCM"), included from CID 7467
        DifferenceVarianceOfGLCM,
        /// (NTRS,IBSI,"Difference Entropy of GLCM"), included from CID 7467
        DifferenceEntropyOfGLCM,
        /// (ZGXS,IBSI,"Sum Average of GLCM"), included from CID 7467
        SumAverageOfGLCM,
        /// (OEEB,IBSI,"Sum Variance of GLCM"), included from CID 7467
        SumVarianceOfGLCM,
        /// (P6QZ,IBSI,"Sum Entropy of GLCM"), included from CID 7467
        SumEntropyOfGLCM,
        /// (IB1Z,IBSI,"Inverse Difference of GLCM"), included from CID 7467
        InverseDifferenceOfGLCM,
        /// (NDRX,IBSI,"Normalized Inverse Difference of GLCM"), included from CID 7467
        NormalizedInverseDifferenceOfGLCM,
        /// (1QCO,IBSI,"Normalized Inverse Difference Moment of GLCM"), included from CID 7467
        NormalizedInverseDifferenceMomentOfGLCM,
        /// (E8JP,IBSI,"Inverse Variance of GLCM"), included from CID 7467
        InverseVarianceOfGLCM,
        /// (QWB0,IBSI,"Autocorrelation of GLCM"), included from CID 7467
        AutocorrelationOfGLCM,
        /// (DG8W,IBSI,"Cluster Tendency of GLCM"), included from CID 7467
        ClusterTendencyOfGLCM,
        /// (7NFM,IBSI,"Cluster Shade of GLCM"), included from CID 7467
        ClusterShadeOfGLCM,
        /// (AE86,IBSI,"Cluster Prominence of GLCM"), included from CID 7467
        ClusterProminenceOfGLCM,
        /// (R8DG,IBSI,"First Measure of Information Correlation of GLCM"), included from CID 7467
        FirstMeasureOfInformationCorrelationOfGLCM,
        /// (JN9H,IBSI,"Second Measure of Information Correlation of GLCM"), included from CID 7467
        SecondMeasureOfInformationCorrelationOfGLCM,
        /// (22OV,IBSI,"Short Runs Emphasis"), included from CID 7475
        ShortRunsEmphasis,
        /// (W4KF,IBSI,"Long Runs Emphasis"), included from CID 7475
        LongRunsEmphasis,
        /// (V3SW,IBSI,"Low Gray Level Run Emphasis"), included from CID 7475
        LowGrayLevelRunEmphasis,
        /// (G3QZ,IBSI,"High Gray Level Run Emphasis"), included from CID 7475
        HighGrayLevelRunEmphasis,
        /// (HTZT,IBSI,"Short Run Low Gray Level Emphasis"), included from CID 7475
        ShortRunLowGrayLevelEmphasis,
        /// (GD3A,IBSI,"Short Run High Gray Level Emphasis"), included from CID 7475
        ShortRunHighGrayLevelEmphasis,
        /// (IVPO,IBSI,"Long Run Low Gray Level Emphasis"), included from CID 7475
        LongRunLowGrayLevelEmphasis,
        /// (3KUM,IBSI,"Long Run High Gray Level Emphasis"), included from CID 7475
        LongRunHighGrayLevelEmphasis,
        /// (R5YN,IBSI,"Gray Level Nonuniformity in Runs"), included from CID 7475
        GrayLevelNonuniformityInRuns,
        /// (OVBL,IBSI,"Normalized Gray Level Nonuniformity in Runs"), included from CID 7475
        NormalizedGrayLevelNonuniformityInRuns,
        /// (W92Y,IBSI,"Run Length Nonuniformity"), included from CID 7475
        RunLengthNonuniformity,
        /// (IC23,IBSI,"Normalized Run Length Nonuniformity"), included from CID 7475
        NormalizedRunLengthNonuniformity,
        /// (9ZK5,IBSI,"Run Percentage"), included from CID 7475
        RunPercentage,
        /// (8CE5,IBSI,"Gray Level Variance in Runs"), included from CID 7475
        GrayLevelVarianceInRuns,
        /// (SXLW,IBSI,"Run Length Variance"), included from CID 7475
        RunLengthVariance,
        /// (HJ9O,IBSI,"Run Entropy"), included from CID 7475
        RunEntropy,
        /// (5QRC,IBSI,"Small Zone Emphasis"), included from CID 7476
        SmallZoneEmphasis,
        /// (48P8,IBSI,"Large Zone Emphasis"), included from CID 7476
        LargeZoneEmphasis,
        /// (XMSY,IBSI,"Low Gray Level Zone Emphasis"), included from CID 7476
        LowGrayLevelZoneEmphasis,
        /// (5GN9,IBSI,"High Gray Level Zone Emphasis"), included from CID 7476
        HighGrayLevelZoneEmphasis,
        /// (5RAI,IBSI,"Small Zone Low Gray Level Emphasis"), included from CID 7476
        SmallZoneLowGrayLevelEmphasis,
        /// (HW1V,IBSI,"Small Zone High Gray Level Emphasis"), included from CID 7476
        SmallZoneHighGrayLevelEmphasis,
        /// (YH51,IBSI,"Large Zone Low Gray Level Emphasis"), included from CID 7476
        LargeZoneLowGrayLevelEmphasis,
        /// (J17V,IBSI,"Large Zone High Gray Level Emphasis"), included from CID 7476
        LargeZoneHighGrayLevelEmphasis,
        /// (JNSA,IBSI,"Gray Level Nonuniformity of Size Zone Counts"), included from CID 7476
        GrayLevelNonuniformityOfSizeZoneCounts,
        /// (Y1RO,IBSI,"Normalized Gray Level Nonuniformity of Size Zone Counts"), included from CID 7476
        NormalizedGrayLevelNonuniformityOfSizeZoneCounts,
        /// (4JP3,IBSI,"Zone Size Nonuniformity"), included from CID 7476
        ZoneSizeNonuniformity,
        /// (VB3A,IBSI,"Normalized Zone Size Nonuniformity"), included from CID 7476
        NormalizedZoneSizeNonuniformity,
        /// (P30P,IBSI,"Size Zone Percentage"), included from CID 7476
        SizeZonePercentage,
        /// (BYLV,IBSI,"Gray Level Variance in Size Zones"), included from CID 7476
        GrayLevelVarianceInSizeZones,
        /// (3NSA,IBSI,"Zone Size Variance"), included from CID 7476
        ZoneSizeVariance,
        /// (GU8N,IBSI,"Zone Size Entropy"), included from CID 7476
        ZoneSizeEntropy,
        /// (0GBI,IBSI,"Small Distance Emphasis"), included from CID 7479
        SmallDistanceEmphasis,
        /// (MB4I,IBSI,"Large Distance Emphasis"), included from CID 7479
        LargeDistanceEmphasis,
        /// (S1RA,IBSI,"Low Grey Level Zone Emphasis"), included from CID 7479
        LowGreyLevelZoneEmphasis,
        /// (K26C,IBSI,"High Grey Level Zone Emphasis"), included from CID 7479
        HighGreyLevelZoneEmphasis,
        /// (RUVG,IBSI,"Small Distance Low Grey Level Emphasis"), included from CID 7479
        SmallDistanceLowGreyLevelEmphasis,
        /// (DKNJ,IBSI,"Small Distance High Grey Level Emphasis"), included from CID 7479
        SmallDistanceHighGreyLevelEmphasis,
        /// (A7WM,IBSI,"Large Distance Low Grey Level Emphasis"), included from CID 7479
        LargeDistanceLowGreyLevelEmphasis,
        /// (KLTH,IBSI,"Large Distance High Grey Level Emphasis"), included from CID 7479
        LargeDistanceHighGreyLevelEmphasis,
        /// (VFT7,IBSI,"Grey Level Non-uniformity of Distance Zone Counts"), included from CID 7479
        GreyLevelNonUniformityOfDistanceZoneCounts,
        /// (7HP3,IBSI,"Normalized Grey Level Non-uniformity of Distance Zone Counts"), included from CID 7479
        NormalizedGreyLevelNonUniformityOfDistanceZoneCounts,
        /// (V294,IBSI,"Zone Distance Non-uniformity"), included from CID 7479
        ZoneDistanceNonUniformity,
        /// (IATH,IBSI,"Normalized Zone Distance Non-uniformity"), included from CID 7479
        NormalizedZoneDistanceNonUniformity,
        /// (VIWW,IBSI,"Distance Zone Percentage"), included from CID 7479
        DistanceZonePercentage,
        /// (QK93,IBSI,"Grey Level Variance in Distance Zones"), included from CID 7479
        GreyLevelVarianceInDistanceZones,
        /// (7WT1,IBSI,"Zone Distance Variance"), included from CID 7479
        ZoneDistanceVariance,
        /// (GBDU,IBSI,"Zone Distance Entropy"), included from CID 7479
        ZoneDistanceEntropy,
        /// (QCDE,IBSI,"Coarseness of NGTDM"), included from CID 7500
        CoarsenessOfNGTDM,
        /// (65HE,IBSI,"Contrast of NGTDM"), included from CID 7500
        ContrastOfNGTDM,
        /// (NQ30,IBSI,"Busyness of NGTDM"), included from CID 7500
        BusynessOfNGTDM,
        /// (HDEZ,IBSI,"Complexity of NGTDM"), included from CID 7500
        ComplexityOfNGTDM,
        /// (1X9X,IBSI,"Strength of NGTDM"), included from CID 7500
        StrengthOfNGTDM,
        /// (SODN,IBSI,"Low dependence emphasis"), included from CID 7501
        LowDependenceEmphasis,
        /// (IMOQ,IBSI,"High dependence emphasis"), included from CID 7501
        HighDependenceEmphasis,
        /// (TL9H,IBSI,"Low grey level count emphasis"), included from CID 7501
        LowGreyLevelCountEmphasis,
        /// (OAE7,IBSI,"High grey level count emphasis"), included from CID 7501
        HighGreyLevelCountEmphasis,
        /// (EQ3F,IBSI,"Low dependence low grey level emphasis"), included from CID 7501
        LowDependenceLowGreyLevelEmphasis,
        /// (JA6D,IBSI,"Low dependence high grey level emphasis"), included from CID 7501
        LowDependenceHighGreyLevelEmphasis,
        /// (NBZI,IBSI,"High dependence low grey level emphasis"), included from CID 7501
        HighDependenceLowGreyLevelEmphasis,
        /// (9QMG,IBSI,"High dependence high grey level emphasis"), included from CID 7501
        HighDependenceHighGreyLevelEmphasis,
        /// (FP8K,IBSI,"Grey level non-uniformity of NGLDM"), included from CID 7501
        GreyLevelNonUniformityOfNGLDM,
        /// (5SPA,IBSI,"Normalized grey level non-uniformity of NGLDM"), included from CID 7501
        NormalizedGreyLevelNonUniformityOfNGLDM,
        /// (Z87G,IBSI,"Dependence count non-uniformity"), included from CID 7501
        DependenceCountNonUniformity,
        /// (OKJI,IBSI,"Dependence count non-uniformity normalized"), included from CID 7501
        DependenceCountNonUniformityNormalized,
        /// (6XV8,IBSI,"Dependence count percentage"), included from CID 7501
        DependenceCountPercentage,
        /// (1PFV,IBSI,"Grey level variance of NGLDM"), included from CID 7501
        GreyLevelVarianceOfNGLDM,
        /// (DNX2,IBSI,"Dependence count variance"), included from CID 7501
        DependenceCountVariance,
        /// (FCBV,IBSI,"Dependence count entropy"), included from CID 7501
        DependenceCountEntropy,
        /// (CAS9,IBSI,"Dependence count energy"), included from CID 7501
        DependenceCountEnergy,
        /// (126050,DCM,"Fractal Dimension"), included from CID 7468
        FractalDimension,
        /// (115391007,SCT,"N-acetylaspartate"), included from CID 4033
        NAcetylaspartate,
        /// (59351004,SCT,"Citrate"), included from CID 4033
        Citrate,
        /// (65123005,SCT,"Choline"), included from CID 4033
        Choline,
        /// (14804005,SCT,"Creatine"), included from CID 4033
        Creatine,
        /// (113094,DCM,"Creatine and Choline"), included from CID 4033
        CreatineAndCholine,
        /// (83036002,SCT,"Lactate"), included from CID 4033
        Lactate,
        /// (70106000,SCT,"Lipid"), included from CID 4033
        Lipid,
        /// (113095,DCM,"Lipid and Lactate"), included from CID 4033
        LipidAndLactate,
        /// (113080,DCM,"Glutamate and glutamine"), included from CID 4033
        GlutamateAndGlutamine,
        /// (25761002,SCT,"Glutamine"), included from CID 4033
        Glutamine,
        /// (10944007,SCT,"Tuarine"), included from CID 4033
        Tuarine,
        /// (72164009,SCT,"Inositol"), included from CID 4033
        Inositol,
        /// (113081,DCM,"Choline/Creatine Ratio"), included from CID 4033
        CholinePerCreatineRatio,
        /// (113082,DCM,"N-acetylaspartate/Creatine Ratio"), included from CID 4033
        NAcetylaspartatePerCreatineRatio,
        /// (113083,DCM,"N-acetylaspartate/Choline Ratio"), included from CID 4033
        NAcetylaspartatePerCholineRatio,
        /// (113096,DCM,"Creatine+Choline/Citrate Ratio"), included from CID 4033
        CreatinePlusCholinePerCitrateRatio,
        /// (113063,DCM,"T1"), included from CID 7180
        T1,
        /// (113065,DCM,"T2"), included from CID 7180
        T2,
        /// (113064,DCM,"T2*"), included from CID 7180
        T2Star,
        /// (113058,DCM,"Proton Density"), included from CID 7180
        ProtonDensity,
        /// (110800,DCM,"Spin Tagging Perfusion MR Signal Intensity"), included from CID 7180
        SpinTaggingPerfusionMRSignalIntensity,
        /// (113070,DCM,"Velocity encoded"), included from CID 7180
        VelocityEncoded,
        /// (113067,DCM,"Temperature encoded"), included from CID 7180
        TemperatureEncoded,
        /// (110801,DCM,"Contrast Agent Angio MR Signal Intensity"), included from CID 7180
        ContrastAgentAngioMRSignalIntensity,
        /// (110802,DCM,"Time Of Flight Angio MR Signal Intensity"), included from CID 7180
        TimeOfFlightAngioMRSignalIntensity,
        /// (110803,DCM,"Proton Density Weighted MR Signal Intensity"), included from CID 7180
        ProtonDensityWeightedMRSignalIntensity,
        /// (110804,DCM,"T1 Weighted MR Signal Intensity"), included from CID 7180
        T1WeightedMRSignalIntensity,
        /// (110805,DCM,"T2 Weighted MR Signal Intensity"), included from CID 7180
        T2WeightedMRSignalIntensity,
        /// (110806,DCM,"T2* Weighted MR Signal Intensity"), included from CID 7180
        T2StarWeightedMRSignalIntensity,
        /// (113043,DCM,"Diffusion weighted"), included from CID 7270
        DiffusionWeighted,
        /// (110810,DCM,"Volumetric Diffusion Dxx Component"), included from CID 7270
        VolumetricDiffusionDxxComponent,
        /// (110811,DCM,"Volumetric Diffusion Dxy Component"), included from CID 7270
        VolumetricDiffusionDxyComponent,
        /// (110812,DCM,"Volumetric Diffusion Dxz Component"), included from CID 7270
        VolumetricDiffusionDxzComponent,
        /// (110813,DCM,"Volumetric Diffusion Dyy Component"), included from CID 7270
        VolumetricDiffusionDyyComponent,
        /// (110814,DCM,"Volumetric Diffusion Dyz Component"), included from CID 7270
        VolumetricDiffusionDyzComponent,
        /// (110815,DCM,"Volumetric Diffusion Dzz Component"), included from CID 7270
        VolumetricDiffusionDzzComponent,
        /// (110808,DCM,"Fractional Anisotropy"), included from CID 7271
        FractionalAnisotropy,
        /// (110809,DCM,"Relative Anisotropy"), included from CID 7271
        RelativeAnisotropy,
        /// (113288,DCM,"Volume Ratio"), included from CID 7271
        VolumeRatio,
        /// (113041,DCM,"Apparent Diffusion Coefficient"), included from CID 7272
        ApparentDiffusionCoefficient,
        /// (113289,DCM,"Diffusion Coefficient"), included from CID 7272
        DiffusionCoefficient,
        /// (113290,DCM,"Mono-exponential Apparent Diffusion Coefficient"), included from CID 7272
        MonoExponentialApparentDiffusionCoefficient,
        /// (113291,DCM,"Slow Diffusion Coefficient"), included from CID 7272
        SlowDiffusionCoefficient,
        /// (113292,DCM,"Fast Diffusion Coefficient"), included from CID 7272
        FastDiffusionCoefficient,
        /// (113293,DCM,"Fast Diffusion Coefficient Fraction"), included from CID 7272
        FastDiffusionCoefficientFraction,
        /// (113294,DCM,"Kurtosis Diffusion Coefficient"), included from CID 7272
        KurtosisDiffusionCoefficient,
        /// (113295,DCM,"Gamma Distribution Scale Parameter"), included from CID 7272
        GammaDistributionScaleParameter,
        /// (113296,DCM,"Gamma Distribution Shape Parameter"), included from CID 7272
        GammaDistributionShapeParameter,
        /// (113297,DCM,"Gamma Distribution Mode"), included from CID 7272
        GammaDistributionMode,
        /// (113298,DCM,"Distributed Diffusion Coefficient"), included from CID 7272
        DistributedDiffusionCoefficient,
        /// (113299,DCM,"Anomalous Exponent Parameter"), included from CID 7272
        AnomalousExponentParameter,
        /// (110807,DCM,"Field Map MR Signal Intensity"), included from CID 7180
        FieldMapMRSignalIntensity,
        /// (110816,DCM,"T1 Weighted Dynamic Contrast Enhanced MR Signal Intensity"), included from CID 7180
        T1WeightedDynamicContrastEnhancedMRSignalIntensity,
        /// (110817,DCM,"T2 Weighted Dynamic Contrast Enhanced MR Signal Intensity"), included from CID 7180
        T2WeightedDynamicContrastEnhancedMRSignalIntensity,
        /// (110818,DCM,"T2* Weighted Dynamic Contrast Enhanced MR Signal Intensity"), included from CID 7180
        T2StarWeightedDynamicContrastEnhancedMRSignalIntensity,
        /// (110819,DCM,"Blood Oxygenation Level"), included from CID 7180
        BloodOxygenationLevel,
        /// (110820,DCM,"Nuclear Medicine Projection Activity"), included from CID 7180
        NuclearMedicineProjectionActivity,
        /// (110821,DCM,"Nuclear Medicine Tomographic Activity"), included from CID 7180
        NuclearMedicineTomographicActivity,
        /// (110822,DCM,"Spatial Displacement X Component"), included from CID 7180
        SpatialDisplacementXComponent,
        /// (110823,DCM,"Spatial Displacement Y Component"), included from CID 7180
        SpatialDisplacementYComponent,
        /// (110824,DCM,"Spatial Displacement Z Component"), included from CID 7180
        SpatialDisplacementZComponent,
        /// (110825,DCM,"Hemodynamic Resistance"), included from CID 7180
        HemodynamicResistance,
        /// (110826,DCM,"Indexed Hemodynamic Resistance"), included from CID 7180
        IndexedHemodynamicResistance,
        /// (112031,DCM,"Attenuation Coefficient"), included from CID 7180
        AttenuationCoefficient,
        /// (110827,DCM,"Tissue Velocity"), included from CID 7180
        TissueVelocity,
        /// (110828,DCM,"Flow Velocity"), included from CID 7180
        FlowVelocity,
        /// (425704008,SCT,"Power Doppler"), included from CID 7180
        PowerDoppler,
        /// (110829,DCM,"Flow Variance"), included from CID 7180
        FlowVariance,
        /// (110830,DCM,"Elasticity"), included from CID 7180
        Elasticity,
        /// (110831,DCM,"Perfusion"), included from CID 7180
        Perfusion,
        /// (110832,DCM,"Speed of sound"), included from CID 7180
        SpeedOfSound,
        /// (110833,DCM,"Ultrasound Attenuation"), included from CID 7180
        UltrasoundAttenuation,
        /// (113068,DCM,"Student's T-test"), included from CID 7180
        StudentsTTest,
        /// (113071,DCM,"Z-score"), included from CID 7180
        ZScore,
        /// (113057,DCM,"R-Coefficient"), included from CID 7180
        RCoefficient,
        /// (126220,DCM,"R2-Coefficient"), included from CID 7180
        R2Coefficient,
        /// (126221,DCM,"Chi-square"), included from CID 7180
        ChiSquare,
        /// (126222,DCM,"D-W"), included from CID 7180
        DW,
        /// (126223,DCM,"AIC"), included from CID 7180
        AIC,
        /// (126224,DCM,"BIC"), included from CID 7180
        BIC,
        /// (110834,DCM,"RGB R Component"), included from CID 7180
        RGBRComponent,
        /// (110835,DCM,"RGB G Component"), included from CID 7180
        RGBGComponent,
        /// (110836,DCM,"RGB B Component"), included from CID 7180
        RGBBComponent,
        /// (110837,DCM,"YBR FULL Y Component"), included from CID 7180
        YBR_FULLYComponent,
        /// (110838,DCM,"YBR FULL CB Component"), included from CID 7180
        YBR_FULL_CBComponent,
        /// (110839,DCM,"YBR FULL CR Component"), included from CID 7180
        YBR_FULL_CRComponent,
        /// (110840,DCM,"YBR PARTIAL Y Component"), included from CID 7180
        YBR_PARTIALYComponent,
        /// (110841,DCM,"YBR PARTIAL CB Component"), included from CID 7180
        YBR_PARTIAL_CBComponent,
        /// (110842,DCM,"YBR PARTIAL CR Component"), included from CID 7180
        YBR_PARTIAL_CRComponent,
        /// (110843,DCM,"YBR ICT Y Component"), included from CID 7180
        YBR_ICTYComponent,
        /// (110844,DCM,"YBR ICT CB Component"), included from CID 7180
        YBR_ICT_CBComponent,
        /// (110845,DCM,"YBR ICT CR Component"), included from CID 7180
        YBR_ICT_CRComponent,
        /// (110846,DCM,"YBR RCT Y Component"), included from CID 7180
        YBR_RCTYComponent,
        /// (110847,DCM,"YBR RCT CB Component"), included from CID 7180
        YBR_RCT_CBComponent,
        /// (110848,DCM,"YBR RCT CR Component"), included from CID 7180
        YBR_RCT_CRComponent,
        /// (110849,DCM,"Echogenicity"), included from CID 7180
        Echogenicity,
        /// (110850,DCM,"X-Ray Attenuation"), included from CID 7180
        XRayAttenuation,
        /// (110852,DCM,"MR signal intensity"), included from CID 7180
        MRSignalIntensity,
        /// (110853,DCM,"Binary Segmentation"), included from CID 7180
        BinarySegmentation,
        /// (110854,DCM,"Fractional Probabilistic Segmentation"), included from CID 7180
        FractionalProbabilisticSegmentation,
        /// (110855,DCM,"Fractional Occupancy Segmentation"), included from CID 7180
        FractionalOccupancySegmentation,
        /// (126393,DCM,"R1"), included from CID 7180
        R1,
        /// (126394,DCM,"R2"), included from CID 7180
        R2,
        /// (126395,DCM,"R2*"), included from CID 7180
        R2Star,
        /// (113098,DCM,"Magnetization Transfer Ratio"), included from CID 7180
        MagnetizationTransferRatio,
        /// (126396,DCM,"Magnetic Susceptibility"), included from CID 7180
        MagneticSusceptibility,
        /// (126312,DCM,"Ktrans"), included from CID 4107
        Ktrans,
        /// (126313,DCM,"kep"), included from CID 4107
        Kep,
        /// (126314,DCM,"ve"), included from CID 4107
        Ve,
        /// (126330,DCM,"tau_m"), included from CID 4107
        Tau_m,
        /// (126331,DCM,"vp"), included from CID 4107
        Vp,
        /// (126390,DCM,"Absolute Regional Blood Flow"), included from CID 4108
        AbsoluteRegionalBloodFlow,
        /// (126391,DCM,"Absolute Regional Blood Volume"), included from CID 4108
        AbsoluteRegionalBloodVolume,
        /// (126397,DCM,"Relative Regional Blood Flow"), included from CID 4108
        RelativeRegionalBloodFlow,
        /// (126398,DCM,"Relative Regional Blood Volume"), included from CID 4108
        RelativeRegionalBloodVolume,
        /// (113052,DCM,"Mean Transit Time"), included from CID 4108
        MeanTransitTime,
        /// (113069,DCM,"Time To Peak"), included from CID 4108
        TimeToPeak,
        /// (126392,DCM,"Oxygen Extraction Fraction"), included from CID 4108
        OxygenExtractionFraction,
        /// (113084,DCM,"Tmax"), included from CID 4108
        Tmax,
        /// (126320,DCM,"IAUC"), included from CID 4109
        IAUC,
        /// (126321,DCM,"IAUC60"), included from CID 4109
        IAUC60,
        /// (126322,DCM,"IAUC90"), included from CID 4109
        IAUC90,
        /// (126323,DCM,"IAUC180"), included from CID 4109
        IAUC180,
        /// (126324,DCM,"IAUCBN"), included from CID 4109
        IAUCBN,
        /// (126325,DCM,"IAUC60BN"), included from CID 4109
        IAUC60BN,
        /// (126326,DCM,"IAUC90BN"), included from CID 4109
        IAUC90BN,
        /// (126327,DCM,"IAUC180BN"), included from CID 4109
        IAUC180BN,
        /// (126370,DCM,"Time of Peak Concentration"), included from CID 4109
        TimeOfPeakConcentration,
        /// (126372,DCM,"Time of Leading Half-Peak Concentration"), included from CID 4109
        TimeOfLeadingHalfPeakConcentration,
        /// (126371,DCM,"Bolus Arrival Time"), included from CID 4109
        BolusArrivalTime,
        /// (126374,DCM,"Temporal Derivative Threshold"), included from CID 4109
        TemporalDerivativeThreshold,
        /// (126375,DCM,"Maximum Slope"), included from CID 4109
        MaximumSlope,
        /// (126376,DCM,"Maximum Difference"), included from CID 4109
        MaximumDifference,
        /// (126377,DCM,"Tracer Concentration"), included from CID 4109
        TracerConcentration,
        /// (126400,DCM,"Standardized Uptake Value"), included from CID 7180
        StandardizedUptakeValue,
        /// (126401,DCM,"SUVbw"), included from CID 7180
        SUVbw,
        /// (126402,DCM,"SUVlbm"), included from CID 7180
        SUVlbm,
        /// (126406,DCM,"SUVlbm(James128)"), included from CID 7180
        SUVlbmJames128,
        /// (126405,DCM,"SUVlbm(Janma)"), included from CID 7180
        SUVlbmJanma,
        /// (126403,DCM,"SUVbsa"), included from CID 7180
        SUVbsa,
        /// (126404,DCM,"SUVibw"), included from CID 7180
        SUVibw,
        /// (128513,DCM,"Absorbed Dose"), included from CID 10070
        AbsorbedDose,
        /// (128512,DCM,"Equivalent Dose"), included from CID 10070
        EquivalentDose,
        /// (256674009,SCT,"Fat"), included from CID 7180
        Fat,
        /// (129100,DCM,"Fat fraction"), included from CID 7180
        FatFraction,
        /// (129101,DCM,"Water/fat in phase"), included from CID 7180
        WaterPerFatInPhase,
        /// (129102,DCM,"Water/fat out of phase"), included from CID 7180
        WaterPerFatOutOfPhase,
        /// (113054,DCM,"Negative enhancement integral"), included from CID 7180
        NegativeEnhancementIntegral,
        /// (113059,DCM,"Signal change"), included from CID 7180
        SignalChange,
        /// (113060,DCM,"Signal to noise"), included from CID 7180
        SignalToNoise,
        /// (113066,DCM,"Time course of signal"), included from CID 7180
        TimeCourseOfSignal,
        /// (11713004,SCT,"Water"), included from CID 7180
        Water,
        /// (129103,DCM,"Water fraction"), included from CID 7180
        WaterFraction,
        /// (130086,DCM,"Relative Linear Stopping Power"), included from CID 7180
        RelativeLinearStoppingPower,
        /// (130402,DCM,"Class activation"), included from CID 217
        ClassActivation,
        /// (130403,DCM,"Gradient-weighted class activation"), included from CID 217
        GradientWeightedClassActivation,
        /// (130404,DCM,"Saliency"), included from CID 217
        Saliency,
        /// (410668003,SCT,"Length"), included from CID 7470
        Length,
        /// (121211,DCM,"Path length"), included from CID 7470
        PathLength,
        /// (121206,DCM,"Distance"), included from CID 7470
        Distance,
        /// (103355008,SCT,"Width"), included from CID 7470
        Width,
        /// (131197000,SCT,"Depth"), included from CID 7470
        Depth,
        /// (81827009,SCT,"Diameter"), included from CID 7470
        Diameter,
        /// (103339001,SCT,"Long Axis"), included from CID 7470
        LongAxis,
        /// (103340004,SCT,"Short Axis"), included from CID 7470
        ShortAxis,
        /// (131187009,SCT,"Major Axis"), included from CID 7470
        MajorAxis,
        /// (131188004,SCT,"Minor Axis"), included from CID 7470
        MinorAxis,
        /// (131189007,SCT,"Perpendicular Axis"), included from CID 7470
        PerpendicularAxis,
        /// (131190003,SCT,"Radius"), included from CID 7470
        Radius,
        /// (131191004,SCT,"Perimeter"), included from CID 7470
        Perimeter,
        /// (74551000,SCT,"Circumference"), included from CID 7470
        Circumference,
        /// (131192006,SCT,"Diameter of circumscribed circle"), included from CID 7470
        DiameterOfCircumscribedCircle,
        /// (121207,DCM,"Height"), included from CID 7470
        Height,
        /// (121227,DCM,"Line segment length"), included from CID 7470
        LineSegmentLength,
        /// (L0JK,IBSI,"Maximum 3D Diameter of a Mesh"), included from CID 7470
        Maximum3DDiameterOfAMesh,
        /// (TDIC,IBSI,"Major Axis in 3D Length"), included from CID 7470
        MajorAxisIn3DLength,
        /// (P9VJ,IBSI,"Minor Axis in 3D Length"), included from CID 7470
        MinorAxisIn3DLength,
        /// (7J51,IBSI,"Least Axis in 3D Length"), included from CID 7470
        LeastAxisIn3DLength,
        /// (42798000,SCT,"Area"), included from CID 7471
        Area,
        /// (131184002,SCT,"Area of defined region"), included from CID 7471
        AreaOfDefinedRegion,
        /// (C0JK,IBSI,"Surface Area of Mesh"), included from CID 7471
        SurfaceAreaOfMesh,
        /// (118565006,SCT,"Volume"), included from CID 7472
        Volume,
        /// (121216,DCM,"Volume estimated from single 2D region"), included from CID 7472
        VolumeEstimatedFromSingle2DRegion,
        /// (121218,DCM,"Volume estimated from two non-coplanar 2D regions"), included from CID 7472
        VolumeEstimatedFromTwoNonCoplanar2DRegions,
        /// (121217,DCM,"Volume estimated from three or more non-coplanar 2D regions"), included from CID 7472
        VolumeEstimatedFromThreeOrMoreNonCoplanar2DRegions,
        /// (121222,DCM,"Volume of sphere"), included from CID 7472
        VolumeOfSphere,
        /// (121221,DCM,"Volume of ellipsoid"), included from CID 7472
        VolumeOfEllipsoid,
        /// (121220,DCM,"Volume of circumscribed sphere"), included from CID 7472
        VolumeOfCircumscribedSphere,
        /// (121219,DCM,"Volume of bounding three dimensional region"), included from CID 7472
        VolumeOfBoundingThreeDimensionalRegion,
        /// (RNU0,IBSI,"Volume of Mesh"), included from CID 7472
        VolumeOfMesh,
        /// (YEKZ,IBSI,"Volume from Voxel Summation"), included from CID 7472
        VolumeFromVoxelSummation,
        /// (2PR5,IBSI,"Surface to Volume Ratio"), included from CID 7477
        SurfaceToVolumeRatio,
        /// (SKGS,IBSI,"Compactness 1"), included from CID 7477
        Compactness1,
        /// (BQWJ,IBSI,"Compactness 2"), included from CID 7477
        Compactness2,
        /// (KRCK,IBSI,"Spherical Disproportion"), included from CID 7477
        SphericalDisproportion,
        /// (QCFX,IBSI,"Sphericity"), included from CID 7477
        Sphericity,
        /// (25C7,IBSI,"Asphericity"), included from CID 7477
        Asphericity,
        /// (KLMA,IBSI,"Centre of Mass Shift"), included from CID 7477
        CentreOfMassShift,
        /// (Q3CK,IBSI,"Elongation"), included from CID 7477
        Elongation,
        /// (N17B,IBSI,"Flatness"), included from CID 7477
        Flatness,
        /// (PBX1,IBSI,"Volume Density in Frame of Reference Axis Aligned Bounding Box"), included from CID 7477
        VolumeDensityInFrameOfReferenceAxisAlignedBoundingBox,
        /// (R59B,IBSI,"Area Density in Frame of Reference Axis Aligned Bounding Box"), included from CID 7477
        AreaDensityInFrameOfReferenceAxisAlignedBoundingBox,
        /// (ZH1A,IBSI,"Volume Density in Oriented Minimum Bounding Box"), included from CID 7477
        VolumeDensityInOrientedMinimumBoundingBox,
        /// (IQYR,IBSI,"Area Density in Oriented Minimum Bounding Box"), included from CID 7477
        AreaDensityInOrientedMinimumBoundingBox,
        /// (6BDE,IBSI,"Volume Density in Approximate Enclosing Ellipsoid"), included from CID 7477
        VolumeDensityInApproximateEnclosingEllipsoid,
        /// (RDD2,IBSI,"Area Density in Approximate Enclosing Ellipsoid"), included from CID 7477
        AreaDensityInApproximateEnclosingEllipsoid,
        /// (SWZ1,IBSI,"Volume Density in Minimum Volume Enclosing Ellipsoid"), included from CID 7477
        VolumeDensityInMinimumVolumeEnclosingEllipsoid,
        /// (BRI8,IBSI,"Area Density in Minimum Volume Enclosing Ellipsoid"), included from CID 7477
        AreaDensityInMinimumVolumeEnclosingEllipsoid,
        /// (R3ER,IBSI,"Volume Density in Convex Hull"), included from CID 7477
        VolumeDensityInConvexHull,
        /// (7T7F,IBSI,"Area Density in Convex Hull"), included from CID 7477
        AreaDensityInConvexHull,
        /// (99N0,IBSI,"Integrated Intensity"), included from CID 7477
        IntegratedIntensity,
        /// (N365,IBSI,"Moran's I Index"), included from CID 7477
        MoransIIndex,
        /// (NPT7,IBSI,"Geary's C Measure"), included from CID 7477
        GearysCMeasure,
        /// (285285000,SCT,"Cobb angle"), included from CID 7550
        CobbAngle,
        /// (121224,DCM,"Acetabular angle"), included from CID 7550
        AcetabularAngle
    };

    /** (default) constructor
     ** @param  selectedValue  coded entry to be selected as the current value (optional).
     *                         Should be a valid code according to the DICOM definitions
     *                         for this context group, i.e. no checks are performed.
     *                         Call DSRContextGroup::checkSelectedValue() if needed.
     */
    CID218_QuantitativeImageFeature(const DSRCodedEntryValue &selectedValue = DSRCodedEntryValue());

    /** constructor
     ** @param  selectedValue         type mapped to a coded entry that is selected as the
     *                                current value
     ** @param  enhancedEncodingMode  set enhanced encoding mode for coded entry (if enabled)
     */
    CID218_QuantitativeImageFeature(const EnumType selectedValue,
                                    const OFBool enhancedEncodingMode = OFFalse);

    /** select a coded entry given by its type as the current value
     ** @param  selectedValue         type mapped to a coded entry that is selected as the
     *                                current value
     *  @param  enhancedEncodingMode  set enhanced encoding mode for coded entry (if enabled)
     ** @return status, EC_Normal if successful, an error code otherwise
     */
    virtual OFCondition selectValue(const EnumType selectedValue,
                                    const OFBool enhancedEncodingMode = OFFalse);

  // --- static helper functions ---

    /** initialize this context group explicitly.  Internally, the list of standard coded
     *  entries is created and initialized by calling getCodes().
     ** @note This function can be called multiple times but in case of multi-threaded
     *        applications should be called at least once before any instance of this class
     *        is actually used.  For single-threaded applications, there is no need to call
     *        it since the initialization is done implicitly.
     */
    static void initialize();

    /** cleanup this context group, i.e.\ delete the internal list of standard coded entries.
     *  Usually, there is no need to call this method, but it might be useful in order to
     *  explicitly free the associated memory, e.g. when checking for memory leaks.  The list
     *  will be recreated automatically when needed (or when initialize() is called).
     */
    static void cleanup();

    /** map a given type to the associated coded entry
     ** @param  value                 type that should be mapped to a coded entry
     *  @param  enhancedEncodingMode  set enhanced encoding mode for coded entry (if enabled)
     ** @return coded entry that is associated with the given type
     */
    static DSRCodedEntryValue getCodedEntry(const EnumType value,
                                            const OFBool enhancedEncodingMode = OFFalse);

  // --- reintroduce methods from base class

     using DSRContextGroup::selectValue;
     using DSRContextGroup::findCodedEntry;


  protected:

    /// type used for storing and managing the coded entries
    typedef OFMap<EnumType, DSRBasicCodedEntry> CodeList;

    /** print details on coded entries that are contained in this context group.
     *  See DSRCodedEntryValue::print() for details of the coded entry output.
     ** @param  stream  stream to which the output should be printed
     */
    virtual void printCodes(STD_NAMESPACE ostream &stream) const;

    /** search for a given coded entry in this context group
     ** @param  searchForCodedEntry   coded entry to be searched for
     *  @param  foundCodedEntry       pointer to variable that will store the coded entry
     *                                (if found and pointer is not NULL)
     *  @param  enhancedEncodingMode  set enhanced encoding mode for coded entry (if enabled)
     ** @return result of the search process, also defines the type of the entry
     */
    virtual OFCondition findCodedEntry(const DSRCodedEntryValue &searchForCodedEntry,
                                       DSRCodedEntryValue *foundCodedEntry,
                                       const OFBool enhancedEncodingMode = OFFalse) const;

  // --- static helper function ---

    /** get list of standard coded entries that are managed by this context group.
     *  Internally, the singleton pattern is used, so the list is initialized only once.
     *  Please note that this function is not thread-safe.  Therefore, the initialize()
     *  function can be called before any instance of this class is actually used.
     ** @return reference to list of coded entries managed by this context group
     */
    static CodeList &getCodes();

    /** set the "Enhanced Encoding Mode" for a given coded entry
     ** @param  codedEntryValue  coded entry for which the enhanced encoding mode is set
     ** @return status, EC_Normal if successful, an error code otherwise
     */
    static OFCondition setEnhancedEncodingMode(DSRCodedEntryValue &codedEntryValue);


  private:

    /// pointer to internal code list (use a static variable for singleton pattern)
    static CodeList *Codes;
};


/*-------------------*
 *  type definition  *
 *-------------------*/

// define short name for the context group class
typedef CID218_QuantitativeImageFeature CMR_CID218;


#endif
