edits.seer.internal.rules.IF454.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="IF454" name="CS SSF 8, Lymph Nodes, KidneyParenchyma (CS)" tag="N1775" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Lymph_Nodes,CS_Site-Specific_Factor_8"> <expression><![CDATA[if (line.csSiteSpecificFactor8 == null || line.csSiteSpecificFactor8 == '988' || line.csLymphNodes == null || line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1' || line._csSchemaId != 'kidney_parenchyma') return true Integer lymphNodesInt = Functions.asInt(line.csLymphNodes) Integer ssf8Int = Functions.asInt(line.csSiteSpecificFactor8) if (ssf8Int == 0) return !(lymphNodesInt >= 100 && lymphNodesInt <= 800) if (lymphNodesInt == 0) return !(ssf8Int >= 10 && ssf8Int <= 30) return true]]></expression> <message>CS SSF 8 and Lymph Nodes conflict for KidneyParenchyma schema</message> <description><![CDATA[This edit verifies that for cases using the KidneyParenchyma schema, CS SSF 8 (extranodal extension of regional lymph nodes) and CS Lymph Nodes are coded consistently. This edit is skipped if any of the following conditions are true: 1. CS Site-Specific Factor 8 is blank or 988 2. CS Lymph Nodes is blank 3. Behavior Code ICD-O-3 = 0 (benign) or 1 (borderline) 4. CS schema is invalid If CS schema is KidneyParenchyma: 1. If CS Site-Specific Factor 8 = 000 (no regional lymph nodes involved) THEN CS Lymph Nodes must not = 100-800 (codes indicating regional lymph node involvement) 2. If CS Lymph Nodes = 000 (no regional lymph node involvement) THEN CS Site-Specific Factor 8 must not = 010-030 (codes indicating regional lymph node involvement) This edit first determines the correct CS schema by doing a function call to the CS Dynamic Link Library (dll). The function call passes Primary Site, Histologic Type ICD-O-3, and CS Site-Specific Factor25 (schema discriminator) to the dll and the CS schema name is returned.]]></description> <history> <event version="SE13-010-01" user="murphyr" date="2013-05-09" ref="66869">Edit created.</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="SE16-016-08" user="depryf" date="2017-11-22" ref="67674">Edit syntax updated to allow pre-compilation optimization; no change in behavior.</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>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy