edits.seer.internal.rules.IF136.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="IF136" name="CS Tumor Size, Site, Histol ICDO3 (CS)" tag="N0719" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Tumor_Size,Histologic_Type_ICD-O-3,Primary_Site"> <expression><![CDATA[if (line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1' || line.csTumorSize == null) return true if (line._csSchemaId == 'colon' || line._csSchemaId == 'rectum') { if (line.csTumorSize == '998') return Functions.matches(line.histologicTypeIcdO3, /^822[01]$/) if (Functions.matches(line.histologicTypeIcdO3, /^822[01]$/)) return line.csTumorSize == '998' } if (line._csSchemaId == 'ill_defined_other') { if (line.primarySite == 'C809') return line.csTumorSize == '999' } return true]]></expression> <message>Conflict among CS Tumor Size, Primary Site and Hist ICD-O-3</message> <description><![CDATA[This edit is skipped if any of the following conditions are true: 1) CS Tumor Size [2800] is empty 2) Behavior Code ICD-O-3 [523] = 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. For cases using the Colon or Rectum schemas: If CS Tumor Size [2800] = 998, then Histologic Type ICD-O-3 [522] must = 8220 or 8221. If Histologic Type ICD-O-3[522] = 8220 or 8221, then CS Tumor Size[2800] must = 998. For cases using the IllDefinedOther schema: If Primary Site = Unknown Primary Site (C809), then CS Tumor Size must = 999.]]></description> <history> <event version="SE11-001-21" user="greend" date="2007-08-08">Added : If Primary Site = Unknown Primary Site (C809), then CS Tumor Size must = 999.</event> <event version="SE11-001-22" user="greend" date="2007-12-15">Edit is skipped if Behavior Code ICD-O-3 [523] = 0 (benign) or 1 (borderline)</event> <event version="SE12-002-01" user="murphyr" date="2010-03-09">CS dll used to determine schema. Additional logic added: if hist = 8220,8221 then size must be 998.</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>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy