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

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

There is a newer version: 024-13
Show newest version
        <rule id="IFN3985" name="Lymphovascular Invasion, Penis, EOD Primary Tumor (SEER)" tag="N3985" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.schemaId != '00570' || line.eodPrimaryTumor == null)
    return true

String lymphVascularInvasion = line.lymphVascularInvasion
if (lymphVascularInvasion == null || lymphVascularInvasion == '8')
    return true

if (Functions.matches(lymphVascularInvasion, /^[1-4]$/))
    return Functions.matches(line.eodPrimaryTumor, /^200|[456]\d\d|700|999$/)

return true]]></expression>
            <message>Lymphovascular Invasion/EOD Primary Tumor conflict for Penis</message>
            <description><![CDATA[Purpose: This edit verifies that Lymphovascular Invasion is coded consistently
with EOD Primary Tumor for Penis.

1. This edit is skipped if any of the following conditions is true:

   a. Year of Date of Diagnosis is less than 2019, blank (unknown), or invalid
   b. Schema ID is not 00570
   c. Lymphovascular Invasion is blank or 8 (not applicable)
   d. EOD Primary Tumor is blank


2. If Lymphovascular Invasion = 1-4 (invasion present)
   then EOD Primary Tumor must = 200, 400-700 (with lymphovascular invasion or higher)
   or 999 (unknown extension)]]></description>
            <history>
                <event version="SE18-019-02" user="kirbyk" date="2019-05-13" ref="68147">Edit created.</event>
                <event version="SE22-022-08" user="secristc" date="2022-06-23" ref="69011">Updated error message.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy