public class RecordResolutionCasConsumer
extends CasConsumer_ImplBase
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CDA_PROCESSING
Specifies whether the cas should be handled as CDA (via 'plaintext' sofa view) or default (flat file)
|
static java.lang.String |
FINAL_CLASS_FILE
Optional path and file name of the output file which holds the patient level classification summary
|
private java.io.BufferedWriter |
iv_bw
The buffered writer used to write the document classification
|
private java.lang.String |
iv_delimiter |
private java.lang.String |
iv_patient_level_file |
private boolean |
iv_postPatientLvlProcess |
private java.lang.StringBuffer |
iv_sb
buffer used to compile results of a given doc
|
private boolean |
iv_useCDAProcess |
private static java.lang.String |
NEW_LINE
System new line character
|
static java.lang.String |
PARAM_DELIMITER
The name of the parameter that is specifies the delimiter for the output
file.
|
static java.lang.String |
PARAM_OUTPUT_FILE
The name of the parameter that is specifies the path of the output file.
|
static java.lang.String |
PATIENT_LEVEL_PROCESSING
Specifies whether post process should be run which provides the patient level classification
|
private PatientLevelSmokingStatus |
patientSmokingStatus |
Constructor and Description |
---|
RecordResolutionCasConsumer() |
Modifier and Type | Method and Description |
---|---|
void |
collectionProcessComplete(ProcessTrace arg0) |
void |
initialize() |
void |
processCas(CAS cas) |
public static final java.lang.String PARAM_OUTPUT_FILE
public static final java.lang.String PARAM_DELIMITER
public static final java.lang.String CDA_PROCESSING
public static final java.lang.String PATIENT_LEVEL_PROCESSING
public static final java.lang.String FINAL_CLASS_FILE
private java.io.BufferedWriter iv_bw
private java.lang.StringBuffer iv_sb
private java.lang.String iv_patient_level_file
private java.lang.String iv_delimiter
private static java.lang.String NEW_LINE
private boolean iv_postPatientLvlProcess
private boolean iv_useCDAProcess
private PatientLevelSmokingStatus patientSmokingStatus
public void initialize() throws ResourceInitializationException
ResourceInitializationException
public void processCas(CAS cas) throws ResourceProcessException
ResourceProcessException
public void collectionProcessComplete(ProcessTrace arg0) throws ResourceProcessException, java.io.IOException
ResourceProcessException
java.io.IOException