edits.seer.internal.rules.IF350.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="IF350" name="CS Ext, LN, Mets at DX, SSF 3, Prostate (CS)" tag="N1432" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Extension,CS_Lymph_Nodes,CS_Mets_at_DX,CS_Site-Specific_Factor_3"> <expression><![CDATA[if (line.csExtension == null || line.csLymphNodes == null || line.csMetsAtDx == null || line.csSiteSpecificFactor3 == null || line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1') return true if (line._csSchemaId == 'prostate') { if (line.csExtension == '950') { if ((line.csSiteSpecificFactor3 >= '200' && line.csSiteSpecificFactor3 <= '750') || line.csSiteSpecificFactor3 == '990' || line.csSiteSpecificFactor3 == '000') return true if (line.csLymphNodes >= '100' && line.csLymphNodes <= '800') return true if (line.csMetsAtDx >= '11' && line.csMetsAtDx <= '60') return true return false } if (line.csSiteSpecificFactor3 == '950') { if (line.csExtension >= '000' && line.csExtension <= '750') return true if (line.csLymphNodes >= '100' && line.csLymphNodes <= '800') return true if (line.csMetsAtDx >= '11' && line.csMetsAtDx <= '60') return true return false } } return true]]></expression> <message>CS Ext, LN, Mets & SSF 3 conflict for Prostate schema</message> <description><![CDATA[This edit is skipped if any of the following conditions are true: 1. CS Extension, CS Lymph Nodes, CS Mets at DX, or CS Site-Specific Factor 3 is blank 2. Behavior Code ICD-O-3 = 0 (benign) or 1 (borderline) 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 schema = Prostate: 1. If CS Extension = 950 (no evidence of primary tumor), then at least one of the following fields must show that tumor is present; that is, at least one of the following must be true: CS Site-Specific Factor 3 must = 000, 200-750, 990 CS Lymph Nodes must = 100-800 CS Mets at DX must = 11-60 2. If CS Site-Specific Factor 3 = 950 (no evidence of primary tumor), then at least one of the following fields must show that tumor is present; that is, at least one of the following must be true: CS Extension must = 000-750 CS Lymph Nodes must = 100-800 CS Mets at DX must = 11-60]]></description> <history> <event version="SE12-004-01" user="murphyr" date="2011-02-14">Edit created.</event> <event version="SE13-009-01" user="murphyr" date="2013-01-25" ref="66826">Edit name changed.</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>