edits.seer.internal.rules.IFN7070.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="IFN7070" name="Prostate, RX Summ--Surg Prim Site 2023, Histologic Type (NAACCR)" tag="N7070" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2024' || line.primarySite == null || line.primarySite != 'C619' || line.histologicTypeIcdO3 == null || line.behaviorCodeIcdO3 == null || line.rxSummSurgPrimSite2023 == null || line.typeOfReportingSource == '7') return true if (line.histologicTypeIcdO3 == '8500' && line.behaviorCodeIcdO3 == '3') return Functions.matches(line.rxSummSurgPrimSite2023, /^A([56]\d\d|700)$/) return true]]></expression> <message>Conflict between Histologic Type ICD-O-3 and RX Summ--Surg Prim Site 2023</message> <description><![CDATA[This edit checks consistency between Histologic Type ICD-O-3 and RX Summ--Surg Prim Site 2023 for Prostate 1. This edit is skipped for any of the following: a. Diagnosis date before 2024, blank (unknown), or invalid b. Primary Site is blank or not C619 c. Histologic Type ICD-O-3 is blank d. Behavior Code ICD-O-3 is blank e. RX Summ--Surg Prim Site 2023 is blank f. Type of Reporting Source = 7 (death certificate only) 2. If Histologic Type ICD-O-3 = 8500/3 (ductal component > 50% of tumor) then RX Summ--Surg Prim Site 2023 must = A500-A700, radical prostatectomy SOLID TUMOR RULES: - Ductal adenocarcinoma 8500/3: In prostate biopsies, the term "adenocarcinoma of prostate with ductal features" should be used in the pathology report and is coded 8140/3. In order to code ductal adenocarcinoma 8500/3, the ductal component must comprise > 50% of the tumor with the percentage reported and from a radical prostatectomy specimen.]]></description> <history> <event version="SE24-024-06" user="cooki" date="2024-07-23" ref="69505">Edit Created.</event> </history> </rule>