edits.seer.internal.rules.IF105.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="IF105" name="Surgery 98-02, Rad, Rad Surg (SEER IF105)" tag="N0634" java-path="lines.line" category="inter-field" depends="RX_Summ--Surg_Prim_Site"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '1998' || line.dateOfDiagnosisYear > '2002') return true if (Functions.matches(line.registryId, /^000000156[236]$/)) return true if (line.registryId == '0000001565' && line.dateOfDiagnosisYear == '2000') return true if (((line.rxSummSurgPrimSite >= '10' && line.rxSummSurgPrimSite <= '90') || Functions.matches(line.rxSummScopeReg9802, /^[1-8]$/) || Functions.matches(line.rxSummSurgOth9802, /^[1-8]$/)) && Functions.matches(line.rxSummRadiation, /^[1-6]$/)) return Functions.matches(line.rxSummSurgRadSeq, /^[234569]$/) if (((line.rxSummSurgPrimSite == '00' || line.rxSummSurgPrimSite == '99') && line.rxSummScopeReg9802 == '0' && line.rxSummSurgOth9802 == '0') || line.rxSummRadiation == '0' || line.rxSummRadiation == '7' || line.rxSummRadiation == '8') return line.rxSummSurgRadSeq == '0' return true]]></expression> <message>Surgery 98-02, RX Summ--Radiation, RX Summ--Surg/Rad Seq conflict</message> <description><![CDATA[This edit is skipped if any of the following are true: 1. Diagnosis year not 1998-2002. 2. Registry ID = 0000001562 (New York), 0000001563 (Massachusetts), or 0000001566 (Texas). 3. Registry is IL (0000001565) and Diagnosis Year is 2000. 1. If RX Summ--Surg Prim Site 03-2022 = 10-90 or RX Summ--Scope Reg 98-02[1647]= 1-8 or RX Summ--Surg Oth 98-02[1648]= 1-8 (surgery performed), and RX Summ--Radiation[1360] = 1-6 (radiation given), then RX Summ--Surg/Rad Seq[1380] must specify sequence (codes 2-6,9). 2. If RX Summ--Surg Prim Site 03-2022 = 00 or 99 and RX Summ--Scope Reg 98-02[1647] = 0 and RX Summ--Surg Oth 98-02[1648] = 0 (no surgery) OR RX Summ--Radiation[1360] = 0,7,8 (no radiation) ,then RX Summ--Surg/Rad Seq[1380] must specify 0.]]></description> <history> <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="kirbyk" date="2018-06-21" ref="67937">Added 7 and 8 as 'no radiation' values.</event> <event version="SE18-018-03" user="kirbyk" date="2018-07-23" ref="67966">Fixed inaccurate skip conditions in description.</event> <event version="SE18-020-04" user="beverung" date="2020-06-04" ref="68346">Use rxSummSurgPrimSite instead of rxSummSurgSite9802 and skip for MA and NY.</event> <event version="SE21-021-08" user="beverung" date="2021-08-18" ref="68709">Added skip condition for TX.</event> <event version="SE21-021-09" user="secristm" date="2021-09-09" ref="68744">Added skip condition for IL and diagnosis year = 2000.</event> <event version="SE23-023-01" user="secristc" date="2023-01-27" ref="69110">Updated description to use RX Summ--Surg Prim Site 03-2022.</event> <event version="SE24-024-04" user="kirbyk" date="2024-04-12" ref="69326">Removed several dependencies.</event> </history> </rule>