edits.seer.internal.rules.IF572.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="IF572" name="TNM M, SSF 4 Melanoma of Skin (COC)" tag="N2242" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Site-Specific_Factor_4,Histologic_Type_ICD-O-3,Primary_Site,TNM_Clin_M,TNM_Path_M,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, 6 if ((line.tnmClinM == null && line.tnmPathM == null) || (line.tnmClinM == '88' && line.tnmPathM == '88') || line.csSiteSpecificFactor4 == null || line.csSiteSpecificFactor4 == '988') return true //Skip condition 7 if (line.tnmEditionNumber != '07' && line.tnmEditionNumber != 'U7') return true if (line._tnmSchemaId != 'melanoma_skin') return true if (Functions.matches(line.csSiteSpecificFactor4, /^0[123]0$/)) return !(Functions.matches(line.tnmClinM, /^[cp]1[AB]$/) || Functions.matches(line.tnmPathM, /^[cp]1[AB]$/)) return true]]></expression> <message>TNM M and SSF 4 conflict for Melanoma Skin</message> <description><![CDATA[Purpose: This edit verifies that TNM Clin M and TNM Path M are coded consistently with CS SSF 4 for Melanoma of Skin (Serum Lactate Dehydrogenase). 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. Primary site/histology is not melanoma of skin. 5. TNM Clin M and TNM Path M are blank or 88 6. CS SSF 4 is blank or 988. 7. TNM Edition Number is not = 07, U7 For melanoma of skin: If CS SSF 4 = 010, 020, 030, (elevated LDH) then TNM Clin M and TNM Path M must not = c1A, c1B, p1A, or p1B (Metastasis without elevated LDH).]]></description> <history> <event version="SE16-015-01" user="kirbyk" date="2016-05-16" ref="67394">Edit created.</event> <event version="SE16-016-01" user="kirbyk" date="2017-01-17" ref="67594">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-11" ref="67741">Edit name change.</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