edits.seer.internal.rules.IFN6345.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="IFN6345" name="Neoadjuvant Therapy-Clinical Response, Primary Site, Schema ID (SEER)" tag="N6345" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if(line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.schemaId == null || line.primarySite == null || line.neoadjuvTherapyClinicalResponse == null || line.typeOfReportingSource == '7') return true if (Functions.matches(line.primarySite, /^C42[0134]|C809$/) || ['00790','00795','00811','00812','00821','00822','00830','99999'].contains(line.schemaId)) return line.neoadjuvTherapyClinicalResponse == '0' return true]]></expression> <message>Neoadjuvant Therapy-Clinical Response conflicts with Primary Site and/or Schema ID</message> <description><![CDATA[This edit verifies that Neoadjuvant Therapy-Clinical Response is coded 0 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. Neoadjuvant Therapy-Clinical Response is blank e. Type of Reporting Source = 7 (Death Certificate Only) 2. Neoadjuvant Therapy-Clinical Response must = 0 (no neoadjuvant treatment given) 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="secristm" date="2021-04-23" ref="68609">Edit created.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy