edits.seer.internal.rules.IF82.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="IF82" name="Primary Site, Laterality (SEER IF82)" tag="N0390" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.primarySite == 'C342' && (line.laterality == '2' || (line.dateOfDiagnosisYear > '2006' && line.dateOfDiagnosisYear != null && line.laterality == '4'))) return false return true]]></expression> <message>Primary Site and Laterality conflict</message> <description><![CDATA[if Primary Site[400] = C342 (middle-lobe lung), Laterality[410] cannot be 2 (left). If Primary Site[400] = C342 (middle-lobe lung) and Year of Diagnosis [390] > 2006 and not blank, Laterality [410] cannot be 4 (bilateral).]]></description> <history> <event version="SE11-001-23" user="greend" date="2009-01-06">If primary site C342 and Year of Diagnosis is greater than 2006, Laterality cannot = 4.</event> <event version="SE12-002-01" user="murphyr" date="2009-12-21">Edit checks for a blank year of diagnosis now instead of 9-filled.</event> <event version="SE24-024-06" user="kirbyk" date="2024-07-22" ref="69326">Removed some edit dependencies.</event> </history> </rule>