edits.seer.internal.rules.IFN3048.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="IFN3048" name="LN Laterality, Vulva, EOD Regional Nodes (SEER)" tag="N3048" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || (line.schemaId != '00500' && line.schemaId != '09500') || line.eodRegionalNodes == null) return true String lnLaterality = line.lnLaterality if (lnLaterality == null || lnLaterality == '8') return true if (lnLaterality == '1' || lnLaterality == '2' || lnLaterality == '3') return !['000','040','050','999'].contains(line.eodRegionalNodes) return true]]></expression> <message>LN Laterality conflicts with EOD Regional Nodes.</message> <description><![CDATA[This edit verifies that LN Laterality SSDI is coded consistently with EOD Regional Nodes for Vulva. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2019, blank (unknown), or invalid. b. Schema ID is not 00500 or 09500 c. LN Laterality is blank or 8 (not applicable) d. EOD Regional Nodes is blank 2. If LN Laterality = 1-3 (lymph nodes positive) EOD Regional Nodes must not = 000 (no nodes involved), 040 or 050 (isolated tumor cells), or 999 (unknown if nodes involved)]]></description> <history> <event version="SE18-019-02" user="kirbyk" date="2019-05-14" ref="68146">Edit created.</event> <event version="SE24-024-01" user="shearerw" date="2024-03-11" ref="69406">Add schema 09500 and eod codes.</event> </history> </rule>