edits.seer.internal.rules.IFN6769.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="IFN6769" name="RX Summ--Surg Prim Site 2023 (COC)" tag="N6769" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null) return true if (line.dateOfDiagnosisYear < '2023') return line.rxSummSurgPrimSite2023 == null return Functions.matches(line.rxSummSurgPrimSite2023, /^[AB]([1-8]\d\d|000|900|990)|A980$/)]]></expression> <message>Invalid value for RX Summ--Surg Prim Site 2023</message> <description><![CDATA[This edit is skipped if diagnosis date = blank (unknown) or invalid. This data item must be blank for cases diagnosed before 2023. Must be A000, A100-A900, A980, A990, B000, B100-B900, or B990.]]></description> <history> <event version="SE23-023-05" user="shearerw" date="2023-06-21" ref="69236">Edit created.</event> </history> </rule>