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

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

There is a newer version: 024-13
Show newest version
        <rule id="IF549" name="TNM Path N, Date of Diagnosis (COC)" tag="N2254" java-path="lines.line" category="inter-field" depends="TNM_Path_N,Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2016' || line.dateOfDiagnosisYear > '2017' || line.tnmPathN == null)
    return true

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

return ((List)Context.IF549_Table).contains(line.tnmPathN)]]></expression>
            <message>TNM Path N and Date DX conflict</message>
            <description><![CDATA[This edit is skipped if any of the following conditions is true:

1.Diagnosis date < 2016 or > 2017, blank (unknown), or invalid.
2.TNM Path N is blank.
3.TNM Edition not = 07,U7

Must be a valid code for TNM Path N and must be left justified. Subcategory letters must be upper case, "c" or "p" in code must be lowercase. May be blank.

The following codes are valid for AJCC 7th edition, 2016-2017 diagnosis years:
pX
p0
p0I-
p0I+
p0M-
p0M+
p1
p1A
p1B
p1C
p1M
p1MI
p2
p2A
p2B
p2C
p3
p3A
p3B
p3C
p4
cX
c0
c0A
c0B
c1
c1A
c1B
c1C
c2
c2A
c2B
c2C
c3
c3A
c3B
c3C
c4
88
p0A
p0B]]></description>
            <history>
                <event version="SE16-015-01" user="kirbyk" date="2016-04-14" ref="67300">Edit created.</event>
                <event version="SE16-016-01" user="kirbyk" date="2017-01-17" ref="67602">Added skip condition for TNM Edition Number.</event>
                <event version="SE16-016-04" user="kirbyk" date="2017-06-15" ref="67656">Added &apos;c1&apos; and &apos;c2&apos; as valid codes for TNM Path N.</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-27" ref="67732">Added valid values; restricted edit to cases with DX year 2016-2017.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy