edits.seer.internal.rules.IF125.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="IF125" name="CS Extension, SSF 1, Thyroid Schema (CS)" tag="N0694" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Extension,CS_Site-Specific_Factor_1,CS_Site-Specific_Factor_25,Histologic_Type_ICD-O-3,Primary_Site"> <expression><![CDATA[if (line.csExtension == null || line.csSiteSpecificFactor1 == null || line.csSiteSpecificFactor1 == '988' || line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1') return true if (line._csSchemaId == 'thyroid') { if (line.csExtension == '100') return line.csSiteSpecificFactor1 == '010' if (line.csExtension == '200') return line.csSiteSpecificFactor1 == '020' } return true]]></expression> <message>Conflict among Site, Hist ICD-O-3, CS Extension and CS SSF1</message> <description><![CDATA[This edit is skipped if any of the following conditions are true: 1. CS Extension [2810] is empty 2. CS Site-Specific Factor 1 [2880] is empty or 988 3. Behavior Code ICD-O-3 [523] = 0 (benign) or 1 (borderline) 4. Schema is not Thyroid. If CS Extension [2810] = 100, then CS Site-Specific Factor 1 [2880] must = 001. If CS Extension [2810] = 200, then CS Site-Specific Factor 1 [2880] must = 002.]]></description> <history> <event version="SE11-001-19" user="greend" date="2005-05-11">This edit is now skipped if CS Site-Specific Factor 1[2880] is blank.</event> <event version="SE11-001-22" user="greend" date="2007-12-15">Edit is skipped if Behavior Code ICD-O-3 [523] = 0 (benign) or 1 (borderline).</event> <event version="SE12-002-01" user="murphyr" date="2010-02-02">Extension codes changed to 3 digits. Using schema name now instead of primary site.</event> <event version="SE12-004-01" user="murphyr" date="2011-01-20">Updated converted codes of 001,002 to 010 and 020</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> <event version="SE22-022-05" user="secristc" date="2022-05-12" ref="68993">Added skip condition for CS Site-Specific Factor 1 = 988.</event> </history> </rule>