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

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

The newest version!
        <rule id="IF548" name="TNM Path M, Date of Diagnosis (COC)" tag="N2252" java-path="lines.line" category="inter-field" depends="TNM_Path_M,Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2016' || line.dateOfDiagnosisYear > '2017' || line.tnmPathM == null)
    return true

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

return line.tnmPathM == '88' || (Functions.matches(line.tnmPathM, /^[cp].+$/) && ((List)Context.TNM_Path_M_Table).contains(line.tnmPathM))]]></expression>
            <message>TNM Path M 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 Path M 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-2017 diagnosis years:
p1
p1A
p1B
p1C
p1D
p1E
c0
c0I+
c1
c1A
c1B
c1C
c1D
c1E
88
blank]]></description>
            <history>
                <event version="SE16-015-01" user="kirbyk" date="2016-04-14" ref="67299">Edit created.</event>
                <event version="SE16-016-01" user="kirbyk" date="2017-01-17" ref="67601">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-05-01" ref="67752">Updated skip condition for 2018+ 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