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

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

There is a newer version: 024-13
Show newest version
        <rule id="IFN2671" name="Visceral and Parietal Pleural Invasion, Date DX (NAACCR)" tag="N2671" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null)
    return true

if (line.dateOfDiagnosisYear < '2018' && line.visceralParietalPleuralInvasion != null)
    return false

return line.visceralParietalPleuralInvasion == null || Functions.matches(line.visceralParietalPleuralInvasion, /^[045689]$/)]]></expression>
            <message>Visceral and Parietal Pleural Invasion is not valid for Date DX</message>
            <description><![CDATA[The edit is skipped if Date of Diagnosis is blank (unknown), or invalid.

1. This data item must be blank for pre-2018 diagnoses.

2. Must be a valid Visceral and Parietal Pleural Invasion code or blank: 

    0: No evidence of visceral pleural invasion, not identified
       Tumor does not completely traverse the elastic layer of the pleura
       Stated as PL0
    4: Invasion of visceral pleura present, NOS; not stated if PL1 or PL2
    5: Tumor invades into or through the parietal pleural OR chest wall;
      stated as PL3
    6: Tumor extends to pleura, NOS; not stated if visceral or parietal
    8: Not applicable: Information not collected for this case
    9: Not documented in medical record 
       No surgical resection of primary site is performed
       Visceral and Parietal Pleural Invasion not assessed or unknown if assessed 
      or cannot be determined
    
Another edit, Visceral and Parietal Pleural Invasion, Schema ID, Required 
(NAACCR), checks that the item is coded correctly by Schema ID if required by a 
standard setter.]]></description>
            <history>
                <event version="SE18-018-03" user="schadega" date="2018-07-12" ref="67857">Edit created.</event>
                <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event>
                <event version="SE18-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event>
                <event version="SE21-021-01" user="kirbyk" date="2021-01-08" ref="68479">Updated valid codes; removed codes &apos;1&apos;, &apos;2&apos;, &apos;3&apos; and added code &apos;5&apos;.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy