edits.seer.internal.rules.IFN2696.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="IFN2696" name="KRAS, Date DX (NAACCR)" tag="N2696" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null) return true if (line.dateOfDiagnosisYear < '2018' && line.kras != null) return false return line.kras == null || Functions.matches(line.kras, /^[01234789]$/)]]></expression> <message>KRAS is not valid for Date DX</message> <description><![CDATA[The edit is skipped if Date of Diagnosis is blank (unknown), or invalid. 1. This data item must be blank for pre-2018 diagnoses. 2. Must be a valid KRAS code or blank: 0: Normal KRAS negative, KRAS wild type Negative for (somatic) mutations, no alterations, no (somatic) mutations identified, not present, not detected 1: Abnormal (mutated) in codon(s) 12, 13 and/or 61 2: Abnormal (mutated) in codon 146 only 3: Abnormal (mutated), but not in codon(s) 12, 13, 61, or 146 4: Abnormal (mutated), NOS, codon(s) not specified 7: Test ordered, results not in chart 8: Not applicable: Information not collected for this case 9: Not documented in medical record KRAS not assessed or unknown if assessed]]></description> <history> <event version="SE18-018-02" user="kirbyk" date="2018-06-20" ref="67875">Edit created.</event> <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event> <event version="SE18-020-05" user="beverung" date="2020-07-24" ref="68413">Update code 0 description.</event> </history> </rule>