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

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

There is a newer version: 024-13
Show newest version
        <rule id="IF25_3" name="Primary Site, Morphology-Type, Beh ICDO3 (SEER IF25)" tag="N1254" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis,Behavior_Code_ICD-O-3,Histologic_Type_ICD-O-3,Primary_Site">
            <expression><![CDATA[if (line.dateOfDiagnosisYear > '2023' || line.overRideSiteType == '1' || line.histologicTypeIcdO3 == null || line.behaviorCodeIcdO3 == null)
   return true

Integer siteNum = Functions.asInt(line.primarySite.substring(1))
Integer histNum = Functions.asInt(line.histologicTypeIcdO3)
Integer behNum = Functions.asInt(line.behaviorCodeIcdO3)

return ((List)((Map)((Map)Context.If25_3_SiteReferenceTable).getOrDefault(siteNum, [:])).getOrDefault(behNum, [])).contains(histNum)]]></expression>
            <message>Primary Site and Morphology ICD-O-3 conflict</message>
            <description><![CDATA[This edit is skipped if any of the following conditions are true:
  1)  Diagnosis date > 2023
  2)  Over-ride site/type[2030] = 1 (review complete)
  3)  Histologic Type ICD-O-3 [522] is blank
  4)  Behavior Code ICD-O-3 [523] is blank

If Primary Site[400] is not in the range C000-C999, or if Histologic Type ICD-O-3[522] is not in the range 8000-9999, the message "Catastrophic error in IF25_3 is returned and no further editing is done.

The SEER Site/Histology Validation List designates all four-digit histologies (specified as in situ or malignant in ICD-O) that do not require review for each site.  Any site/histology combination not in the Site/Histology Validation List will be accepted only if the case has been reviewed, accepted as coded, and Over-ride Site/Type[2030] = 1.  Since basal and squamous cell carcinomas of non-genital skin sites are not reportable to SEER, these site/histology combinations do not appear on the validation list.

The Site/Histology Validation List contains those histologies commonly found in the specified primary site.  Histologies that occur only rarely or never may not be included.  Review of these rare combinations often results in changes to the primary site and/or morphology, rather than a decision that the combination is correct.  The over-ride flag should not be set to 1 if the primary site or histologic type are changed to a combination that will pass the edit.  However, if upon review the site/type combination is found to be accurate and in conformance with coding rules, it may be left as coded and the Over-ride--Site/Type flag coded to 1.]]></description>
            <history>
                <event version="SE11-001-16" user="greend" date="2002-09-16">The following site/histology combinations are now valid:
C210-C218 8077/2
C240      8160/3
          8161/3
C440-C449 9728/3
          9729/3
C700-C709 9240/3
C770-C779 9728/3
          9729/3

The histology 8255/3 was added to all sites where 8140/3 is valid.
The histology 9947/3 was changed to 9948/3.</event>
                <event version="SE11-001-17" user="greend" date="2003-10-10">The following site/histology combinations are now valid:
    C239-C249 8162/3
    C250-C259 8323/3
    C440-C449 8461/3
    C510-C518,C529 8323/3
    C519 8323/3
    C530-C539 8323/3
    C570-C579 8323/3
    C809 All lymphomas</event>
                <event version="SE11-001-18" user="greend" date="2004-06-01">Program now edits site/histology and behavior. Valid histology/behavior combinations were added for the benign brain tumors.</event>
                <event version="SE11-001-21" user="greend" date="2007-08-07">Edit modified to only allow site/histology/behavior combinations found in the ICD-O-3 Site/Type Validation list. The histology behavior combinations of 9530/0 and 9530/1 were removed from the Brain, etc site group.</event>
                <event version="SE11-001-22" user="greend" date="2008-01-15">Histology 8461/3 is now valid for site C480-C482,C488.

Histologies 9530-9539 with any behavior are no longer valid for the following site combinations :

    C710-C714,C717-C719,C720-C724
    C715
    C716
    C728-C729</event>
                <event version="SE11-001-23" user="greend" date="2009-03-21">Site/Histology 8144/3 is no longer valid for the following sites:

    C150-C155, C158-C159
    C170-C173, C178-C179
    C180-C189, C199
    C209
    C210-C212,C218

Site/histology 9582/0 is now valid for site C751.</event>
                <event version="SE12-003-02" user="depryf" date="2011-01-09">Updated context tables, some of them where out-of-date.</event>
                <event version="SE13-009-01" user="murphyr" date="2012-12-21" ref="66790">Now allow 9823/3 for all sites and 8441/3 and 8460/3 for C540-C543, C548-C549, C559.</event>
                <event version="SE15-013-02" user="kirbyk" date="2015-03-02" ref="67196">Added several valid site/histology combinations.</event>
                <event version="SE15-014-02" user="kirbyk" date="2015-08-24" ref="67208">Added valid histology 9930/3 for C470-C476, C478-C479, C490-C496, C498-C499 and 9837/3 for C440-C449.</event>
                <event version="SE15-014-03" user="kirbyk" date="2015-09-17" ref="67212">Added valid histology 8083/3 for C340-C349.</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-017-01" user="kirbyk" date="2018-03-27" ref="67721">Updated context tables for 2018.</event>
                <event version="SE18-018-02" user="schadega" date="2018-05-17" ref="67760">Name change.</event>
                <event version="SE18-018-08" user="kirbyk" date="2018-10-31" ref="68049">Added valid histology and behavior combinations for breast cases.</event>
                <event version="SE18-019-03" user="kirbyk" date="2019-08-08" ref="68200">Added several valid histology and behavior combinations.</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-03" user="kirbyk" date="2021-03-09" ref="68568">Edit name changed.</event>
                <event version="SE23-023-01" user="secristc" date="2023-02-13" ref="69119">Added many new valid histology and behavior combinations.</event>
                <event version="SE23-023-02" user="shearerw" date="2023-04-27" ref="69251">Added new valid histology and behavior combinations for C6XX sites.</event>
                <event version="SE24-024-01" user="cooki" date="2024-03-08" ref="69397">Added 2024 skip condition.</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