edits.seer.internal.rules.IF363.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="IF363" name="CS SSF 11, Lip/OralCavity/Nasal Schemas (CS)" tag="N1548" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Extension,CS_Site-Specific_Factor_11,CS_Site-Specific_Factor_25,CS_Tumor_Size,Histologic_Type_ICD-O-3,Primary_Site,RX_Summ--Surg_Prim_Site"> <expression><![CDATA[if (line.csSiteSpecificFactor11 == null || line.csSiteSpecificFactor11 == '988'|| line.csTumorSize == null || line.csExtension == null || line.rxSummSurgPrimSite == null || line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1' || line._csSchemaId == null) return true if (((List)Context.IF363_Schemas).contains(line._csSchemaId)) { if (line.csSiteSpecificFactor11 == '000') return line.csTumorSize == '000' && line.csExtension == '950' if (line.csSiteSpecificFactor11 == '998') return Functions.asInt(line.rxSummSurgPrimSite) < 20 } return true]]></expression> <message>CS SSF 11 conflicts for Lip/OralCavity/Nasal</message> <description><![CDATA[This edit verifies that CS Site-Specific Factor 11 [Measured Thickness (Depth)], CS Tumor Size, CS Extension, and RX Summ--Surg Prim Site are coded consistently for Lip and Oral Cavity, Nasal Cavity and Paranasal Sinuses, and the corresponding Mucosal Melanoma schemas. This edit is skipped if any of the following conditions are true: 1. CS Site-Specific Factor11 is blank or = 988 2. CS Tumor Size is blank 3. CS Extension is blank 4. RX Summ--Surg Prim Site is blank 5. Behavior Code ICD-O-3 = 0 (benign) or 1 (borderline) 6. 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 Lip and Oral Cavity, Nasal Cavity and Paranasal Sinuses, or corresponding Mucosal Melanoma schemas: BuccalMucosa FloorMouth GumLower GumOther GumUpper LipLower LipOther LipUpper MouthOther NasalCavity PalateHard SinusEthmoid SinusMaxillary MelanomaBuccalMucosa MelanomaFloorMouth MelanomaGumLower MelanomaGumOther MelanomaGumUpper MelanomaLipLower MelanomaLipOther MelanomaLipUpper MelanomaMouthOther MelanomaNasalCavity MelanomaPalateHard MelanomaSinusEthmoid MelanomaSinusMaxillary 1. If CS Site-Specific Factor11 = 000 (no mass/tumor found), then CS Tumor Size must = 000 (no mass/tumor found) and CS Extension must = 950 (no evidence of primary tumor) 2. If CS Site-Specific Factor11 = 998 (no surgical specimen), then RX Summ--Surg Prim Site must be less than 20 (indicating no surgical specimen sent to pathology)]]></description> <history> <event version="SE12-005-01" user="murphyr" date="2011-08-02" ref="66477">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="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>