edits.seer.internal.rules.IF463.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="IF463" name="CS Extension, CS Tumor Size, MycosisFungoides (CS)" tag="N1867" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Extension,CS_Tumor_Size,CS_Version_Input_Original"> <expression><![CDATA[if (Functions.asInt(line.csVersionInputOriginal) < 20500 || line._csSchemaId != 'mycosis_fungoides' || line.csExtension == null || line.csTumorSize == null || line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1') return true if (Functions.matches(line.csExtension, /(^1[1235]0|2[123]0|300$)/)) return line.csTumorSize == '000' || line.csTumorSize == '999' if (line.csExtension == '600') return line.csTumorSize != '990' && line.csTumorSize != '991' return true]]></expression> <message>Conflict among CS Schema, CS Extension, and CS Tumor Size.</message> <description><![CDATA[The purpose of this edit is to verify that CS Extension and CS Tumor Size are coded consistently for MycosisFungoides cases that are originally coded using CSv02.05 or higher. CSv02.05 contains the following Note for MycosisFungoised Tumor Size: Record the size of the largest tumor only. For Mycosis Fungoides, a tumor is described as a solid or nodular lesion at least 1 cm in diameter with evidence of depth and/or vertical growth. Do not record the size of individual patches, papules, or plaques. Use code 999 if it is unknown if tumors are present, or if the size of the largest tumor is unknown. This edit is skipped under the following conditions: 1. CS Version Input Original is less than 020500 2. CS schema is not MycosisFungoides 3. CS Extension is empty 4. CS Tumor Size is empty. 5. Behavior Code ICD-O-3 = 0 (benign)or 1 (borderline) If schema is MycosisFungoides: If CS Extension = 110, 120, 130, 150, 210, 220, 230, 300 (codes not indicating tumor) then CS Tumor Size must = 000 (no tumors present) or 999 (unknown) If CS Extension = 600 (one or more tumors equal to 1 cm or greater or cutaneous tumor, size not stated) then CS Tumor Size must not = 990 (microscopic focus or foci only and no size of focus given) or 991 (described as "less than 1 centimeter") This edit first determines the correct CS schema by doing a function call to the CS Dynamic Link Library (dll). The function call passes Primary Site, Histologic Type ICD-O-3, and CS Site-Specific Factor25 (schema discriminator) to the dll and the CS schema name is returned.]]></description> <history> <event version="SE14-011-01" user="murphyr" date="2013-10-21" ref="66955">Edit created.</event> <event version="SE16-015-01" user="kirbyk" date="2016-05-04" ref="67370">Changed edit to use schema IDs instead of schema names</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> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy