edits.seer.internal.rules.IFN6275.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="IFN6275" name="Lymphovascular Invasion, Penis, Derived SS 2018 (SEER)" tag="N6275" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.schemaId != '00570' || line.lymphVascularInvasion == null || line.lymphVascularInvasion == '8' || line.derivedSummaryStage2018 == null || line.typeOfReportingSource == '7') return true if (Functions.matches(line.lymphVascularInvasion, /^[1-4]$/)) return line.derivedSummaryStage2018 != '0' return true]]></expression> <message>Lymphovascular Invasion/Derived Summary Stage 2018 conflict for Penis</message> <description><![CDATA[Purpose: This edit verifies that Lymphovascular Invasion, with positive invasion, is coded consistently with Derived Summary Stage 2018 for Penis. 1. This edit is skipped if any of the following conditions is true: a. Year of Date of Diagnosis is less than 2021, blank (unknown), or invalid b. Schema ID is not 00570 c. Lymphovascular Invasion is blank or 8 (not applicable) d. Derived Summary Stage 2018 is blank e. Type of Reporting Source = 7 (Death Certificate Only) 2. If Lymphovascular Invasion = 1-4 (invasion present) then Derived Summary Stage 2018 must not = 0 (in situ)]]></description> <history> <event version="SE21-021-04" user="smithm" date="2021-04-01" ref="68632">Edit created.</event> <event version="SE22-022-08" user="secristc" date="2022-06-23" ref="69011">Updated error message.</event> </history> </rule>