edits.seer.internal.rules.IFN5019.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="IFN5019" name="RX Summ--Scope Reg LN Sur, Primary Site, 2018 (NAACCR)" tag="N5019" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018' || line.rxSummScopeRegLnSur == null || line.primarySite == null) return true if (Functions.matches(line.primarySite, /^C(42[0134]|589|7[0127]\d|75[1-3]|76[1-8]|809)$/)) return line.rxSummScopeRegLnSur == '9' return true]]></expression> <message>RX Summ--Scope Reg LN Sur must = 9 for this Schema ID or site/histology.</message> <description><![CDATA[This edit verifies that RX Summ--Scope Reg LN Sur is coded appropriately by Primary Site code. 1. The edit is skipped for any of the following conditions: a. Date of Diagnosis before 2018, blank (unknown), or invalid. b. Primary Site is blank c. RX Summ--Scope Reg LN Sur is blank. RX Summ--Scope Reg LN Sur must = 9 for the following: Primary Sites: C420, C421, C423, C424, C589, C700-C709,C710-C729, C751-C753, C761-C768, C770-C779, C809]]></description> <history> <event version="SE18-019-01" user="kirbyk" date="2019-04-01" ref="68153">Edit created.</event> <event version="SE18-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event> <event version="SE18-020-02" user="beverung" date="2020-03-27" ref="68304">Removed 00821, 00830, and 00822 (excluding 9734) from the list.</event> <event version="SE18-020-05" user="beverung" date="2020-08-06" ref="68452">Added skip condition for Primary Site 'C422' and updated logic for step 2.</event> <event version="SE21-021-03" user="beverung" date="2021-02-26" ref="68576">Update edit name.</event> <event version="SE21-021-03" user="beverung" date="2021-03-05" ref="68593">Update with 2021+ logic.</event> <event version="SE22-022-01" user="beverung" date="2022-01-20" ref="68897">Update edit name to match new NAACCR translated edit.</event> <event version="SE22-022-02" user="beverung" date="2022-03-22" ref="68868">Update edit logic to stop using Schema ID.</event> <event version="SE22-022-05" user="beverung" date="2022-05-05" ref="68991">Update edit name.</event> <event version="SE22-022-05" user="kirbyk" date="2022-05-17" ref="68995">Replaced non-ASCII characters in description.</event> <event version="SE23-023-01" user="shearerw" date="2023-03-03" ref="69209">Add Schema ID 99999 to list of conditions where scope must be 9.</event> <event version="SE24-024-01" user="kirbyk" date="2024-02-06" ref="69343">Removed Schema ID 99999 from list of conditions where scope must be 9.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy