edits.seer.internal.rules.IFN6223.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="IFN6223" name="NCCN International Prognostic Index (IPI), Lymphoma, Histology (NAACCR)" tag="N6223" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[ if(line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.schemaId == null || line.schemaId != '00790' || line.histologicTypeIcdO3 == null || line.typeOfReportingSource == '7' || line.nccnInternationalPrognosticIndex == null || line.nccnInternationalPrognosticIndex == 'X8') return true if (Functions.matches(line.histologicTypeIcdO3, /^96[56]\d$/)) return line.nccnInternationalPrognosticIndex == 'X9' return true ]]></expression> <message>NCCN International Prognostic Index (IPI) conflicts with Histologic Type ICD-O-3</message> <description><![CDATA[This edit checks on consistency of coding between the NCCN International Prognostic Index (IPI) SSDI and Histologic Type ICD-O-3 for Schema ID 00790, Lymphoma. 1. The edit is skipped for the following conditions: a. Date of Diagnosis is blank (unknown), invalid, or before 2021. b. Schema ID is blank or not 00790. c. NCCN International Prognostic Index (IPI) is blank or X8 (not applicable) d. Histologic Type ICD-O-3 is blank e. Type of Reporting Source = 7 (Death Certificate Only) 2. If Histology ICD-O-3 is Hodgkin Lymphoma, 965-966 NCCN International Prognostic Index (IPI) must = X9 (not documented in medical record)]]></description> <history> <event version="SE21-021-04" user="secristm" date="2021-04-20" ref="68639">Edit created.</event> </history> </rule>