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

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

There is a newer version: 024-13
Show newest version
        <rule id="IF258" name="CS Extension, CS Tumor Size, Breast Schema (CS)" tag="N1173" java-path="lines.line" category="inter-field" >
            <expression><![CDATA[if (line.csExtension == null || line.csTumorSize == null || line.histologicTypeIcdO3 == null || line.primarySite == null)
    return true
if (line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1')
    return true

if (line._csSchemaId == 'breast') {
    if (line.csTumorSize == '997' && (line.csExtension != '050' && line.csExtension != '070'))
        return false
    if (line.csTumorSize == '996' && (line.csExtension > '400' && line.csExtension != '999'))
        return false
    if (line.csExtension == '170' && (line.csTumorSize != '990' && line.csTumorSize != '991' && line.csTumorSize != '992'))
        return false
    if (line.csExtension == '180' && line.csTumorSize != '995')
        return false
}

return true]]></expression>
            <message>CS Extension and CS Tumor Size conflict for Breast schema</message>
            <description><![CDATA[This edit verifies that CS Extension and CS Tumor Size are coded consistently
    for the Breast schema.

    This edit is skipped if any of the following conditions are true:
    1. CS Extension or CS Tumor Size is empty.
    2. Behavior Code ICD-O-3 = 0 (benign) or 1 (borderline)

    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 CS schema is Breast:

    If CS Tumor Size = 997 (Paget disease of nipple without demonstrable tumor), CS
    Extension must = 050 (Paget without tumor) or 070 (Paget without tumor
    pathologically).

    If CS Tumor size = 996 (Mammographic/xerographic diagnosis only, no size given;
    clinically not palpable), CS Extension must not equal 400 or higher (T4 tumors),
    except for code 999 (unknown extension).

    If CS Extension = 170 (T1 with no other information on size or extension), CS
    Tumor Size must = 990, 991, or 992 (Stated as T1mic, T1b,T1NOS/T1c with no other
    information on size).

    If CS Extension = 180 (T2 with no other information on size or extension),CS
    Tumor Size must = 995 (Stated as T2 with no other information on size).]]></description>
            <history>
                <event version="SE12-002-01" user="murphyr" date="2010-02-03">Edit created.</event>
                <event version="SE12-004-01" user="murphyr" date="2011-01-20">Changed CS Tumor size = 996 condition.</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="SE18-018-01" user="schadega" date="2018-04-11" ref="67741">Edit name change.</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-04" user="kirbyk" date="2024-04-12" ref="69326">Removed edit dependencies.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy