edits.seer.internal.rules.IFN7027.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.
<rule id="IFN7027" name="Brain Primary Tumor Location, Date DX (NAACCR)" tag="N7027" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null) return true if (line.dateOfDiagnosisYear < '2024' || line.primarySite != 'C717') return line.brainPrimaryTumorLocation == null if (!['1','2','8','9'].contains(line.brainPrimaryTumorLocation) && line.brainPrimaryTumorLocation != null) return false return true]]></expression> <message>Invalid code for Brain Primary Tumor Location</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-2024 diagnoses. 2. Must be a valid Brain Primary Tumor Location code or blank: 1: Pons 2: Subsite other than Pons: Basis peduncle Cerebral peduncle Choroid plexus of fourth ventricle Fourth ventricle, NOS Infratentorial brain, NOS Medulla oblongata Mid brain Olive Pyramid 8: Not applicable, information not collected for this case 9: Brain stem, NOS Unknown subsite of Brain Stem Blank: Primary Site is NOT C717 Diagnosis year is prior to 2024 3. This data item must be blank if Primary Site not = C717. Another edit, Brain Primary Tumor Location, Schema ID, Required (NAACCR), checks that the item is coded by Schema ID if required by a standard setter. ]]></description> <history> <event version="SE24-024-03" user="cooki" date="2024-03-21" ref="69436">Edit created.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy