edits.seer.internal.rules.IFN6820.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.
The newest version!
<rule id="IFN6820" name="Creatinine Pretreatment Lab, Unit of Measure, Liver (NAACCR)" tag="N6820" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2023' || line.schemaId == null || line.schemaId != '00220' || line.typeOfReportingSource == '7') return true if (line.creatininePretreatmentLabValue == null || line.creatininePretreatmentLabValue == 'XX.8' || line.creatininePretxUnitOfMeasure == null || line.creatininePretxUnitOfMeasure == '8') return true if (line.creatininePretreatmentLabValue == 'XX.7') return line.creatininePretxUnitOfMeasure == '7' if (line.creatininePretreatmentLabValue == 'XX.9') return line.creatininePretxUnitOfMeasure == '9' return true]]></expression> <message>Conflict between Creatinine Pretreatment Lab Value and Creatinine Pretreatment Unit of Measure</message> <description><![CDATA[This edit verifies that Creatinine Pretreatment Lab Value and Creatinine Pretreatment Unit of Measure SSDIs are coded consistently with each other 1. The edit is skipped for any of the following conditions: a. Date of Diagnosis pre-2023, blank (unknown), or invalid. b. Schema ID is blank or not 00220. c. Type of Reporting Source = 7 (Death Certificate Only) d. Creatinine Pretreatment Lab Value or Creatinine Pretreatment Unit of Measure is blank or not applicable 2. If Creatinine Pretreatment Lab Value = XX.7 (test ordered, results not in chart) Creatinine Pretreatment Unit of Measure must = 7 (test ordered, results not in chart) 3. If Creatinine Pretreatment Lab Value = XX.9 (not assessed or unknown) Creatinine Pretreatment Unit of Measure must = 9 (not assessed or unknown)]]></description> <history> <event version="SE23-023-05" user="shearerw" date="2023-06-26" ref="69241">Edit Created.</event> </history> </rule>