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