edits.seer.internal.rules.IF74.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of validation-edits-seer Show documentation
Show all versions of validation-edits-seer Show documentation
Java implemenation of the SEER edits.
<rule id="IF74" name="Tumor Marker 3, Type of Report Srce (SEER IF74)" tag="N0290" java-path="lines.line" category="inter-field" depends="Primary_Site,Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear >= '2004' || (line.registryId == '0000001544' && line.dateOfDiagnosisYear < '2000')) return true if (Functions.matches(line.registryId, /^000000156[12356]$/)) return true if (line.dateOfDiagnosisYear > '1997' && Functions.matches(line.primarySite, /^C62\d$/)) { if (line.typeOfReportingSource == '6') return line.tumorMarker3 == '0' if (line.typeOfReportingSource == '7') return line.tumorMarker3 == '9' } return true]]></expression> <message>Tumor Marker 3, 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 1998 and later and primary site of testis (C620-C629): 1. If Type of Reporting Source is Autopsy Only (6), then Tumor Marker 3 must be "None" (0). 2. If Type of Reporting Source is Death Certificate Only (7), then Tumor Marker 3 must be "Unknown" (9).]]></description> <history> <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-16" ref="68185">Updated documentation; no change in behavior.</event> <event version="SE18-019-03" user="beverung" date="2019-07-15" ref="68227">Edit modified to skip cases from Idaho.</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-03" ref="69326">Removed some edit dependencies.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy