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

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

The newest version!
        <rule id="IFN2516" name="Date of Sentinel Lymph Node Biopsy, Date Last Contact (COC)" tag="N2516" java-path="lines.line" category="inter-field" depends="DateFollowUpEdit,DateSentinelLymphNodeBiopsyEdit">
            <expression><![CDATA[if (line.dateSentinelLymphNodeBiopsyYear == null || line.dateOfLastContactYear == null)
    return true

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

if (line.dateSentinelLymphNodeBiopsyYear < line.dateOfLastContactYear || line.dateSentinelLymphNodeBiopsyMonth == null || line.dateOfLastContactMonth == null)
    return true

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

if (line.dateSentinelLymphNodeBiopsyMonth < line.dateOfLastContactMonth || line.dateSentinelLymphNodeBiopsyDay == null || line.dateOfLastContactDay == null)
    return true

return line.dateSentinelLymphNodeBiopsyDay <= line.dateOfLastContactDay]]></expression>
            <message>Date of Sentinel Lymph Node Biopsy must be less than or equal to Date of Last Contact.</message>
            <description><![CDATA[This edit is skipped if either Date of Sentinel Lymph Biopsy or Date of Last
Contact is blank or invalid.

Date of Sentinel Lymph Node Biopsy 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="SE18-018-02" user="kirbyk" date="2018-06-01" ref="67781">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>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy