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

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

The newest version!
        <rule id="IFN6158" name="Tumor Deposits, Colorectal, Behavior (NAACCR)" tag="N6158" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.schemaId == null || line.schemaId != '00200' || line.behaviorCodeIcdO3 == null ||
            line.tumorDeposits == null || line.tumorDeposits == 'X8' || line.typeOfReportingSource == '7')
        return true

if (Functions.matches(line.tumorDeposits, /^0[1-9]|[1-9][0-9]$/) || line.tumorDeposits == 'X1' || line.tumorDeposits == 'X2')
    return line.behaviorCodeIcdO3 != '2'

return true]]></expression>
            <message>Tumor Deposits conflicts with Behavior Code ICD-O-3</message>
            <description><![CDATA[This edit verifies that the Tumor Deposits SSDI is coded consistently with
Behavior Code ICD-O-3 code 2 for Schema ID 00200, Colon and Rectum.

1. The edit is skipped for the following conditions:
    a. Date of Diagnosis before 2021, blank (unknown), or invalid.
    b. Schema ID is blank or not 00200
    c. Tumor Deposits is blank or X8 (not applicable)
    d. Behavior Code ICD-O-3 is blank
    e. Type of Reporting Source is 7 (Death Certificate Only)

2. If Tumor Deposits = 01-99, X1 (100 or more deposits), or X2 (tumor deposits,
   number unknown)
   then Behavior Code ICD-O-3 must not = 2]]></description>
            <history>
                <event version="SE21-021-04" user="secristm" date="2021-03-24" ref="68615">Edit created.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy