edits.seer.internal.rules.IFN3092.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="IFN3092" name="High Risk Histologic Features, Skin, Grade (NAACCR)" tag="N3092" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.schemaId != '00150' || line.highRiskHistologicFeatures == null || line.highRiskHistologicFeatures == '8') return true if (line.gradeClinical == null && line.gradePathological == null) return true if (line.highRiskHistologicFeatures == '2') return line.gradeClinical == '3' || line.gradePathological == '3' else if (line.highRiskHistologicFeatures == '4') return line.gradeClinical == '4' || line.gradePathological == '4' return true]]></expression> <message>High Risk Histologic Features conflicts with Grade Pathological and Grade Clinical.</message> <description><![CDATA[This edit verifies that High Risk Histologic Features SSDI is coded consistently with the grade fields for Cutaneous Carcinoma of Head and Neck. 1. This edit is skipped if any of the following conditions is true: a. Year of Date of Diagnosis is less than 2019, blank (unknown), or invalid b. Schema ID is not 00150 c. High Risk Histologic Features is blank or coded 8 (not applicable) d. Grade Clinical and Grade Pathological are both blank. 2. If High Risk Histologic Features is coded 2 (poor differentiation), Grade Clinical or Grade Pathological must be coded 3. The SSDI must be consistent with one of these grade fields to pass the edit. 3. If High Risk Histologic Features is coded 4 (undifferentiated), Grade Clinical or Grade Pathological must be coded 4. The SSDI must be consistent with one of these grade fields to pass the edit.]]></description> <history> <event version="SE18-019-02" user="kirbyk" date="2019-05-03" ref="68157">Edit created.</event> <event version="SE18-020-05" user="beverung" date="2020-07-27" ref="68410">Remove Grade Post Therapy from description and logic.</event> </history> </rule>