edits.seer.internal.rules.IF55.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="IF55" name="Diagnostic Confirmation, Date of Diag (SEER IF55)" tag="N0313" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.registryId == '0000001562') return true if (line.dateOfDiagnosisYear < '1988' && Functions.matches(line.diagnosticConfirmation, /^[1246-9]$/)) return true if (line.dateOfDiagnosisYear > '1987' && line.dateOfDiagnosisYear < '2010' && Functions.matches(line.diagnosticConfirmation, /^[124-9]$/)) return true return line.dateOfDiagnosisYear > '2009' && Functions.matches(line.diagnosticConfirmation, /^[1-9]$/)]]></expression> <message>Diganostic Confirmation and Year of Diagnosis conflict</message> <description><![CDATA[This edit is skipped if: 1) Inter-Field edit flag "Date of Diagnosis is not valid." has been triggered. 2) Year of Diagnosis[390] is blank. 3) Registry ID is equal to 0000001562 (New York) 1. For Diagnosis Year[390] < 1988, Diagnostic Confirmation[490] may be 1, 2, 4, 6-9. 2. For Diagnosis Year[390] 1988-2010, Diagnostic Confirmation[490] may be 1, 2, 4-9. 3. For Diagnosis Year[390] 2010+, Diagnostic Confirmation may be 1-9.]]></description> <history> <event version="SE12-002-01" user="murphyr" date="2009-12-09">Edit changed to not recognize 9 filled year of diagnosis.</event> <event version="SE12-002-01" user="murphyr" date="2009-12-21">Added a case and changed case 2 from 1988+ to 1988-2009.</event> <event version="SE16-016-08" user="depryf" date="2017-11-22" ref="67674">Edit syntax updated to allow pre-compilation optimization; no change in behavior.</event> <event version="SE18-019-03" user="beverung" date="2019-07-12" ref="68204">Edit modified to skip cases from New York.</event> <event version="SE24-024-06" user="kirbyk" date="2024-07-22" ref="69326">Removed some edit dependencies.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy