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

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

There is a newer version: 024-13
Show newest version
        <rule id="IFN6574" name="Gleason Score Pathological, EOD Prostate Pathologic Extension (SEER)" tag="N6574" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2022' || line.schemaId != '00580')
    return true
if (line.prostatePathologicalExtension == null || line.gleasonScorePathological == null)
    return true

if (line.gleasonScorePathological == 'X7' && line.prostatePathologicalExtension != '900')
    return false
if (line.prostatePathologicalExtension == '900' && line.gleasonScorePathological != 'X7')
    return false
if (line.prostatePathologicalExtension == '950' && line.gleasonScorePathological != 'X9')
    return false

return true]]></expression>
            <message>EOD Prostate Pathologic Extension conflicts with Gleason Score Pathological</message>
            <description><![CDATA[This edit verifies that Gleason Score Pathological is coded
consistently with EOD Prostate Pathologic Extension.

1. The edit is skipped for the following conditions:
   a. Date of Diagnosis before 2022, blank (unknown), or
invalid.
   b. Schema ID is not 00580
   c. EOD Prostate Pathologic Extension is blank.
    d. Gleason Score Pathological is blank

2. If Gleason Score Pathological = X7 (no prostatectomy/autopsy performed)
   then EOD Prostate Pathologic Extension must = 900 (no prostatectomy or autopsy
    performed)

3. If EOD Prostate Pathologic Extension = 900 (no prostatectomy or autopsy
    performed)
   then Gleason Score Pathological must = X7 (no prostatectomy/autopsy
    performed)


4. If EOD Prostate Pathologic Extension = 950 (prostatectomy performed but not
   first course of treatment,
    then Gleason Score Pathological must = X9 (not documented in medical record,
    Gleason Score Pathological not assessed or unknown if assessed.]]></description>
            <history>
                <event version="SE22-022-01" user="beverung" date="2022-03-04" ref="68896">Edit Created</event>
                <event version="SE22-022-03" user="beverung" date="2022-04-27" ref="68947">Update edit name and remove CoC Accredited Flag.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy