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

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

The newest version!
        <rule id="IF601" name="TNM Groups Not Stageable - Insitu (COC)" tag="N2239" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,Histologic_Type_ICD-O-3,Primary_Site,Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2016' || line.dateOfDiagnosisYear > '2017' || line.typeOfReportingSource == '7' ||
    line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1' || line.behaviorCodeIcdO3 == '3')
    return true

String siteGroup = (String)((Closure)Context.AJCC7CodeLookup16).call(line)
if (line.behaviorCodeIcdO3 == '2' && siteGroup ==~ /^00[79]|08[ABCDEF]|13B|16[AB]|17[BC]|018|36[BC]|37A|039|04[13]|47[AB]|51[AB]|05[34]|57B$/)
    return line.tnmClinT == '88' && line.tnmClinN == '88' && line.tnmClinM == '88' && line.tnmClinStageGroup == '88' &&
           line.tnmPathT == '88' && line.tnmPathN == '88' && line.tnmPathM == '88' && line.tnmPathStageGroup == '88'

return true]]></expression>
            <message>TNM conflicts for Not Stageable Insitu</message>
            <description><![CDATA[This edit is skipped if any of the following conditions are true:
1. Year of Date of Diagnosis is less than 2016, greater than 2017, blank (unknown), or invalid
2. Type of Reporting Source = 7 (Death certificate only)
3. Behavior Code ICD-O-3 = 0 (benign), 1 (borderline), or 3 (invasive)


For following TNM Groups, if Behavior Code ICD-O-3 is 2, then TNM Clin T, TNM Clin N, TMN Clin M, TNM Clin Stage Group, TNM Path T, TNM Path N, TNM Path M, and TNM Path Stage Group must all = 88. AJCC does not consider these cases stageable.

  7.   Major Salivary Glands
  8.   Thyroid Gland (08A-08F)
  9.   Mucosal Melanoma of the Head and Neck
  13B. Appendix: Carcinoid
  16.  GIST (16A-16B)
  17B. NET: Small Intestine and Ampulla of Vater
  17C. NET: Colon and Rectum
  18.  Liver
  36B. Corpus Sarcoma
  36C. Corpus Adenosarcoma
  37A. Ovary
  39.  Gestational Trophoblastic Tumors
  41.  Prostate
  43.  Kidney
  47.  Adrenal (47A, 47B)
  51A. Melanoma of Choroid
  51B. Melanoma of Iris
  53.  Carcinoma of the Lacrimal Gland
  54.  Sarcoma of the Orbit
  57B. Primary Cutaneous Lymphomas]]></description>
            <history>
                <event version="SE16-015-01" user="kirbyk" date="2016-06-08" ref="67434">Edit created.</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-18" ref="67743">Name change.</event>
                <event version="SE18-019-02" user="kirbyk" date="2019-05-30" ref="68196">Edit is now skipped for DX Year 2018+.</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="SE24-024-04" user="kirbyk" date="2024-04-12" ref="69326">Removed several dependencies.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy