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

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

The newest version!
        <rule id="IF235" name="CS Site-Specific Factor 3, Schema (SEER)" tag="N2412" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Extension,CS_Site-Specific_Factor_25,CS_Site-Specific_Factor_3,Histologic_Type_ICD-O-3,Primary_Site,Year_of_Diagnosis">
            <expression><![CDATA[if (line.histologicTypeIcdO3 == null || line.primarySite == null || line.csSiteSpecificFactor3 == 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

if ((line.dateOfDiagnosisYear == '2016' || line.dateOfDiagnosisYear == '2017') && line.csExtension == null && ['lacrimal_gland','melanoma_skin','merkel_cell_penis','merkel_cell_scrotum','merkel_cell_skin','merkel_cell_vulva','prostate','skin_eyelid'].contains(line._csSchemaId))
    return true

return Functions.isAcceptableCsCode(line, 'csSiteSpecificFactor3',line.csSiteSpecificFactor3)]]></expression>
            <message>CS site-specific factor 3 is invalid for this schema.</message>
            <description><![CDATA[This edit verifies that CS Site-Specific Factor 3 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 Site-Specific Factor 3, 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
    4. Year of Diagnosis is 2016-2017 and CS Extension is blank and schema is LacrimalGland, MelanomaSkin, MerkelCellPenis, MerkelCellScrotum, MerkelCellSkin, MerkelCellVulva, Prostate, SkinEyelid

    This edit verifies that CS Site-Specific Factor 3 is valid for a particular
    schema by doing  function calls to the CS Dynamic Link Library (dll).]]></description>
            <history>
                <event version="SE12-002-01" user="murphyr" date="2010-01-28">Edit created.</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-04-05" ref="67265">Added skip condition for some cases with DX year 2016.</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="SE16-016-01" user="kirbyk" date="2016-12-08" ref="67563">Some 2017 cases are now skipped.</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="SE23-023-02" user="shearerw" date="2023-05-04" ref="69268">Edit name and tag changed.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy