edits.seer.internal.rules.IFN6801.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="IFN6801" name="SSDI p16, Blank for Other Schemas (NAACCR)" tag="N6801" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear < '2018' || line.dateOfDiagnosisYear == null || ['09210','09520','09500'].contains(line.schemaId) || line.schemaId == null) return true return line.p16 == null]]></expression> <message>Conflict between schema and coded SSDI items</message> <description><![CDATA[This edit verifies that p16 Site-Specific Data Item defined for Anus, Schema ID 09210, Vulva, Schema 09500, and Cervix, Schema 09520, is blank (not coded) for all other schemas. This edit is skipped for any of the following conditions: a.Date of Diagnosis is before 2018, blank, invalid. b.Schema ID is blank, 09210, 09520, or 09500. If Schema ID is not 09210 (Anus, V9), 09500 (Vulva V9), 09520 (Cervix V9) the following Site-Specific Data Item must be blank: p16]]></description> <history> <event version="SE23-023-05" user="cooki" date="2023-06-15" ref="69239">Edit created.</event> <event version="SE24-024-01" user="beverung" date="2024-02-29" ref="69422">Updated edit name. Added logic for Vulva (09500). Updated DX Year skip condition to 2018+</event> </history> </rule>