edits.seer.internal.rules.IF342.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.
The newest version!
<rule id="IF342" name="CS Extension, MyelomaPlasmaCellDisorder (CS)" tag="N1377" java-path="lines.line" category="inter-field" depends="CS_Extension,Histologic_Type_ICD-O-3"> <expression><![CDATA[if (line.csExtension == null) return true if (line._csSchemaId == 'myeloma_plasma_cell_disorder') { if (line.csExtension == '100' || line.csExtension == '400') return line.histologicTypeIcdO3 == '9731' || line.histologicTypeIcdO3 == '9734' if (line.csExtension == '110' || line.csExtension == '200' || line.csExtension == '500') return line.histologicTypeIcdO3 == '9731' if (line.csExtension == '300') return line.histologicTypeIcdO3 == '9734' if (line.csExtension == '810' || line.csExtension == '820') return line.histologicTypeIcdO3 == '9732' } return true]]></expression> <message>CS Extension and MyelomaPlasmaCellDisorder schema conflict</message> <description><![CDATA[The purpose of this edit is to verify that CS Extension is coded properly for the MyelomaPlasmaCellDisorder schema. The schema includes histologies 9731, 9732, and 9734, but some of the extension values apply only to a subset of the three histologies. This edit is skipped if any of the following conditions are true: 1. CS Extension is empty 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. If schema is MyelomaPlasmaCellDisorder: 1. The CS Extension values of 100 (localized disease) and 400 (Multiple osseous or multiple extraosseous plasmacytoma lesion) are allowed only for Histologic Type ICD-O-3 codes 9731 (Plasmacytoma, NOS) and 9734 (Plasmacytoma, extramedullary). 2. The CS Extension values of 110 (Single plasmacytoma lesion WITHOUT soft tissue extension or unknown if soft tissue extension), 200 (Single plasmacytoma lesion WITH soft tissue extension), and 500 (Plasmacytoma, NOS) are allowed only for Histologic Type ICD-O-3 code 9731 (Plasmacytoma, NOS). 3. The CS Extension value of 300 (Single plasmacytoma lesion occurring in tissue other than bone) is allowed only for Histologic Type ICD-O-3 code 9734 (Plasmacytoma, extramedullary). 4. The CS Extension value of 810 (Plasma cell myeloma/multiple myeloma/myelomatosis) and 820 (Myeloma, NOS) are allowed only for Histologic Type ICD-O-3 code 9732 (Multiple myeloma).]]></description> <history> <event version="SE12-004-01" user="murphyr" date="2011-01-26">Edit created.</event> <event version="SE13-009-01" user="murphyr" date="2013-01-25" ref="66826">Edit name changed.</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="SE18-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event> </history> </rule>