edits.seer.internal.rules.IF121.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="IF121" name="CS Extension, CS Lymph Nodes, CS Mets at DX (CS)" tag="N0683" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Extension,CS_Lymph_Nodes,CS_Mets_at_DX,Histologic_Type_ICD-O-3,Primary_Site"> <expression><![CDATA[if (line.primarySite == null || line._csSchemaId == null || line.histologicTypeIcdO3 == null || line.behaviorCodeIcdO3 == null || line.csExtension == null || line.csLymphNodes == null || line.csMetsAtDx == 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 != 'prostate' && line._csSchemaId != 'retinoblastoma' && line.csExtension == '950') return ! (line.csLymphNodes == '000' && line.csMetsAtDx == '00') if (line._csSchemaId == 'breast') { if (line.csExtension == '000') return ( line.csLymphNodes == '000' || line.csLymphNodes == '050') && line.csMetsAtDx == '00' return true } if (line._csSchemaId == 'bladder') { if (line.csExtension == '010' || line.csExtension == '030' || line.csExtension == '060') return line.csLymphNodes == '000' && line.csMetsAtDx == '00' return true } if (line._csSchemaId == 'kidney_renal_pelvis') { if (line.csExtension == '050' || line.csExtension == '060') return line.csLymphNodes == '000' && line.csMetsAtDx == '00' return true } if (line._csSchemaId == 'urethra') { if (line.csExtension == '050' || line.csExtension == '060' || line.csExtension == '070' || line.csExtension == '080') return line.csLymphNodes == '000' && line.csMetsAtDx == '00' return true } if (line._csSchemaId == 'urinary_other') { if (line.csExtension == '050' || line.csExtension == '060') return line.csLymphNodes == '000' && line.csMetsAtDx == '00' return true } if (line._csSchemaId == 'intracranial_gland') { if (line.csExtension == '000') return (line.csLymphNodes == '000' || line.csLymphNodes == '988') && line.csMetsAtDx == '00' return true } if (line._csSchemaId != 'breast' && line._csSchemaId != 'bladder' && line._csSchemaId != 'kidney_renal_pelvis' && line._csSchemaId != 'urethra' && line._csSchemaId != 'urinary_other' && line.csExtension == '000') return line.csLymphNodes == '000' && line.csMetsAtDx == '00' return true]]></expression> <message>Conflict among CS Extension, CS Lymph Nodes and CS Mets at DX</message> <description><![CDATA[This edit is skipped if any of the following conditions are true: 1. CS Extension, CS Lymph Nodes, or CS Mets at DX 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 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. For all except Prostate and Retinoblastoma: If CS Extension [2810] = 950 (no evidence of primary tumor), then CS Lymph Nodes [2830] and CS Mets at DX [2850] cannot both specify none (000 and 00). If CS schema is Breast: If CS Extension [2810] = 000 (in situ), then CS Lymph Nodes must = 000 (none; no regional lymph node involvement, or ITCs detected by immunohistochemistry or molecular methods ONLY) or 050 (none; no regional lymph nodes but with (ITCs) detected on routine H and E stains) and CS Mets at DX [2850] must = 00 (none). If CS schema is IntracranialGland: If CS Extension = 000 (in situ), then CS Lymph Nodes must = 000 (obsolete data retained v0200: none) or 988 (not applicable for this schema) and CS Mets at DX must = 00 (none). For the following schemas and in situ CS Extension codes, CS Lymph Nodes must = 000 (no lymph node involvement) and CS Mets at DX must = 00 (none): Schema CS Extension Bladder 010, 030, 060 KidneyRenalPelvis 050, 060 Urethra 050, 060, 070, 080 UrinaryOther 050, 060 If schema is not Breast, Bladder, KidneyRenalPelvis, Urethra or UrinaryOther: If CS Extension = 000, then both CS Lymph Nodes must = 000 (none) and CS Mets at DX must = 00 (none).]]></description> <history> <event version="SE11-001-21" user="greend" date="2007-02-01">The following logic was added to the edit: If CS Extension [2810] = 00 (in situ), then both CS Lymph Nodes [2830] and CS Mets at DX [2850] must = 00 (none).</event> <event version="SE11-001-21" user="greend" date="2007-04-04">Edit modified to skip if CS Extension or CS Lymph Nodes or CS Mets at DX are blank. Modified to skip if histology is Kaposi Sarcoma, Lymphoma or Hematopoietic. An exception was added for breast schema: If CS Extension = 00, then CS Lymph Node must = 00 or 05 and CS Mets at DX must = 00.</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) and Primary Site [400] is not C700-729 (Brain and Other CNS) or C751-C753 (Intracranial Endocrine). If Primary Site [400] = C670-C679 (Bladder) and CS Extension = 01, 03, or 06 (in situ), then CS Lymph Nodes [2830] must = 00 (no lymph node involvement) and CS Mets at DX [2850] must = 00 (none).</event> <event version="SE11-001-22" user="greend" date="2008-01-10">An exception was added for the Placenta schema: If CS Extension = 00 (in situ), then the CS Mets at DX must = 00 (none). (The edit no longer requires CS Lymph Nodes of 00 for CS Extension of 00 since the CS Lymph Nodes code is always 88 for the Placenta schema)</event> <event version="SE12-002-01" user="murphyr" date="2010-01-07">Extended the lymph nodes and extension numbers to 3 digits(multiplied all by 10).</event> <event version="SE12-002-01" user="murphyr" date="2010-02-25">Changed edit to use schema name instead of checking sites.</event> <event version="SE12-002-04" user="murphyr" date="2010-07-29">Edit now passes if CS schema is not found.</event> <event version="SE12-004-01" user="murphyr" date="2011-01-20">Added KidneyRenalPelvis, Urethra, and UrinaryOther cases. Deleted Placenta case. Updated doc.</event> <event version="SE13-009-01" user="murphyr" date="2012-12-20" ref="66780">Removed the histology skip check and excluded Prostate and Retinoblastoma from 'CS Extension = 950, then CS Lymph Nodes and CS Mets at DX cannot both specify none' check.</event> <event version="SE14-011-01" user="murphyr" date="2013-10-24" ref="66993">Modified edit to allow, for IntracranialGland schema, CS Lymph Nodes of 988 (not applicable for this schema) when CS Extension = 000 (in situ).</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>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy