edits.seer.internal.rules.IFN6823.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="IFN6823" name="EOD Primary Tumor, Nasal Cavity, Primary Site (SEER)" tag="N6823" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear < '2018' || line.dateOfDiagnosisYear == null || line.schemaId != '00122' || line.schemaId == null || line.eodPrimaryTumor == null || line.primarySite == null || line.typeOfReportingSource == '7') return true if (line.eodPrimaryTumor == '150' || line.eodPrimaryTumor == '175') return line.primarySite == 'C300' return true]]></expression> <message>Conflict between Primary Site and EOD Primary Tumor</message> <description><![CDATA[This edit verifies that EOD Primary Tumor is coded consistently with Primary Site for Schema ID 00120, Nasal Cavity, Ethmoid Sinus. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2018, blank (unknown), or invalid. b. Schema ID is blank or not 00122 c. EOD Primary Tumor is blank d. Primary Site is blank e. Type of Reporting Source is 7 (Death Certificate Only) 2. If EOD Primary Tumor = 150 or 175 (Nasal Cavity only), then Primary Site must = C300]]></description> <history> <event version="SE23-023-04" user="cooki" date="2023-06-13" ref="69230">Edit created.</event> </history> </rule>