edits.seer.internal.rules.IF379.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="IF379" name="CS SSF 9, Head and Neck Schemas (CS)" tag="N1634" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Site-Specific_Factor_25,CS_Site-Specific_Factor_9,Histologic_Type_ICD-O-3,Primary_Site,RX_Summ--Scope_Reg_LN_Sur,Regional_Nodes_Positive"> <expression><![CDATA[String ssf9 = line.csSiteSpecificFactor9 String regNodesPos = line.regionalNodesPositive String scopeRegLnSur = line.rxSummScopeRegLnSur String behav = line.behaviorCodeIcdO3 String schema = line._csSchemaId if (ssf9 == null || ssf9 == '988' || regNodesPos == null || scopeRegLnSur == null || behav == '0' || behav == '1' || schema == null || !((List)Context.HEAD_AND_NECK_Schemas).contains(schema)) return true // condition #1 if (ssf9 == '000' && regNodesPos != '00') return false // condition #2 if (ssf9 == '998' && regNodesPos != '00' && regNodesPos != '95' && regNodesPos != '98') return false // condition #3 if (ssf9 == '999' && regNodesPos!= '98' && regNodesPos != '99') return false return true]]></expression> <message>CS SSF9, Nodes and Surgery conflict for Head and Neck</message> <description><![CDATA[This edit verifies that CS Site-Specific Factor 9 (Extracapsular Extension Pathologically, Lymph Nodes for Head and Neck), Regional Nodes Positive, and RX Summ--Scope Reg LN Sur are coded consistently for Head and Neck schemas. This edit is skipped if any of the following conditions are true: 1. CS Site-Specific Factor 9 is blank or = 988 2. Regional Nodes Positive is blank 3. RX Summ--Scope Reg LN Sur is blank 4. Behavior Code ICD-O-3 = 0 (benign) or 1 (borderline) 5. 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. This edit is skipped if CS schema is NOT one of the following Head and Neck schemas: BuccalMucosa EpiglottisAnterior FloorMouth GumLower GumOther GumUpper Hypopharynx LarynxGlottic LarynxOther LarynxSubglottic LarynxSupraglottic LipLower LipOther LipUpper MiddleEar MouthOther NasalCavity Nasopharynx Oropharynx PalateHard PalateSoft ParotidGland PharyngealTonsil PharynxOther SalivaryGlandOther SinusEthmoid SinusMaxillary SinusOther SubmandibularGland TongueAnterior TongueBase MelanomaBuccalMucosa MelanomaEpiglottisAnterior MelanomaFloorMouth MelanomaGumLower MelanomaGumOther MelanomaGumUpper MelanomaHypopharynx MelanomaLarynxGlottic MelanomaLarynxOther MelanomaLarynxSubglottic MelanomaLarynxSupraglottic MelanomaLipUpper MelanomaLipLower MelanomaLipOther MelanomaMouthOther MelanomaNasalCavity MelanomaNasopharynx MelanomaOropharynx MelanomaPalateHard MelanomaPalateSoft MelanomaPharynxOther MelanomaSinusEthmoid MelanomaSinusMaxillary MelanomaSinusOther MelanomaTongueAnterior MelanomaTongueBase 1. If CS Site-Specific Factor 9 = 000 (no lymph nodes involved pathologically), then Regional Nodes Positive must = 00 (all nodes examined negative) 2. If CS Site-Specific Factor 9 = 998 (no pathologic examination of lymph nodes), then Regional Nodes Positive must = 00 (all nodes examined negative), 95 (positive aspiration or core biopsy of lymph nodes) or 98 (no nodes examined) 3. If CS Site-Specific Factor 9 = 999 (unknown if regional lymph nodes involved pathologically), then Regional Nodes Positive must = 98 (no nodes examined) or 99 (unknown if nodes are positive)]]></description> <history> <event version="SE12-005-01" user="murphyr" date="2011-08-03" ref="66493">Edit created.</event> <event version="SE12-008-01" user="murphyr" date="2012-08-09" ref="66713">Rearranged logic for #2B</event> <event version="SE13-009-01" user="murphyr" date="2012-12-26" ref="66799">Added code to skip the following logic if CS Tumor Size/Ext Eval is 2, 8 or 9: 'If RX Summ-Scope Reg LN Sur = 0 (none), then CS Site-Specific Factor 9 must = 998 or 999'. Also fixed the error in that code where 988 was used instead of 998.</event> <event version="SE13-009-01" user="murphyr" date="2013-01-25" ref="66826">Edit name changed.</event> <event version="SE13-010-01" user="murphyr" date="2013-07-08" ref="66901">Issue where the last condidtion wasn't beign reached.</event> <event version="SE14-011-01" user="murphyr" date="2013-10-28" ref="67024">Updated for CSv0205.</event> <event version="SE14-012-02" user="depryf" date="2014-07-23" ref="67094">Now allowing reg nodes ex = 00 for CS SSF9 = 998.</event> <event version="SE16-015-01" user="kirbyk" date="2016-04-25" ref="67361">Removed logic that used CS Tumor Size/Ext Eval (will be moved to edit IF558).</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="SE16-016-08" user="depryf" date="2017-11-22" ref="67674">Edit syntax updated to allow pre-compilation optimization; no change in behavior.</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="SE21-021-03" user="kirbyk" date="2021-03-11" ref="68568">Edit name changed.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy