edits.seer.internal.rules.Age_at_Diagnosis.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="Age_at_Diagnosis" name="Age at Diagnosis (SEER AGEDX)" tag="N0026" java-path="lines.line" category="field"> <expression><![CDATA[return Functions.matches(line.ageAtDiagnosis, /^(999|0\d\d|1[0-1]\d|120)$/)]]></expression> <message>Age at diagnosis is not valid.</message> <description><![CDATA[Valid codes for Age at diagnosis[230] are 000-120,999.]]></description> <history> <event version="SE16-015-01" user="kirbyk" date="2016-04-21" ref="67227">Age at Diagnosis must be 3 digits.</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-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event> </history> </rule>