edits.seer.internal.rules.IF492.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="IF492" name="CS SSF 1, Behavior, Lung Schema (CS)" tag="N1895" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Site-Specific_Factor_1,CS_Version_Input_Original"> <expression><![CDATA[if ((line.csVersionInputOriginal != null && Functions.asInt(line.csVersionInputOriginal) < 20500) || line.csSiteSpecificFactor1 == null || line.csSiteSpecificFactor1 == '988') return true if (line._csSchemaId == 'lung' && line.behaviorCodeIcdO3 == '2') return line.csSiteSpecificFactor1 == '000' return true]]></expression> <message>Conflict among Lung Schema, Behavior, and CS SSF1</message> <description><![CDATA[The purpose of this edit is to verify that CS Site-Specific Factor 1 and Behavior Code ICD-O-3 are coded consistently for Lung cases that are originally coded using CSv02.05 or higher. This edit is skipped if any of the following conditions are true: 1. CS Version Input Original is less than 020500 and CS Version Input Original is not blank 2. CS schema is not Lung 3. CS Site-Specific Factor 1 is blank or 988 If schema is Lung: If Behavior Code ICD-O-3 = 2 (in situ) then CS Site-Specific Factor 1 must = 000 (no separate tumor nodules noted)]]></description> <history> <event version="SE14-011-01" user="murphyr" date="2013-10-22" ref="66985">Edit created.</event> <event version="SE16-015-01" user="kirbyk" date="2016-04-20" ref="67332">Updated skip condition for CS Version Input Original.</event> <event version="SE16-015-01" user="kirbyk" date="2016-05-04" ref="67370">Changed edit to use schema IDs instead of schema names</event> <event version="SE18-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event> </history> </rule>