org.apache.ctakes.smokingstatus.cc
Class RecordResolutionCasConsumer

java.lang.Object
  extended by org.apache.uima.resource.Resource_ImplBase
      extended by org.apache.uima.resource.ConfigurableResource_ImplBase
          extended by org.apache.uima.collection.CasConsumer_ImplBase
              extended by org.apache.ctakes.smokingstatus.cc.RecordResolutionCasConsumer
All Implemented Interfaces:
org.apache.uima.collection.base_cpm.CasObjectProcessor, org.apache.uima.collection.base_cpm.CasProcessor, org.apache.uima.collection.CasConsumer, org.apache.uima.resource.ConfigurableResource, org.apache.uima.resource.Resource

public class RecordResolutionCasConsumer
extends org.apache.uima.collection.CasConsumer_ImplBase


Field Summary
static String CDA_PROCESSING
          Specifies whether the cas should be handled as CDA (via 'plaintext' sofa view) or default (flat file)
static String FINAL_CLASS_FILE
          Optional path and file name of the output file which holds the patient level classification summary
static String PARAM_DELIMITER
          The name of the parameter that is specifies the delimiter for the output file.
static String PARAM_OUTPUT_FILE
          The name of the parameter that is specifies the path of the output file.
static String PATIENT_LEVEL_PROCESSING
          Specifies whether post process should be run which provides the patient level classification
 
Fields inherited from interface org.apache.uima.resource.Resource
PARAM_AGGREGATE_SOFA_MAPPINGS, PARAM_CONFIG_MANAGER, PARAM_CONFIG_PARAM_SETTINGS, PARAM_PERFORMANCE_TUNING_SETTINGS, PARAM_RESOURCE_MANAGER, PARAM_UIMA_CONTEXT
 
Constructor Summary
RecordResolutionCasConsumer()
           
 
Method Summary
 void collectionProcessComplete(org.apache.uima.util.ProcessTrace arg0)
           
 void initialize()
           
 void processCas(org.apache.uima.cas.CAS cas)
           
 
Methods inherited from class org.apache.uima.collection.CasConsumer_ImplBase
batchProcessComplete, destroy, getProcessingResourceMetaData, initialize, isReadOnly, isStateless, processCas, reconfigure, typeSystemInit
 
Methods inherited from class org.apache.uima.resource.ConfigurableResource_ImplBase
getConfigParameterValue, getConfigParameterValue, setConfigParameterValue, setConfigParameterValue
 
Methods inherited from class org.apache.uima.resource.Resource_ImplBase
getCasManager, getLogger, getMetaData, getResourceManager, getUimaContext, getUimaContextAdmin, setLogger, setMetaData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.uima.resource.ConfigurableResource
getConfigParameterValue, getConfigParameterValue, setConfigParameterValue, setConfigParameterValue
 
Methods inherited from interface org.apache.uima.resource.Resource
getLogger, getMetaData, getResourceManager, getUimaContext, getUimaContextAdmin, setLogger
 

Field Detail

PARAM_OUTPUT_FILE

public static final String PARAM_OUTPUT_FILE
The name of the parameter that is specifies the path of the output file.

See Also:
Constant Field Values

PARAM_DELIMITER

public static final String PARAM_DELIMITER
The name of the parameter that is specifies the delimiter for the output file.

See Also:
Constant Field Values

CDA_PROCESSING

public static final String CDA_PROCESSING
Specifies whether the cas should be handled as CDA (via 'plaintext' sofa view) or default (flat file)

See Also:
Constant Field Values

PATIENT_LEVEL_PROCESSING

public static final String PATIENT_LEVEL_PROCESSING
Specifies whether post process should be run which provides the patient level classification

See Also:
Constant Field Values

FINAL_CLASS_FILE

public static final String FINAL_CLASS_FILE
Optional path and file name of the output file which holds the patient level classification summary

See Also:
Constant Field Values
Constructor Detail

RecordResolutionCasConsumer

public RecordResolutionCasConsumer()
Method Detail

initialize

public void initialize()
                throws org.apache.uima.resource.ResourceInitializationException
Overrides:
initialize in class org.apache.uima.collection.CasConsumer_ImplBase
Throws:
org.apache.uima.resource.ResourceInitializationException

processCas

public void processCas(org.apache.uima.cas.CAS cas)
                throws org.apache.uima.resource.ResourceProcessException
Throws:
org.apache.uima.resource.ResourceProcessException

collectionProcessComplete

public void collectionProcessComplete(org.apache.uima.util.ProcessTrace arg0)
                               throws org.apache.uima.resource.ResourceProcessException,
                                      IOException
Specified by:
collectionProcessComplete in interface org.apache.uima.collection.base_cpm.CasProcessor
Overrides:
collectionProcessComplete in class org.apache.uima.collection.CasConsumer_ImplBase
Throws:
org.apache.uima.resource.ResourceProcessException
IOException


Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.