edits.seer.internal.rules.IF283.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="IF283" name="CS Mets at DX-Bone, CS Mets at DX (CS)" tag="N1944" java-path="lines.line" category="inter-field"> <expression><![CDATA[if (line.csMetsAtDx == null || line.csMetsAtDxBone == null || line._csSchemaId == null) return true if ((line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1') && line._csSchemaId != 'brain' && line._csSchemaId != 'cns_other' && line._csSchemaId != 'intracranial_gland') return true if (line.csMetsAtDxBone == '1' && (line.csMetsAtDx == '00' || line.csMetsAtDx == '99')) return false if (line.csMetsAtDx == '00' && line.csMetsAtDxBone != '0') return false if (line.csMetsAtDx == '98' && line._csSchemaId != 'ill_defined_other' && line.csMetsAtDxBone != '8') return false return true]]></expression> <message>CS Mets at Dx-Bone and CS Mets at DX conflict</message> <description><![CDATA[Purpose: This edit verifies that CS Mets at DX-Bone and CS Mets at DX are coded consistently. This edit is skipped if any of the following conditions are true: 1. CS Mets at DX-Bone is empty 2. CS Mets at DX is empty 3. Behavior Code ICD-O-3 = 0 (benign) or 1 (borderline) and schema is not Brain, CNSOther, or IntracranialGland This edit first determines the 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 Mets at DX-Bone = 1 (yes), then CS Mets at DX must not = 00 (none) or 99 (unknown). If CS Mets at DX = 00 (none), then CS Mets at DX-Bone must = 0 (none: no bone metastases). If CS Mets at DX = 98 (not applicable) and CS schema is not IllDefinedOther, then CS Mets at DX-Bone must = 8 (not applicable).]]></description> <history> <event version="SE12-002-01" user="murphyr" date="2010-03-05">Edit created.</event> <event version="SE12-007-01" user="murphyr" date="2012-03-12" ref="66684">Added 99 as an invalid code for CS Mets at DX</event> <event version="SE12-008-01" user="murphyr" date="2012-08-15" ref="66723">Added 'If CS Mets at DX = 00 then CS Mets at DX-Bone must = 0'</event> <event version="SE13-010-01" user="murphyr" date="2013-05-13" ref="66873">Added logic for site C809</event> <event version="SE14-012-02" user="depryf" date="2014-07-23" ref="67089">Now checking 'IllDefinedOther' instead of 'C809'; added exclusion for behavior 0/1 for some CS schemas.</event> <event version="SE15-013-01" user="kirbyk" date="2015-01-08" ref="67124">Updated description.</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 edit dependencies.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy