edits.seer.internal.rules.IFN7092.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="IFN7092" name="Grade, Bladder, RX Summ--Surg Prim Site 03-2022 (SEER)" tag="N7092" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018' || line.dateOfDiagnosisYear > '2022' || line.schemaId != '00620' || line.gradePathological == null || line.rxSummSurgPrimSite == null || line.typeOfReportingSource == '7') return true if (Functions.matches(line.rxSummSurgPrimSite, /^[01]\d|2[0-7]|9\d$/) && ['00', '99'].contains(line.eodMets)) return line.gradePathological == '9' return true]]></expression> <message>Grade and Surgery 03-22 conflict for Bladder</message> <description><![CDATA[This edit verifies that Grade Pathological is coded consistently with RX Summ--Surg Prim Site 03-2022 for Bladder. Transurethral Resection of Bladder (TURB) (or less severe surgeries) is not sufficient to assign Grade Pathological without presence of metastasis. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2018 or after 2022, blank (unknown), or invalid. b. Schema ID is not 00620 c. Grade Pathological is blank d. RX Summ--Surg Prim Site 03-2022 is blank e. Type of Reporting Source = 7 (Death Certificate Only) 2. If RX Summ--Surg Prim Site 03-2022 = 00-27 or 90-99 and EOD Mets = 00, 99 Grade Pathological must = 9]]></description> <history> <event version="SE23-023-10" user="beverung" date="2024-01-22" ref="69327">Edit created.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy