edits.seer.internal.rules.IF100.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="IF100" name="RX Summ--Scope Reg LN Sur, DateDX, RPTSRC (SEER IF100)" tag="N0780" java-path="lines.line" category="inter-field" depends="RX_Summ--Scope_Reg_LN_Sur,Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null) return true if (line.dateOfDiagnosisYear >= '2001' && line.dateOfDiagnosisYear <= '2002' && line.rxSummScopeRegLnSur != null) { if (line.typeOfReportingSource == '6') return line.rxSummScopeRegLnSur == '0' || line.rxSummScopeRegLnSur == '9' if (line.typeOfReportingSource == '7') return line.rxSummScopeRegLnSur == '9' } if (line.dateOfDiagnosisYear > '2002') { if (line.typeOfReportingSource == '6') return line.rxSummScopeRegLnSur == '0' || line.rxSummScopeRegLnSur == '9' if (line.typeOfReportingSource == '7') return line.rxSummScopeRegLnSur == '9' return line.rxSummScopeRegLnSur != null } return true]]></expression> <message>RX Summ--Scope Reg Ln Sur, Date of Dx conflict</message> <description><![CDATA[This edit is skipped if Year of Diagnosis[390] is blank. 1. If year of diagnosis [390] is 2001-2002 and RX Summ--Scoe Reg LN Sur [1292] is not blank: A. If Type of Reporting Source = 6 (Autopsy Only) RX Summ--Scope Reg LN Sur must = 0 or 9 B. If Type of Reporting Source = 7, (Death Certificate Only), RX Summ--Scope Reg LN Sur must = 9. 2. If year of diagnosis [390] is greater than 2002: A. If Type of Reporting Source = 6 (Autopsy Only) RX Summ--Scope Reg LN Sur must = 0 or 9 B. If Type of Reporting Source = 7, (Death Certificate Only), RX Summ--Scope Reg LN Sur must = 9. C. For all other values of Type of Reporting Source, RX Summ--Scope Reg ln Sur [1292] must not be blank.]]></description> <history> <event version="SE11-001-18" user="greend" date="2004-12-28">This edit now forces RX Summ-scope reg LN sur[1292] to not be blank for 2004+ cases.</event> <event version="SE11-001-19" user="greend" date="2005-05-25">RX Coding System-Current removed from edit. For 2003 diagnosis years the field RX Summ--scope reg LN Sur 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 LN sur cannot 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-020-05" user="beverung" date="2020-08-28" ref="68518">Updated to require blank for dx year < 2001, require non-blank for > 2002, and allow either for 2001-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> <event version="SE22-022-01" user="smithm" date="2022-02-16" ref="68804">Update logic with Type of Reporting Source</event> <event version="SE22-022-05" user="kirbyk" date="2022-05-17" ref="68995">Replaced non-ASCII characters in description.</event> <event version="SE24-024-07" user="beverung" date="2024-08-06" ref="69523">Removed logic requiring RX summ--scope reg LN sur[1292] to be blank before 2001.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy