edits.seer.internal.rules.IFN2705.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of validation-edits-seer Show documentation
Show all versions of validation-edits-seer Show documentation
Java implemenation of the SEER edits.
The newest version!
<rule id="IFN2705" name="EOD Prostate Pathologic Extension, Date DX (SEER)" tag="N2705" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null) return true if (line.dateOfDiagnosisYear < '2018' && line.prostatePathologicalExtension != null) return false return line.prostatePathologicalExtension == null || Functions.matches(line.prostatePathologicalExtension, /^999|([39]5|[03-9]0)0$/)]]></expression> <message>Prostate Pathological Extension 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 Prostate Pathological Extension code or blank: 000: In situ; noninvasive; intraepithelial 300: Confined to prostate, NOS Localized, NOS 350: Bladder neck, microscopic invasion Extraprostatic extension (beyond prostatic capsule), unilateral, bilateral, or NOS WITHOUT invasion of the seminal vesicles extension to periprostatic tissue WITHOUT invasion of the seminal vesicles 400: Tumor invades seminal vesicle(s) 500: Extraprostatic tumor that is not fixed WITHOUT invasion of adjacent structures 600: Bladder neck, except microscopic bladder neck involvement Bladder, NOS External sphincter Extraprostatic urethra (membranous urethra) Fixation, NOS Levator muscles Rectovesical (Denonvillilier's) fascia Rectum Skeletal muscle Ureter(s) 700: Extension to or fixation to pelvic wall or pelvic bone "Frozen pelvis", NOS Further contiguous extension including - Bone - Other organs - Penis - Sigmoid colon - Soft tissue other than periprostatic 800: No evidence of primary tumor 900: No prostatectomy or autopsy performed 950: Prostatectomy performed, but not first course of treatment, for example performed after disease progression 999: Unknown; extension not stated Unknown if prostatectomy done Primary tumor cannot be assessed; Not documented in medical record Another edit, EOD Prostate Pathologic Extension, Schema ID, Required (SEER), checks that the item is coded by Schema ID. The item is required by SEER for prostate cancer.]]></description> <history> <event version="SE18-018-03" user="schadega" date="2018-07-12" ref="67882">Edit created.</event> <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event> <event version="SE18-019-01" user="kirbyk" date="2019-04-16" ref="68175">Removed '250' as a valid code.</event> <event version="SE21-021-03" user="beverung" date="2021-02-26" ref="68576">Update edit name.</event> </history> </rule>