edits.seer.internal.rules.IFN5048.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="IFN5048" name="FIGO Stage, Summary Stage 2018 (NAACCR)" tag="N5048" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.summaryStage2018 == null || line.typeOfReportingSource == '7') return true if (!Functions.matches(line.schemaId, /^(005([01236]0|5[123]|28)|095[02]0)$/) || line.figoStage == null || line.figoStage == '98') return true if (line.summaryStage2018 == '0' && !['00530', '00551', '00553'].contains(line.schemaId) && line.figoStage != '97') return false if (line.figoStage == '97' && line.summaryStage2018 != '0') return false return true]]></expression> <message>FIGO Stage conflicts with Summary Stage 2018.</message> <description><![CDATA[The edit verifies that the FIGO Stage SSDI is coded consistently with Summary Stage 2018 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2019, blank, or invalid b. Schema ID not = 00500, 00510, 00520, 00530, 00551, 00552, 00553, 00560, 09520, 00528, 09500 c. FIGO Stage is blank or = 98 (not applicable) d. Summary Stage 2018 blank e. Type of Reporting Source = 7 2. The edit verifies that if FIGO Stage = 97 (Carcinoma in situ), Summary Stage 2018 must = 0 (Carcinoma in situ). 3. If Summary Stage 2018 = 0 and Schema ID is not 00530, 00551, or 00553 (schemas where 8380/2 or 8441/2 are staged T1a or T1b), FIGO Stage must = 97]]></description> <history> <event version="SE18-019-01" user="kirbyk" date="2019-04-03" ref="68149">Edit created.</event> <event version="SE21-021-03" user="secristm" date="2020-03-01" ref="68590">Add schema ID check to FIGO Stage verification.</event> <event version="SE18-020-05" user="beverung" date="2020-07-30" ref="68393">Add schema ID 09520 to skip condition.</event> <event version="SE22-022-01" user="smithm" date="2022-02-15" ref="68831">Add 00528 to skip condition</event> <event version="SE22-022-04" user="secristc" date="2022-05-03" ref="68965">Added skip condition for Type of Reporting Source = 7.</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