edits.seer.internal.rules.IFN6361.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="IFN6361" name="Grade Post Therapy, Primary Site, Schema ID (NAACCR)" tag="N6361" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.primarySite == null || line.typeOfReportingSource == '7') return true if (line.gradePostTherapyClin == null && line.gradePostTherapy == null) return true if (line.schemaId == null) return true return (!Functions.matches(line.primarySite, /^C(42[0134]|809)$/) && !Functions.matches(line.schemaId, /^00(79[05]|8([12][12]|30))|99999$/))]]></expression> <message>Grade Post Therapy not part of standard treatment</message> <description><![CDATA[This edit verifies that Grade Post Therapy Clin (yc) and Grade Post Therapy Path (yp) are not coded for Primary Sites or Schema IDs where neoadjuvant therapy is not part of standard treatment. 1. The edit is skipped for any of the following conditions: a. Date of Diagnosis is pre-2021, blank (unknown), or invalid. b. Schema ID is blank c. Primary Site is blank d. Grade Post Therapy Clin (yc) and Grade Post Therapy Path (yp) are both blank e. Type of Reporting Source = 7 (Death Certificate Only) 2. Grade Post Therapy Clin (yc) and Grade Post Therapy Path (yp) must = blank if Primary Site = C420, C421, C423, C424, or C809, or Schema ID is in the following list: 00790-Lymphoma 00795-Lymphoma (CLL/SLL) 00811-Mycosis Fungoides 00812-Primary Cutaneous Lymphomas (excluding Mycosis Fungoides) 00821-Plasma Cell Myeloma 00822-Plasma Cell Disorders 00830-HemeRetic 99999-Ill-Defined Other]]></description> <history> <event version="SE21-021-04" user="beverung" date="2021-03-29" ref="68625">Edit created.</event> <event version="SE22-022-08" user="secristc" date="2022-06-23" ref="69011">Updated error message.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy