edits.seer.internal.rules.IFN6087.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="IFN6087" name="LN Distant, Gynecologic, Mets at DX-Distant LN (NAACCR)" tag="N6087" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.metsAtDxDistantLn == null) return true String lnDistant = line.lnDistantMediastinalScalene if (!['00510', '00520', '09520'].contains(line.schemaId) || lnDistant == null || lnDistant == '8') return true if (lnDistant == '1' || lnDistant == '2' || lnDistant == '3') return line.metsAtDxDistantLn == '1' return true]]></expression> <message>LN Distant: Mediastinal, Scalene conflicts with Mets at Dx-Distant LN.</message> <description><![CDATA[This edit verifies that LN Distant: Mediastinal, Scalene SSDI is coded consistently with Mets at DX-Distant LN for Vagina and Cervix. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2019, blank (unknown), or invalid. b. Schema ID is not 00510, 00520, 09520 c. LN Distant: Mediastinal, Scalene is blank or 8 (not applicable) d. Mets at D-Distant LN is blank 2. If LN Distant: Mediastinal, Scalene = 1-3 (positive distant nodes) Mets at DX-Distant LN must = 1 (positive distant nodes)]]></description> <history> <event version="SE22-022-05" user="secristc" date="2022-05-04" ref="68938">Edit created.</event> </history> </rule>