edits.seer.internal.rules.IFN4205.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="IFN4205" name="_SYS AJCC ID, Site, Histo, Age (NAACCR)" tag="N4205" java-path="lines.line" category="inter-field" depends="Age_at_Diagnosis,Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018' || line.ageAtDiagnosis == null || line.primarySite == null || line.histologicTypeIcdO3 == null) return true if (line.primarySite == 'C421' && Functions.matches(line.histologicTypeIcdO3, /^981[1-8]|983[5-7]$/)) { Integer ageInt = Functions.asInt(line.ageAtDiagnosis) if (line.ajccId == '83.2') return ageInt == 999 || (0 <= ageInt && ageInt <= 19) else if (line.ajccId == '83.3') return (20 <= ageInt && ageInt <= 120) } return true]]></expression> <message>Primary Site, Histologic Type ICD-O-3, and Age at Diagnosis are incompatible with AJCC ID.</message> <description><![CDATA[_SYS in edit name indicates an edit on system-generated data items. The edit is intended for use by software vendors in testing the accuracy of algorithms used to assign AJCC ID, and for use by central registries in verifyingthe quality of submitted data. 1. The edit is skipped for the following conditions: a. Date of diagnosis before 2018, blank, or invalid. b. Age at Diagnosis is blank c. Primary Site is blank d. Histologic Type ICD-O-3 is blank 2. This edit verifies that AJCC ID has been assigned correctly where Primary Site and Histologic Type ICD-O-3 codes are not sufficient to identify the appropriate AJCC staging scheme. Age at Diagnosis is required to discriminate between histologies assigned to Acute Lymphoblastic Leukemia in Children and Acute Lymphocytic Leukemia in Adults. The edit checks that AJCC ID, Primary Site code,Histologic Type ICD-O-3 code, and Age at Diagnosis code occur together within the edited record, as shown in the following chart. If there is an edit failure, the problem may be due to a software error. If coding is reviewed and correct, the software vendor should be consulted for assistance in resolving the issue. AJCC ID SITE HISTO AGE AT DX 83.2 Acute Lymphoblastic Leukemia in Children C421 9811-9818 000-019,999 9835-9837 83.3 Acute Lymphocytic Leukemia in Adults C421 9811-9818 020-120 9835-9837]]></description> <history> <event version="SE18-018-10" user="kirbyk" date="2018-12-05" ref="68065">Edit created.</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="SE18-020-05" user="beverung" date="2020-07-22" ref="68369">Update skip conditions.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy