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

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

There is a newer version: 024-13
Show newest version
        <rule id="IF01" name="EOD--Old 13 digit, Primary Site, Hist (SEER IF01)" tag="N0318" java-path="lines.line" category="inter-field" depends="County_at_DX_Analysis,Month_of_Diagnosis,Primary_Site,Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '1975' || line.dateOfDiagnosisYear > '1982'
       || line.registryId == '0000001544' || line.typeOfReportingSource == '7')
    return true

if (((line.dateOfDiagnosisYear == '1975' && ((line.registryId == '0000001501' && (Functions.asInt(line.countyAtDxAnalysis) >= 75) && Functions.asInt(line.countyAtDxAnalysis) <= 81)
       || line.registryId != '0000001501')) || line.dateOfDiagnosisYear > '1975') && Functions.matches(line.primarySite, /^C(18[02-7]|199|209|50\d)$/))
    return line.codingSystemForEod == '2'

if ((line.dateOfDiagnosisYear > '1977' || (line.dateOfDiagnosisYear == '1977' && (line.dateOfDiagnosisMonth != null && Functions.asInt(line.dateOfDiagnosisMonth) >= 5))) && ((Functions.matches(line.primarySite, /^C(024|099|111|142|379|422|77\d)$/) && Functions.between(line.histologicTypeIcdO3, '9590', '9698'))
       || (Functions.matches(line.primarySite, /^C(44[0-7]|51\d|60[0189])$/) && Functions.between(line.histologicTypeIcdO3, '8720', '8790'))))
    return line.codingSystemForEod == '2'

if ((line.dateOfDiagnosisYear > '1977' || (line.dateOfDiagnosisYear == '1977' && (line.dateOfDiagnosisMonth != null && Functions.asInt(line.dateOfDiagnosisMonth) >= 11))) && Functions.matches(line.primarySite, /^C(16[1-9]|34[1-9]|53\d|54[0-8]|619|67[0-689])$/))
   return line.codingSystemForEod == '2'

return true]]></expression>
            <message>Coding System for EOD, Year of Diagnosis, and Primary Site conflict</message>
            <description><![CDATA[This edit is skipped under the following conditions:
    1.  Year of Date of Diagnosis is blank
    2.  Registry ID is equal to 0000001544 (New Jersey)

The EOD--Old 13 digit is not required for any case that the:
1.  Date of Diagnosis is before 1975;
2.  Date of Diagnosis is after 1982; or
3.  Type of Reporting Source specifies a death certificate only case (7).

The EOD--Old 13 digit is required for all cases reported from San Mateo (081) and San Francisco (075) counties of the San Francisco/Oakland SMSA registry (0000001501) or from any other registry (0000001502, 0000001520-0000001523, 0000001525-0000001527, 0000001533, 0000001537) diagnosed in 1975 with Primary Site of breast (C500-C509); colon (C180, C182-C187); or rectum and rectosigmoid (C199,C209).

The EOD--Old 13 digit is required for all cases diagnosed in 1976-82 with a Primary Site of breast (C500-C509); colon (C180, C182-C187); or rectum and rectosigmoid (C199, C209).

The EOD--Old 13 digit is required for all cases diagnosed on or after May 1, 1977, with a diagnosis of lymphoma of lymphoid tissue (sites C770-C779, C024, C099, C111, C142, C379, C422 with histologies 9590-9698) or melanoma of skin (sites C440-C447, C510-C519, C600-C601, C608-C609 with histologies 8720-8790).

The EOD--Old 13 digit is required for all cases diagnosed on or after November 1, 1977, with a Primary Site of stomach (C161-C169), lung (C341-C349), cervix uteri (C530-C539), corpus uteri (C540-C548), prostate (C619), or bladder (C670-C676, C678-C679).

The Coding System for Extent of Disease is used to determine if the EOD--Old 13 digit has been submitted. That is, the field Coding System for EOD must = 2.]]></description>
            <history>
                <event version="SE11-001-01" user="greend" date="1985-06-15">Added code to bypass any case from New Jersey, registry 34 (New Jersey submits no SEER extended extent of disease codes for any year).</event>
                <event version="SE11-001-01" user="greend" date="1985-08-20">Diagnosis date is now a six digit field.</event>
                <event version="SE11-001-07" user="greend" date="1991-09-15">Coversion of topography and morphology codes from ICD-O-1 to ICD-O-2.  This edit no longer refers to the New Jersey registry since NJ no longer participates in the SEER program.</event>
                <event version="SE11-001-17" user="greend" date="2003-09-22">Edit modified to skip cases from New Jersey.</event>
                <event version="SE11-001-19" user="greend" date="2005-06-20">Edit skipped if year of diagnosis is blank or 9-filled.</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-019-02" user="kirbyk" date="2019-05-16" ref="68185">Updated documentation; 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-06" user="cooki" date="2023-07-31" ref="69294">Updated countyAtDx to countyAtDxAnalysis.</event>
                <event version="SE24-024-06" user="cooki" date="2024-07-18" ref="69509">Deleted deprecated dependency.</event>
                <event version="SE24-024-06" user="kirbyk" date="2024-07-03" ref="69326">Removed some edit dependencies.</event>
                <event version="SE24-024-06" user="shearerw" date="2024-07-25" ref="69510">Switch from ICD-O-2 to ICD-O-3.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy