edits.seer.internal.rules.IF534.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="IF534" name="TNM Path Staged By, Date of Diagnosis (SEER)" tag="N2017" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[boolean skipCondition1 = line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2015' || line.dateOfDiagnosisYear > '2017' boolean skipCondition2 = line.tnmPathStagedBy == null && line.dateOfDiagnosisYear == '2015' boolean skipCondition3 = ['0000001563', '0000001566'].contains(line.registryId) if (skipCondition1 || skipCondition2 || skipCondition3) return true return Functions.matches(line.tnmPathStagedBy, /^[0-6]0|1[1-5]|88|99$/)]]></expression> <message>TNM Path Staged By is not valid.</message> <description><![CDATA[This edit is skipped if any of the following conditions are true: 1. Year of Date of Diagnosis is less than 2015 or greater than 2017, blank (unknown), or invalid 2. TNM Path Staged By [930] is blank and year of Date of Diagnosis = 2015 3. Registry ID is 0000001563 (Massachusetts) or 0000001566 (Texas) Must be a valid TNM Path Staged By code (00,10-15,20,30,40,50,60,88,99). Codes 00 Not staged 10 Physician NOS or physician type not specified in codes 11-15 11 Surgeon 12 Radiation Oncologist 13 Medical Oncologist 14 Pathologist 15 Multiple Physicians; tumor board, etc. 20 Cancer registrar 30 Cancer registrar and physician 40 Nurse, physician assistant, or other non-physician medical staff 50 Staging assigned at another facility 60 Staging by Central Registry 88 Case is not eligible for staging 99 Staged but unknown who assigned stage]]></description> <history> <event version="SE15-013-01" user="kirbyk" date="2015-01-14" ref="67188">Edit created.</event> <event version="SE16-015-01" user="kirbyk" date="2016-04-07" ref="67286">Updated logic for NAACCR 16.</event> <event version="SE16-016-08" user="depryf" date="2017-11-22" ref="67674">Edit syntax updated to allow pre-compilation optimization; no change in behavior.</event> <event version="SE18-018-01" user="kirbyk" date="2018-05-01" ref="67753">Updated skip condition for 2018+ cases.</event> <event version="SE18-020-01" user="beverung" date="2020-01-28" ref="68274">Skip edit for MA.</event> <event version="SE21-021-09" user="beverung" date="2021-09-03" ref="68738">Added skip condition for TX.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy