public class ConsumeNamedEntityRecordModel
extends CasConsumer_ImplBase
Modifier and Type | Field and Description |
---|---|
protected java.util.ArrayList |
al |
private java.lang.String |
clinicNumber |
private java.lang.String |
docLinkId |
private java.lang.String |
docRevision |
private java.lang.String |
drugHeaders |
private java.lang.String |
fileForIO |
private boolean |
gotDup |
private boolean |
gotValidDate |
private int |
iv_annotVer |
private java.lang.String |
iv_annotVerPropKey |
private java.lang.String |
iv_fileForInput |
private java.util.Set<java.lang.String> |
iv_medicalSections |
(package private) java.io.File |
iv_outputDirectory |
private java.lang.Boolean |
iv_useCurrentMedsSectionOnly |
(package private) int |
keepTrackOfDupBegin |
(package private) int |
keepTrackOfDupEnd |
(package private) int |
milliDay |
(package private) int |
milliWeek |
static java.lang.String |
PARAM_OUTPUTDIR |
private java.lang.String |
pathToDrugInclusions |
private java.lang.String |
vClinicalNumber |
private java.lang.String |
vNoteDate |
private java.lang.String |
vRevDate |
Constructor and Description |
---|
ConsumeNamedEntityRecordModel() |
Modifier and Type | Method and Description |
---|---|
private void |
assignNamedEntityFeats(CAS cas)
Assigns typeID and segmentID values to Drug NamedEntities
|
void |
initialize() |
static java.util.List |
load(java.lang.String filename)
Loads text from a file.
|
protected int |
parseIntValue(java.lang.Object strength) |
protected java.lang.String |
parseStengthValue(java.lang.Object strength) |
void |
processCas(CAS cas) |
void |
store(java.lang.String filename,
java.lang.String lineToStore)
Loads text from a file.
|
private void |
storeAnnotationVersion(JCas jcas)
Stores annotation version as a property JCas object.
|
private java.lang.String iv_annotVerPropKey
protected java.util.ArrayList al
java.io.File iv_outputDirectory
int keepTrackOfDupBegin
int keepTrackOfDupEnd
int milliWeek
int milliDay
private int iv_annotVer
private boolean gotValidDate
private boolean gotDup
private java.lang.String vRevDate
private java.lang.String vNoteDate
private java.lang.String vClinicalNumber
private java.lang.String clinicNumber
private java.lang.String docLinkId
private java.lang.String docRevision
private java.lang.String iv_fileForInput
private java.lang.String pathToDrugInclusions
private java.util.Set<java.lang.String> iv_medicalSections
private java.lang.String drugHeaders
private java.lang.Boolean iv_useCurrentMedsSectionOnly
public static final java.lang.String PARAM_OUTPUTDIR
private java.lang.String fileForIO
public void initialize() throws ResourceInitializationException
ResourceInitializationException
private void storeAnnotationVersion(JCas jcas)
jcas
- public void processCas(CAS cas) throws ResourceProcessException
ResourceProcessException
private void assignNamedEntityFeats(CAS cas) throws ResourceProcessException
ResourceProcessException
public static java.util.List load(java.lang.String filename) throws java.io.FileNotFoundException, java.io.IOException
filename
- java.io.FileNotFoundException
java.io.IOException
public void store(java.lang.String filename, java.lang.String lineToStore) throws java.io.FileNotFoundException, java.io.IOException
filename
- java.io.FileNotFoundException
java.io.IOException
protected java.lang.String parseStengthValue(java.lang.Object strength)
protected int parseIntValue(java.lang.Object strength)