edits.seer.internal.rules.IFN6366.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="IFN6366" name="EOD Primary Tumor, Retinoblastoma, RX Summ--Surg Prim Site 03-2022 (SEER)" tag="N6366" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.dateOfDiagnosisYear > '2022' || line.eodPrimaryTumor == null || line.rxSummSurgPrimSite == 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.rxSummSurgPrimSite == '41']]></expression> <message>EOD Primary Tumor/Surgery conflict for Retinoblastoma</message> <description><![CDATA[This edit verifies that EOD Primary Tumor is coded consistently with RX Summ-- Surg Prim Site 03-2022 for Schema ID 00680, Retinoblastoma. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2021 or greater than 2022, blank (unknown), or invalid. b. Schema ID is blank or not 00680 c. EOD Primary Tumor is blank d. RX Summ--Surg Prim Site 03-2022 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 03-2022 must = 41 (enucleation)]]></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> <event version="SE23-023-01" user="cooki" date="2023-01-25" ref="69107">Added skip condition for 2022+ and 03-2022 label to Surg Prim Site, updated edit name.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy