edits.seer.internal.rules.IFN2720.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="IFN2720" name="Fibrosis Score, Date DX (NAACCR)" tag="N2720" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null) return true if (line.dateOfDiagnosisYear < '2018') return line.fibrosisScore == null return line.fibrosisScore == null || Functions.matches(line.fibrosisScore, /^[01789]$/)]]></expression> <message>Fibrosis Score is not valid for Date DX</message> <description><![CDATA[The edit is skipped if Date of Diagnosis is blank (unknown), or invalid. 1. This data item must be blank for pre-2018 diagnoses. 2. Must be a valid Fibrosis Score code or blank: 0: Any of the following histologically confirmed: No to moderate fibrosis Ishak fibrosis score 0-4 METAVIR score F0-F3 Batt-Ludwig score 0-3 1: Any of the following histologically confirmed: Advanced/severe fibrosis Developing cirrhosis Incomplete cirrhosis Transition to cirrhosis Cirrhosis, probable or definite Cirrhosis, NOS Ishak fibrosis score 5-6 METAVIR score F4 Batt-Ludwig score 4 7: Clinical statement of advanced/severe fibrosis or cirrhosis, AND Not histologically confirmed or unknown if histologically confirmed 8: Not applicable: Information not collected for this case 9: Not documented in medical record Stated in medical record that patient does not have advanced cirrhosis/ advanced fibrosis, not histologically confirmed or unknown if histologically confirmed Fibrosis Score stated but cannot be assigned to codes 0 or 1 Fibrosis Score stated but scoring system not recorded Fibrosis Score not assessed or unknown if assessed Another edit, Fibrosis Score, Schema ID, Required (NAACCR), checks that the item is coded by Schema ID if required by a standard setter.]]></description> <history> <event version="SE18-018-03" user="kirbyk" date="2018-07-12" ref="67887">Edit created.</event> <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event> <event version="SE18-020-05" user="beverung" date="2020-07-23" ref="68392">Update description for codes 0 and 1.</event> </history> </rule>