All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edits.seer.internal.rules.IF26E98_3_P1.xml Maven / Gradle / Ivy

There is a newer version: 024-13
Show newest version
        <rule id="IF26E98_3_P1" name="Extent of Disease 12-Digit ICDO3 (SEER IF26E98)" tag="N2365" java-path="lines.line" category="inter-field" depends="Histologic_Type_ICD-O-3,Primary_Site,Year_of_Diagnosis">
            <expression><![CDATA[if (line.codingSystemForEod != '4' || line.dateOfDiagnosisYear < '1998' || line.dateOfDiagnosisYear == null ||
    (line.histologicTypeIcdO3 == null && line.behaviorCodeIcdO3 == null))
  return true

Integer siteNum = Functions.asInt(line.primarySite.substring(1))

return (Functions.matches(line.primarySite, /^C[0-9][0-9][0-9]$/) &&
    Functions.matches(line.histologicTypeIcdO3, /^[0-9][0-9][0-9][0-9]$/) && Functions.matches(line.behaviorCodeIcdO3, /^[123]$/) &&
    siteNum <= 810)]]></expression>
            <message>Catastrophic Error in IF2610DG_3</message>
            <description><![CDATA[This edit is only performed if Coding System for EOD = 4, indicating that 10-digit EOD is coded and year of diagnosis after 1997.  However, the edit is skipped if any of the single field edits for Primary Site, Histologic Type ICD-O-3, Behavior Code ICD-O-3, Type of Reporting Source, or Date of Diagnosis have failed.

The edit is skipped if Morph--Type&Behav ICD-O-3 is blank.  The edit validates the Extent of Disease according to the 10-digit EOD for each site as defined in the "SEER Extent of Disease--1988:  Codes and Coding Instructions," 3rd ed., 1998.

The edit is skipped if year of diagnosis is blank.

The behavior code is checked against the extent of disease fields to verify validity (1, 2, or 3).  A behavior code of 1 is allowed because the behavior codes of some morphologies changed from 3 to 1 when converted from ICD-O-2 to ICD-O-3.)

If Death Certificate only case (Type of Reporting Source = '7') the SEER 10-digit Extent of Disease must be '999909999990' for prostate cases and '9999999999  ' for all other cases.

If Number of Regional Nodes Positive is 01-97, then Lymph Nodes must be = 1-8.  This check is not performed for the following sites and types.

Kaposi sarcoma, M-9140
Hematopoietic, M-9731-9989
Lymphomas, M-9590-9699,9702-9729
Mycosis fungoides, M-9700-9701
Brain, T-C70.0,C71._
Other CNS, T-C70.1,C70.9,C72.0-C72.5,C72.8
Other and ill-defined, T-C76.0-C76.8,C80.9,C42._,C77._

For the following sites and types, Regional Nodes Positive and Regional Nodes Examined must both be coded '99'.

Brain, T-C70.0,C71._
Other CNS, T-C70.1,C70.9,C72.0-C72.5,C72.8,C72.9
Other and ill-defined, T-C76.0-C76.5,C76.7,C76.8, C80.9,C42._,C77._
Hematopoietic, etc., M-9731-9989
Lymphomas, M-9590-9699,9702-9729

For site C77.8 the EOD--Extension[790] field cannot be 10 or 11.]]></description>
            <history>
                <event version="SE11-001-16" user="greend" date="2002-04-15">Tables modified to allow the following extensions for Breast (C50.0 - C50.9): 11,13-18,21,23-28,31,33-38.</event>
                <event version="SE11-001-18" user="greend" date="2004-07-29">For site C77.8 the EOD--extension field cannot be 10 or 11.</event>
                <event version="SE12-002-01" user="murphyr" date="2009-12-29">Edit is no longer skipped if year of diagnosis is 9-filled.  Instead it is skipped if year of diagnosis is blank.</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-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 some edit dependencies.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy