edits.seer.internal.rules.IF102.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="IF102" name="RX Summ--Surg Prim Site 03-2022, DateDX, RPTSRC (SEER IF102)" tag="N0599" java-path="lines.line" category="inter-field" depends="RX_Summ--Surg_Prim_Site,Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || ((line.registryId == '0000001562' || line.registryId == '0000001563') && line.dateOfDiagnosisYear < '2003')) return true if (line.dateOfDiagnosisYear > '1997' && line.dateOfDiagnosisYear < '2023') { if (line.typeOfReportingSource == '6') return line.rxSummSurgPrimSite == '98' || line.rxSummSurgPrimSite == '00' if (line.typeOfReportingSource == '7') return line.rxSummSurgPrimSite == '98' || line.rxSummSurgPrimSite == '99' return line.rxSummSurgPrimSite != null } if (line.dateOfDiagnosisYear > '2022') return line.rxSummSurgPrimSite == null return true]]></expression> <message>RX Summ--Surg Prim Site 03-2022, Date of Dx conflict</message> <description><![CDATA[This edit is skipped if Year of Diagnosis[390] is blank or Registry ID = 0000001562 (New York) or 0000001563 (Massachusetts) and Year of Diagnosis is < 2003. If Year of Diagnosis[390] greater than 1997 and less than 2023: A. If Type of Reporting Source = 6 (Autopsy Only), RX Summ--Surg Prim Site 03-2022 must = 98 or 00 B. If Type of Reporting Source = 7 (Death Certificate Only), RX Summ--Surg Prim Site 03-2022 must = 98 or 99 C. For all other values of Type of Reporting Source, RX Summ--Surg Prim Site 03-2022 cannot be blank. If year of diagnosis is greater than 2022, RX Summ--Surg Prim Site 03-2022 must be blank.]]></description> <history> <event version="SE11-001-18" user="greend" date="2004-07-29">Edit modifed to allow codes from 1998+.</event> <event version="SE12-002-01" user="murphyr" date="2009-12-03">Changed edit to not accept 9999 as a year of diagnosis.</event> <event version="SE18-019-02" user="kirbyk" date="2019-05-07" ref="68179">Edit now skipped for New York cases when DX Year < 2003.</event> <event version="SE18-020-01" user="beverung" date="2020-01-28" ref="68279">Edit now skipped for MA for DX Year < 2003.</event> <event version="SE22-022-01" user="beverung" date="2022-01-20" ref="68897">Update edit name to match new NAACCR translated edit.</event> <event version="SE22-022-01" user="smithm" date="2022-02-15" ref="68806">Add Type of Reporting Source processing to logic</event> <event version="SE22-022-05" user="kirbyk" date="2022-05-17" ref="68995">Replaced non-ASCII characters in description.</event> <event version="SE23-023-01" user="secristc" date="2023-01-25" ref="69087">Added condition for 2023+, changed name.</event> <event version="SE24-024-07" user="beverung" date="2024-08-06" ref="69523">Removed logic requiring RX Summ--Surg Prim Site 03-2022[1290] to be blank before 1998.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy