edits.seer.internal.rules.IF261.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="IF261" name="CS Mets at DX, SSF 20, Breast Schema (CS)" tag="N1174" java-path="lines.line" category="inter-field"> <expression><![CDATA[if (line.csMetsAtDx == null || line.csSiteSpecificFactor20 == null || line.csSiteSpecificFactor20 == '988' || line.histologicTypeIcdO3 == null || line.primarySite == null) return true if (line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1') return true if (line._csSchemaId == 'breast') { if ((line.csMetsAtDx == '00' || line.csMetsAtDx == '05' || line.csMetsAtDx == '07') && line.csSiteSpecificFactor20 != '000' && line.csSiteSpecificFactor20 != '005') return false if (['10','40','42','44','50','60'].contains(line.csMetsAtDx) && (line.csSiteSpecificFactor20 == '000' || line.csSiteSpecificFactor20 == '005')) return false if (line.csMetsAtDx == '99' && line.csSiteSpecificFactor20 != '999') return false } return true]]></expression> <message>CS Mets at DX and SSF20 conflict for Breast schema</message> <description><![CDATA[This edit verifies that CS Mets at DX and CS Site-Specific Factor20 (Assessment of Positive Distant Metastases) are coded consistently for the Breast schema. This edit is skipped if any of the following conditions are true: 1. CS Mets at DX or CS Site-Specific 20 is empty or = 988 2. Behavior Code ICD-O-3 = 0 (benign) or 1 (borderline) 3. 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. If CS schema is Breast: If CS Mets at DX = 00 (no mets at dx), 05 (CTC or DTC only), or 07 [Stated as M0(i+) with no other information on distant metastasis], CS Site-Specific Factor20 (Assessment of Positive Distant Metastases) must = 000 (no mets) or 005 [No clinical or radiographic evidence of distant metastasis, but deposits of molecularly or microscopically detected tumor cells in circulating blood, bone marrow or other non-regional nodal tissue that are 0.2 millimeters (mm) or less in a patient without symptoms or signs of metastasis]. If CS Mets at DX = 10, 40, 42, 44, 50, 60 (positive mets), CS Site-Specific Factor20 must not = 000 or 005. If CS Mets at DX = 99 (unknown if mets), CS Site-Specific Factor20 must = 999 (unknown if mets).]]></description> <history> <event version="SE12-002-01" user="murphyr" date="2010-02-03">Edit created.</event> <event version="SE12-004-01" user="murphyr" date="2011-01-27">Added 07 CS Mets at Dx code in first condition.</event> <event version="SE12-005-08" user="murphyr" date="2011-12-14" ref="66560">Added code 005 for no mets</event> <event version="SE13-010-01" user="murphyr" date="2013-06-14" ref="66892">Changed 'If CS Mets at DX = 10, 40, 42, 44, 50, 60 (positive mets), CS Site-Specific Factor20 must not = 000 or 999.' to 'If CS Mets at DX = 10, 40, 42, 44, 50, 60 (positive mets), CS Site-Specific Factor20 must not = 000 or 005.'</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="SE18-018-01" user="schadega" date="2018-04-11" ref="67741">Edit name change.</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="SE24-024-04" user="kirbyk" date="2024-04-12" ref="69326">Removed edit dependencies.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy