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

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

There is a newer version: 024-13
Show newest version
        <rule id="SEER_IR05" name="Sex not Consistent for Patient (SEER IR05)" tag="S026" java-path="lines" category="inter-record">
            <expression><![CDATA[if (lines.isEmpty())
    return true

String sex = lines[0].sex
for (line in lines) {
    if (sex != line.sex) {
        Functions.forceFailureOnEntity(binding, lines[0])
        Functions.forceFailureOnEntity(binding, line)
        return false
    }
}

return true]]></expression>
            <message>Sex Inter-Record Error</message>
            <description><![CDATA[Sex[220] must be equal on all records.]]></description>
            <history>
                <event version="SE16-016-07" user="kirbyk" date="2017-11-09" ref="67672">Now reporting only the two tumors that fail the edit.</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 - 2025 Weber Informatics LLC | Privacy Policy