edits.seer.internal.rules.IF124.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="IF124" name="CS Extension, KidneyRenalPelvis Schema (CS)" tag="N0710" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Extension,Histologic_Type_ICD-O-3,Primary_Site"> <expression><![CDATA[if (line.csExtension == null || line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1' || line._csSchemaId != 'kidney_renal_pelvis') return true if (line.primarySite == 'C659') return !(line.csExtension == '685' || line.csExtension == '690' || line.csExtension == '695') if (line.primarySite == 'C669') return !(line.csExtension == '600' || line.csExtension == '665' || line.csExtension == '670') return true]]></expression> <message>Primary Site and CS Extension conflict</message> <description><![CDATA[This edit is skipped if one of the following is true: 1. CS Extension [2810] is empty 2. Behavior Code ICD-O-3 [523] = 0 (benign) or 1 (borderline) 3. Schema is not KidneyRenalPelvis If schema is KidneyRenalPelvis: Renal Pelvis (C659) and Ureter (C669) belong to the same schema, but Renal Pelvis can have CS Extension of 600, 665, and 670, while Ureter cannot. Ureter can have CS Extension code 685, 690, and 695, while RenalPelvis cannot. All other CS Extension values are the same for both sites and edited by the CS algorithm program.]]></description> <history> <event version="SE11-001-22" user="greend" date="2008-01-16">The edit is skipped if Behavior Code ICD-O-3 [523] = 0 (benign) or 1 (borderline).</event> <event version="SE11-001-22" user="greend" date="2008-07-30">The edit is skipped if Histologic Type ICD-O-3 is 9140, 9590-9699, 9702-9729, or 9731-9989.</event> <event version="SE12-002-01" user="murphyr" date="2010-02-02">Extension code changed to 3 digits. Using schema name from dll now.</event> <event version="SE12-004-01" user="murphyr" date="2011-02-11">Updated logic: Renal Pelvis (C659) and Ureter (C669) belong to the same schema, but Renal Pelvis can have CS Extension of 600, 665, and 670, while Ureter cannot. Ureter can have CS Extension code 685, 690, and 695, while RenalPelvis cannot. All other CS Extension values are the same for both sites and edited by the CS algorithm program.</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>