edits.seer.internal.rules.IF314.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.
The newest version!
<rule id="IF314" name="CS Mets at DX, Rectum Schema (CS)" tag="N1172" java-path="lines.line" category="inter-field"> <expression><![CDATA[if (line.csMetsAtDx == null) return true if (line._csSchemaId == 'rectum'){ if (line.csMetsAtDxBone == '1' || line.csMetsAtDxBrain == '1' || line.csMetsAtDxLiver == '1' || line.csMetsAtDxLung == '1') return !(Functions.matches(line.csMetsAtDx, /^00|08|16|18|29|31|33$/)) } return true]]></expression> <message>Conflict among CS Mets at DX and CS Mets at DX-Bone, Lung, Brain, or Liver codes for Rectum schema</message> <description><![CDATA[The purpose of this edit is to verify that CS Mets at DX and CS Mets at DX-Bone, Lung, Brain, and Liver are coded consistently for the Rectum schema. This edit is skipped if CS Mets at DX is empty. 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. If schema is Rectum: If CS Mets at DX-Bone, CS Mets at DX-Lung, CS Mets at DX-Brain, or CS Mets at DX-Liver = 1 (yes), then CS Mets at DX must not = 00, 08, 16, 18, 29, 31, or 33.]]></description> <history> <event version="SE12-002-01" user="murphyr" date="2010-03-10">Edit created.</event> <event version="SE12-004-01" user="murphyr" date="2011-02-14">Edit updated for CSv2 version 02.03.02.</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> <event version="SE24-024-06" user="kirbyk" date="2024-07-22" ref="69326">Removed edit dependencies.</event> </history> </rule>