edits.seer.internal.rules.IF190.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="IF190" name="CS SSF 6, Breast Schema (CS)" tag="N0890" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Site-Specific_Factor_6,Histologic_Type_ICD-O-3,Primary_Site"> <expression><![CDATA[if (line.csSiteSpecificFactor6 == null || line.csSiteSpecificFactor6 == '988' || line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1' || line._csSchemaId != 'breast') return true if (line.behaviorCodeIcdO3 == '2') return line.csSiteSpecificFactor6 == '010' || line.csSiteSpecificFactor6 == '987' if (line.csSiteSpecificFactor6 == '010' && line.histologicTypeIcdO3 != '8543') return line.behaviorCodeIcdO3 == '2' return true]]></expression> <message>Breast Schema and CS Site-Specific Factor 6 conflict</message> <description><![CDATA[This edit is skipped if any of the following conditions are true: 1. CS Site-Specific Factor 6 is empty or 988 2. Behavior Code ICD-O-3 [523] = 0 (benign) or 1 (borderline). 3. Schema is not Breast. 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. If CS schema is Breast If Behavior Code ICD-O-3 = 2 (in situ), then CS Site-Specific Factor 6 (size of tumor-invasive component) must = 010 (entire tumor reported as in situ (no invasive component reported)) or 987 (unknown if invasive and in situ components present, unknown if tumor size represents mixed tumor or a "pure" tumor. Clinical tumor size coded.) If CS Site-Specific Factor 6 = 010 and Histologic Type ICD-O-3 is not = 8543 (Paget disease of breast) cases, then Behavior Code ICD-O-3 must = 2.]]></description> <history> <event version="SE11-001-22" user="greend" date="2007-12-15">This 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-03">Changed code 888 to 987. Now using schema name instead of primary site to determine whether to skip or not.</event> <event version="SE12-004-01" user="murphyr" date="2011-01-21">Edit now skipped if SSF6 = 988.</event> <event version="SE14-012-02" user="depryf" date="2014-07-21" ref="67083">Added exclusion for histology 8543 to condition 'if ssf6 is 10 then behavior must be 2'.</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>