edits.seer.internal.rules.IF14.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="IF14" name="Marital Status at DX, Age at Diagnosis (SEER IF14)" tag="N0220" java-path="lines.line" category="inter-field" depends="Age_at_Diagnosis,Year_of_Diagnosis"> <expression><![CDATA[if (line.registryId == '0000001542' && (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2000') && line.maritalStatusAtDx == null) return true if (line.registryId == '0000001565' && (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2023') && line.maritalStatusAtDx == null) return true if (line.registryId == '0000001566' && (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2022') && line.maritalStatusAtDx == null) return true if (Functions.asInt(line.ageAtDiagnosis) < 15) return (line.maritalStatusAtDx == '1') return true]]></expression> <message>Marital Status at DX and Age at Diagnosis conflict</message> <description><![CDATA[If Registry ID = 0000001542 (Kentucky) and Year of Diagnosis[390] < 2000 or blank and Marital Status at DX[150] is blank, no further editing is performed. If Registry ID = 0000001565 (Illinois) and Year of Diagnosis[390] < 2023 or blank and Marital Status at DX[150] is blank, no further editing is performed. If Registry ID = 0000001566 (Texas) and Year of Diagnosis[390] < 2022 or blank and Marital Status at DX[150] is blank, no further editing is performed. If Age at Diagnosis[230] < 15, Marital Status at DX[150] must = 1 (single, never married).]]></description> <history> <event version="SE11-001-17" user="greend" date="2003-09-22">Edit modified to skip cases from Kentucky diagnosed before 2000 where marital status is blank.</event> <event version="SE12-002-01" user="greend" date="2009-12-17">Edit not longer skips for 9-filled year of diagnosis.</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-08" user="beverung" date="2021-08-04" ref="68701">Edit skipped for IL and TX for DX Year < 2020.</event> <event version="SE22-022-03" user="secristc" date="2022-04-22" ref="68961">Edit skipped for IL for DX Year < 2023, TX for DX Year < 2022</event> <event version="SE24-024-06" user="kirbyk" date="2024-07-03" ref="69326">Removed some edit dependencies.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy