edits.seer.internal.rules.IF141.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="IF141" name="EOD--Ext Prost Path, RX Summ--Surg Prim Site 03-2022 (SEER)" tag="N0731" java-path="lines.line" category="inter-field"> <expression><![CDATA[if (line.eodExtensionProstPath == null || line.rxSummSurgPrimSite == null || line.primarySite != 'C619' || line.typeOfReportingSource == '6' || line.typeOfReportingSource == '7') return true if ( ! (Functions.matches(line.rxSummSurgPrimSite, /^[35789]0$/))) return Functions.matches(line.eodExtensionProstPath, /^9[089]$/) return true]]></expression> <message>EOD--Ext Prost Path, RX Summ--Surg Prim Site 03-2022 conflict</message> <description><![CDATA[This edit is skipped if and of the following conditions are true: 1) EOD--Extension Prost Path[800] is blank 2) RX Summ--Surg Prim Site 03-2022 is blank 3) Primary Site[400] is not C619 (prostate) 4) Type of Reporting Sournce[500] is 6 (Autopsy Only) or 7 (Death Certificate Only). If RX Summ--Surg Prim Site 03-2022 is NOT = 30,50,70,80, or 90 (prostatectomy done), then EOD--Extension Prost Path must = 90, 98 or 99.]]></description> <history> <event version="SE11-001-18" user="greend" date="2004-12-29">Code 90 was added to list of surgery codes to indicate prostatectomy.</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="SE23-023-01" user="secristc" date="2023-01-27" ref="69110">Updated name and description to use RX Summ--Surg Prim Site 03-2022.</event> <event version="SE24-024-06" user="kirbyk" date="2024-07-22" ref="69326">Removed edit dependencies.</event> </history> </rule>