edits.seer.internal.rules.IFN6646.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="IFN6646" name="LN Status Para-Aortic, Schema ID, Required, CoC Flag (SEER)" tag="N6646" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018' || line.schemaId == null || line.typeOfReportingSource == '7' || line.cocAccreditedFlag != '1') return true if ('0000001565' == line.registryId && line.dateOfDiagnosisYear > '2017' && line.dateOfDiagnosisYear < '2023') return true if ('0000001566' == line.registryId && line.dateOfDiagnosisYear > '2017' && line.dateOfDiagnosisYear < '2022') return true return !['00510','00520','09520'].contains(line.schemaId) || (line.lnStatusParaAortic != null && line.lnStatusParaAortic != '8')]]></expression> <message>LN Status Para-Aortic must not be blank or not applicable for Schema ID cases diagnosed 2018 and later</message> <description><![CDATA[1. The edit is skipped for any of the following conditions: a. Date of Diagnosis pre-2018, blank (unknown), or invalid. b. Schema ID is blank. c. Type of Reporting Source = 7 (Death Certificate Only) d. CoC Accredited Flag is not 1 e. Registry ID = 0000001565 (Illinois) and Year of Diagnosis 2018-2022 f. RegistryID = 0000001566 (Texas) and Year of Diagnosis = 2018-2021 LN Status Para-Aortic is required by SEER only for analytic cases from CoC-accredited facility. 1. This edit verifies that LN Status Para-Aortic is not "8" (not applicable) and not blank for the Schema IDs for which it is required by a standard setter. Required for Schema ID: 00510: Vagina 00520: Cervix [8th Edition] 09520: Cervix [9th Edition]]]></description> <history> <event version="SE22-022-01" user="beverung" date="2022-02-02" ref="68887">Edit created.</event> <event version="SE22-022-04" user="secristc" date="2022-05-03" ref="68989">Added skip condition for IL for DX years 2018-2022, TX for 2018-2021.</event> </history> </rule>