edits.seer.internal.rules.IF558.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="IF558" name="CS SSF 9, Surgery, HeadNeck Schemas (CS)" tag="N2389" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Site-Specific_Factor_25,CS_Site-Specific_Factor_9,CS_Tumor_Size_Ext_Eval,CS_Version_Input_Original,Histologic_Type_ICD-O-3,Primary_Site,RX_Summ--Scope_Reg_LN_Sur"> <expression><![CDATA[String ssf9 = line.csSiteSpecificFactor9 String scopeRegLnSur = line.rxSummScopeRegLnSur String tumSize = line.csTumorSizeExtEval String behav = line.behaviorCodeIcdO3 String schema = line._csSchemaId if (ssf9 == null || ssf9 == '988' || scopeRegLnSur == null || behav == '0' || behav == '1' || schema == null || !((List)Context.HEAD_AND_NECK_Schemas).contains(schema)) return true // skipping condition if (tumSize == null || tumSize == '2' || tumSize == '8' || tumSize == '9') return true // part 1 if (scopeRegLnSur == '0' && ssf9 != '998' && ssf9 != '999') return false // part 2 if (Functions.asInt(line.csVersionInputOriginal) >= 20500 && scopeRegLnSur == '1' && ssf9 != '998' && ssf9 != '999') return false return true]]></expression> <message>CS SSF9 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), CS Tumor Size/Ext Eval, 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. CS Tumor Size/Ext Eval = 2,8,9 or 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 If RX Summ--Scope Reg LN Sur = 0 (none), then CS Site-Specific Factor 9 must = 998 or 999 If CS Version Input Original is 020500 or higher: If RX Summ--Scope Reg LN Sur = 1 (biopsy or aspiration of regional lymph nodes), then CS Site-Specific Factor 9 must = 998 or 999]]></description> <history> <event version="SE16-015-01" user="kirbyk" date="2016-04-26" ref="67362">Edit created.</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-018-02" user="schadega" date="2018-05-17" ref="67760">Name change.</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