edits.seer.internal.rules.IFN5060.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="IFN5060" name="Lymphovascular Invasion, Testis, Summary Stage 2018 (NAACCR)" tag="N5060" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.summaryStage2018 == null || line.schemaId != '00590' || line.typeOfReportingSource == '7') return true if (line.lymphVascularInvasion == null || line.lymphVascularInvasion == '8') return true return !Functions.matches(line.lymphVascularInvasion, /^[1-4]$/) || line.summaryStage2018 != '0']]></expression> <message>Lymphovascular Invasion/Summary Stage 2018 conflict for Testis</message> <description><![CDATA[Purpose: This edit verifies that Lymphovascular Invasion is coded consistently with Summary Stage 2018 for Testis. 1. This edit is skipped if any of the following conditions is true: a. Year of Date of Diagnosis is less than 2019, blank (unknown), or invalid b. Schema ID is not 00590 c. Lymphovascular Invasion is blank or 8 (not applicable) d. Summary Stage 2018 is blank e. Type of Reporting Source = 7 2. If Lymphovascular Invasion = 1-4 (invasion present) then Summary Stage 2018 must not = 0 (in situ).]]></description> <history> <event version="SE18-019-01" user="kirbyk" date="2019-04-12" ref="68150">Edit created.</event> <event version="SE21-021-04" user="beverung" date="2021-04-21" ref="68645">Update logic to allow local and regional when Lymphovascular Invasion is 1-4.</event> <event version="SE22-022-04" user="secristc" date="2022-05-03" ref="68965">Added skip condition for Type of Reporting Source = 7.</event> <event version="SE22-022-08" user="secristc" date="2022-06-23" ref="69011">Updated error message.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy