edits.seer.internal.rules.IF210.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="IF210" name="CS Extension, Morphology, Bladder ICDO3 (CS)" tag="N0955" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Extension,CS_Site-Specific_Factor_25,Histologic_Type_ICD-O-3,Primary_Site"> <expression><![CDATA[if (line.csExtension == null) return true if (line._csSchemaId == 'bladder') { if (line.histologicTypeIcdO3 == '8130' && line.behaviorCodeIcdO3 == '2') return line.csExtension != '100' if (line.csExtension == '100') return line.histologicTypeIcdO3 != '8130' || line.behaviorCodeIcdO3 != '2' } return true]]></expression> <message>CS Extension, Morphology, and Bladder conflict</message> <description><![CDATA[This edit verifies that for cases coded using the CS Bladder schema, if the histology/behavior is 8130/2 (papillary transitional cell carcinoma, non-invasive), then CS Extension must not be coded to 100 (confined to mucosa, NOS). Note: This edit is based on Note 3 of the CS Extension for Bladder schema: If a tumor is described as confined to mucosa (or the equivalents in Note 5) AND as papillary, use extension code 010 or 030. Use code 100 (confined to mucosa) only if the tumor is described as confined to mucosa but is not described as papillary This edit is skipped if any of the following conditions are true: - CS Extension is empty. For cases using the Bladder schema: - If Histologic Type ICD-O-3 and Behavior Code ICD-O-3 = 81302 (Papillary transitional cell carcinoma, non-invasive), then CS Extension must not = 100 (confined to mucosa, NOS). - If CS Extension = 100, then Histologic Type ICD-O-3 and Behavior Code ICD-O-3 must not = 81302.]]></description> <history> <event version="SE12-002-01" user="murphyr" date="2010-01-12">Changed extension constants to three digits, removed a skip condition, and now use a schema name lookup function.</event> <event version="SE12-004-01" user="murphyr" date="2011-01-20">Changed doc to reference Note 3 instead of Note 8 of the CS Extension for Bladder schema.</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="SE23-023-01" user="cooki" date="2023-01-19" ref="69085">Changed description to match logic.</event> </history> </rule>