edits.seer.internal.rules.IF259.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="IF259" name="CS Extension, SSF 24, Breast Schema (CS)" tag="N1064" java-path="lines.line" category="inter-field" > <expression><![CDATA[if (line.csExtension == null || line.csSiteSpecificFactor24 == null || line.csSiteSpecificFactor24 == '988' || line.histologicTypeIcdO3 == null || line.primarySite == null) return true if (line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1') return true if (line._csSchemaId == 'breast') { if (['8540','8541','8543'].contains(line.histologicTypeIcdO3) && line.csSiteSpecificFactor24 != '010' && line.csSiteSpecificFactor24 != '020') return false if ((line.csExtension == '050' || line.csExtension == '070') && line.csSiteSpecificFactor24 != '010' && line.csSiteSpecificFactor24 != '020') return false } return true]]></expression> <message>CS Extension and SSF24 conflict for Breast schema</message> <description><![CDATA[This edit verifies that for cases coded using the Breast schema, CS Extension, CS Site-Specific Factor 24 (Pagets Disease) and Histologic Type ICD-O-3 are coded consistently. This edit is skipped if any of the following conditions are true: 1. CS Extension is empty. 2. CS Site-Specific Factor 24 is empty or = 988 (not applicable or not collected). 3. Behavior Code ICD-O-3 = 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. If CS schema is Breast: If Histologic Type ICD-O-3 is coded as Paget disease of the breast (8540, 8541, 8543), CS Site-Specific Factor 24 must = 010 (Paget disease present) or 020 (Pagetoid). If CS Extension = 050 or 070 (Paget disease of nipple), then CS SSF 24 must = 010 (Paget disease present) or 020 (Pagetoid).]]></description> <history> <event version="SE12-002-01" user="murphyr" date="2010-02-03">Edit created.</event> <event version="SE12-005-04" user="murphyr" date="2011-10-04" ref="66527">Added code 020 for valid SSF24 value.</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-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