edits.seer.internal.rules.IFN6880.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="IFN6880" name="EOD Primary Tumor, Prostate, RX Summ--Surg Prim Site 03-2022 (SEER)" tag="N6880" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || (line.dateOfDiagnosisYear != '2021' && line.dateOfDiagnosisYear != '2022') || line.schemaId == null || line.schemaId != '00580' || line.eodPrimaryTumor == null || line.rxSummSurgPrimSite == null || line.typeOfReportingSource == '7') return true if (['100','110','150'].contains(line.eodPrimaryTumor) && Functions.matches(line.prostatePathologicalExtension, /^[89]\d\d$/)) return Functions.matches(line.rxSummSurgPrimSite, /^2[012456]|30$/) return true]]></expression> <message>Conflict among EOD Primary Tumor, RX Summ--Surg Prim Site 03-2022, EOD Prostate Pathologic Extension</message> <description><![CDATA[This edit verifies that EOD Primary Tumor is coded consistently with RX Summ--Surg Prim Site 03-2022 for Schema ID 00580, Prostate. 1. The edit is skipped for the following conditions: a. Date of Diagnosis = blank (unknown), invalid, or not 2021 or 2022. b. Schema ID is blank or not 00580 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 = 100, 110, or 150 (incidental finding for example on TURP) if EOD Prostate Pathologic Extension = 800-999 (no tumor at prostatectomy or no prostatectomy or unknown if prostatectomy done) RX Summ--Surg Prim Site 03-2022 must = 20-22, 24-26 (TURP), 30 (simple prostatectomy)]]></description> <history> <event version="SE23-023-05" user="shearerw" date="2023-06-15" ref="69242">Edit Created.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy