edits.seer.internal.rules.IFN6608.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of validation-edits-seer Show documentation
Show all versions of validation-edits-seer Show documentation
Java implemenation of the SEER edits.
The newest version!
<rule id="IFN6608" name="Lymphovascular Invasion, Behavior (NAACCR)" tag="N6608" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2022' || line.behaviorCodeIcdO3 == null) return true if (line.lymphVascularInvasion == null || line.typeOfReportingSource == '7') return true if (line.behaviorCodeIcdO3 == '0' && Functions.matches(line.primarySite, /^C25\d$/)) return true if (Functions.matches(line.behaviorCodeIcdO3, /^[012]$/)) return !Functions.matches(line.lymphVascularInvasion, /^[1-49]$/) return true]]></expression> <message>Lymphovascular Invasion conflicts with Behavior Code ICD-O-3</message> <description><![CDATA[This edit confirms that Lymphovascular Invasion is coded consistently with Behavior Code ICD-O-3. 1. This edit is skipped for the following conditions: a. Diagnosis date is blank (unknown), invalid, or before 2022. b. Behavior Code ICD-O-3 is blank c. Lymphovascular Invasion is blank d. Type of Reporting Source = 7 (Death Certificate Only) e. Behavior code = 0, Primary Site C250-C259 2. If Behavior Code ICD-O-3 = 0, 1, or 2, then Lymphovascular Invasion must not = 1-4 (lymphovascular invasion present/identified) or 9 (unknown)]]></description> <history> <event version="SE22-022-01" user="beverung" date="2022-03-04" ref="68896">Edit Created</event> <event version="SE24-024-06" user="shearerw" date="2024-06-21" ref="69497">Add skip condition for behavior 0 and primary site pancreas.</event> </history> </rule>