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

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

The newest version!
        <rule id="IF510" name="Primary Site, Heme Morph, DateDX, Override (SEER)" tag="N2022" java-path="lines.line" category="inter-field" depends="Histologic_Type_ICD-O-3,Primary_Site,Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.behaviorCodeIcdO3 == null || line.behaviorCodeIcdO3 != '3' ||
    line.histologicTypeIcdO3 == null || line.histologicTypeIcdO3 < '9590' || line.histologicTypeIcdO3 > '9993' || line.primarySite == null || line.overRideSiteType == '1')
    return true

if (line.dateOfDiagnosisYear >= '2010') {
    Integer hist = Functions.asInt(line.histologicTypeIcdO3)
    if ([9650,9651,9652,9653,9655,9659,9663,9688].contains(hist)) {
        if (!(Functions.matches(line.primarySite, /^C77[0-9]$/)))
            return false
    }
    else if ([9597,9700,9701,9709,9718,9725].contains(hist)) {
        if (!(Functions.matches(line.primarySite, /^C44[0-9]$/)) && !(Functions.matches(line.primarySite, /^C51[01289]$/)) && !(Functions.matches(line.primarySite, /^C60[01289]$/)) && line.primarySite != 'C632')
            return false
    }
    else if (hist == 9708 || hist == 9726) {
        if (!(Functions.matches(line.primarySite, /^C4[49][0-9]$/)) && !(Functions.matches(line.primarySite, /^C(51|60)[01289]$/)) && line.primarySite != 'C632')
            return false
    }
    else if (hist == 9719) {
        if (!(Functions.matches(line.primarySite, /^C(05|11|31)[0-9]$/)) && !(Functions.matches(line.primarySite, /^C30[01]$/)))
            return false
    }
    else if (hist == 9751) {
        if (!(Functions.matches(line.primarySite, /^C(34|4[0149]|77)[0-9]$/)) && line.primarySite != 'C421')
            return false
    }
}

return true]]></expression>
            <message>Site, Hist/Beh and Year of diagnosis conflict.</message>
            <description><![CDATA[This edit complements the edit 'Primary Site, Morphology-Type,Beh ICDO3(SEER IF25)' which is based on the ICD-O-3 SEER Site/Histology Validation List and requires review of unusual site/histology/behavior combinations. 'Primary Site, Morphology-Type,Beh ICDO3(SEER IF25)' does not check diagnosis year. This edit checks diagnosis year and narrows the list of preferred site codes for some hematopoietic histologies for cases diagnosed 2010 and later. Cases with primary sites that are not included in the preferred list must be reviewed. If upon review the site/type combination is found to be accurate and in conformance with coding rules, it may be left as coded and the Over-ride Site/Type flag coded to 1.

This version of the edit includes the over-ride field 'Over-ride Site/Type' and should run at the central registry level. The hospital registry version of this edit is 'Primary Site, Heme Morph, DateDX, Override (COC)' and includes the hospital level field 'Over-ride COC-Site/Type' instead of the central registry field 'Over-ride Site/Type.'

This edit is skipped if any of the following conditions are true:
1. Primary Site is blank
2. Histologic Type ICD-O-3 is blank or not in range 9590-9993
3. Behavior Code ICD-O-3 is blank or not = 3
4. Date of Diagnosis is blank or invalid
5. Over-ride Site/Type = 1

If year of diagnosis is 2010 or later, the following Primary Site codes are the preferred codes for use with the listed Histologic Type ICD-O-3 codes.  If other Primary Site codes are coded and, after review, determined to be correct, the Over-ride Site/Type should be set to '1'.

9650, 9651, 9652, 9653, 9655, 9659, 9663,9688
    C770-C779

9597, 9700, 9701, 9709, 9718, 9725
    C440-C449, C510-C512, C518-C519, C600-C602, C608-C609, C632

9708, 9726
    C440-C449, C490-C499, C510-C512, C518-C519, C600-C602, C608-C609, C632

9719
    C050-C059, C110-C119 C300-C301, C310-C319

9751
    C340-C349, C400-C419, C421, C440-C449, C490-C499, C770-C779]]></description>
            <history>
                <event version="SE15-013-01" user="kirbyk" date="2015-01-09" ref="67140">Edit created.</event>
                <event version="SE15-013-02" user="kirbyk" date="2015-03-02" ref="67198">Sites changed for histologies 9708, 9719, 9726, 9751.</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="SE16-016-10" user="kirbyk" date="2018-01-17" ref="67683">Fixed documentation.</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="SE18-020-04" user="beverung" date="2020-06-18" ref="68356">Update 2010 heme histologies and help text.</event>
                <event version="SE24-024-04" user="kirbyk" date="2024-04-17" ref="69326">Removed several edit dependencies.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy