edits.seer.internal.rules.IFN6167.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="IFN6167" name="EOD Primary Tumor, Breast, Histology ICDO3 (SEER)" tag="N6167" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.eodPrimaryTumor == null) return true if (line.typeOfReportingSource == '7' || line.schemaId == null || line.schemaId != '00480' || line.histologicTypeIcdO3 == null) return true if (line.eodPrimaryTumor == '050' && line.histologicTypeIcdO3 != '8540') return false if (line.eodPrimaryTumor == '070' && line.histologicTypeIcdO3 != '8543') return false if (line.histologicTypeIcdO3 == '8541' && line.eodPrimaryTumor < '100') return false return true]]></expression> <message>EOD Primary Tumor/Histology conflict for Breast</message> <description><![CDATA[This edit verifies that EOD Primary Tumor is coded consistently with Histologic Type ICD-O-3 codes for Paget disease for Schema ID 00480, Breast. 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 00480 d. EOD Primary Tumor is blank e. Histologic Type ICD-O-3 is blank f. Type of Reporting Source is 7 (Death Certificate Only) 2. If EOD Primary Tumor = 050 (Paget disease of nipple) then Histologic Type ICD-O-3 must = 8540 (Paget disease) 3. If EOD Primary Tumor = 070 (Paget disease of nipple with underlying DCIS) then Histologic Type ICD-O-3 must = 8543 (Paget disease and intraductal carcinoma) 4. If Histologic Type ICD-O-3 = 8541 (Paget disease and infiltrating duct carcinoma) then EOD Primary Tumor must be greater than or equal to 100 (invasive)]]></description> <history> <event version="SE21-021-04" user="beverung" date="2021-03-25" ref="68606">Edit created.</event> <event version="SE22-022-08" user="secristc" date="2022-06-23" ref="69011">Updated error message.</event> </history> </rule>