edits.seer.internal.rules.IFN7052.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="IFN7052" name="RX Summ--Surg Prim Site 2023, Breast, Laterality (NAACCR)" tag="N7052" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2024' || line.primarySite == null || !Functions.matches(line.primarySite, /^C50\d$/) || line.rxSummSurgPrimSite2023 == null || line.typeOfReportingSource == '7') return true if (Functions.matches(line.rxSummSurgPrimSite2023, /^A(4[2789]0|5[2789]0|6[2389]0|7[2345]0)|B[3467]20$/)) return line.laterality != '4' return true]]></expression> <message>Laterality must = 4 for RX Summ--Surg Prim Site 2023</message> <description><![CDATA[This edit verifies that Laterality and RX Summ--Surg Prim Site 2023 are coded consistently for Breast. 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 C500-C509 c. RX Summ--Surg Prim Site 2023 is blank d. Type of Reporting Source = 7 (Death Certificate Only) 2. If RX Summ--Surg Prim Site 2023 = A420, A470, A480, A490, A750, A520, A570, A580, A590, A630, A620, A680, A690, A730, A740, A720, B320, B420, B620, or B720 (surgery with removal of uninvolved contralateral breast) Laterality must not = 4]]></description> <history> <event version="SE24-024-06" user="cooki" date="2024-07-24" ref="69486">Edit Created.</event> </history> </rule>