edits.seer.internal.rules.IFN3002.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="IFN3002" name="Extranodal Extension Clin (non-Head and Neck), Date DX (NAACCR)" tag="N3002" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null) return true if (line.dateOfDiagnosisYear < '2018') return line.extranodalExtensionClin == null return line.extranodalExtensionClin == null || Functions.matches(line.extranodalExtensionClin, /^[0-247-9]$/)]]></expression> <message>Extranodal Extension Clin (non-Head and Neck) is not valid for Date DX</message> <description><![CDATA[The edit is skipped if Date of Diagnosis is blank (unknown), or invalid. 1. This data item must be blank for pre-2018 diagnoses. 2. Must be a valid Extranodal Extension Clin (non-Head and Neck) code or blank: 0: Regional lymph nodes involved, ENE not present/not identified during diagnostic workup 1: Regional lymph nodes involved, ENE present/identified during diagnostic workup, based on physical exam and/or imaging 2: Regional lymph nodes involved, ENE present/identified during diagnostic workup, based on microscopic confirmation 4: Regional lymph nodes involved, ENE present/identified, unknown how identified 7: No lymph node involvement during diagnostic workup (cN0) 8: Not applicable: Information not collected for this case 9: Not documented in medical record Clinical ENE not assessed or unknown if assessed during diagnostic workup Clinical assessment of lymph nodes not done, or unknown if done Another edit, Extranodal Extension Clin (non-Head and Neck), Schema ID, Required (NAACCR), checks that the item is coded by Schema ID if required by a standard setter.]]></description> <history> <event version="SE18-018-03" user="schadega" date="2018-07-25" ref="67917">Edit created.</event> <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event> <event version="SE18-020-05" user="beverung" date="2020-07-23" ref="68382">Add code 4 to description and logic.</event> </history> </rule>