edits.seer.internal.rules.IFN6085.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="IFN6085" name="Percent Necrosis Post Neoadjuvant, Bone, DX Confirm (NAACCR)" tag="N6085" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.diagnosticConfirmation == null) return true String percentNecrosis = line.percentNecrosisPostNeoadjuvant if ((line.schemaId != '00381' && line.schemaId != '00382' && line.schemaId != '00383') || percentNecrosis == null || percentNecrosis == 'XXX.8') return true if (line.diagnosticConfirmation != '1') return percentNecrosis == 'XXX.9' return true]]></expression> <message>Percent Necrosis Post Neoadjuvant conflicts with Diagnostic Confirmation.</message> <description><![CDATA[This edit verifies that the Percent Necrosis Post Neoadjuvant SSDI is coded consistently with Diagnostic Confirmation. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2019, blank (unknown), or invalid. b. Schema ID is not 00381, 00382, 00383 c. Percent Necrosis Post Neoadjuvant is blank or XXX.8 (not applicable). d. Diagnostic Confirmation is blank. 2. If Diagnostic Confirmation not = 1 (histologic confirmation), then Percent Necrosis Post Neoadjuvant must be coded XXX.9 (no histologic examination of primary site).]]></description> <history> <event version="SE22-022-05" user="secristc" date="2022-05-04" ref="68938">Edit created.</event> </history> </rule>