All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edits.seer.internal.rules.IF199.xml Maven / Gradle / Ivy

There is a newer version: 024-13
Show newest version
        <rule id="IF199" name="CS Extension, Surgery, Prostate Schema (CS)" tag="N0946" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Extension,CS_Version_Input_Original,Histologic_Type_ICD-O-3,Primary_Site,RX_Summ--Surg_Prim_Site,Year_of_Diagnosis">
            <expression><![CDATA[if (line.csExtension == null || line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1' || line.rxSummSurgPrimSite == null
     || line.dateOfDiagnosisYear == null)
   return true

if (line._csSchemaId != 'prostate')
     return true

if (line.csExtension == '130' || line.csExtension == '140')
     return line.rxSummSurgPrimSite != '00' && line.rxSummSurgPrimSite != '99'

if ((line.dateOfDiagnosisYear >= '2010' || line.csVersionInputOriginal >= '020100') && line.csExtension == '100')
     return line.rxSummSurgPrimSite != '00' && line.rxSummSurgPrimSite != '99'

return true]]></expression>
            <message>CS Extension, RX Summ--Surg Prim Site, and Prostate Schema conflict</message>
            <description><![CDATA[This edit is skipped if any of the following conditions are true:

1. CS Extension is blank
2. Behavior Code ICD-O-3 = 0 (benign) or 1 (borderline)
3. Schema is not C619 (prostate)
4. Date of Diagnosis is blank
5. RX Summ--Surg Prim Site is blank

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 CS Extension is coded 130 or 140 (TURP was done), then
RX Summ--Surg Prim Site must not = 00 (none) or 99 (unknown).

If year of Diagnosis is 2010 or higher OR CS Version Input Original is 020100 or higher:
If CS Extension is coded 100(TURP was done), then
RX Summ--Surg Prim Site must not = 00 (none) or 99 (unknown).]]></description>
            <history>
                <event version="SE12-002-01" user="murphyr" date="2010-01-07">Edit was modified to check 3-digit CS Extension codes (per CSv2) instead of 2-digit CSv1 codes. CS Extension code 100 was added as an additional code (along with 130 and 140)that requires at least a TURP be performed. Hematopoietic end range code was changed from 9989 to 9992.</event>
                <event version="SE12-002-01" user="murphyr" date="2010-03-10">Edit now uses CS Schema name.</event>
                <event version="SE12-002-04" user="murphyr" date="2010-07-20">Updated to use year of diagnosis and cs version input original.</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>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy