edits.seer.internal.rules.IFN2740.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="IFN2740" name="Heritable Trait, Date DX (NAACCR)" tag="N2740" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null) return true if (line.dateOfDiagnosisYear < '2018' && line.heritableTrait != null) return false return line.heritableTrait == null || Functions.matches(line.heritableTrait, /^[0179]$/)]]></expression> <message>Heritable Trait value 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 Heritable Trait code or blank: 0: H0: Normal RB1 alleles No clinical evidence of mutation 1: H1: RB1 gene mutation OR Clinical evidence of mutation 7: Test done, results not in chart 9: HX: Not documented in medical record Test not done, or unknown if done Insufficient evidence of a constitutional RB1 gene mutation Another edit, Heritable Trait, Schema ID, Required (NAACCR), checks that the item is coded by Schema ID if required by a standard setter. The data item is required for AJCC staging and EOD Derived Stage Group.]]></description> <history> <event version="SE18-018-03" user="kirbyk" date="2018-07-10" ref="67899">Edit created.</event> <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy