edits.seer.internal.rules.IFN3060.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="IFN3060" name="Separate Tumor Nodules, Lung, Behavior (NAACCR)" tag="N3060" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018' || line.schemaId != '00360') return true if (line.separateTumorNodules == null || line.separateTumorNodules == '8' || line.behaviorCodeIcdO3 == null || Functions.matches(line.behaviorCodeIcdO3, /^([013])$/)) return true if (line.dateOfDiagnosisYear < '2023') return line.separateTumorNodules == '0' || line.separateTumorNodules == '9' return line.separateTumorNodules == '0']]></expression> <message>Behavior ICD-O-3 conflicts with Separate Tumor Nodules.</message> <description><![CDATA[This edit verifies that Separate Tumor Nodules SSDI for lung is coded consistently with Behavior Code ICD-O-3. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2018, blank (unknown), or invalid. b. Schema ID is not 00360 c. Separate Tumor Nodules is blank or 8 (not applicable) d. Behavior Code ICD-O-3 is 0, 1, 3, or blank 2. For Diagnosis years 2018-2022 Separate Tumor Nodules must = "0" (multiple foci of adenocarcinoma in situ), or "9" (Primary tumor is in situ) when Behavior Code ICD-O-3 is 2. 3. For Diagnosis years 2023+ Separate Tumor Nodules must be 0 (non-invasive neoplasm behavior /2) when Behavior Code ICD-O-3 is 2.]]></description> <history> <event version="SE18-018-02" user="kirbyk" date="2018-05-29" ref="67792">Edit created.</event> <event version="SE18-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event> <event version="SE18-020-05" user="kirbyk" date="2020-08-03" ref="68462">Changed edit name.</event> <event version="SE23-023-01" user="secristc" date="2023-02-21" ref="69170">Only allow code 9 for DX year < 2023.</event> </history> </rule>