edits.seer.internal.rules.IFN6268.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="IFN6268" name="LN Distant, Gynecologic, Derived SS 2018 (SEER)" tag="N6268" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if(line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021'|| !['00510','00520','09520'].contains(line.schemaId)) return true if (line.lnDistantMediastinalScalene == null || line.lnDistantMediastinalScalene == '8' || line.derivedSummaryStage2018 == null || line.typeOfReportingSource == '7') return true if (Functions.matches(line.lnDistantMediastinalScalene, /^[123]$/)) return line.derivedSummaryStage2018 == '7' return true]]></expression> <message>LN Distant: Mediastinal, Scalene conflicts with Derived Summary Stage 2018</message> <description><![CDATA[This edit verifies that LN Distant: Mediastinal, Scalene SSDI, codes 1-3, is coded consistently with Derived Summary Stage 2018 for Vagina and Cervix. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2021, blank (unknown), or invalid. b. Schema ID is not 00510, 00520, 09520 c. LN Distant: Mediastinal, Scalene is blank or 8 (not applicable) d. Derived 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) Derived Summary Stage 2018 must = 7]]></description> <history> <event version="SE21-021-04" user="secristm" date="2021-04-07" ref="68627">Edit created.</event> <event version="SE22-022-03" user="beverung" date="2022-04-27" ref="68953">Change edit name and update edit logic for 2022.</event> </history> </rule>