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

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

There is a newer version: 024-13
Show newest version
    <rule id="IFN7056" name="AFP Pre-Orchiectomy Lab Value, Range, Testis (NAACCR)" tag="N7056" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2024' || line.schemaId == null || line.schemaId != '00590' || line.typeOfReportingSource == '7')
    return true

if (line.afpPreOrchiectomyLabValue == null || line.afpPreOrchiectomyRange == null || line.afpPreOrchiectomyLabValue == 'XXXXX.8' || line.afpPreOrchiectomyRange == '8')
    return true

if (Functions.matches(line.afpPreOrchiectomyLabValue, /^[1-9]\d\d\d\.\d|10000\.0$/))
    return line.afpPreOrchiectomyRange == '2'

if (Functions.matches(line.afpPreOrchiectomyLabValue, /^[1-9]\d\d\d\d\.\d|XXXXX\.1$/) && line.afpPreOrchiectomyLabValue != '10000.0')
    return line.afpPreOrchiectomyRange == '3'

return true]]></expression>
            <message>Conflict between AFP Pre-Orchiectomy Lab Value and AFP Pre-Orchiectomy Range</message>
            <description><![CDATA[This edit verifies that AFP Pre-Orchiectomy Lab Value and AFP Pre-Orchiectomy Range SSDIs are coded consistently with each other

1. The edit is skipped for any of the following conditions:
    a. Date of Diagnosis pre-2024, blank (unknown), or invalid.
    b. Schema ID is blank or not 00590
    c. Type of Reporting Source = 7 (Death Certificate Only)
    d. AFP Pre-Orchiectomy Lab Value or AFP Pre-Orchiectomy Range is blank or coded not applicable

2. If AFP Pre-Orchiectomy Lab Value= 1,000.0 - 10,000.0 ng/mL
    AFP Pre-Orchiectomy Range must = 2 (1,000-10,000 ng/mL)

3. If AFP Pre-Orchiectomy Lab Value = 10,000.1 - 99,999.9 ng/mL or XXXXX.1 (100,000 ng/ml or greater)
    AFP Pre-Orchiectomy Range must = 3 (greater than 10,000 ng/ml)]]></description>
            <history>
                <event version="SE24-024-06" user="cooki" date="2024-07-22" ref="69503">Edit Created.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy