

package gov.va.med.cds.request;


import gov.va.med.cds.exceptionframework.ExceptionInfo;

import org.dom4j.Document;


/**
 * 
 * Builds the error section and meta data of the response xml.
 * 
 */
public interface ErrorSectionHelperInterface
{
    public enum ErrorType { WARNING, ERROR, FATAL, ALL };

    
    Document buildErrorSection( Document clinicalDataDocument, ExceptionInfo exceptionInfo, String requestId );
    
    
    int getErrorCount( ErrorType errorType, Document clinicalDataDocument );
}
