edits.seer.internal.rules.IFN6811.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="IFN6811" name="LN Distant/Assessment Vagina/Cervix (NAACCR)" tag="N6811" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.lnDistantMediastinalScalene == null || line.lnDistantAssessMethod == null || (line.schemaId != '09520' && line.schemaId != '00510') || line.typeOfReportingSource == '7') return true if (line.lnDistantMediastinalScalene == '9') return line.lnDistantAssessMethod == '0' || line.lnDistantAssessMethod == '9' return true]]></expression> <message>Conflict between LN Distant Assessment Method and LN Distant: Mediastinal, Scalene</message> <description><![CDATA[This edit verifies that LN Distant: Mediastinal, Scalene and LN Distant Assessment Method are coded consistently. 1. The edit is skipped for the following: a. Date of Diagnosis is blank (unknown), invalid, or pre-2021. b. LN Distant: Mediastinal, Scalene is blank c. LN Distant Assessment Method is blank d. Schema ID is not 09520 or 00510. e. Type of Reporting Source = 7 (death certificate only) 2. If LN Distant: Mediastinal, Scalene =9 (nodes not assessed or unknown if assessed) LN Distant Assessment Method must = 0 (physical exam only) or 9 (nodes not assessed or unknown if assessed).]]></description> <history> <event version="SE23-023-05" user="shearerw" date="2023-06-16" ref="69240">Edit Created.</event> </history> </rule>