edits.seer.internal.rules.Year_Sentinel_Lymph_Node_Biopsy.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="Year_Sentinel_Lymph_Node_Biopsy" name="Date of Sentinel Lymph Node Biopsy (COC)" tag="N2512" java-path="lines.line" category="field"> <expression><![CDATA[return ( line.dateSentinelLymphNodeBiopsyYear == null || ( Functions.matches(line.dateSentinelLymphNodeBiopsyYear, /^[12]\d\d\d$/) && Functions.between(line.dateSentinelLymphNodeBiopsyYear, 1930, Functions.getCurrentYear()) ) )]]></expression> <message>Year of Sentinel Lymph Node Biopsy is not valid.</message> <description><![CDATA[Valid values for Year of Sentinel Lymph Node Biopsy[832] are 1930-current year and blank.]]></description> <history> <event version="SE18-018-02" user="kirbyk" date="2018-05-08" ref="67779">Edit created.</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>