edits.seer.internal.rules.IFN3042.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="IFN3042" name="LN Distant, Gynecologic, EOD Mets (SEER)" tag="N3042" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.eodMets == null) return true if (!['00510', '00520', '09520'].contains(line.schemaId)) return true String lnStatus = line.lnDistantMediastinalScalene if (lnStatus == null || lnStatus == '8') return true if (lnStatus == '1' || lnStatus == '2' || lnStatus == '3') return line.eodMets == '10' || line.eodMets == '70' return true]]></expression> <message>LN Distant: Mediastinal, Scalene conflicts with EOD Mets.</message> <description><![CDATA[This edit verifies that LN Distant: Mediastinal, Scalene SSDI is coded consistently with EOD Mets 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 Status: Mediastinal, Scalene is blank or 8 (not applicable) d. EOD Mets is blank 2. If LN Distant: Mediastinal Scalene = 1-3 (positive distant nodes) EOD Mets must = 10 (distant nodes) or 70 (distant metastases)]]></description> <history> <event version="SE18-019-01" user="kirbyk" date="2019-03-29" ref="68148">Edit created.</event> <event version="SE18-020-02" user="beverung" date="2020-03-27" ref="68320">Changed name and added CoC Accredited Flag to skip conditions.</event> <event version="SE18-020-05" user="beverung" date="2020-07-27" ref="68423">Add 09520 to skip conditions and add note to description.</event> <event version="SE22-022-03" user="beverung" date="2022-04-27" ref="68947">Update edit name and remove CoC Accredited Flag.</event> </history> </rule>