edits.seer.internal.rules.PhII_Radiation_Treatment_Modality.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="PhII_Radiation_Treatment_Modality" name="PhII Radiation Treatment Modality (COC)" tag="N2549" java-path="lines.line" category="field"> <expression><![CDATA[return line.phase2RadiationTreatmentModality == null || Functions.matches(line.phase2RadiationTreatmentModality, /^0\d|1[0-6]|98|99$/)]]></expression> <message>Phase II Radiation Treatment Modality is not valid.</message> <description><![CDATA[This data item identifies the radiation modality administered during the second phase of radiation treatment delivered during the first course of treatment. 1. The data item may be blank. Another edit checks consistency with radiation phases. 2. Must be right-justified, zero-filled. 3. Must be a valid code for Phase II Radiation Treatment Modality: 00-16, 99. 00: No radiation treatment 01: External beam, NOS 02: External beam, photons 03: External beam, protons 04: External beam, electrons 05: External beam, neutrons 06: External beam, carbon ions 07: Brachytherapy, NOS 08: Brachytherapy, intracavitary, LDR 09: Brachytherapy, intracavitary, HDR 10: Brachytherapy, Interstitial, LDR 11: Brachytherapy, Interstitial, HDR 12: Brachytherapy, electronic 13: Radioisotopes, NOS 14: Radioisotopes, Radium-232 15: Radioisotopes, Strontium-89 16: Radioisotopes, Strontium-90 98: Radiation treatment administered, modality unknown 99: Radiation treatment modality unknown; Unknown if radiation treatment administered]]></description> <history> <event version="SE18-018-02" user="kirbyk" date="2018-05-03" ref="67779">Edit created.</event> <event version="SE18-020-05" user="kirbyk" date="2020-08-04" ref="68442">Added code '98'.</event> </history> </rule>