edits.seer.internal.rules.IF596.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="IF596" name="TNM T, SSF 6 Skin of Eyelid (COC)" tag="N2286" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Site-Specific_Factor_6,Histologic_Type_ICD-O-3,Primary_Site,TNM_Clin_T,TNM_Path_T,Type_of_Reporting_Source,Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2016' || line.typeOfReportingSource == '7' || line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1') return true //Skip condition 5 if ((line.tnmClinT == null && line.tnmPathT == null) || (line.tnmClinT == '88' && line.tnmPathT == '88')) return true //Skip conditions 6, 7 if (line.csSiteSpecificFactor6 == null || line.csSiteSpecificFactor6 == '988' || (line.tnmEditionNumber != '07' && line.tnmEditionNumber != 'U7')) return true //Edit is skipped if Site/Histology group is not Skin of Eyelid (skip condition 4) String hist = line.histologicTypeIcdO3 if (line.primarySite != 'C441' || !((hist >= '8000' && hist <= '8576') || (hist >= '8940' && hist <= '8950') || hist == '8980' || hist == '8981')) return true if (line.csSiteSpecificFactor6 == '010' && !(Functions.matches(line.tnmClinT, /^c3[AB]|c4$/)) && !(Functions.matches(line.tnmPathT, /^p3[AB]|p4$/))) return false return true]]></expression> <message>TNM T and SSF 6 conflict for Skin of Eyelid</message> <description><![CDATA[Purpose: This edit verifies that TNM Clin T and TNM Path T are coded consistently with CS SSF 6 for Skin of Eyelid (Perineural Invasion). This edit is skipped if any of the following conditions are true: 1. Year of Date of Diagnosis is less than 2016, blank (unknown), or invalid 2. Type of Reporting Source = 7 (Death Certificate Only) 3. Behavior Code ICD-O-3 = 0 (benign) or 1 (borderline) 4. Site/histology group is not Skin of Eyelid 5. TNM Clin T and TNM Path T are blank or 88 6. CS SSF 6 is blank or 988 7. TNM Edition Number not = 07, U7 For skin of eyelid(Site:C441 Histology:8000-8576, 8940-8950, 8980-8981): if CS SSF 6 = 010 (Perineural invasion present/identified), then TNM Clin T must equal c3a (Any T with perineural invasion) or higher (c3B, c4), or TNM Path T must equal p3a or higher (p3B, p4).]]></description> <history> <event version="SE16-015-01" user="kirbyk" date="2016-05-24" ref="67420">Edit created.</event> <event version="SE16-016-01" user="kirbyk" date="2017-01-18" ref="67624">Added skip condition for TNM Edition Number.</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-018-02" user="schadega" date="2018-05-18" ref="67743">Name change.</event> <event version="SE18-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy