edits.seer.internal.rules.IFN3025.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="IFN3025" name="Mets at DX-Distant LN, EOD Mets (SEER)" tag="N3025" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018' || line.eodMets == null || line.eodMets == '88' || line.metsAtDxDistantLn == null) return true if (line.schemaId == null || ['00458', '00710', '00811'].contains(line.schemaId)) return true return line.metsAtDxDistantLn != '1' || line.eodMets != '00']]></expression> <message>Mets at Dx-Distant LN and EOD Mets conflict</message> <description><![CDATA[Purpose: This edit verifies that Mets at DX-Distant LN and EOD Mets are coded consistently. This edit is skipped if any of the following conditions is true: 1. Year of Date of Diagnosis is less than 2018, blank (unknown), or invalid 2. EOD Mets is blank 3. EOD Mets is coded 88. 4. Mets at DX-Distant LN is blank 5. Schema ID is blank or 00458, 00710, or 00811, Mets to distant nodes coded in EOD Regional Nodes If Mets at DX-Distant LN = 1 (yes), then EOD Mets must not = 00 (no metastasis or unknown if metastasis).]]></description> <history> <event version="SE18-018-02" user="schadega" date="2018-05-30" ref="67789">Edit created.</event> <event version="SE18-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event> <event version="SE18-020-05" user="beverung" date="2020-08-06" ref="68432">Add skip condition for schema ID.</event> <event version="SE24-024-06" user="kirbyk" date="2024-07-22" ref="69326">Removed some edit dependencies.</event> </history> </rule>