edits.seer.internal.rules.IF262DIG_P2.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="IF262DIG_P2" name="EOD--Old 2 digit, Primary Site (SEER IF262DIG)" tag="N3084" java-path="lines.line" category="inter-field" depends="Coding_System_for_EOD,EOD--Old_2_Digit,IF262DIG_P1,Primary_Site"> <expression><![CDATA[Integer site = Functions.asInt(line.primarySite.substring(1)) return ('1' != line.codingSystemForEod || ([24,99,111,142,379,422,770,771,772,773,774,775,776,777,778,779].contains(site) && Functions.between(line.histologicTypeIcdO3,'9590','9698')) || (((List)Context.Skin_IF262DIG).contains(site) && Functions.between(line.histologicTypeIcdO3,'8720','8790') && ((List)Context.Eod_2Digit_Table_39).contains(line.eodOld2Digit)) || ((List)((Map)Context.If26_2Digit).getOrDefault(site, [])).contains(line.eodOld2Digit))]]></expression> <message>Primary Site, EOD--Old 2 digit, Coding System for EOD conflict</message> <description><![CDATA[For cases coded using the SEER Two-digit Site-specific coding scheme (Coding System for Extent of Disease = 1) this edit validates the extent of disease according to the Two-digit Site-specific Extent of Disease codes allowable for each site as defined in the Extent of Disease - Codes and Coding Instructions Manual (1977). If the case is in situ (Behavior = 2), the Extent of Disease code must indicate an in situ behavior. 0- is valid for all sites. Also valid are 01 and 02 for anatomic site codes C171, C172, C180-C189, C199, C209 (jejunum, ileum, colon, rectosigmoid and rectum). Similarly if the case is invasive the extent of disease may not specify in situ. Thus '0-' is invalid for all sites if Behavior = 3. Also '01' and '02' are invalid for anatomic site codes. NOTE: For those cases using the two-digit coding scheme, only those sites that do not have specific Extent of Disease code defined are allowed to have non-specific Extent of Disease codes; the other sites must have a specific code. Currently there is no edit on lymphoid tissues using the two-digit code. Any site that has a melanoma or lymphoma histology will be edited according to the Extent of Disease coding system for that site unless it is specifically listed in the coding scheme for the melanomas or lymphoid tissue]]></description> <history> <event version="SE11-001-01" user="greend" date="1985-11-29">Modifications have been made to the "Bufftabs" table of valid two-digit extent of disease codes used by this edit. Also the site of fallopian tubes with in situ behavior is now valid.</event> <event version="SE11-001-07" user="greend" date="1991-09-15">Conversion of topography and morphology codes from ICD-O-1 to ICD-O-2.</event> <event version="SE11-001-08" user="greend" date="1992-02-03">Modifications were made to the build program "Bufftabs" to allow '0-' valid for all sites.</event> <event version="SE11-001-08" user="greend" date="1992-07-15">The copy library member "Bufftabs" was renamed "Buffdata".</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-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event> <event version="SE24-024-06" user="cooki" date="2024-07-18" ref="69509">Deleted deprecated dependency.</event> <event version="SE24-024-06" user="shearerw" date="2024-07-25" ref="69510">Switch from ICD-O-2 to ICD-O-3.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy