edits.seer.internal.rules.IF104.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.
The newest version!
<rule id="IF104" name="RX Summ--Transplnt/Endocr, DateDX, RPTSRC (SEER IF104)" tag="N0601" java-path="lines.line" category="inter-field" depends="RX_Summ--Transplnt-Endocr,Type_of_Reporting_Source,Year_of_Diagnosis"> <expression><![CDATA[if (line.registryId == '0000001562' && line.dateOfDiagnosisYear < '2003') return true if (line.registryId == '0000001544' && line.dateOfDiagnosisYear < '2000') return true if (line.registryId == '0000001565' && line.dateOfDiagnosisYear > '1999' && line.dateOfDiagnosisYear < '2004') return true if (line.registryId == '0000001566' && line.dateOfDiagnosisYear > '1999' && line.dateOfDiagnosisYear < '2003') return true if (line.typeOfReportingSource == '6') return line.rxSummTransplntEndocr == '00' if (line.typeOfReportingSource == '7') return line.rxSummTransplntEndocr == '99' if (line.dateOfDiagnosisYear < '2003' && line.dateOfDiagnosisYear != null) return Functions.matches(line.rxSummTransplntEndocr, /(^00$)|(^1[0-2]$)|(^[234]0$)|(^8[78]$)|(^99$)/) if (line.dateOfDiagnosisYear >= '2003' && line.dateOfDiagnosisYear != null) return Functions.matches(line.rxSummTransplntEndocr, /(^00$)|(^1[0-2]$)|(^[234]0$)|(^8[25678]$)|(^99$)/) return true]]></expression> <message>RX Summ--Transplnt/Endocr, Date of Dx conflict</message> <description><![CDATA[Edit is skipped for the following conditions: a. Registry ID = 0000001562 (New York) and Year of Diagnosis is < 2003. b. Registry ID = 0000001544 (New Jersey) and Year of Diagnosis is < 2000. c. Registry ID = 0000001565 (Illinois) and Year of Diagnosis is 2000-2003. c. Registry ID = 0000001566 (Texas) and Year of Diagnosis is 2000-2002. 1. If Type of Reporting Source[500]= 6(autopsy only), RX Summ--Transplnt/Endocr[3250] must be 00 (none). 2. If Type of Reporting Source[500]=7 (death certificate only), RX Summ--Transplnt/Endocr[3250] must be 99 (unknown). 3. For all other values of Type of Reporting Source[500]: A. If Year of Diagnosis[390] < 2003 and not blank, RX Summ--Transplnt/Endocr[3250] must be 00, 10-12,20,30,40,87,88,99. B. If Year of Diagnosis[390] > 2002 and not blank, RX Summ-- Transplnt/Endocr[3250] must be 00,10-12,20,30,40,82,85-88,99.]]></description> <history> <event version="SE11-001-19" user="greend" date="2005-05-25">Edit checks for Type of Reporting Source values versus RX Summ--Transplnt/Endocr were added.</event> <event version="SE11-001-20" user="greend" date="2005-09-06">Codes 87 and 88 were added as valid values for cases diagnosed prior to 2003.</event> <event version="SE12-002-01" user="murphyr" date="2009-12-03">Changed edit to not recognize 9999 as a year of diagnosis.</event> <event version="SE12-002-01" user="murphyr" date="2009-12-21">Edit checks for blank year of diagnosis is year of diagnosis is greater than 2002.</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-02" user="schadega" date="2018-05-17" ref="67760">Name change.</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-019-04" user="beverung" date="2019-08-30" ref="68247">Edit now skipped for New Jersey cases when DX Year < 2000.</event> <event version="SE21-021-08" user="beverung" date="2021-08-18" ref="68709">Added skip conditions for IL for DX Years 2000-2003 and for TX for DX Years 2000-2002.</event> <event version="SE22-022-01" user="beverung" date="2022-01-20" ref="68897">Update edit name to match new NAACCR translated edit.</event> </history> </rule>