edits.seer.internal.rules.IF98.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="IF98" name="RX Summ--Scope Reg 98-02, Date of DX (SEER IF98)" tag="N0779" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.registryId == '0000001566') return true if ((line.registryId == '0000001562' || line.registryId == '0000001563') && line.dateOfDiagnosisYear < '2003') return true if (line.registryId == '0000001544' && line.dateOfDiagnosisYear < '2000') return true if (line.dateOfDiagnosisYear <= '1997') return line.rxSummScopeReg9802 == null if (Functions.between(line.dateOfDiagnosisYear, '1998', '2002')) return line.rxSummScopeReg9802 != null /* dateOfDiagnosisYyyy >= 2003 */ return line.rxSummScopeReg9802 == null]]></expression> <message>RX Summ--Scope Reg 98-02, Date of DX conflict</message> <description><![CDATA[This edit is skipped for the following conditions: 1. Year of Diagnosis[390] is blank. 2. Registry ID = 0000001562 (New York) or 0000001563 (Massachusetts) and Year of Diagnosis is < 2003. 3. Registry ID = 0000001544 (New Jersey) and Year of Diagnosis is < 2000. 4. Registry ID = 0000001566 (Texas). If the Year of Diagnosis[390] is less than 1998 or greater than 2002, then RX summ--scope reg 98-02[1647] must be blank. If the Year of Diagnosis[390]= 1998-2002, then RX summ--scope reg 98-02[1647] cannot be blank.]]></description> <history> <event version="SE11-001-19" user="greend" date="2005-05-26">RX Coding System-Current removed from edit. For 2003 diagnosis years the field RX Summ--scope reg 98-02 is valid if it is blank or if it is filled in.</event> <event version="SE11-001-20" user="greend" date="2006-03-30">RX Summ--scope reg 98-02 must be blank for 2003 cases.</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-01" user="kirbyk" date="2019-03-29" ref="68128">Edit is skipped for New York cases with Year of Diagnosis < 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="SE18-020-01" user="beverung" date="2020-01-28" ref="68279">Edit now skipped for MA for DX Year < 2003.</event> <event version="SE21-021-08" user="beverung" date="2021-08-18" ref="68709">Added skip condition for 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