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

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

There is a newer version: 024-13
Show newest version
        <rule id="IF97_3" name="RX Summ--Reg LN Ex,DateDX,RptSrc,ICDO3 (SEER IF97)" tag="N0848" 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.histologicTypeIcdO3 == null || (line.dateOfDiagnosisYear == '2003' && line.rxSummRegLnExamined == null))
    return true
if (line.registryId == '0000001562' || line.registryId == '0000001563')
    return true
if (line.registryId == '0000001565' && line.dateOfDiagnosisYear < '2003')
    return true
if (line.registryId == '0000001566' && line.dateOfDiagnosisYear == '2000')
    return true
if (line.dateOfDiagnosisYear < '1998' || line.dateOfDiagnosisYear >= '2004')
    return line.rxSummRegLnExamined == null
if (line.typeOfReportingSource == '6') {
    if (Functions.matches(line.primarySite, /^C(700|71\d|809)$/) || Functions.between(line.histologicTypeIcdO3, '9590', '9989'))
        return line.rxSummRegLnExamined == '00' || line.rxSummRegLnExamined == '99'
    return line.rxSummRegLnExamined == '00'
}
if (line.typeOfReportingSource == '7')
    return line.rxSummRegLnExamined == '99'
return line.rxSummRegLnExamined != null]]></expression>
            <message>RX Summ--Reg LN Examined, Date of Dx conflict (ICD-O-3)</message>
            <description><![CDATA[This edit is skipped if any of the following conditions are true:
    1.  Year of Date of Diagnosis is equal to 2003 and RX Summ--Reg LN Examined is blank.
    2.  Year of Date of Diagnosis is blank.
    3.  Histologic Type ICD-O-3 is blank.
    4.  Registry ID = 0000001562 (New York) or 0000001563 (Massachusetts).
    5.  Registry ID = 0000001565 (Illinois) and Year of Date of Diagnosis is less than 2003.
    6.  Registry ID = 0000001566 (Texas) and Year of Date of Diagnosis is 2000.

If the year of Date of diagnosis is less than 1998 or greater than 2003, then RX Summ--Reg LN Examined must be blank.

If the year of Date of diagnosis is 1998-2003:
1.  If Type of Reporting Source is 6 (autopsy only)
    A.  For Primary Site of brain (C700, C710-C719), unknown site (C809),
        lymphoma and hematopoietic (Histologic Type ICD-O-3 = 9590-9989),
        RX Summ--Reg LN Examined  must specify none (00) or unknown (99).
    B.  For all other sites/histologies, RX Summ--Reg LN Examined must
       specify none (00).

2.  If Type of Reporting Source is 7 (death certificate only),
    then RX Summ--Reg LN Examined must be 99 (unknown).

3.  For all other values of Type of Reporting Source:
    RX Summ--Reg LN Examined cannot be blank.]]></description>
            <history>
                <event version="SE12-002-01" user="murphyr" date="2009-12-03">Changed edit to not accept 9999 as a year of diagnosis.</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-018-02" user="schadega" date="2018-05-17" ref="67760">Name change.</event>
                <event version="SE18-018-12" user="kirbyk" date="2019-01-29" ref="68096">Edit is skipped for registries MA and NY.</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="SE21-021-08" user="beverung" date="2021-08-18" ref="68709">Added skip condition for IL for DX Year &lt; 2003</event>
                <event version="SE21-021-09" user="beverung" date="2021-09-03" ref="68739">Added skip condition for TX for DX Year 2000.</event>
                <event version="SE24-024-06" user="kirbyk" date="2024-07-03" ref="69326">Removed some edit dependencies.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy