edits.seer.internal.rules.IFN3027.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="IFN3027" name="Mets at DX-Lung, EOD Mets (SEER)" tag="N3027" 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.metsAtDxLung == null) return true return line.metsAtDxLung != '1' || line.eodMets != '00']]></expression> <message>Mets at DX-Lung and EOD Mets conflict</message> <description><![CDATA[Purpose: This edit verifies that Mets at DX-Lung 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-Lung is blank If Mets at DX-Lung = 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>