<commit_before>package org.opencds.cqf.ruler.cr;

import org.opencds.cqf.cql.evaluator.measure.MeasureEvaluationOptions;
import org.opencds.cqf.ruler.builder.ResourceBuilder;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "hapi.fhir.cr")
public class CrProperties {
	private boolean enabled = true;
	private boolean threaded_care_gaps_enabled = true;
	private MeasureReportConfiguration measure_report;

	private MeasureEvaluationOptions measure_evaluation = MeasureEvaluationOptions.defaultOptions();

	public boolean getEnabled() {
		return enabled;
	}

	public void setEnabled(boolean enabled) {
		this.enabled = enabled;
	}

	public boolean getThreadedCareGapsEnabled() {
		return threaded_care_gaps_enabled;
	}

	public void setThreadedCareGapsEnabled(boolean enabled) {
		this.threaded_care_gaps_enabled = enabled;
	}

	public MeasureReportConfiguration getMeasureReport() {
		return this.measure_report;
	}

	public void setMeasureReport(MeasureReportConfiguration measureReport) {
		this.measure_report = measureReport;
	}

	public MeasureEvaluationOptions getMeasureEvaluation() {
		return this.measure_evaluation;
	}

	public void setMeasureEvaluation(MeasureEvaluationOptions measureEvaluation) {
		this.measure_evaluation = measureEvaluation;
	}

	public static class MeasureReportConfiguration {
		/**
		 * Implements the reporter element of the <a href=
		 * "https://www.hl7.org/fhir/measurereport.html">MeasureReport</a> FHIR
		 * Resource.
		 * This is required by the <a href=
		 * "http://hl7.org/fhir/us/davinci-deqm/StructureDefinition/indv-measurereport-deqm">DEQMIndividualMeasureReportProfile</a>
		 * profile found in the
		 * <a href="http://build.fhir.org/ig/HL7/davinci-deqm/index.html">Da Vinci DEQM
		 * FHIR Implementation Guide</a>.
		 **/
		private String care_gaps_reporter;

		public String getReporter() {
			return care_gaps_reporter;
		}

		public void setCareGapsReporter(String careGapsReporter) {
			this.care_gaps_reporter = ResourceBuilder.ensureOrganizationReference(careGapsReporter);
		}

		/**
		 * Implements the author element of the <a href=
		 * "http://www.hl7.org/fhir/composition.html">Composition</a> FHIR
		 * Resource.
		 * This is required by the <a href=
		 * "http://build.fhir.org/ig/HL7/davinci-deqm/StructureDefinition-gaps-composition-deqm.html">DEQMGapsInCareCompositionProfile</a>
		 * profile found in the
		 * <a href="http://build.fhir.org/ig/HL7/davinci-deqm/index.html">Da Vinci DEQM
		 * FHIR Implementation Guide</a>.
		 **/
		private String care_gaps_composition_section_author;

		public String getCompositionAuthor() {
			return care_gaps_composition_section_author;
		}

		public void setCareGapsCompositionSectionAuthor(String careGapsCompositionSectionAuthor) {
			this.care_gaps_composition_section_author = careGapsCompositionSectionAuthor;
		}
	}

}<commit_msg>rollback cr<commit_after>package org.opencds.cqf.ruler.cr;

import org.opencds.cqf.cql.evaluator.measure.MeasureEvaluationOptions;
import org.opencds.cqf.ruler.builder.ResourceBuilder;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "hapi.fhir.cr")
public class CrProperties {
	private boolean enabled = true;
	private boolean threaded_care_gaps_enabled = true;
	private MeasureReportConfiguration measure_report;

	private MeasureEvaluationOptions measure_evaluation = MeasureEvaluationOptions.defaultOptions();

	public boolean getEnabled() {
		return enabled;
	}

	public void setEnabled(boolean enabled) {
		this.enabled = enabled;
	}

	public boolean getThreadedCareGapsEnabled() {
		return threaded_care_gaps_enabled;
	}

	public void setThreadedCareGapsEnabled(boolean enabled) {
		this.threaded_care_gaps_enabled = enabled;
	}

	public MeasureReportConfiguration getMeasureReport() {
		return this.measure_report;
	}

	public void setMeasureReport(MeasureReportConfiguration measureReport) {
		this.measure_report = measureReport;
	}

	public MeasureEvaluationOptions getMeasureEvaluation() {
		return this.measure_evaluation;
	}

	public void setMeasureEvaluation(MeasureEvaluationOptions measureEvaluation) {
		this.measure_evaluation = measureEvaluation;
	}

	public static class MeasureReportConfiguration {
		/**
		 * Implements the reporter element of the <a href=
		 * "https://www.hl7.org/fhir/measurereport.html">MeasureReport</a> FHIR
		 * Resource.
		 * This is required by the <a href=
		 * "http://hl7.org/fhir/us/davinci-deqm/StructureDefinition/indv-measurereport-deqm">DEQMIndividualMeasureReportProfile</a>
		 * profile found in the
		 * <a href="http://build.fhir.org/ig/HL7/davinci-deqm/index.html">Da Vinci DEQM
		 * FHIR Implementation Guide</a>.
		 **/
		private String care_gaps_reporter;

		public String getReporter() {
			return care_gaps_reporter;
		}

		public void setCareGapsReporter(String careGapsReporter) {
			this.care_gaps_reporter = ResourceBuilder.ensureOrganizationReference(careGapsReporter);
		}

		/**
		 * Implements the author element of the <a href=
		 * "http://www.hl7.org/fhir/composition.html">Composition</a> FHIR
		 * Resource.
		 * This is required by the <a href=
		 * "http://build.fhir.org/ig/HL7/davinci-deqm/StructureDefinition-gaps-composition-deqm.html">DEQMGapsInCareCompositionProfile</a>
		 * profile found in the
		 * <a href="http://build.fhir.org/ig/HL7/davinci-deqm/index.html">Da Vinci DEQM
		 * FHIR Implementation Guide</a>.
		 **/
		private String care_gaps_composition_section_author;

		public String getCompositionAuthor() {
			return care_gaps_composition_section_author;
		}

		public void setCareGapsCompositionSectionAuthor(String careGapsCompositionSectionAuthor) {
			this.care_gaps_composition_section_author = careGapsCompositionSectionAuthor;
		}
	}
}
{'fraction_non_alphanumeric': 0.09361555670280503, 'fraction_numerical': 0.002065049044914817, 'mean_word_length': 5.163308589607635, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3020220', 'n_tokens_mistral': 2000, 'n_tokens_neox': 1758, 'n_words': 329}