edits.seer.internal.rules.IFN3050.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="IFN3050" name="LN Size, Head/Neck, EOD Regional Nodes (SEER)" tag="N3050" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.eodRegionalNodes == null) return true if (!Functions.matches(line.schemaId, /^00(0[689]0|07[1-7]|100|1[12][12]|13[0-3]|1[45]0)$/)) return true if (line.lnSize == null || line.lnSize == 'XX.8') return true if (line.lnSize != '0.0' && line.lnSize != 'XX.9') return line.eodRegionalNodes != '000' && line.eodRegionalNodes != '999' return true]]></expression> <message>LN Size conflicts with EOD Regional Nodes.</message> <description><![CDATA[This edit verifies that LN Size SSDI is coded consistently with EOD-Regional Nodes, Regional Nodes Positive, and Regional Nodes Examined for head and neck sites. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2019, blank (unknown), or invalid. b. Schema ID is not in the following list: 00060 00071 00072 00073 00074 00075 00076 00077 00080 00090 00100 00111 00112 00121 00122 00130 00131 00132 00133 00140 00150 c. LN Size is blank or XX.8 (not applicable). d. EOD Regional Nodes is blank 2. If LN Size not = 0.0 (no nodes involved) or XX.9 (unknown if nodes involved) (lymph nodes are positive) EOD Regional Nodes must not = 000 (no nodes involved) or 999 (unknown if nodes involved)]]></description> <history> <event version="SE18-019-02" user="kirbyk" date="2019-05-14" ref="68146">Edit created.</event> </history> </rule>