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

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

The newest version!
        <rule id="IF227" name="CS Extension, Schema (CS)" tag="N1116" java-path="lines.line" category="inter-field" depends="CS_Extension">
            <expression><![CDATA[if (line.histologicTypeIcdO3 == null || line.primarySite == null || line.csExtension == null)
    return true
if ((line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1') && line._csSchemaId != 'brain' && line._csSchemaId != 'cns_other' && line._csSchemaId != 'intracranial_gland')
    return true

if (line._csSchemaId == null)
    return true

return Functions.isAcceptableCsCode(line, 'csExtension',line.csExtension)]]></expression>
            <message>CS extension is invalid for this schema.</message>
            <description><![CDATA[This edit verifies that CS Extension is correct for a particular schema. The
    schema determined by Primary Site, Histologic Type ICD-O-3, and sometimes CS
    Site-Specific Factor25 (schema discriminator).

    This edit is skipped if any of the following conditions are true:
    1. CS Extension, Primary Site, or Histologic Type ICD-O-3 is blank.
    2. Behavior Code ICD-O-3 = 0 (benign) or 1 (borderline) and Schema is not Brain, CNSOther, or IntracranialGland.
    3. CS schema is invalid

    This edit verifies that CS Extension is valid for a particular schema by doing
    function calls to the CS Dynamic Link Library (dll).

    Note: This edit does not check for obsolete codes.  Obsolete codes for CS
    Extension are edited by "Obsolete Codes - CS Extension (SEER IF270)".]]></description>
            <history>
                <event version="SE12-002-01" user="murphyr" date="2010-01-28">Edit Created.</event>
                <event version="SE12-003-03" user="murphyr" date="2011-02-11">Updated documentation.</event>
                <event version="SE13-010-01" user="murphyr" date="2013-07-12" ref="66904">Added blank schema skip 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-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 several dependencies.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy