All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edits.seer.internal.rules.Year_of_Diagnosis.xml Maven / Gradle / Ivy

There is a newer version: 024-13
Show newest version
        <rule id="Year_of_Diagnosis" name="Date of Diagnosis (NAACCR DATEEDIT)" tag="N0021" java-path="lines.line" category="field">
            <expression><![CDATA[return ( line.dateOfDiagnosisYear == null ||
   ( Functions.matches(line.dateOfDiagnosisYear, /^[12]\d\d\d$/) && Functions.between(line.dateOfDiagnosisYear, 1930, Functions.getCurrentYear()) ) )]]></expression>
            <message>Year of diagnosis is not valid.</message>
            <description><![CDATA[Valid codes for Year of diagnosis[390] are 1930 - current year or blank.]]></description>
            <history>
                <event version="SE11-001-19" user="greend" date="2005-01-26">Edited expanded to allow blanks, 9999 and range 1930-2020.</event>
                <event version="SE12-002-01" user="murphyr" date="2009-12-17">Edit changed to not allow 9-filled dates.</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>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy