edits.seer.internal.rules.IFN3004.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="IFN3004" name="Extranodal Extension Path (non-Head and Neck), Date DX (NAACCR)" tag="N3004" 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.extranodalExtensionPath == null return line.extranodalExtensionPath == null || Functions.matches(line.extranodalExtensionPath, /^[017-9]$/)]]></expression> <message>Extranodal Extension Path (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 Path (non-Head and Neck) code or blank: 0: Regional lymph nodes involved, ENE not present/not identified from surgical resection 1: Regional lymph nodes involved, ENE present/identified from surgical resection 7: No lymph node involvement from surgical resection (pN0) 8: Not applicable: Information not collected for this case 9: Not documented in medical record No surgical resection of regional lymph nodes Cannot be determined Pathological assessment of lymph nodes not done, or unknown if done Extranodal Extension Path (non-Head and Neck) not assessed or unknown if assessed Another edit, Extranodal Extension Path (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> </history> </rule>