edits.seer.internal.rules.Primary_Site.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="Primary_Site" name="Primary Site (SEER SITE)" tag="N0007" java-path="lines.line" category="field"> <expression><![CDATA[if (Functions.matches(line.primarySite, /^C\d\d\d$/)) return ((List)Context.Primary_Site_Table).contains(Functions.asInt(line.primarySite.substring(1))) return false]]></expression> <message>Primary site is not valid.</message> <description><![CDATA[Must be one of the topography codes defined by the "International Classification of Diseases for Oncology, Second Edition." (The decimal point is dropped and the 'C' is required.)]]></description> <history> <event version="SE11-001-07" user="greend" date="1991-09-15">Conversion of topography codes from ICD-O-1 to ICD-O-2.</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> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy