edits.seer.internal.rules.IF362.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="IF362" name="CS SSF 10, SSF 11, Breast (CS)" tag="N1546" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Site-Specific_Factor_10,CS_Site-Specific_Factor_11,CS_Site-Specific_Factor_25,Histologic_Type_ICD-O-3,Primary_Site"> <expression><![CDATA[if (line.csSiteSpecificFactor10 == null || line.csSiteSpecificFactor10 == '988' || line.csSiteSpecificFactor11 == null || line.csSiteSpecificFactor11 == '988' || line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1' || line._csSchemaId == null) return true if (line._csSchemaId == 'breast') { if (line.csSiteSpecificFactor10 == '998') return line.csSiteSpecificFactor11 == '998' if (line.csSiteSpecificFactor11 == '998') return line.csSiteSpecificFactor10 == '998' if (line.csSiteSpecificFactor10 == '991') return line.csSiteSpecificFactor11 != '010' if (line.csSiteSpecificFactor11 == '010') return line.csSiteSpecificFactor10 != '991' if (line.csSiteSpecificFactor10 > '500' && line.csSiteSpecificFactor10 < '981') return line.csSiteSpecificFactor11 != '020' if (line.csSiteSpecificFactor11 == '020') return line.csSiteSpecificFactor10 <= '500' || line.csSiteSpecificFactor10 == '991' || line.csSiteSpecificFactor10 == '997' } return true]]></expression> <message>CS SSF 10 and SSF 11 conflict for Breast schema</message> <description><![CDATA[This edit verifies that for cases using the Breast schema, SSF 10 (HER2: FISH Lab Value) and SSF 11 (HER2: FISH Test Interpretation) are coded consistently. That is, if one specifies "test not done", the other must also specify "test not done". This edit is skipped if any of the following conditions are true: 1. CS Site-Specific Factor10 is blank or 988 2. CS Site-Specific Factor11 is blank or 988 3. Behavior Code ICD-O-3 = 0 (benign) or 1 (borderline) 4. 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 CS Site-Specific Factor10 = 998 (test not done), then CS Site-Specific Factor11 must = 998 (test not done). 2. If CS Site-Specific Factor11 = 998, then CS Site-Specific Factor10 must = 998. 3. If CS Site-Specific Factor10 is 991 (ratio of less than 1.00), then CS Site-Specific Factor11 must not = 010 (positive/elevated; amplified). 4. If CS Site-Specific Factor11 = 010, then CS Site-Specific Factor10 must not = 991. 5. If CS Site-Specific Factor10 is greater than 500 and less than 981, then CS Site-Specific Factor11 must not = 020 (negative/normal; within normal limits; not amplified). 6. If CS Site-Specific Factor11 = 020, then CS Site-Specific Factor10 must be less than or = 500 or = 991 or 997.]]></description> <history> <event version="SE12-005-01" user="murphyr" date="2011-08-01" ref="66476">Edit created.</event> <event version="SE13-009-01" user="murphyr" date="2012-12-27" ref="66796">Added additional comparisons added for CS SSF 10 and 11.</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> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy