edits.seer.internal.rules.IF262.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="IF262" name="CS SSF 1, Histol, Urothelial Schemas (CS)" tag="N1746" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Site-Specific_Factor_1,CS_Site-Specific_Factor_25,Histologic_Type_ICD-O-3,Primary_Site"> <expression><![CDATA[if (line.csSiteSpecificFactor1 == null || line.histologicTypeIcdO3 == null || line.primarySite == null) return true if (line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1') return true if (line._csSchemaId == 'kidney_renal_pelvis' || line._csSchemaId == 'bladder' || line._csSchemaId == 'urethra') { if (line.csSiteSpecificFactor1 == '987' && ['8020', '8031', '8082', '8120','8121','8122','8123','8124','8130','8131','8050'].contains(line.histologicTypeIcdO3)) return false } return true]]></expression> <message>CS SSF1 and Histology conflict for Urothelial schema</message> <description><![CDATA[This edit verifies that for cases coded using the KidneyRenalPelvis, Bladder, or Urethra schemas, the following Table Note from CS Site-Specific Factor 1 is enforced: "If morphology is not urothelial, code 991." This edit is skipped if any of the following conditions are true: 1. Site-Specific Factor 1 is blank 2. 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. For cases using the KidneyRenalPelvis, Bladder, or Urethra schemas: If CS Site Specific Factor 1 (WHO/ISUP Grade) = 987 (not urothelial histology), Histologic Type ICD-O-3 must not = 8020, 8031, 8082, 8120-8124, 8130-8131, or 8050 (urothelial types as defined by the MPH rules).]]></description> <history> <event version="SE12-002-01" user="murphyr" date="2010-02-03">Edit created.</event> <event version="SE12-004-01" user="murphyr" date="2011-01-21">Change SSF1 code from 991 to 987.</event> <event version="SE13-009-01" user="murphyr" date="2012-12-21" ref="66791">Added 8020, 8031, and 8082 to list of urothelial histologies that are not allowed if CS Site Specific Factor 1 (WHO/ISUP Grade) = 987 (not urothelial histology).</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