edits.seer.internal.rules.IFN3028.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="IFN3028" name="Mets at DX-Other, EOD Mets (SEER)" tag="N3028" 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.metsAtDxOther == null) return true return (line.metsAtDxOther != '1' && line.metsAtDxOther != '2') || line.eodMets != '00']]></expression> <message>Mets at DX-Other and EOD Mets conflict</message> <description><![CDATA[Purpose: This edit verifies that Mets at DX-Other 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-Other is blank If Mets at DX-Other = 1 (yes), 2 (carcinomatosis) 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="SE24-024-06" user="kirbyk" date="2024-07-22" ref="69326">Removed some edit dependencies.</event> </history> </rule>