edits.seer.internal.rules.IF544.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="IF544" name="Mets at DX-Other, Date of Diagnosis (SEER)" tag="N2137" java-path="lines.line" category="inter-field" depends="Mets_at_DX_Other,Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || (line.registryId == '0000001563' && (line.dateOfDiagnosisYear >= '2016' && line.dateOfDiagnosisYear <= '2019')) || (line.registryId == '0000001565' && (line.dateOfDiagnosisYear >= '2018' && line.dateOfDiagnosisYear <= '2022')) || (line.registryId == '0000001566' && (line.dateOfDiagnosisYear >= '2016' && line.dateOfDiagnosisYear <= '2021')) ) return true if (line.dateOfDiagnosisYear > '2015') return line.metsAtDxOther != null else return line.metsAtDxOther == null]]></expression> <message>Mets at DX-Other, Date DX conflict</message> <description><![CDATA[This edit is skipped for the following conditions: a. If Year of Diagnosis is blank. b. Registry ID is 0000001563 (Massachusetts) and Year of Diagnosis is 2016-2019. c. Registry ID is 0000001565 (Illinois) and Year of Diagnosis is 2018-2022. d. Registry ID is 0000001566 (Texas) and Year of Diagnosis is 2016-2021. If year of Date of Diagnosis is greater than 2015, then Mets at DX-Other cannot be blank. If year of Date of Diagnosis is less than 2016, then Mets at DX-Other must be blank.]]></description> <history> <event version="SE16-015-01" user="kirbyk" date="2016-04-08" ref="67281">Edit created.</event> <event version="SE18-020-01" user="beverung" date="2020-01-28" ref="68274">Skip edit for MA for DX Year 2016-2019.</event> <event version="SE18-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event> <event version="SE21-021-03" user="kirbyk" date="2021-03-09" ref="68568">Edit name changed.</event> <event version="SE21-021-08" user="beverung" date="2021-08-05" ref="68705">Added skip conditions for IL and TX.</event> <event version="SE22-022-01" user="secristc" date="2022-02-24" ref="68910">Changed TX skip condition years to 2016-2021.</event> <event version="SE22-022-03" user="secristc" date="2022-04-20" ref="68954">Changed IL skip condition years to 2018-2022.</event> </history> </rule>