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

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

There is a newer version: 024-13
Show newest version
        <rule id="Day_of_Last_Contact" name="Date of Last Contact (NAACCR DATEEDIT)" tag="N0022" java-path="lines.line" category="field">
            <expression><![CDATA[return line.dateOfLastContactDay == null || Functions.matches(line.dateOfLastContactDay, /^(0[1-9]|[12][0-9]|3[01])$/)]]></expression>
            <message>Day of last contact is not valid.</message>
            <description><![CDATA[Valid values for Day of Last Contact[1750] are 01-31 and blank.]]></description>
            <history>
                <event version="SE12-002-01" user="murphyr" date="2009-12-29">99 removed.</event>
                <event version="SE13-009-01" user="murphyr" date="2012-12-20" ref="66804">Fixed edit to not allow one digit days and removed blanks from regex statement.</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