edits.seer.internal.rules.IFN6592.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="IFN6592" name="LN Status Pelvic, Vulva, EOD Mets (SEER)" tag="N6592" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.typeOfReportingSource == '7') return true if (!['00500', '09500'].contains(line.schemaId) || line.eodMets == null) return true if (line.lnStatusPelvic == null || line.lnStatusPelvic == '8') return true return line.lnStatusPelvic != '1' || ['10','70'].contains(line.eodMets)]]></expression> <message>LN Status Pelvic conflicts with EOD Mets</message> <description><![CDATA[This edit verifies that LN Status Pelvic SSDI is coded consistently with EOD Mets for Vulva. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2019, blank (unknown), or invalid. b. Schema ID is not 00500 or 09500 c. LN Status Pelvic is blank or 8 (not applicable) d. EOD Mets is blank e. Type of Reporting Source is 7 (Death Certificate Only) 2. If LN Status Pelvic = 1 (lymph nodes positive) EOD Mets must = 10 (distant lymph nodes) or 70 (distant mets other)]]></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="68927">Removed CoC Accredited Flag logic; changed edit name.</event> <event version="SE24-024-01" user="beverung" date="2024-03-04" ref="69403">Added Schema ID 09500 to skip condition</event> </history> </rule>