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

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

There is a newer version: 024-13
Show newest version
        <rule id="IF73" name="Tumor Marker 3, Date of Diagnosis (SEER IF73)" tag="N0289" java-path="lines.line" category="inter-field" depends="Primary_Site,Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || (line.registryId == '0000001544' && line.dateOfDiagnosisYear < '2000'))
    return true
if (Functions.matches(line.registryId, /^000000156[12356]$/) && line.dateOfDiagnosisYear < '2004')
    return true

if (line.dateOfDiagnosisYear <= '1997')
    return line.tumorMarker3 == '9' || line.tumorMarker3 == null
if (line.dateOfDiagnosisYear <= '2003')
    return !Functions.matches(line.primarySite, /^C62\d$/) || Functions.matches(line.tumorMarker3, /^[0245689]$/)
/* Year Dx 2004+ */
return line.tumorMarker3 == null]]></expression>
            <message>Tumor Marker 3, Primary Site and Year of Diagnosis conflict</message>
            <description><![CDATA[This edit is skipped if any of the following conditions are true:
  1)  Year of Diagnosis is blank
  2)  Registry ID = 0000001544 (New Jersey) and Year of Diagnosis < 2000
  3)  Registry ID = 0000001561 (Idaho), 0000001562 (New York), 0000001563 (Massachusetts), 0000001565 (Illinois), or 0000001566 (Texas) and Year of Diagnosis < 2004

1.  For Diagnosis Years 1973-1997, Tumor Marker 3 must be 9 or blank for all cases.

2.  For Diagnosis Years 1998-2003, if Primary Site is testis (C620-C629),
    Tumor Marker 3 may be 0,2,4-6,8-9;

3.  For Diagnosis Years 2004+: Tumor Marker 3 must be blank.]]></description>
            <history>
                <event version="SE11-001-16" user="greend" date="2002-08-20">Documentation modified to reflect valid codes only for testis.</event>
                <event version="SE11-001-17" user="greend" date="2003-09-22">Edit modified to skip cases from New Jersey diagnosed before 2000.</event>
                <event version="SE11-001-18" user="greend" date="2004-07-29">Tumor Marker 3 must be blank for cases diagnosed 2004+.</event>
                <event version="SE12-002-01" user="murphyr" date="2009-12-16">Edit no longer recognizes 9-filled year of diagnosis.</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-12" user="kirbyk" date="2019-01-29" ref="68094">Edit modified to skip cases from MA diagnosed &lt; 2004.</event>
                <event version="SE18-018-14" user="kirbyk" date="2019-02-28" ref="68119">Edit modified to skip cases from Idaho and New York diagnosed &lt; 2004.</event>
                <event version="SE18-019-02" user="kirbyk" date="2019-05-16" ref="68185">Updated documentation; no change in behavior.</event>
                <event version="SE18-020-05" user="beverung" date="2020-08-28" ref="68499">Updated accepted values for Tumor Marker 3.</event>
                <event version="SE21-021-08" user="beverung" date="2021-08-06" ref="68706">Edit modified to skip cases from IL and TX diagnosed &lt; 2004.</event>
                <event version="SE24-024-06" user="kirbyk" date="2024-07-03" ref="69326">Removed some edit dependencies.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy