edits.seer.internal.rules.IFN6886.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="IFN6886" name="p16, Schema ID, Required (SEER)" tag="N6886" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2023' || line.schemaId == null || line.typeOfReportingSource == '7') return true return (!['09210','09520','09500'].contains(line.schemaId)) || (line.p16 != null && line.p16 != '8')]]></expression> <message>p16 must not be blank or not applicable for Schema ID cases diagnosed 2023 and later</message> <description><![CDATA[1. The edit is skipped for any of the following conditions: a. Date of Diagnosis pre-2023, blank (unknown), or invalid. b. Schema ID is blank. c. Type of Reporting Source = 7 (Death Certificate Only) p16 is required by SEER for cases reported from all sources 2023+ 2. This edit verifies that p16 is not "8" (not applicable) and not blank for the Schema IDs for which it is required by a standard setter. Required for Schema ID: 09210: Anus, V9 09520: Cervix, V9 09500: Vulva, V9 ]]></description> <history> <event version="SE23-023-02" user="cooki" date="2023-05-03" ref="69237">Edit created.</event> <event version="SE24-024-01" user="beverung" date="2024-03-04" ref="69403">Added logic for Schema ID 09500.</event> </history> </rule>