edits.seer.internal.rules.IFN5052.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="IFN5052" name="LN Distant, Gynecologic, Summary Stage 2018 (NAACCR)" tag="N5052" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.summaryStage2018 == null || line.typeOfReportingSource == '7') return true if (!['00510','00520','09520'].contains(line.schemaId) || line.lnDistantMediastinalScalene == null || line.lnDistantMediastinalScalene == '8') return true return !['1','2','3'].contains(line.lnDistantMediastinalScalene) || line.summaryStage2018 == '7' ]]></expression> <message>LN Distant: Mediastinal, Scalene conflicts with Summary Stage 2018</message> <description><![CDATA[This edit verifies that LN Distant: Mediastinal, Scalene SSDI, codes 1-3, is coded consistently with Summary Stage 2018 for Vagina and Cervix. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2019, blank (unknown), or invalid. b. Schema ID is not 00510, 00520, 09520 c. LN Distant: Mediastinal, Scalene is blank or 8 (not applicable) d. Summary Stage 2018 is blank e. Type of Reporting Source = 7 (death certificate only) 2. If LN Distant: Mediastinal Scalene = 1-3 (positive distant nodes) Summary Stage 2018 must = 7]]></description> <history> <event version="SE22-022-05" user="beverung" date="2022-05-04" ref="68966">Edit created.</event> </history> </rule>