edits.seer.internal.rules.IFN3026.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="IFN3026" name="Mets at DX-Liver, EOD Mets (SEER)" tag="N3026" 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.metsAtDxLiver == null) return true return line.metsAtDxLiver != '1' || line.eodMets != '00']]></expression> <message>Mets at DX-Liver and EOD Mets conflict</message> <description><![CDATA[Purpose: This edit verifies that Mets at DX-Liver 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-Liver is blank If Mets at DX-Liver = 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>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy