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

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

        <rule id="IF2610DG_P12" name="EOD--Extension Prost Path, Prim Site, ICDO2 (NAACCR)" tag="N0420" java-path="lines.line" category="inter-field" depends="Coding_System_for_EOD,DateDiagnosisEdit,EOD--Extension_Prost_Path,Histology_92-00_ICD-O-2,Primary_Site,Type_of_Reporting_Source,Year_of_Diagnosis">
            <expression><![CDATA[if (line.codingSystemForEod != '4' || line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '1995' || line.dateOfDiagnosisYear > '1997' || (line.histologyIcdO2 == null && line.behaviorIcdO2 == null))
    return true
if (line.primarySite != 'C619')
    return line.eodExtensionProstPath == null
else if (line.histologyIcdO2 < '9590' && line.histologyIcdO2 != '9140') {
    if (line.eodExtensionProstPath == null)
        return false
    if (line.typeOfReportingSource == '7' && line.eodExtensionProstPath != '90')
        return false
    if (line.behaviorIcdO2 == '2' && !(line.eodExtensionProstPath == '00' || line.eodExtensionProstPath == '99'))
        return false
    if (line.behaviorIcdO2 == '3' && !Functions.matches(line.eodExtensionProstPath, /^(2[0-3]|3[0-4]|4[1-59]|5[0-3]|6[01]|70|85|9[089])$/))
        return false
}
return true]]></expression>
            <message>Primary Site and EOD--extension prost path pre-1998 conflict</message>
            <description><![CDATA[This edit is skipped for the following conditions:
1) Eod Coding System is not equal 4
2) Year of Diagnosis < 1995 or > 1997 or null
3) ICDO2 Histology and ICDO2 Behavior are null

If Primary Site is not = C619 then Pathologic Prostate Extension must be blank.

If Primary site = C619 and ICDO2 Histology is < 9590 and not 9140 then apply the following checks:
1) Pathologic Prostate Extension cannot be blank
2) If Type Of Reporting Source = 7, Pathologic Prostate Extension must be 90
3) If ICDO2 Behavior = 2, Pathologic Prostate Extension must be 00, 99
4) If ICDO2 Behavor = 3, Pathologic Prostate Extension must be 20-23, 30-34, 41-45, 49, 50-53, 60-61, 70, 85, 90, 98, 99]]></description>
            <history>
                <event version="SE11-001-04" user="greend" date="1988-11-01">&apos;9800&apos; is valid for in situ positive/examined nodes.</event>
                <event version="SE11-001-05" user="greend" date="1989-02-01">New versions of coding manual (12/88 and 02/89) caused some changes.</event>
                <event version="SE11-001-05" user="greend" date="1989-08-01">Modified to check for non-numeric values in numeric fields.</event>
                <event version="SE11-001-06" user="greend" date="1990-12-01">New version of coding manual caused some changes.  Most changes were in site = EYE.</event>
                <event version="SE11-001-07" user="greend" date="1991-09-15">Conversion of topography and morphology code from ICD-O-1 to ICD-O-2.</event>
                <event version="SE11-001-08" user="greend" date="1992-02-03">For site C31.0 (Maxillary sinus) the extension code 65 is now valid for diagnosis years 1988+.</event>
                <event version="SE11-001-08" user="greend" date="1992-07-15">For site C24.1 (Ampulla of Vater) the extension codes 55 and 65 are now valid.  For site C34.0-C34.3, C34.8-C34.9 (Lung) the extension code 25 is valid and the extension code 55 is not.  For site C22.0-C22.1 (interhepatic bile ducts) 5 is no longer valid for lymph node.</event>
                <event version="SE11-001-08" user="greend" date="1992-12-15">Site C70.9 was grouped with Other parts of CNS instead of Brain.  Diagnosis date was added to the edit.  For 1991+ new extension codes apply for sites C25.0-C25.4 (Pancreas: head, body, &amp; tail) and sites C25.7-C25.9 (Pancreas: other &amp; unspecified).  An error message was added to the edit.  There is now a check that if positive lymph nodes = 01 - 97 then the lymph node field must = 1 - 8.  The new message is EOD10-NUM REG NODES POS/LYMPH NODES.</event>
                <event version="SE11-001-09" user="greend" date="1993-02-01">The edit was modified so that when checking 1991+ pancreas extension the histology is considered instead of just the site i.e., pancreas with histology 9680 (lymphoma) would be treated as a lymphoma and therefore would not be checked for a 1991+ pancreas extension.</event>
                <event version="SE11-001-09" user="greend" date="1993-04-28">The edit was modified so that the definition of lymph node values is character instead of numeric.  This allows blanks in the lymph node but they will still be flagged as an error.</event>
                <event version="SE11-001-10" user="greend" date="1994-01-10">The following check was added:  for brain, other CNS, other and ill-defined sites, hematopoletic, and lymphomas, number of nodes examined and number of positive nodes must both be coded to &apos;99&apos;.</event>
                <event version="SE11-001-10" user="greend" date="1994-07-01">Program modified to include histology 9740, 9741 with the coding scheme used for hematopoietic, reticuloendothelial, immunoproliferative and myeloproliferative neoplasms.  New extension codes for prostate cases diagnosed in 1994 are:  00, 10-15, 20-29, 30-31, 40-41, 48, 49, 50-53, 55-56, 60-62, 65, 70, 80, 85, 99.</event>
                <event version="SE11-001-11" user="greend" date="1995-10-01">Valid codes for the 1995 prostate clinical extension field are:  00, 10-15, 20-24, 30-32, 41-45, 49-53, 60-61, 70, 85, 90.  Valid codes for the new 1995 prostate pathological extension field are:  00, 20-23, 30-32, 41-45, 49-53, 60-61, 70, 85, 90, 98, 99.  Error message was added for new path extension field.  Error message was added for death certificate cases that are coded improperly.</event>
                <event version="SE11-001-12" user="greend" date="1996-07-17">Program modified to correctly edit Death Certificate Only cases.</event>
                <event version="SE11-001-13" user="greend" date="1997-01-27">Program modified to include new lymphoma codes.</event>
                <event version="SE11-001-16" user="greend" date="2002-10-07">Edit skipped for cases diagnosed before 1994 from the California registry.</event>
                <event version="SE11-001-17" user="greend" date="2003-01-30">Updated to correctly edit behavior and extension for prostate cases.</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-18">Edit no longer checks for 9-filled dates.</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-02" user="schadega" date="2018-05-17" ref="67760">Name change.</event>
                <event version="SE18-019-02" user="kirbyk" date="2019-05-16" ref="68185">Updated documentation; no change in behavior.</event>
                <event version="SE18-019-03" user="beverung" date="2019-07-19" ref="68232">Updated documentation and logic.</event>
                <event version="SE18-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event>
            </history>
        </rule>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy