edits.seer.internal.rules.IFN6303.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="IFN6303" name="Measured Thickness, Ophthalmic Melanoma, EOD Primary Tumor (SEER)" tag="N6303" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.typeOfReportingSource == '7') return true if (line.eodPrimaryTumor == null || line.measuredThickness == null || line.measuredThickness == 'XX.8') return true if (line.schemaId == null || (line.schemaId != '00660' && line.schemaId != '00671' && line.schemaId != '00672')) return true if (line.eodPrimaryTumor == '800') return line.measuredThickness == '0.0' || line.measuredThickness == 'XX.9' return true]]></expression> <message>Measured Thickness conflicts with EOD Primary Tumor</message> <description><![CDATA[This edit verifies that the Measured Thickness SSDI is coded consistently with EOD Primary Tumor indicating no evidence of primary site for Schema IDs 00660, Melanoma Conjunctiva, 00671, Melanoma Iris, and 00672, Melanoma Choroid & Ciliary Body. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2021, blank (unknown), or invalid. b. Schema ID is blank or not 00660, 00671, or 00672 c. EOD Primary Tumor is blank d. Measured Thickness is blank or XX.8 (not applicable) e. Type of Reporting Source is 7 (Death Certificate Only) 2. If EOD Primary Tumor = 800 (no evidence of primary tumor) Measured Thickness must = 0.0 (no tumor found) or XX.9 (not documented in medical record)]]></description> <history> <event version="SE21-021-04" user="kirbyk" date="2021-04-19" ref="68638">Edit created.</event> </history> </rule>