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

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

There is a newer version: 024-13
Show newest version
        <rule id="IFN2517" name="Date of Sentinel Lymph Node Biopsy, Date of Diagnosis (COC)" tag="N2517" java-path="lines.line" category="inter-field" depends="DateDiagnosisEdit,DateSentinelLymphNodeBiopsyEdit">
            <expression><![CDATA[if (line.dateSentinelLymphNodeBiopsyYear == null || line.dateOfDiagnosisYear == null)
    return true

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

if (line.dateSentinelLymphNodeBiopsyYear > line.dateOfDiagnosisYear || line.dateSentinelLymphNodeBiopsyMonth == null || line.dateOfDiagnosisMonth == null)
    return true

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

if (line.dateSentinelLymphNodeBiopsyMonth > line.dateOfDiagnosisMonth || line.dateSentinelLymphNodeBiopsyDay == null || line.dateOfDiagnosisDay == null)
    return true

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

Date of Sentinel Lymph Node Biopsy 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="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