edits.seer.internal.rules.IFN6620.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="IFN6620" name="RX Summ--Treatment Status, DateDX, RPTSRC (SEER)" tag="N6620" java-path="lines.line" category="inter-field" depends="RX_Summ--Treatment_Status,Year_of_Diagnosis"> <expression><![CDATA[if(line.dateOfDiagnosisYear < '2010') return true if (line.rxSummTreatmentStatus == null) return false if (line.typeOfReportingSource == '6') return line.rxSummTreatmentStatus == '0' if (line.typeOfReportingSource == '7') return line.rxSummTreatmentStatus == '9' return true]]></expression> <message>If year of DX > 2009, RX Summ--Treatment Status cannot be blank</message> <description><![CDATA[If year of Date of Diagnosis is 2010 or later: 1. If Type of Reporting Source = 6 (Autopsy Only), RX Summ--Treatment Status must = 0 2. If Type of Reporting Source = 7 )Death Certificate Only), RX Summ--Treatment Status modality must = 9. 3. For all other values of Type of Reporting Source, RX Summ--Treatment Status may not be blank.]]></description> <history> <event version="SE23-023-01" user="secristc" date="2023-03-02" ref="69213">Edit created.</event> </history> </rule>