edits.seer.internal.rules.IFN6288.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="IFN6288" name="LN Size, Head/Neck, Behavior (NAACCR)" tag="N6288" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear < '2021' || line.dateOfDiagnosisYear == null || line.lnSize == null || line.lnSize == 'XX.8' || line.behaviorCodeIcdO3 == null || line.typeOfReportingSource == null || line.schemaId == null || !Functions.matches(line.schemaId, /^(000(60|7[1234567]|80|90))|(001(00|1[12]|2[12]|3[0123]|40|50))$/)) return true if (line.behaviorCodeIcdO3 == '2') return line.lnSize == '0.0' || (line.lnSize == 'XX.9' && line.dateOfDiagnosisYear < '2023') return true]]></expression> <message>LN Size conflicts with Behavior Code ICD-O-3</message> <description><![CDATA[This edit verifies that LN Size SSDI is coded consistently with Behavior Code ICD-O-3 /2, in situ, for head and neck Schema IDs. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2021, blank (unknown), or invalid. b. Schema ID is blank or not in the following list: 00060 00071 00072 00073 00074 00075 00076 00077 00080 00090 00100 00111 00112 00121 00122 00130 00131 00132 00133 00140 00150 c. LN Size is blank or XX.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) and year of diagnosis = 2021-2022 LN Size must = 0.0 (no nodes involved) or XX.9 (unknown if nodes involved) 3. If Behavior Code ICD-O-3 = 2 (in situ) and year of diagnosis = 2023+ LN Size must = 0.0 (non-invasive neoplasm behavior)]]></description> <history> <event version="SE21-021-04" user="smithm" date="2021-03-16" ref="68630">Edit created.</event> <event version="SE23-023-01" user="shearerw" date="2023-02-22" ref="69175">Stop allowing XX.9 for LN size for 2023 forward.</event> </history> </rule>