edits.seer.internal.rules.IF546.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="IF546" name="TNM Clin N, Date of Diagnosis (COC)" tag="N2227" java-path="lines.line" category="inter-field" depends="TNM_Clin_N,Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2016' || line.dateOfDiagnosisYear > '2017' || line.tnmClinN == null) return true if (line.tnmEditionNumber != '07' && line.tnmEditionNumber != 'U7') return true return ((List)Context.IF546_Table).contains(line.tnmClinN)]]></expression> <message>TNM Clin N and Date DX conflict</message> <description><![CDATA[This edit is skipped if any of the following conditions are true: 1. Diagnosis date < 2016 or > 2017, blank, (unknown), or invalid. 2. TNM Clin N is blank. 3. TNM Edition Number not = 07, U7 Must be a valid code for TNM Clin N and must be left justified. Subcategory letters must be uppercase, "c" in code must be lowercase. May be blank. The following codes are valid for AJCC 7th edition, 2016 and 2017 diagnosis year: cX c0 c0A c0B c1 c1A c1B c1C c2 c2A c2B c2C c3 c3A c3B c3C c4 88 Blank]]></description> <history> <event version="SE16-015-01" user="kirbyk" date="2016-04-12" ref="67294">Edit created.</event> <event version="SE16-016-01" user="kirbyk" date="2017-01-11" ref="67583">Added skip condition for TNM Edition Number.</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="67748">Updated skip condition for 2018+ cases.</event> <event version="SE21-021-03" user="kirbyk" date="2021-03-09" ref="68568">Edit name changed.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy