edits.seer.internal.rules.IFN4201.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="IFN4201" name="PhI, II, III Radiation External Beam Planning Tech (SEER)" tag="N4201" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018') return true if (line.phase1RadiationExternalBeamTech == null && line.phase2RadiationExternalBeamTech == null && line.phase3RadiationExternalBeamTech == null) return true if (line.phase2RadiationExternalBeamTech != null && line.phase1RadiationExternalBeamTech == null) return false if (line.phase1RadiationExternalBeamTech == '00' && line.phase2RadiationExternalBeamTech != '00' && line.phase2RadiationExternalBeamTech != null) return false if (line.phase3RadiationExternalBeamTech != null && line.phase2RadiationExternalBeamTech == null) return false if (line.phase2RadiationExternalBeamTech == '00' && line.phase3RadiationExternalBeamTech != '00' && line.phase3RadiationExternalBeamTech != null) return false return true]]></expression> <message>Phases of Radiation External Beam Planning Tech conflict.</message> <description><![CDATA[This edit checks that Phase I Radiation External Beam Planning Tech, Phase II Radiation External Beam Planning Tech, and Phase III Radiation External Beam Planning Tech are coded consistently with each other. 1. The edit is skipped for any of the following conditions: a. Phase I Radiation External Beam Planning Tech, Phase II Radiation External Beam Planning Tech, and Phase III Radiation External Beam Planning Tech are all blank. b. Diagnosis date pre-2018, blank (unknown), or invalid. 2. If Phase II Radiation External Beam Planning Tech is not blank, then Phase I Radiation External Beam Planning Tech cannot be blank. 3. If Phase I Radiation External Beam Planning Tech = 00 (no radiation given), Phase II Radiation External Beam Planning Tech must = 00 or blank 4. If Phase III Radiation External Beam Planning Tech is not blank, Phase II Radiation External Beam Planning Tech cannot be blank. 5. If Phase II Radiation External Beam Planning Tech = 00 (no radiation given), Phase III Radiation External Beam Planning Tech must = 00 or blank]]></description> <history> <event version="SE18-018-10" user="kirbyk" date="2018-11-30" ref="68063">Edit created.</event> <event version="SE18-019-01" user="kirbyk" date="2019-03-28" ref="68145">Edit is now skipped when CoC Accredited Flag is not 1.</event> <event version="SE18-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event> <event version="SE22-022-03" user="beverung" date="2022-04-27" ref="68947">Update edit name and remove CoC Accredited Flag.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy