edits.seer.internal.rules.IFN6619.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="IFN6619" name="PhI Radiation Treatment Modality, DateDX, RPTSRC (SEER)" tag="N6619" 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' && line.phase1RadiationTreatmentModality != '00') return false else if (line.typeOfReportingSource == '7' && line.phase1RadiationTreatmentModality != '99') return false else if (line.phase1RadiationTreatmentModality == null) return false return true]]></expression> <message>Phase I Radiation Treatment Modality must not be blank for cases diagnosed 2018 and later</message> <description><![CDATA[This edit checks that Phase I Radiation Treatment Modality [1506] is reported for diagnoses 1/1/2018 and later. The edit is skipped if diagnosis date is blank (unknown, invalid or < 2018. If the year of Date of Diagnosis is 2018 or later: 1. If Type of Reporting Source = 6 (Autopsy Only), Phase I Radiation Treatment Modality must = 00 2. If Type of Reporting Source = 7 )Death Certificate Only), Phase I Radiation Treatment modality must = 99. 3. For all other values of Type of Reporting Source, Phase I Radiation Treatment Modality [1506] may not be blank.]]></description> <history> <event version="SE22-022-01" user="beverung" date="2022-02-18" ref="68802">Edit created.</event> </history> </rule>