edits.seer.internal.rules.IFN4015.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="IFN4015" name="SSDI Extranodal Extension non-H&N, Blank for Other Schemas (NAACCR)" tag="N4015" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018' || line.schemaId == null) return true return (line.schemaId == '00460' || line.schemaId == '00570') || (line.extranodalExtensionPath == null && line.extranodalExtensionClin == null)]]></expression> <message>Conflict between schema and coded SSDI items for Extranodal Extension non-H&N</message> <description><![CDATA[This edit verifies that the Site-Specific Data Items Extranodal Extension Clin (non-Head and Neck) and Extranodal Extension Path (non-Head and Neck) are blank for schemas for which they are not collected. These SSDIs are collected for Merkel Cell (Schema ID 00460) and Penis (Schema ID 00570). This edit is skipped for any of the following conditions: a.Date of Diagnosis is before 2018, blank, invalid. b.Schema ID is blank. If Schema ID is not 00460 (Merkel Cell) and 00570 (Penis), the following Site- Specific Data Items must be blank: Extranodal Extension Clin (non-Head and Neck) Extranodal Extension Path (non-Head and Neck)]]></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>