/**
  * Add a period cohort indicator to the report definition with no dimension options
  *
  * @param CohortIndicator
  */
 public void addIndicator(
     String key,
     String displayName,
     CohortIndicator indicator,
     Map<String, String> dimensionOptions) {
   Mapped<CohortIndicator> m =
       new Mapped<CohortIndicator>(indicator, IndicatorUtil.getDefaultParameterMappings());
   getIndicatorDataSetDefinition().addColumn(key, displayName, m, dimensionOptions);
 }
  /** Ensure this report has a data set definition */
  public void setupDataSetDefinition() {
    if (this.getIndicatorDataSetDefinition() == null) {

      // Create new dataset definition
      CohortIndicatorDataSetDefinition dataSetDefinition = new CohortIndicatorDataSetDefinition();
      dataSetDefinition.setName(getName() + " Data Set");
      dataSetDefinition.addParameter(ReportingConstants.START_DATE_PARAMETER);
      dataSetDefinition.addParameter(ReportingConstants.END_DATE_PARAMETER);
      dataSetDefinition.addParameter(ReportingConstants.LOCATION_PARAMETER);

      // Add dataset definition to report definition
      addDataSetDefinition(
          DEFAULT_DATASET_KEY, dataSetDefinition, IndicatorUtil.getDefaultParameterMappings());
    }
  }
 /**
  * Add dimensions to a period indicator report definition. This also adds the default parameters
  * to the dimension.
  *
  * @param dimensionKey
  * @param dimension
  */
 public void addDimension(String dimensionKey, CohortDefinitionDimension dimension) {
   dimension.addParameters(IndicatorUtil.getDefaultParameters());
   addDimension(dimensionKey, dimension, IndicatorUtil.getDefaultParameterMappings());
 }