edits.seer.internal.rules.IF248.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="IF248" name="CS Site-Specific Factor16, Schema (CS)" tag="N1195" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Site-Specific_Factor_16,CS_Site-Specific_Factor_25,Histologic_Type_ICD-O-3,Primary_Site"> <expression><![CDATA[if (line.histologicTypeIcdO3 == null || line.primarySite == null || line.csSiteSpecificFactor16 == null) return true if ((line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1') && line._csSchemaId != 'brain' && line._csSchemaId != 'cns_other' && line._csSchemaId != 'intracranial_gland') return true if (line._csSchemaId == null) return true return Functions.isAcceptableCsCode(line, 'csSiteSpecificFactor16',line.csSiteSpecificFactor16)]]></expression> <message>CS site-specific factor 16 is invalid for this schema.</message> <description><![CDATA[This edit verifies that CS Site-Specific Factor 16 is correct for a particular schema. The schema determined by Primary Site, Histologic Type ICD-O-3, and sometimes CS Site-Specific Factor25 (schema discriminator). This edit is skipped if any of the following conditions are true: 1. CS Site-Specific Factor 16, Primary Site, or Histologic Type ICD-O-3 is blank. 2. Behavior Code ICD-O-3 = 0 (benign) or 1 (borderline) and Schema is not Brain, CNSOther, or IntracranialGland. 3. CS schema is invalid This edit verifies that CS Site-Specific Factor 16 is valid for a particular schema by doing function calls to the CS Dynamic Link Library (dll).]]></description> <history> <event version="SE12-002-01" user="murphyr" date="2010-01-28">Edit created.</event> <event version="SE13-010-01" user="murphyr" date="2013-07-12" ref="66904">Added blank schema skip condition.</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>