edits.seer.internal.rules.IFN2739.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="IFN2739" name="S Category Pathological, Date DX (NAACCR)" tag="N2739" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null) return true if (line.dateOfDiagnosisYear < '2018' && line.sCategoryPathological != null) return false return line.sCategoryPathological == null || Functions.matches(line.sCategoryPathological, /^[0-359]$/)]]></expression> <message>S Category Pathological 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 S Category Pathological code or blank: 0: S0: Marker study levels within normal levels 1: S1: At least one of these values is elevated AND LDH less than 1.5 x N* AND hCG (mIU/L) less than 5,000 AND AFP (ng/mL) less than 1,000 2: S2: LDH 1.5 x N* to 10 x N* OR hCG (mIU/L) 5,000 to 50,000 OR AFP (ng/mL) 1,000 to 10,000 3: S3: Only one elevated test is needed LDH greater than 10 x N* OR hcG (mIU/mL) greater than 50,000 OR AFP (ng/mL) greater than 10,000 5: Post-Orchiectomy serum tumor markers unknown or not done but pre-orchiectomy serum tumor markers were normal 9: SX: Not documented in medical record S Category Pathological not assessed or unknown if assessed Another edit, S Category Pathological, Schema ID, Required (NAACCR), checks that the item is coded by Schema ID if required by a standard setter. This data item is required for AJCC staging and EOD Derived Stage Group.]]></description> <history> <event version="SE18-018-03" user="schadega" date="2018-07-25" ref="67897">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-08-06" ref="68454">Added code '5'.</event> </history> </rule>