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

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

The newest version!
        <rule id="IF547" name="TNM Clin T, Date of Diagnosis (SEER)" tag="N2403" java-path="lines.line" category="inter-field" depends="TNM_Clin_T,Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2016' || line.dateOfDiagnosisYear > '2017' || line.tnmClinT == null)
    return true

if (line.tnmEditionNumber != '07' && line.tnmEditionNumber != 'U7')
   return true

return line.tnmClinT == '88' || (Functions.matches(line.tnmClinT, /^[cp].+$/) && ((List)Context.TNM_Clin_T_Table).contains(line.tnmClinT))]]></expression>
            <message>TNM Clin T and Date DX conflict</message>
            <description><![CDATA[This edit is skipped if year of Diagnosis is blank (unknown) or invalid. This edit is skipped if TNM Edition Number is not = 07, U7.

If year of Diagnosis greater than 2015 and less than 2018, then the TNM Clin T field must be a valid code and must be left-justified. Subcategory letters must be uppercase, "c" or "p" in code must be lowercase. May be blank.

The following codes are valid for AJCC 7th TNM edition, 2016 and 2017 diagnosis years:
cX
c0
c1
c1A
c1A1
c1A2
c1B
c1B1
c1B2
c1C
c1D
c1MI
c2
c2A
c2A1
c2A2
c2B
c2C
c2D
c3
c3A
c3B
c3C
c3D
c4
c4A
c4B
c4C
c4D
c4E
pA
pIS
pISU
pISD
88
Blanks]]></description>
            <history>
                <event version="SE16-015-01" user="kirbyk" date="2016-04-12" ref="67295">Edit created.</event>
                <event version="SE16-016-01" user="kirbyk" date="2017-01-13" ref="67588">Added skip condition for TNM Edition Number.</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-01" user="kirbyk" date="2018-04-16" ref="67750">Edit restricted to 2016-2017 cases.</event>
                <event version="SE21-021-03" user="kirbyk" date="2021-03-09" ref="68568">Edit name changed.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy