![JAR search and dependency download from the Maven repository](/logo.png)
edits.seer.internal.rules.IF626.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of validation-edits-seer Show documentation
Show all versions of validation-edits-seer Show documentation
Java implemenation of the SEER edits.
<rule id="IF626" name="RX Date Mst Defn Srg, Date of DX (COC)" tag="N0511" java-path="lines.line" category="inter-field" depends="DateDiagnosisEdit,RXDateMostDefinSurgEdit"> <expression><![CDATA[if (line.rxDateMostDefinSurgYear == null || line.dateOfDiagnosisYear == null) return true if (line.rxDateMostDefinSurgYear < line.dateOfDiagnosisYear) return false if (line.rxDateMostDefinSurgYear > line.dateOfDiagnosisYear || line.rxDateMostDefinSurgMonth == null || line.dateOfDiagnosisMonth == null) return true if (line.rxDateMostDefinSurgMonth < line.dateOfDiagnosisMonth) return false if (line.rxDateMostDefinSurgMonth > line.dateOfDiagnosisMonth || line.rxDateMostDefinSurgDay == null || line.dateOfDiagnosisDay == null) return true return line.rxDateMostDefinSurgDay >= line.dateOfDiagnosisDay]]></expression> <message>RX Date Mst Defn Srg must be > or = Date of Diagnosis</message> <description><![CDATA[This edit is skipped if RX Date Mst Defn Srg or Date of Diagnosis is blank. RX Date Mst Defn Srg 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="SE16-016-01" user="kirbyk" date="2017-01-12" ref="67580">Edit created.</event> </history> </rule>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy