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

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

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

if (line.dateOfLastCancerStatusYear < line.dateOfDiagnosisYear)
    return false

if (line.dateOfLastCancerStatusYear > line.dateOfDiagnosisYear || line.dateOfLastCancerStatusMonth == null || line.dateOfDiagnosisMonth == null)
    return true

if (line.dateOfLastCancerStatusMonth < line.dateOfDiagnosisMonth)
    return false

if (line.dateOfLastCancerStatusMonth > line.dateOfDiagnosisMonth || line.dateOfLastCancerStatusDay == null || line.dateOfDiagnosisDay == null)
    return true

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

Date of Last Cancer (tumor) Status must be greater than or equal to Date of
Diagnosis. 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-04" user="cooki" date="2023-06-13" ref="69275">Edit created.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy