
edits.seer.internal.rules.IF525.xml Maven / Gradle / Ivy
<rule id="IF525" name="RX Date Radiation, Date of Diagnosis (COC)" tag="N1534" java-path="lines.line" category="inter-field" depends="DateDiagnosisEdit,RXDateRadiationEdit"> <expression><![CDATA[if (line.rxDateRadiationYear == null || line.dateOfDiagnosisYear == null) return true if (line.rxDateRadiationYear < line.dateOfDiagnosisYear) return false if (line.rxDateRadiationYear > line.dateOfDiagnosisYear || line.rxDateRadiationMonth == null || line.dateOfDiagnosisMonth == null) return true if (line.rxDateRadiationMonth < line.dateOfDiagnosisMonth) return false if (line.rxDateRadiationMonth > line.dateOfDiagnosisMonth || line.rxDateRadiationDay == null || line.dateOfDiagnosisDay == null) return true return line.rxDateRadiationDay >= line.dateOfDiagnosisDay]]></expression> <message>RX Date Radiation, Date of Diagnosis conflict.</message> <description><![CDATA[This edit is skipped if any of the fields are blank or invalid. RX Date Radiation 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="SE15-013-01" user="kirbyk" date="2015-01-20" ref="67178">Edit created.</event> </history> </rule>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy