package org.opencds.cqf.cql.engine.execution;

import java.util.LinkedHashMap;
import java.util.Map;

import org.opencds.cqf.cql.engine.debug.DebugResult;

public class EvaluationResult {
    public Map<String, ExpressionResult> expressionResults;

    public EvaluationResult() {
        this.expressionResults = new LinkedHashMap<>();
    }

    public ExpressionResult forExpression(String expressionName) {
        return this.expressionResults.get(expressionName);
    }

    private DebugResult debugResult;
    public DebugResult getDebugResult() {
        return debugResult;
    }
    public void setDebugResult(DebugResult debugResult) {
        this.debugResult = debugResult;
    }

}