edits.seer.internal.rules.IF128.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="IF128" name="CS Lymph Nodes, SSF 1, Head/Neck Schemas (CS)" tag="N0703" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Lymph_Nodes,CS_Site-Specific_Factor_1,CS_Site-Specific_Factor_25,Histologic_Type_ICD-O-3,Primary_Site"> <expression><![CDATA[if (line.csLymphNodes == null || line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1') return true if (((List)Context.Head_Neck_Schemas).contains(line._csSchemaId)) return ! (line.csLymphNodes != '000' && line.csLymphNodes != '999' && line.csSiteSpecificFactor1 == '000') return true]]></expression> <message>Conflict among Site, CS Lymph Nodes, and CS SSF1</message> <description><![CDATA[This edit is skipped if any of the following conditions are true: 1. CS Lymph Nodes [2830] is empty 2. Behavior Code ICD-O-3 [523] = 0 (benign) or 1 (borderline) 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 LarynxSupraglottic LarynxSubglottic LipLower LipOther LipUpper MelanomaLipUpper MelanomaLipLower MelanomaLipOther MelanomaTongueAnterior MelanomaGumUpper MelanomaGumLower MelanomaGumOther MelanomaFloorMouth MelanomaPalateHard MelanomaMouthOther MelanomaBuccalMucosa MelanomaTongueBase MelanomaPalateSoft MelanomaOropharynx MelanomaNasopharynx MelanomaHypopharynx MelanomaPharynxOther MelanomaEpiglottisAnterior MelanomaLarynxGlottic MelanomaLarynxSupraglottic MelanomaLarynxSubglottic MelanomaLarynxOther MelanomaNasalCavity MelanomaSinusMaxillary MelanomaSinusEthmoid MelanomaSinusOther MiddleEar MouthOther NasalCavity Nasopharynx Oropharynx PalateHard PalateSoft ParotidGland PharyngealTonsil PharynxOther SalivaryGlandOther SinusEthmoid SinusMaxillary SinusOther SubmandibularGland TongueAnterior TongueBase If CS Lymph Nodes does not = 000, or 999, then CS Site-Specific Factor 1 [2880] must not = 000.]]></description> <history> <event version="SE11-001-22" user="greend" date="2007-12-15">This edit is now skipped if Behavior Code ICD-O-3 [523] = 0 (benign) or 1 (borderline).</event> <event version="SE12-002-01" user="murphyr" date="2010-02-02">Now using schema names from the CS dll instead of sites to determine head and neck schemas.</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> </history> </rule>