edits.seer.internal.rules.IFN6792.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="IFN6792" name="Histologic Subtype, Morphology ICDO3 (NAACCR)" tag="N6792" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2023' || line.schemaId != '09190' || line.histologicTypeIcdO3 == null || line.behaviorCodeIcdO3 == null || line.histologicSubtype == null || line.typeOfReportingSource == '7') return true String morphIcdO3 = line.histologicTypeIcdO3 + line.behaviorCodeIcdO3 if (morphIcdO3 == '84802' || morphIcdO3 == '84803') return Functions.matches(line.histologicSubtype, /^[1-4]$/) else return line.histologicSubtype == '0']]></expression> <message>Morphology conflicts with Histologic Subtype</message> <description><![CDATA[This edit verifies that the Histologic Subtype SSDI is coded consistently with Histologic Type ICD-O-3. 1. This edit is skipped for the following: a. Date of diagnosis is blank (invalid), unknown, or before 2023. b. Schema ID is not 09190 c. Histologic Type ICD-O-3 is blank d. Behavior Code ICD-O-3 is blank e. Histologic Subtype is blank f. Type of Reporting Source = 7 (Death Certificate Only) 2. If Histologic Type ICD-O-3/Behavior Code ICD-O-3 is not 84802 or 84803, then Histologic Subtype must be coded 0. 3. If Histologic Type ICD-O-3/Behavior Code ICD-O-3 is 84802 or 84803, then Histologic Subtype must be coded 1, 2, 3, or 4.]]></description> <history> <event version="SE23-023-03" user="shearerw" date="2023-05-24" ref="69228">Edit Created.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy