edits.seer.internal.rules.IF550.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="IF550" name="TNM Path T, Date of Diagnosis (COC)" tag="N2263" java-path="lines.line" category="inter-field" depends="TNM_Path_T,Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2016' || line.dateOfDiagnosisYear > '2017' || line.tnmPathT == null) return true if (line.tnmEditionNumber != '07' && line.tnmEditionNumber != 'U7') return true return ((List)Context.IF550_Table).contains(line.tnmPathT)]]></expression> <message>TNM Path T and Date DX conflict</message> <description><![CDATA[This edit is skipped if any of the following conditions is true: 1.Diagnosis date < 2016 or > 2017, blank (unknown), or invalid 2. TNM Path T is blank. 3. TNM Edition Number not = 07, U7 Must be a valid code for TNM Path T and must be left-justified. Subcategory letters must be uppercase,"p" in code must be lowercase. May be blank. The following codes are valid for AJCC 7th edition, 2016-2017 diagnosis years: pX p0 pIS pISU pISD pA p1 p1A p1A1 p1A2 p1B p1B1 p1B2 p1C p1D p1MI p2 p2A p2A1 p2A2 p2B p2C p2D p3 p3A p3B p3C p3D p4 p4A p4B p4C p4D p4E cX c0 c1 c1A c1A1 c1A2 c1B c1B1 c1B2 c1C c1D c1MI c2 c2A c2A1 c2A2 c2B c2C c2D c3 c3A c3B c3C c3D c4 c4A c4B c4C c4D c4E 88]]></description> <history> <event version="SE16-015-01" user="kirbyk" date="2016-04-14" ref="67301">Edit created.</event> <event version="SE16-016-01" user="kirbyk" date="2017-01-17" ref="67608">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-04-27" ref="67735">Added valid codes; restricted edit to cases with DX year 2016-2017.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy