edits.seer.internal.rules.IFN6461.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="IFN6461" name="LN Status Pelvic, Gynecologic, Derived SS 2018 (SEER)" tag="N6461" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.typeOfReportingSource == '7') return true if (!['00500','00510','09520','09500'].contains(line.schemaId) || line.derivedSummaryStage2018 == null) return true if (line.lnStatusPelvic == null || line.lnStatusPelvic == '8') return true if (line.lnStatusPelvic == '1' && Functions.matches(line.derivedSummaryStage2018, /^[012]$/)) return false if (line.lnStatusPelvic == '1' && ['00500', '09500'].contains(line.schemaId) && line.derivedSummaryStage2018 != '7') return false return true]]></expression> <message>LN Status Pelvic conflicts with Derived Summary Stage 2018</message> <description><![CDATA[This edit verifies that LN Status Pelvic SSDI is coded consistently with Derived Summary Stage 2018 for Vulva, 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 00500, 00510, 09520, or 09500 c. LN Status Pelvic 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 Status Pelvic = 1 (lymph nodes positive) Derived Summary Stage 2018 must not = 0, 1, or 2 (in situ, local, or regional by direct extension only) 3. For 00500 and 09500, if LN Status Pelvic = 1, Derived Summary Stage 2018 must = 7 (distant)]]></description> <history> <event version="SE22-022-01" user="beverung" date="2022-02-02" ref="68887">Edit created.</event> <event version="SE22-022-03" user="beverung" date="2022-04-11" ref="68926">Removed CoC Accredited Flag logic; changed edit name.</event> <event version="SE24-024-01" user="beverung" date="2024-03-04" ref="69403">Added logic for Schema ID 09500.</event> </history> </rule>