edits.seer.internal.rules.IFN6588.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="IFN6588" name="LN Status Femoral-Inguinal, Vulva/Vagina, Behavior (NAACCR)" tag="N6588" 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 (!['00500','00510','09500'].contains(line.schemaId) || line.behaviorCodeIcdO3 == null) return true if (line.lnStatusFemoralInguinal == null || line.lnStatusFemoralInguinal == '8') return true if (line.behaviorCodeIcdO3 == '2') { if (line.dateOfDiagnosisYear == '2021' || line.dateOfDiagnosisYear == '2022') return ['0','9'].contains(line.lnStatusFemoralInguinal) else if (line.dateOfDiagnosisYear >= '2023') return line.lnStatusFemoralInguinal == '0' } return true]]></expression> <message>LN Status Femoral-Inguinal conflicts with Behavior Code ICD-O-3</message> <description><![CDATA[This edit verifies that the LN Status Femoral-Inguinal SSDI is coded consistently with Behavior Code ICD-O-3, code 2, for Schema ID 00500, 09500, Vulva, and 00510, Vagina. 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 00500 or 00510 or 09500 c. LN Status Femoral-Inguinal 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 Femoral-Inguinal is required by SEER only on 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 Femoral-Inguinal 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 Femoral-Inguinal must = 0 (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="cooki" date="2023-03-07" ref="69181">Added DX year criteria to checks on LN Status Femoral Inguinal.</event> <event version="SE24-024-01" user="beverung" date="2024-03-04" ref="69403">Added Schema ID 09500 to skip condition</event> </history> </rule>