edits.seer.internal.rules.IF396.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="IF396" name="CS SSF 25, PeritoneumFemaleGen (SEER)" tag="N2373" java-path="lines.line" category="inter-field" depends="CS_Extension,CS_Site-Specific_Factor_25,Histologic_Type_ICD-O-3,Primary_Site,Sex,Year_of_Diagnosis"> <expression><![CDATA[String dxYear = line.dateOfDiagnosisYear if (line.primarySite == null || line.histologicTypeIcdO3 == null || dxYear == null || dxYear < '2004' || dxYear > '2017' || ((dxYear == '2016' || dxYear == '2017') && line.csExtension == null)) return true Integer hist = Functions.asInt(line.histologicTypeIcdO3) if (Functions.matches(line.primarySite, /(^C48[128]$)/) && (Functions.between(hist, 8000, 8576) || Functions.between(hist, 8590, 8671) || Functions.between(hist, 8930, 8934) || Functions.between(hist, 8940, 9110)) && (line.sex == '2' || line.sex == '6')) return Functions.matches(line.csSiteSpecificFactor25, /(^002|100$)/) return true]]></expression> <message>CS Schema and Sex conflict</message> <description><![CDATA[The purpose of this edit is to verify that Sex and CS Site-Specific Factor 25 are coded consistently for PeritoneumFemaleGen cases. If Primary Site = C481, C482 or C488 AND Histologic Type ICD-O-3 = 8000-8576, 8590-8671, 8930-8934 or 8940-9110 AND (Sex = 2 (female) or 6 (Transsexual; natal female)) THEN CS Site-Specific Factor 25 must = 002 (female) or 100 (obsolete data retained v0200). This edit is skipped if any of the following conditions are true: 1. Primary Site is empty. 2. Histologic Type ICD-O-3 is empty 3. Year of Date of Diagnosis is empty, less than 2004, or greater than 2017 4. Year of Date of Diagnosis is 2016-2017 and CS Extension is empty]]></description> <history> <event version="SE12-008-01" user="murphyr" date="2012-08-08" ref="66709">Edit created.</event> <event version="SE13-009-01" user="murphyr" date="2012-12-20" ref="66776">Edited name to include edit id.</event> <event version="SE16-015-01" user="kirbyk" date="2016-04-12" ref="67324">Added skip condition for 2016 cases, added new sex code (6).</event> <event version="SE16-016-01" user="kirbyk" date="2016-12-08" ref="67570">Edit now skips 2017 cases that do not collect CS.</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-018-02" user="kirbyk" date="2018-06-22" ref="67923">Edit now skips all 2018+ cases.</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="SE23-023-02" user="shearerw" date="2023-05-04" ref="69268">Edit name and tag changed.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy