edits.seer.internal.rules.IFN6742.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.
<rule id="IFN6742" name="Perineural Invasion, Behavior (NAACCR)" tag="N6742" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear < '2023' || line.dateOfDiagnosisYear == null || !['00150','00200','00640','00690'].contains(line.schemaId) || line.schemaId == null || line.perineuralInvasion == null || line.perineuralInvasion == '8' || line.behaviorCodeIcdO3 == null || line.typeOfReportingSource == '7') return true if (line.behaviorCodeIcdO3 == '2') return line.perineuralInvasion == '0' return true]]></expression> <message>Conflict between Behavior Code ICD-O-3 and Perineural Invasion</message> <description><![CDATA[This edit verifies that the Perineural Invasion SSDI is coded consistently with Behavior Code ICD-O-3 /2 for in situ, for cutaneous carcinoma of skin, colon, skin of eyelid, and lacrimal gland. 1. This edit is skipped for the following conditions: a. Date of Diagnosis is pre-2023, blank (unknown), or invalid. b. Schema ID is blank or not 00150, 00200, 00640, 00690. c. Perineural Invasion is blank or 8 (not applicable) d. Behavior Code ICD-O-3 is blank e. Type of Reporting Source = 7 (Death Certificate Only) 2. If Behavior Code ICD-O-3 = 2 (in situ) then Perineural Invasion must = 0 (Non-invasive neoplasm (behavior /2)]]></description> <history> <event version="SE23-023-05" user="cooki" date="2023-06-15" ref="69239">Edit created.</event> </history> </rule>