edits.seer.internal.rules.IF577.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="IF577" name="TNM N, SSF 4, 6 Fallopian Tube (COC)" tag="N2248" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Site-Specific_Factor_4,CS_Site-Specific_Factor_6,Histologic_Type_ICD-O-3,Primary_Site,TNM_Clin_N,TNM_Path_N,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.tnmClinN == null && line.tnmPathN == null) || (line.tnmClinN == '88' && line.tnmPathN == '88')) return true //Skip condition 6 if ((line.csSiteSpecificFactor4 == null && line.csSiteSpecificFactor6 == null) || (line.csSiteSpecificFactor4 == '988' && line.csSiteSpecificFactor6 == '988')) return true //Skip condition 7 if (line.tnmEditionNumber != '07' && line.tnmEditionNumber != 'U7') return true if (line.primarySite != 'C570') return true if (!Functions.between(line.histologicTypeIcdO3, '8000','8576') && !Functions.between(line.histologicTypeIcdO3, '8940','8950') && line.histologicTypeIcdO3 != '8980' && line.histologicTypeIcdO3 != '8981') return true String ssf4 = line.csSiteSpecificFactor4 String ssf6 = line.csSiteSpecificFactor6 if(line.tnmPathN == 'p0') return (ssf4 == '000' || ssf4 == '098') && (ssf6 == '000' || ssf6 == '098') else if(line.tnmPathN == 'c0') return (ssf4 == '999' || ssf4 == '098') && (ssf6 == '999' || ssf6 == '098') else if (ssf4 ==~ /^00[1-9]|0[1-8]\d|09[057]$/ || ssf6 ==~ /^00[1-9]|0[1-8]\d|09[057]$/) return line.tnmClinN != 'c0' || (line.tnmPathN != 'c0' && line.tnmPathN != 'p0') return true]]></expression> <message>TNM N, SSF 4, SSF6 conflict for Fallopian Tube</message> <description><![CDATA[Purpose: This edit verifies that TNM Path N and TNM Clin N are coded consistently with nodal information in CS Site-Specific Factors 4 (Number of Positive Pelvic Nodes) and 6 (Number of Positive Para-Aortic Nodes) for Fallopian Tube. This edits is skipped if any of the following conditiosn 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 not 038, Fallopian Tube 5. TNM Path N and TNM Clin N are blank or 88 6. CS Site-Specific Factors 4 and 6 are blank or 988. 7. TNM Edition Number is not = 07, U7 The site/histology groups are identified by site and histology in the edit Primary Site, Stage Group 2016 - Ed 7. For Fallopian Tube (Site C570 with histology 8000-8576, 8940-8950, 8980-8981): 1. If TNM Path N = p0, CS Site-Specific Factors 4 and 6 must = 000 (all nodes examined negative) or 098 (no nodes examined). 2. If CS Site-Specific Factor 4 or 6 = 001-090, 095, 097 (positive nodes), TNM Clin N and TNM Path N must not both indicate no nodes involved. 3. 3. If TNM Path N = c0, CS Site-Specific Factors 4 and 6 must = 098 (no nodes examined) or 999 (unknown if nodes positive).]]></description> <history> <event version="SE16-015-01" user="kirbyk" date="2016-05-18" ref="67401">Edit created.</event> <event version="SE16-016-01" user="kirbyk" date="2017-01-17" ref="67600">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-01" user="schadega" date="2018-04-27" ref="67731">Description, logic modified to account for findings involving inguinal nodes, which are regional nodes for Fallopian tube but are not included in Site-Specific Factors 4 and 6.</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