edits.seer.internal.rules.IFN7100.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="IFN7100" name="Grade at Autopsy (SEER)" tag="N7100" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2024' || line.schemaId == '00580') return true if (line.gradeClinical == null && line.gradePathological == null) return true if (line.typeOfReportingSource == '6') { if (line.gradeClinical != null && !['8', '9'].contains(line.gradeClinical)) return false if (line.gradePathological != null && !['8', '9'].contains(line.gradePathological)) return false if (line.gradePostTherapyClin != null || line.gradePostTherapy != null) return false } return true ]]></expression> <message>Grade Clinical and Grade Pathological must = 8 or 9 for cases diagnosed at autopsy</message> <description><![CDATA[This edit is skipped for date of diagnosis blank (unknown), invalid, or pre-2024. This edit is skipped for Schema ID 00580, Prostate. This edit is skipped if Grade Clinical and Grade Pathological are both blank. If case is diagnosed at autopsy (Type of Reporting Source = 6) Grade Clinical if not blank must = 8 or 9 Grade Pathological if not blank must = 8 or 9 Grade Post Therapy Clin (yc) and Grade Post Therapy Path (yp) must both be blank ]]></description> <history> <event version="SE24-024-03" user="beverung" date="2024-03-12" ref="69438">Edit created.</event> <event version="SE24-024-04" user="beverung" date="2024-04-24" ref="69454">Edit id and tag changed.</event> <event version="SE24-024-06" user="beverung" date="2024-07-10" ref="69514">Edit name changed.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy