edits.seer.internal.rules.IF133.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="IF133" name="CS SSF 3, RX Summ--Surg, Prostate (SEER)" tag="N2375" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Extension,CS_Site-Specific_Factor_3,Histologic_Type_ICD-O-3,Primary_Site,RX_Summ--Surg_Prim_Site,Type_of_Reporting_Source,Year_of_Diagnosis"> <expression><![CDATA[boolean skipCondition4 = (line.dateOfDiagnosisYear == '2016' || line.dateOfDiagnosisYear == '2017') && line.csExtension == null if (line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1' || line.typeOfReportingSource == '6' || line.csSiteSpecificFactor3 == null || skipCondition4) return true if (line._csSchemaId == 'prostate' && Functions.matches(line.rxSummSurgPrimSite, /^[57]0$/)) return !(Functions.matches(line.csSiteSpecificFactor3, /^9[678]0|985$/)) return true]]></expression> <message>Conflict among Site, Hist ICD-O-3, RX Summ--Surg Prim Site and CS SSF 3</message> <description><![CDATA[This edit is skipped if any of the following conditions are true: 1. Case is autopsy only (Type of Reporting Source [500] = 6) 2. Behavior Code ICD-O-3 [523] = 0 (benign) or 1 (borderline) 3. CS Site-Specific Factor 3 [2900] is blank 4. Year of Date of Diagnosis is 2016-2017 and CS Extension is blank For cases using the CS Prostate schema, if no prostatectomy is coded in the surgery field, CS Site-Specific Factor 3 must also show no prostatectomy. If Prostate Schema: If RX Summ--Surg Prim Site = 50 or 70, then CS Site-Specific Factor 3 must not = 960, 970, 980, or 985.]]></description> <history> <event version="SE11-001-18" user="greend" date="2004-09-15">If there was no prostatectomy then CS Site-Specific Factor 3 must be 096,097 or 098.</event> <event version="SE11-001-22" user="greend" date="2007-12-15">Edit is skipped if Behavior Code ICD-0-3 = 0 or 1 or if Type of Reporting Source indicates Autopsy Only (6).</event> <event version="SE12-002-01" user="murphyr" date="2010-01-07">Edit now skipped for some histologies and a blank SSF3. Updated valid SSF3 values.</event> <event version="SE12-002-01" user="murphyr" date="2010-02-02">Edit now using schema name instead of site 619. Removed histology skip condition.</event> <event version="SE12-002-04" user="murphyr" date="2010-09-07">Added: "If RX Summ--Surg Prim Site = 50 or 70, then CS Site-Specific Factor 3 must not = 960, 970, 980, or 985"</event> <event version="SE12-004-01" user="murphyr" date="2011-02-11">Deleted: "If there was no prostatectomy (RX Summ--Surg Prim Site [1290] not = 30, 50, 70, 80, or 90, then CS Site-Specific Factor 3 [2900]must = 960,970,980."</event> <event version="SE16-015-01" user="kirbyk" date="2016-04-12" ref="67326">Added skip condition for 2016 cases when CS Extension is empty.</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="67557">Edit is now skipped for 2017 cases when CS Extension is empty.</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="SE22-022-17" user="beverung" date="2022-11-21" ref="69063">Updated edit name and tag.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy