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

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

There is a newer version: 024-13
Show newest version
<rule id="IFN6837" name="AFP Pre/Post Treatment Range, Testis (NAACCR)" tag="N6837" 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 != '00590' || line.typeOfReportingSource == '7')
    return true
if (line.afpPreOrchiectomyRange == null || line.afpPreOrchiectomyRange == '8' || line.afpPostOrchiectomyRange == null || line.afpPostOrchiectomyRange == '8')
    return true

if (line.afpPostOrchiectomyRange == '5')
    return line.afpPreOrchiectomyRange == '0'

return true]]></expression>
            <message>Conflict between AFP Post-Orchiectomy Range and AFP Pre-Orchiectomy Range</message>
            <description><![CDATA[This edit verifies that AFP Pre-Orchiectomy Range and AFP Post-
Treatment Orchiectomy Range SSDIs are coded consistently with each other for Schema ID 00590, Testis.

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 00590
    c. AFP Pre-Orchiectomy Range or AFP Post-Orchiectomy Range is
        blank or not applicable
    d. Type of Reporting Source is 7 (Death Certificate Only)

2. If AFP Post-Orchiectomy Range = 5 (Post-Orchiectomy not done or
unknown but Pre-Orchiectomy within normal limits)
    AFP Pre-Orchiectomy Range must = 0 (within normal limits)]]></description>
            <history>
                <event version="SE23-023-04" user="shearerw" date="2023-06-09" ref="69229">Edit Created.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy