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

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

There is a newer version: 024-13
Show newest version
        <rule id="IF101" name="RX Summ--Surg Oth Reg/Dis, DateDX, RPTSRC (SEER IF101)" tag="N0782" java-path="lines.line" category="inter-field" depends="Histologic_Type_ICD-O-3,Primary_Site,RX_Summ--Surg_Oth_Reg-Dis,Type_of_Reporting_Source,Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null)
   return true

if (line.dateOfDiagnosisYear > '2002') {
    if (line.typeOfReportingSource == '6') {
       if (Functions.matches(line.primarySite, /^C(700|71\d|809)$/) || Functions.between(line.histologicTypeIcdO3, '9590', '9993'))
          return Functions.matches(line.rxSummSurgOthRegDis, /^[09]$/)
       return line.rxSummSurgOthRegDis == '0'
    }

    if (line.typeOfReportingSource == '7')
       return line.rxSummSurgOthRegDis == '9'

    return line.rxSummSurgOthRegDis != null
}

return true]]></expression>
            <message>RX Summ--Surg Oth Reg/Dis, Date of Dx conflict</message>
            <description><![CDATA[This edit is skippped if any of the following conditions are true:
  1) Year of Diagnosis[390] is blank.


If year of diagnosis [390] greater than 2002 then

    1.  If Type of Reporting Source[500] = 6 (autopsy only)

        A.  If Primary Site[400]= C70.0,C71.0-C71.9(brain) or
            C80.9(unknown site), or Histologic Type ICD-O-3[522]=9590-9993
            (hematopoietic, lymphoma or leukemia), RX Summ-surg oth
            reg/dis[1294] must be 0(none) or 9 (unknown).
        B.  For all other sites and histologies
            RX Summ-surg oth reg/dis[1294] must specify none (0).

    2.  If Type of Reporting Source[500] = 7 (death certificate only),
        RX Summ-surg oth reg/dis[1294] must specify unknown (9).

    3.  For all other values of Type of Reporting Source[500],
        RX Summ-surg oth reg/dis[1294] must not be blank.]]></description>
            <history>
                <event version="SE11-001-18" user="greend" date="2004-12-28">This edit now forces RX Summ--surg oth reg/dis[1294] to not be blank for 2004+ cases.</event>
                <event version="SE11-001-19" user="greend" date="2005-05-26">This edit no longer uses RX Coding System--Current.  Edit checks for Type of Reporting Source values versus RX Summ--surg oth reg/dis were added.</event>
                <event version="SE11-001-20" user="greend" date="2006-03-30">This edit is no longer skipped if year of diagnosis is 2003 and RX summ--surg oth reg/dis is blank.</event>
                <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="SE12-002-01" user="murphyr" date="2010-01-27">Hematopoietic range changed from 9590-9989 to 9590-9992.</event>
                <event version="SE12-003-03" user="murphyr" date="2011-02-10">Updated documentation.</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-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event>
                <event version="SE18-020-04" user="beverung" date="2020-06-18" ref="68357">Add 9993 to skip condition histologies.</event>
                <event version="SE18-020-05" user="beverung" date="2020-08-28" ref="68519">Updated to only require blank for dx years &lt; 2001, and to allow blank or non-blank for 2001-2002.</event>
                <event version="SE22-022-01" user="beverung" date="2022-01-20" ref="68897">Update edit name to match new NAACCR translated edit.</event>
                <event version="SE24-024-07" user="beverung" date="2024-08-06" ref="69523">Removed logic requiring RX Summ--surg oth reg/dis[1294] to be blank before 2001.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy