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

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

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

if ((line.dateOfDiagnosisYear > '1989' && Functions.matches(line.primarySite, /^C50\d$/))
        || (line.dateOfDiagnosisYear > '1997' && Functions.matches(line.primarySite, /^C(619|62\d)$/))) {
    if (line.typeOfReportingSource == '6')
        return line.tumorMarker1 == '0'
    if (line.typeOfReportingSource == '7')
        return line.tumorMarker1 == '9'
}

return true]]></expression>
            <message>Tumor Marker 1, Primary Site and Type of Report Srce conflict</message>
            <description><![CDATA[This edit is skipped if any of the following conditions are true:
  1)  Year of Diagnosis is blank or greater than 2003
  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)

For diagnosis years 1990 and later and primary site of breast (C500-C509):

      1.   If Type of Reporting Source is Autopsy Only (6), then Tumor
           Marker 1 must be "None" (0).

      2.   If Type of Reporting Source is Death Certificate Only (7),
           then Tumor Marker 1 must be "Unknown" (9).

For diagnosis years 1998 and later and primary site of prostate (C619) or testis (C620-C629):

      1.   If Type of Reporting Source is Autopsy Only (6), then Tumor
           Marker 1 must be "None" (0).

      2.   If Type of Reporting Source is Death Certificate Only (7),
           then Tumor Marker 1 must be "Unknown" (9).]]></description>
            <history>
                <event version="SE11-001-07" user="greend" date="1991-09-15">Conversion of topography codes from ICD-O-1 to ICD-O-2.</event>
                <event version="SE11-001-14" user="greend" date="1998-07-01">Program modified to incorporate new tumor marker sites for prostate and 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">Edit modified to skip cases diagnosed 2004+.</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 Massachusetts.</event>
                <event version="SE18-019-01" user="kirbyk" date="2019-03-19" ref="68127">Edit modified to skip cases from New York.</event>
                <event version="SE18-019-02" user="kirbyk" date="2019-05-01" ref="68182">Edit modified to skip cases from Idaho.</event>
                <event version="SE18-019-02" user="kirbyk" date="2019-05-16" ref="68185">Updated documentation; no change in behavior.</event>
                <event version="SE21-021-08" user="beverung" date="2021-08-06" ref="68706">Edit modified to skip cases from IL and TX.</event>
                <event version="SE24-024-06" user="kirbyk" date="2024-07-22" ref="69326">Removed some edit dependencies.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy