edits.seer.internal.rules.Marital_Status_DX_Submission.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="Marital_Status_DX_Submission" name="SEER Submission Edit 02 (SEER)" tag="N0850" java-path="lines.line" category="submission"> <expression><![CDATA[if (line.registryId == '0000001542' && (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2000')) return true if (line.registryId == '0000001565' && (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2023')) return true if (line.registryId == '0000001566' && (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2022')) return true return line.maritalStatusAtDx != null]]></expression> <message>Marital Status at DX can not be blank</message> <description><![CDATA[Marital status at DX must not be blank except for: a. Kentucky cases diagnosed prior to 2000 b. Texas cases diagnosed prior to 2022 c. Illinois cases diagnosed prior to 2023]]></description> <history> <event version="SE12-002-01" user="murphyr" date="2009-12-22">Edit created.</event> <event version="SE21-021-07" user="kirbyk" date="2021-07-15" ref="68689">Added exception for Texas cases.</event> <event version="SE21-021-09" user="beverung" date="2021-09-09" ref="68741">Edit is skipped for IL and TX for Date of DX Year before 2021.</event> <event version="SE22-022-03" user="secristc" date="2022-04-20" ref="68957">Edit is skipped for IL for DX year before 2023, for TX before 2022.</event> </history> </rule>