edits.seer.internal.rules.IFN4906.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="IFN4906" name="Summary Stage 2000, Date of Diagnosis (SEER)" tag="N4906" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2016') return true if (line.dateOfDiagnosisYear == '2016' || line.dateOfDiagnosisYear == '2017') return line.seerSummaryStage2000 != null || line.derivedSs2000 != null else if (line.dateOfDiagnosisYear >= '2018') return line.seerSummaryStage2000 == null return true]]></expression> <message>Summary Stage 2000 and Date DX conflict</message> <description><![CDATA[This edit is skipped if Date of Diagnosis is blank or invalid. If year of Date of Diagnosis is 2016-2017, either SEER Summary Stage 2000 or Derived SS2000 must not be blank. If year of Date of Diagnosis is 2018+, SEER Summary Stage 2000 must be blank.]]></description> <history> <event version="SE18-018-03" user="kirbyk" date="2018-07-10" ref="67936">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