edits.seer.internal.rules.IFN6844.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="IFN6844" name="Grade, Unknown Primary (NAACCR)" tag="N6844" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2023' || line.primarySite == null || line.primarySite != 'C809' || (line.gradeClinical == null && line.gradePathological == null) || line.typeOfReportingSource == '7') return true if (['00790','00795','00811','00821','00822','00830'].contains(line.schemaId)) return true return line.gradeClinical == '9' && line.gradePathological == '9' && (line.gradePostTherapyClin == null || line.gradePostTherapyClin == '9') && (line.gradePostTherapy == null || line.gradePostTherapy == '9')]]></expression> <message>Grade conflicts for Unknown Primary Site</message> <description><![CDATA[This edit checks that grade is coded as unknown for unknown primary, C809. 1. This edit is skipped for a. Diagnosis date blank (unknown), invalid, or before 2023. b. Primary Site is blank or not C809 c. Grade Clinical and Grade Pathological are both blank d. Schema ID is 00790, 00795, 00811, 00821, 00822, 00830 (Schemas where grade = 8) e. Type of Reporting Source = 7 (Death Certificate Only) 2. If Primary Site = C809 (unknown primary) Grade Clinical must = 9 Grade Pathological must = 9 Grade Post Therapy Clin (yc) if not empty must = 9 Grade Post Therapy Path (yp) if not empty must = 9]]></description> <history> <event version="SE23-023-05" user="shearerw" date="2023-06-26" ref="69241">Edit Created.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy