edits.seer.internal.rules.IFN6371.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="IFN6371" name="SSDI for Pancreas, Blank for Other Schemas (NAACCR)" tag="N6371" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if(line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.schemaId == null || line.schemaId == '00280') return true return line.ca199PretxLabValue == null]]></expression> <message>CA19-9 PreTX Lab Value should be blank for this schema</message> <description><![CDATA[This edit verifies that Site-Specific Data Items that are defined for Pancreas (Schema ID 00280) are blank (not coded) for all other schemas. This edit is skipped for any of the following conditions: a.Date of Diagnosis is before 2021, blank, invalid. b.Schema ID is blank or 00280 If Schema ID is not 00280 (Pancreas), the following Site- Specific Data Item must be blank: CA19-9 PreTX Lab Value]]></description> <history> <event version="SE21-021-04" user="secristm" date="2021-04-13" ref="68635">Edit created.</event> <event version="SE22-022-08" user="secristc" date="2022-06-23" ref="69011">Updated error message.</event> </history> </rule>