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

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

There is a newer version: 024-13
Show newest version
        <rule id="IFN2528" name="Date of Last Cancer (tumor) Status, Date Last Contact (COC)" tag="N2528" java-path="lines.line" category="inter-field" depends="DateFollowUpEdit">
            <expression><![CDATA[if (line.dateOfLastCancerStatusYear == null || line.dateOfLastContactYear == null)
    return true

if (line.dateOfLastCancerStatusYear > line.dateOfLastContactYear)
    return false

if (line.dateOfLastCancerStatusYear < line.dateOfLastContactYear || line.dateOfLastCancerStatusMonth == null || line.dateOfLastContactMonth == null)
    return true

if (line.dateOfLastCancerStatusMonth > line.dateOfLastContactMonth)
    return false

if (line.dateOfLastCancerStatusMonth < line.dateOfLastContactMonth || line.dateOfLastCancerStatusDay == null || line.dateOfLastContactDay == null)
    return true

return line.dateOfLastCancerStatusDay <= line.dateOfLastContactDay]]></expression>
            <message>Date of Last Cancer (tumor) Status must be less than or equal to Date of Last Contact.</message>
            <description><![CDATA[This edit is skipped if either Date of Last Cancer (tumor) Status or Date Last
Contact is blank or invalid.

Date of Last Cancer (tumor) Status must be less than or equal to Date of Last
Contact. If both years are known, but either month is blank, then only the
years are compared. If either day is blank, then only the years and months
are compared.]]></description>
            <history>
                <event version="SE23-023-02" user="cooki" date="2023-04-14" ref="69215">Edit created.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy