Skip to content

A keyword-based screening library for pathology report text

License

Notifications You must be signed in to change notification settings

imsweb/reportability-screener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reportability-screener

Quality Gate Status Integration Maven Central

A library for screening pathology reports for cancer incidence.

The library is based on a list of POSITIVE, NEGATIVE and OTHER keyword groups. The list can either be supplied to the library or the internal list of keywords can be used.

Download

Java 8 is the minimum version required to use the library.

Maven

<dependency>
    <groupId>com.imsweb</groupId>
    <artifactId>reportability-screener</artifactId>
    <version>x.x.x</version>
</dependency>

Gradle

compile 'com.imsweb:reportability-screener:x.x.x'

Usage

First, create an instance of ReportabilityScreener. To use the default set of keywords:

ReportabilityScreener screener = new ReportabilityScreenerBuilder().defaultKeywords().build();

To instantiate with custom keywords.

ReportabilityScreenerBuilder builder = new ReportabilityScreenerBuilder();
builder.add("positive keyword", Group.POSITIVE);
builder.add("negative keyword", Group.NEGATIVE);
builder.add("other keyword", Group.OTHER);
ReportabilityScreener screener = builder.build();

To screen text and get information about reportability and the keywords used:

ScreeningResult result = screener.screen("text to screen");

The ScreeningResult contains the ReportabilityResult as well as the positive, negative and other keywords that were found and contributed to the reportability.

To just check reportability:

if(screener.isReportable("text to screen")){
    // process reportable report
}

About SEER

The Surveillance, Epidemiology and End Results (SEER) Program is a premier source for cancer statistics in the United States. The SEER Program collects information on incidence, prevalence and survival from specific geographic areas representing 28 percent of the US population and reports on all these data plus cancer mortality data for the entire country.