edits.seer.internal.rules.IF366.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="IF366" name="CS SSF 15, SSF 9, 11, 13, 14, Breast (CS)" tag="N1554" java-path="lines.line" category="inter-field" depends="Histologic_Type_ICD-O-3,Primary_Site"> <expression><![CDATA[if ((line.csSiteSpecificFactor9 == null && line.csSiteSpecificFactor11 == null && line.csSiteSpecificFactor13 == null && line.csSiteSpecificFactor14 == null) || (line.csSiteSpecificFactor9 == '988' && line.csSiteSpecificFactor11 == '988' && line.csSiteSpecificFactor13 == '988' && line.csSiteSpecificFactor14 == '988') || line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1' || line._csSchemaId == null) return true if (line._csSchemaId == 'breast') { if (line.csSiteSpecificFactor9 != '998' && line.csSiteSpecificFactor9 != '999' && line.csSiteSpecificFactor9 != '988' && line.csSiteSpecificFactor9 != null && (line.csSiteSpecificFactor15 == '998' || line.csSiteSpecificFactor15 == '999')) return false if (line.csSiteSpecificFactor11 != '998' && line.csSiteSpecificFactor11 != '999' && line.csSiteSpecificFactor11 != '988' && line.csSiteSpecificFactor11 != null && (line.csSiteSpecificFactor15 == '998' || line.csSiteSpecificFactor15 == '999')) return false if (line.csSiteSpecificFactor13 != '998' && line.csSiteSpecificFactor13 != '999' && line.csSiteSpecificFactor13 != '988' && line.csSiteSpecificFactor13 != null && (line.csSiteSpecificFactor15 == '998' || line.csSiteSpecificFactor15 == '999')) return false if (line.csSiteSpecificFactor14 != '998' && line.csSiteSpecificFactor14 != '999' && line.csSiteSpecificFactor14 != '988' && line.csSiteSpecificFactor14 != null && (line.csSiteSpecificFactor15 == '998' || line.csSiteSpecificFactor15 == '999')) return false } return true]]></expression> <message>CS SSF15, 9, 11, 13, 14 conflict for Breast</message> <description><![CDATA[This edit applies only to cases coded using the Breast schema. It checks SSFs 9, 11, 13, and 14 (HER2 test interpretations) against SSF 15 (HER2: Summary Result of Testing). If any of SSFs 9, 11, 13, or 14 are not coded to 998 (test not done) or 999 (unknown or no information), then SSF 15 must not = 998 or 999. This edit is skipped if any of the following conditions are true: 1. CS Site-Specific Factor 9, 11, 13, and 14 are ALL blank 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: 1. If any of the HER2 test interpretations (CS Site-Specific Factor 9, 11, 13, 14) are coded to values other than blank, 988, 998 or 999, then CS Site-Specific Factor 15 must not be coded to 998 or 999.]]></description> <history> <event version="SE12-005-01" user="murphyr" date="2011-08-02" ref="66480">Edit created.</event> <event version="SE12-005-04" user="murphyr" date="2011-10-04" ref="66528">Edit modified so that it is also skipped if CS Site-Specific Factor 9, 11, 13, and 14 are all blank or 988. In the past, it was skipped if any of the contributing factors were blank or 988.</event> <event version="SE13-009-01" user="murphyr" date="2013-01-25" ref="66826">Edit name changed.</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-06" user="kirbyk" date="2024-07-22" ref="69326">Removed some edit dependencies.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy