edits.seer.internal.rules.IF532.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="IF532" name="TNM Edition Number, TNM Fields (NPCR)" tag="N2347" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear != '2015') return true if (line.tnmPathT != null || line.tnmPathN != null || line.tnmPathM != null || line.tnmPathStageGroup != null || line.tnmPathDescriptor != null || line.tnmClinT != null || line.tnmClinN != null || line.tnmClinM != null || line.tnmClinStageGroup != null || line.tnmClinDescriptor != null) return line.tnmEditionNumber != null return true]]></expression> <message>If any TNM fields are entered, TNM Edition cannot be blank.</message> <description><![CDATA[This edit is skipped if any of the following conditions are true: 1. Year of Date of Diagnosis is not 2015 If any TNM fields are entered, then TNM Edition Number must also be entered. TNM fields include the following: TNM Path T TNM Path N TNM Path M TNM Path Stage Group TNM Path Descriptor TNM Clin T TNM Clin N TNM Clin M TNM Clin Stage Group TNM Clin Descriptor]]></description> <history> <event version="SE15-013-01" user="kirbyk" date="2015-01-12" ref="67186">Edit created.</event> <event version="SE16-015-01" user="kirbyk" date="2016-05-27" ref="67428">Changed edit to only run for cases with DX year 2015.</event> <event version="SE21-021-03" user="kirbyk" date="2021-03-09" ref="68568">Edit name changed.</event> <event version="SE24-024-06" user="kirbyk" date="2024-07-22" ref="69326">Removed some edit dependencies.</event> </history> </rule>