edits.seer.internal.rules.Grade.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="Grade" name="Grade (COC)" tag="N0373" java-path="lines.line" category="field"> <expression><![CDATA[return line.grade == null || Functions.matches(line.grade, /^[1-9]$/)]]></expression> <message>Grade is not valid.</message> <description><![CDATA[Must be a valid code for Grade (1-9) or blank. This field is allowed to be blank because it is not required for cases diagnosed 2018 and later. Another edit, Grade, Date of Diagnosis (COC) checks that Grade is entered for cases diagnosed before 2018 and blank for cases diagnosed 2018 and later.]]></description> <history> <event version="SE11-001-07" user="greend" date="1991-09-15">Conversion of morphology code from ICD-O-1 to ICD-O-2.</event> <event version="SE16-016-08" user="depryf" date="2017-11-22" ref="67674">Edit syntax updated to allow pre-compilation optimization; no change in behavior.</event> <event version="SE18-018-01" user="schadega" date="2018-04-11" ref="67738">Edit modified to allow blank.</event> </history> </rule>