edits.seer.internal.rules.IFN2991.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="IFN2991" name="PSA (Prostatic Specific Antigen) Lab Value, Schema ID, Required (NAACCR)" tag="N2991" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear <= '2017' || line.schemaId == null || line.typeOfReportingSource == '7') return true if (line.schemaId == '00580') return line.psaLabValue != null return true]]></expression> <message>PSA (Prostatic Specific Antigen) Lab Value must not be blank or not applicable for cases with this Schema ID diagnosed 2018 and later</message> <description><![CDATA[1. The edit is skipped for any of the following conditions: a. Date of Diagnosis pre-2018, blank (unknown), or invalid. b. Schema ID is blank. c. Type of Reporting Source = 7 (Death Certificate Only) 2. This edit verifies that PSA (Prostatic Specific Antigen) Lab Value is coded (not blank) for the Schema IDs for which it is required by a standard setter. This data item is required for AJCC staging and EOD Derived Stage Group. Required for Schema ID: 00580: Prostate]]></description> <history> <event version="SE18-018-03" user="kirbyk" date="2018-07-10" ref="67898">Edit created.</event> <event version="SE18-018-05" user="schadega" date="2018-08-15" ref="68009">Added DCO skip condition.</event> </history> </rule>