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

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

There is a newer version: 024-13
Show newest version
        <rule id="IF592" name="TNM T, N, M - No Primary Found (COC)" tag="N2278" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,TNM_Clin_M,TNM_Clin_N,TNM_Clin_T,TNM_Path_M,TNM_Path_N,TNM_Path_T,Type_of_Reporting_Source,Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2016' || line.typeOfReportingSource == '7' ||
    line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1')
    return true

if (line.tnmClinT == 'c0') {
    if ((line.tnmClinN == null || Functions.matches(line.tnmClinN, /^cX|c0[AB]?$/)) &&
        (line.tnmClinM == null || line.tnmClinM == 'c0' || line.tnmClinM == 'c0I+') &&
        (line.tnmPathT == null || line.tnmPathT == 'pX' || line.tnmPathT == 'p0') &&
        (line.tnmPathN == null || Functions.matches(line.tnmPathN, /^pX|c0|p0([IM][+\-])?$/)) &&
        (line.tnmPathM == null || line.tnmPathM == 'c0' || line.tnmPathM == 'c0I+'))
        return false
}

if (line.tnmPathT == 'p0') {
    if ((line.tnmClinT == null || line.tnmClinT == 'pX' || line.tnmClinT == 'p0') &&
        (line.tnmClinN == null || Functions.matches(line.tnmClinN, /^cX|c0[AB]?$/)) &&
        (line.tnmClinM == null || line.tnmClinM == 'c0' || line.tnmClinM == 'c0I+') &&
        (line.tnmPathN == null || Functions.matches(line.tnmPathN, /^pX|c0|p0([IM][+\-])?$/)) &&
        (line.tnmPathM == null || line.tnmPathM == 'c0' || line.tnmPathM == 'c0I+'))
        return false
}

return true]]></expression>
            <message>TNM T, N and M conflict for evidence of primary tumor</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, blank (unknown), or invalid
2. Type of Reporting Source = 7 (Death Certificate Only)
2. Behavior Code ICD-O-3 = 0 (benign) or 1 (borderline)

This edit requires that there is some evidence for tumor involvement of nodal or metastatic sites if there is no evidence of primary tumor.

For all site/histology groups:

If there is no evidence of primary tumor clinically and no pathologic assessment of tumor, nodes or metastasis must be known clinically or pathologically:

  If TNM Clin T = c0
  Then
      TNM Clin N, TNM Clin M, TNM Path T, TNM Path N and TNM Path M
      must not all equal c/p0, c/pX, or blank


If there is no evidence of primary tumor on pathologic examination, there must be some other evidence of tumor clinically or pathologically:

  If TNM Path T = p0
  Then
      TNM Clin T, TNM Clin N, TNM Clin M, TNM Path N and TNM Path M
      must not all equal c/p0, c/pX, or blank]]></description>
            <history>
                <event version="SE16-015-01" user="kirbyk" date="2016-05-24" ref="67415">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-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy