edits.seer.internal.rules.IFN6751.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="IFN6751" name="EOD Primary Tumor, Retinoblastoma, RX Summ--Surg Prim Site 2023 (SEER)" tag="N6751" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2023' || line.eodPrimaryTumor == null || line.rxSummSurgPrimSite2023 == null) return true if (line.typeOfReportingSource == '7' || line.schemaId == null || line.schemaId != '00680') return true return !Functions.matches(line.eodPrimaryTumor, /^[12]75|[2347]50|[45]00$/) || line.rxSummSurgPrimSite2023 == 'A410']]></expression> <message>Conflict between EOD Primary Tumor and RX Summ--Surg Prim Site 2023</message> <description><![CDATA[This edit verifies that EOD Primary Tumor is coded consistently with RX Summ-- Surg Prim Site 2023 for Schema ID 00680, Retinoblastoma. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2023, blank (unknown), or invalid. b. Schema ID is blank or not 00680 c. EOD Primary Tumor is blank d. RX Summ--Surg Prim Site 2023 is blank e. Type of Reporting Source is 7 (Death Certificate Only) 2. If EOD Primary Tumor = 175, 250, 275, 350, 400, 450, 500, or 750 (codes requiring surgical resection, enucleation) then RX Summ--Surg Prim Site 2023 must = A410 (enucleation)]]></description> <history> <event version="SE23-023-05" user="cooki" date="2023-06-20" ref="69231">Edit created.</event> </history> </rule>