-
Notifications
You must be signed in to change notification settings - Fork 22
AbstractPatientConsumer
@PipeBitInfo( name = "AbstractPatientConsumer", description = "Abstract Engine to take action on a patient level instead of document level.", role = PipeBitInfo.Role.ANNOTATOR )
Extend this annotator to consume a patient cas once the current patient name has changed. For instance, when processing patientA doc1, patientA doc2, patientA doc3 this annotator does nothing. After the processing of patientB doc1 this annotator will process a cas containing all documents for patientA. At the end of the pipeline, the last unprocessed patient will be processed.
- Author: SPF , chip-nlp
- Version: %I%
-
Since: 9/27/2017
{@inheritDoc}
@Override public void initialize( final UimaContext context ) throws ResourceInitializationException
{@inheritDoc}
{@inheritDoc}
{@inheritDoc}
abstract protected void processPatientCas( final JCas patientJcas ) throws AnalysisEngineProcessException
-
Parameters:
-
patientJcasJCas containing multiple views for a single patient.
-
-
Exceptions:
-
AnalysisEngineProcessExceptionif there is some problem.
-
- Java API
- Running a Pipeline
- Working with Data
- Utilities
- Text Searching
patient
AbstractPatientConsumer
AbstractPatientFileWriter
PatientNoteCollector
PatientNoteStore
PatientViewUtil
pipeline
PipeBitLocator
PipelineBuilder
PiperFileReader
PiperFileRunner
resource
FileLocator
util
CalendarUtil
MutableUimaContext
NumberedSuffixComparator
Pair
RelationArgumentUtil
StringUtil
annotation
ConceptBuilder
EssentialAnnotationUtil
IdentifiedAnnotationBuilder
IdentifiedAnnotationUtil
OntologyConceptUtil
SemanticGroup
SemanticTui
doc
DocIdUtil
JCasBuilder
TextBySectionBuilder
TextBySentenceBuilder
log
DotLogger
FinishedLogger
regex
RegexSpanFinder
TimeoutMatcher
textspan
DefaultAspanComparator
DefaultTextSpanComparator
DefaultTextSpan
TextSpan
