edits.seer.internal.rules.IF552.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="IF552" name="Tumor Size Clinical, Primary Site (SEER)" tag="N2327" java-path="lines.line" category="inter-field" depends="Primary_Site,Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear > '2023') return true return line.tumorSizeClinical != '998' || Functions.matches(line.primarySite, /^C(1(5[0-589]|6[0-689]|8[02-9]|99)|209|34[0-389]|50[0-689])$/)]]></expression> <message>Tumor Size Clinical and Primary Site conflict</message> <description><![CDATA[This edit is skipped for diagnosis date blank (unknown), invalid, or > 2023 If Tumor Size Clinical[752] is coded 998, primary site must be coded C199, C209, C180, C182-C189, C150-C155, C158, C159, C160-C166, C168, C169, C340-C343, C348, C349, C500-C506, C508, C509. (Sites listed in NAACCR Data Dictionary)]]></description> <history> <event version="SE16-015-01" user="kirbyk" date="2016-04-12" ref="67317">Edit created.</event> <event version="SE16-016-08" user="depryf" date="2017-11-22" ref="67674">Edit syntax updated to allow pre-compilation optimization; no change in behavior.</event> <event version="SE21-021-03" user="kirbyk" date="2021-03-09" ref="68568">Edit name changed.</event> <event version="SE24-024-01" user="cooki" date="2024-03-14" ref="69427">Added skip conditions for dx date blank, invalid, or > 2023.</event> <event version="SE24-024-06" user="kirbyk" date="2024-07-22" ref="69326">Removed some edit dependencies.</event> </history> </rule>