edits.seer.internal.rules.IFN6456.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="IFN6456" name="LN Status Para-Aortic, Vagina/Cervix, Behavior (NAACCR)" tag="N6456" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.typeOfReportingSource == '7') return true if (!['00510','09520'].contains(line.schemaId) || line.behaviorCodeIcdO3 == null) return true if (line.lnStatusParaAortic == null || line.lnStatusParaAortic == '8') return true return line.behaviorCodeIcdO3 != '2' || line.lnStatusParaAortic == '0' || (line.lnStatusParaAortic == '9' && line.dateOfDiagnosisYear < '2023')]]></expression> <message>LN Status Para-Aortic conflicts with Behavior Code ICD-O-3</message> <description><![CDATA[This edit verifies that the LN Status Para-Aortic SSDI is coded consistently with Behavior Code ICD-O-3, code 2, for Schema ID 00510 Vagina, and 09520, Cervix. 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 00510 or 09520 c. LN Status Para-Aortic is blank or = 8 (not applicable) d. Behavior Code ICD-O-3 ICD is blank e. Type of Reporting Source is 7 (Death Certificate Only) LN Status Para-Aortic is required by SEER only for analytic cases from CoC-accredited facility. 2. If Behavior Code ICD-O-3 = 2 (in situ) and year of diagnosis 2021-2022 then LN Status Para-Aortic must = 0 or 9 (no lymph node involvement or not documented in medical record) 3. If Behavior Code ICD-O-3 = 2 (in situ) and year of diagnosis 2023+ then LN Status Para-Aortic must = 0 (defined as non-invasive neoplasm behavior)]]></description> <history> <event version="SE22-022-05" user="secristc" date="2022-05-04" ref="68938">Edit created.</event> <event version="SE23-023-01" user="shearerw" date="2023-02-22" ref="69179">Stop allowing 9 for LN Status Para-Aortic for 2023 forward.</event> </history> </rule>