edits.seer.internal.rules.IFN6355.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.
The newest version!
<rule id="IFN6355" name="Measured Basal Diameter, Ophthalmic Melanoma, EOD Primary Tumor (SEER)" tag="N6355" 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.measuredBasalDiameter == null || line.measuredBasalDiameter == 'XX.8') return true if (line.schemaId == null || (line.schemaId != '00671' && line.schemaId != '00672')) return true if (line.eodPrimaryTumor == '800') return line.measuredBasalDiameter == '0.0' || line.measuredBasalDiameter == 'XX.9' return true]]></expression> <message>Measured Basal Diameter conflicts with EOD Primary Tumor</message> <description><![CDATA[This edit verifies that the Measured Basal Diameter SSDI is coded consistently with EOD Primary Tumor indicating no evidence of primary site for Schema IDs 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 00671 or 00672 c. EOD Primary Tumor is blank d. Measured Basal Diameter 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 Basal Diameter 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-14" ref="68638">Edit created.</event> </history> </rule>