edits.seer.internal.rules.IF202.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="IF202" name="CS SSF 1, SSF 2, Prostate Schema (CS)" tag="N0948" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Site-Specific_Factor_1,CS_Site-Specific_Factor_2,Histologic_Type_ICD-O-3,Primary_Site"> <expression><![CDATA[if (line.csSiteSpecificFactor1 == null || line.csSiteSpecificFactor2 == null || line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1') return true if (line._csSchemaId == 'prostate' && (line.csSiteSpecificFactor1 == '998' || line.csSiteSpecificFactor2 == '998')) return (line.csSiteSpecificFactor1 == '998' && line.csSiteSpecificFactor2 == '998') return true]]></expression> <message>CS Site-Specific Factor 1, CS Site-Specific Factor 2, and Prostate Schema conflict</message> <description><![CDATA[This edit verifies that for cases coded using the CS Prostate schema, CS Site-Specific Factor 1 (PSA lab value) and CS Site-Specific Factor 2 (PSA) are consistent; that is, if one indicates PSA test was not done, the other must indicate the same. This edit is skipped if any of the following conditions are true: 1. CS Site-Specific Factor 1 is blank 2. CS Site-Specific Factor 2 is blank 3. Behavior Code ICD-O-3 = 0 (benign) or 1 (borderline) For cases using the CS Prostate schema: If CS Site-Specific Factor 1 = 998 [PSA test not done (test was not ordered and was not performed)], then CS Site-Specific Factor 2 must = 998 [PSA test not done (test was not ordered and was not performed)]. If CS Site-Specific Factor 2 = 998, then CS Site-Specific Factor 1 must = 998.]]></description> <history> <event version="SE12-002-01" user="murphyr" date="2010-01-07">Hematopoietic range changed.</event> <event version="SE12-002-01" user="murphyr" date="2010-03-10">Edit now uses CS Schema name and SSF constants changed to 988 from 000.</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