edits.seer.internal.rules.IF132.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="IF132" name="CS SSF 1, RX Summ--Surg, Retinoblastoma (SEER)" tag="N2374" java-path="lines.line" category="inter-field" depends="Histologic_Type_ICD-O-3,Primary_Site,Year_of_Diagnosis"> <expression><![CDATA[boolean skipCondition3 = (line.dateOfDiagnosisYear == '2016' || line.dateOfDiagnosisYear == '2017') && line.csExtension == null if (line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1' || line.csSiteSpecificFactor1 == null || skipCondition3) return true if (line.csSiteSpecificFactor1 != null && line._csSchemaId == 'retinoblastoma') return !((line.rxSummSurgPrimSite == '40' || line.rxSummSurgPrimSite == '41') && line.csSiteSpecificFactor1 == '970') return true]]></expression> <message>Conflict among Site, Hist ICD-O-3, RX Summ-Surg Prim Site and CS SSF1</message> <description><![CDATA[This edit is skipped if 1.) Behavior Code ICD-O-3 = 0 (benign) or 1 (borderline) 2.) CS Site-Specific Factor 1 is blank 3.) Year of Date of Diagnosis is 2016-2017 and CS Extension is empty For cases using the CS retinoblastoma schema, if an enucleation is coded in the surgery field, it must mbe coded in CS Site-Specific Factor 1. If CS Schema is Retinoblastoma: If enucleation performed (RX Summ--Surg Prim Site [1290] = 40 or 41), then CS Site-Specific Factor 1 [2880] must not = 970.]]></description> <history> <event version="SE11-001-22" user="greend" date="2007-12-15">This edit is skipped if Behavior Code ICD-O-3 = 0 (benign) or 1 (borderline).</event> <event version="SE12-002-01" user="murphyr" date="2010-03-09">Edit now uses CS Schema name and SSF1 constant was changed to 970 from 000.</event> <event version="SE16-015-01" user="kirbyk" date="2016-04-12" ref="67325">Added skip condition for some 2016 cases.</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-01" user="kirbyk" date="2016-12-07" ref="67556">Edit is now skipped for some 2017 cases.</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-09" ref="68568">Edit name changed.</event> <event version="SE23-023-02" user="shearerw" date="2023-05-04" ref="69268">Edit name and tag changed.</event> <event version="SE24-024-06" user="kirbyk" date="2024-07-22" ref="69326">Removed some edit dependencies.</event> </history> </rule>