edits.seer.internal.rules.IFN2738.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="IFN2738" name="S Category Clinical, Date DX (NAACCR)" tag="N2738" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null) return true if (line.dateOfDiagnosisYear < '2018' && line.sCategoryClinical != null) return false return line.sCategoryClinical == null || Functions.matches(line.sCategoryClinical, /^[0-39]$/)]]></expression> <message>S Category Clinical 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 Clinical 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 9: SX: Not documented in medical record S Category Clinical not assessed or unknown if assessed Another edit, S Category Clinical, 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> </history> </rule>