edits.seer.internal.rules.IFN4903.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="IFN4903" name="TNM Items, DX Post 2017 (NAACCR)" tag="N4903" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null) return true boolean clinAllBlank = line.tnmClinT == null && line.tnmClinN == null && line.tnmClinM == null && line.tnmClinStageGroup == null && line.tnmClinDescriptor == null boolean pathAllBlank = line.tnmPathT == null && line.tnmPathN == null && line.tnmPathM == null && line.tnmPathStageGroup == null && line.tnmPathDescriptor == null return line.dateOfDiagnosisYear < '2018' || (clinAllBlank && pathAllBlank)]]></expression> <message>Conflict between year of diagnosis and TNM items</message> <description><![CDATA[If year of Date of Diagnosis is blank or invalid, this edit is skipped. If year of Date of Diagnosis is greater than 2017, then the following TNM data items must be blank: TNM Clin T TNM Clin N TNM Clin M TNM Clin Stage Group TNM Clin Descriptor TNM Path T TNM Path N TNM Path M TNM Path Stage Group TNM Path Descriptor]]></description> <history> <event version="SE18-018-03" user="schadega" date="2018-07-10" ref="67934">Edit created.</event> <event version="SE18-019-01" user="kirbyk" date="2019-03-08" ref="68123">Removed TNM Clin Staged By and TNM Path Staged By fields.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy