edits.seer.internal.rules.IFN6622.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="IFN6622" name="Reason for No Radiation, DateDX, RPTSRC (SEER)" tag="N6622" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018') return true if (line.typeOfReportingSource == '6') return line.reasonForNoRadiation == '1' if (line.typeOfReportingSource == '7') return line.reasonForNoRadiation == '9' if (line.typeOfReportingSource != null) return line.reasonForNoRadiation != null return true ]]></expression> <message>Reason for No Radiation must not be blank for cases diagnosed 2018 and later</message> <description><![CDATA[This edit is skipped if Year of Date of Diagnosis is blank (unknown), invalid, or less than 2018. If year of Date of Diagnosis is 2018 or later: 1. If Type of Reporting Source is 6 (autopsy only), then Reason for No Radiation must equal 1. 2. If Type of Reporting Source is 7 (Death Certificate Only), then Reason for No Radiation must equal 9. 3. For all other values of Type of Reporting Source, Reason for No Radiation may not be blank.]]></description> <history> <event version="SE22-022-01" user="secristc" date="2022-02-14" ref="68827">Edit created.</event> </history> </rule>