edits.seer.internal.rules.IFN3030.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="IFN3030" name="FIGO Stage, Behavior (NAACCR)" tag="N3030" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018' || line.figoStage == null || line.figoStage == '98') return true if (!Functions.matches(line.schemaId, /^(005([01236]0|4[12]|5[123]|28)|095[02]0)$/) || line.behaviorCodeIcdO3 == null || line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1') return true if (line.behaviorCodeIcdO3 == '2' && !Functions.matches(line.schemaId, /^005(30|5[13])$/)) return line.figoStage == '97' if (line.behaviorCodeIcdO3 == '3') return line.figoStage != '97' return true]]></expression> <message>FIGO Stage and Behavior Code ICD-O-3 conflict.</message> <description><![CDATA[The edit verifies that the FIGO Stage SSDI is coded consistently with Behavior ICD-O-3. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2018, blank (unknown), or invalid b. Schema ID not = 00500, 00510, 00520, 00528, 00530, 00541, 00542, 00551, 00552, 00553, 00560, 09520, 09500 c. FIGO Stage is blank or = 98 (not applicable) d. Behavior Code ICD-0-3 is 0, 1, or blank 2. The edit verifies that if Behavior Code ICD-O-3 = "2" and Schema ID is not 00530, 00551, or 00553 (schemas where 8380/2 or 8441/2 are staged T1a or T1b), FIGO Stage = "97" (Carcinoma in situ) or "98" (not collected for this case). 3. The edit verifies that if Behavior Code ICD-O-3 = "3", FIGO Stage must not = "97" (Carcinoma in situ).]]></description> <history> <event version="SE18-018-02" user="kirbyk" date="2018-06-15" ref="67813">Edit created.</event> <event version="SE18-018-03" user="kirbyk" date="2018-07-20" ref="67961">Removed unnecessary dependency.</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="SE18-020-05" user="beverung" date="2020-07-30" ref="68393">Add schema ID 09520 to skip condition.</event> <event version="SE21-021-03" user="beverung" date="2021-02-17" ref="68557">Removed 00530, 00551, 00553 from skip condition.</event> <event version="SE21-021-03" user="beverung" date="2021-03-02" ref="68569">Update logic for step 2.</event> <event version="SE22-022-01" user="smithm" date="2022-02-15" ref="68831">Add 00528 to skip condition</event> <event version="SE24-024-01" user="beverung" date="2024-03-04" ref="69403">Added Schema ID 09500 to skip condition.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy