edits.seer.internal.rules.IF212.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="IF212" name="CS Extension, Brain Schema (CS)" tag="N1024" java-path="lines.line" category="inter-field" depends="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 == 'brain') { if (Functions.matches(line.primarySite, /^C71[1-5]$/)) return ! (Functions.matches(line.csExtension, /^1[12]0|200|510$/)) if (Functions.matches(line.primarySite, /^C71[67]$/)) return ! (Functions.matches(line.csExtension, /^[15]00$/)) } return true]]></expression> <message>CS Extension and Brain Schema conflict</message> <description><![CDATA[The purpose of this edit is to verify the following: 1. CS Extension codes indicating infratentorial tumors are not coded to supratentorial sites of the brain. 2. CS Extension codes indicating supratentorial tumors are not coded to infratentorial sites of the brain. This edit is skipped if any of the following conditions are true: 1. CS Extension is empty. If Primary Site = C711-C715 (supratentorial), then CS Extension must not = 110, 120, 200, or 510 (infratentorial tumors). If Primary Site = C716-C717 (infratentorial), then CS Extension must not = 100 or 500 (supratentorial tumors).]]></description> <history> <event version="SE11-001-23" user="greend" date="2009-01-07">This edit was created.</event> <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="SE16-015-01" user="kirbyk" date="2016-05-04" ref="67370">Changed edit to use schema IDs instead of schema names</event> <event version="SE16-016-08" user="depryf" date="2017-11-22" ref="67674">Edit syntax updated to allow pre-compilation optimization; no change in behavior.</event> <event version="SE18-018-01" user="schadega" date="2018-04-11" ref="67741">Edit name change.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy