edits.seer.internal.rules.IF22_3.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="IF22_3" name="Seq Num--Central, Prim Site, Morph ICDO3 (SEER IF22)" tag="N0448" java-path="lines.line" category="inter-field" depends="Histologic_Type_ICD-O-3,Primary_Site"> <expression><![CDATA[if (Functions.matches(line.sequenceNumberCentral, /^([67]\d|8[0-8]|98)$/) || line.overRideIllDefineSite == '1' || line.histologicTypeIcdO3 == null) return true if ((Functions.matches(line.primarySite, /^C(76[0-8]|809)$/) && Functions.between(line.histologicTypeIcdO3,'8000','9589')) || (Functions.matches(line.primarySite, /^C77\d$/) && !(Functions.between(line.histologicTypeIcdO3,'9590','9729') || Functions.between(line.histologicTypeIcdO3,'9735','9738') || Functions.between(line.histologicTypeIcdO3,'9811','9819') || ['9823','9826','9827','9837'].contains(line.histologicTypeIcdO3))) || (Functions.matches(line.primarySite, /^C42[0-4]$/) && ! Functions.between(line.histologicTypeIcdO3,'9590','9993')) || Functions.between(line.histologicTypeIcdO3,'9740','9759')) return line.sequenceNumberCentral == '00' return true]]></expression> <message>Seq Num--Central, Primary Site and Histologic Type ICD-O-3 conflict</message> <description><![CDATA[This edit is skipped if any of the following conditions are true: 1) Over-ride Ill-define site[2060] = 1 (review complete) 2) Sequence number--central[380] is 60-88 or 98 3) Histologic Type ICD-O-3[522] is blank. Multiple primaries require review for a person for whom the site or histology is ill-defined or unspecified. If Sequence Number--Central[380] > 00 (more than one primary), then any case with one of the following Primary Site[400] /Histologic Type ICD-O-3[522] combinations requires review: 1. Unknown and ill-defined sites (C760-C768, C809) and Histologic Type ICD-O-3 < 9590 2. C770-C779 (lymph nodes) and Histologic Type ICD-O-3 not in range 9590-9729,9735-9738,9811-9819,9823,9826-9827,9837 3. C420-C424 and Histologic Type ICD-O-3 not in range 9590-9993 4. Any site code and Histologic Type ICD-O-3 9740-9759.]]></description> <history> <event version="SE11-001-17" user="greend" date="2003-03-17">Edit skipped if Sequence number--central is 60-88, or 98.</event> <event version="SE12-002-01" user="murphyr" date="2010-01-27">Hematopoietic range changed from 9590-9989 to 9590-9992.</event> <event version="SE12-003-03" user="murphyr" date="2011-02-10">Updated documentation.</event> <event version="SE14-011-01" user="murphyr" date="2013-11-26" ref="67058">Updated C770-C779 hsit ranges from 9590-9729 to 9590-9729,9735-9738,9811-9818,9823,9827,9837</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-17" ref="67760">Name change.</event> <event version="SE18-018-05" user="schadega" date="2018-08-15" ref="68002">Add date conditions to condition 1.</event> <event version="SE18-019-01" user="kirbyk" date="2019-03-27" ref="68140">Updated histology ranges requiring review; removed date conditions.</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-04" user="beverung" date="2020-06-18" ref="68358">Update 2021 heme histologies.</event> <event version="SE24-024-06" user="kirbyk" date="2024-07-03" ref="69326">Removed some edit dependencies.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy