1import { r as reactExports, j as jsxRuntimeExports, aC as Helmet, w as motion, O as TriangleAlert, i as Shield, aY as ChevronUp, ah as ChevronDown, v as AnimatePresence, I as Info, a$ as CircleCheckBig, aK as ArrowRight, ag as FileText, h as Copy, bT as Download, aH as RefreshCw, k as MessageSquare, L as Link } from "./vendor-BRPG2tLG.js"; 2import { J as JsonLd, i as ShareBar, W as nexus_letter, X as trackNexusLetterGenerated } from "./index-DVj0zJ6X.js"; 3import { M as MemberGate } from "./MemberGate--WQNiOYv.js"; 4import { G as GuideCommunityFooter } from "./GuideCommunityFooter-B1yp9CX-.js"; 5import { K as KnowYourRights } from "./KnowYourRights-DnCJSqm4.js"; 6import "./preload-D9ItKcgK.js"; 7const fadeUp = { 8 hidden: { 9 opacity: 0, 10 y: 16 11 }, 12 visible: { 13 opacity: 1, 14 y: 0 15 } 16}; 17const stagger = { 18 hidden: {}, 19 visible: { 20 transition: { 21 staggerChildren: 0.07 22 } 23 } 24}; 25const EMPTY_FORM = { 26 doctorName: "", 27 doctorCredentials: "", 28 doctorSpecialty: "", 29 doctorClinic: "", 30 doctorAddress: "", 31 doctorPhone: "", 32 doctorEmail: "", 33 veteranName: "", 34 veteranDob: "", 35 veteranSsn: "", 36 veteranBranch: "", 37 veteranServiceStart: "", 38 veteranServiceEnd: "", 39 diagnosisName: "", 40 diagnosisIcd: "", 41 connectionType: "direct", 42 inServiceEvent: "", 43 inServiceDate: "", 44 inServiceEvidence: "", 45 primaryCondition: "", 46 howAggravatedOrCaused: "", 47 presumptiveBasis: "", 48 opinionStrength: "at_least_as_likely", 49 rationale: "", 50 recordsReviewed: "", 51 signatureDate: "" 52}; 53const CONNECTION_LABELS = { 54 direct: "Direct Service Connection", 55 aggravation: "Aggravation of Pre-Existing Condition", 56 secondary: "Secondary Service Connection", 57 presumptive: "Presumptive Service Connection" 58}; 59const OPINION_PHRASES = { 60 at_least_as_likely: "at least as likely as not (50% or greater probability)", 61 more_likely: "more likely than not (greater than 50% probability)", 62 highly_probable: "highly probable (well above 50% probability)" 63}; 64const MOS_PREFILL = [ 65 // ââ ARMY ââ 66 { 67 code: "11B", 68 branch: "Army", 69 title: "Infantryman", 70 conditions: [{ 71 condition: "Lumbar Degenerative Disc Disease", 72 inServiceEvent: "The veteran served as an 11B Infantryman and was required to carry combat loads in excess of 80â120 lbs on a daily basis, including body armor, weapons, ammunition, and mission-essential equipment. This sustained axial loading was a routine and unavoidable requirement of the MOS.", 73 rationale: "Lumbar degenerative disc disease is a well-documented sequela of repetitive axial loading and compressive forces on the lumbar spine. The veteran's service as an 11B Infantryman required carrying loads in excess of 80 lbs for extended periods, consistent with the biomechanical forces known to accelerate disc degeneration. Peer-reviewed literature documents a statistically significant association between military infantry service and early-onset lumbar disc disease. The veteran's current diagnosis is at least as likely as not the result of these service-related physical demands." 74 }, {
75 condition: "PTSD / Anxiety / Depression", 76 inServiceEvent: "The veteran served in a direct combat role as an 11B Infantryman and was exposed to combat operations including direct fire engagements, IED blasts, and the deaths of fellow service members. These events constitute qualifying stressors under 38 CFR § 3.304(f).", 77 rationale: "Post-traumatic stress disorder is a well-established psychiatric sequela of combat exposure. The veteran's service as an 11B Infantryman placed them in direct combat environments with repeated exposure to life-threatening events, death, and injury. The DSM-5 criteria for PTSD are met, and the veteran's current symptoms are at least as likely as not the direct result of combat stressors experienced during military service." 78 }, { 79 condition: "Hearing Loss / Tinnitus", 80 inServiceEvent: "The veteran served as an 11B Infantryman and was routinely exposed to weapons fire, explosions, and other high-decibel noise sources without adequate hearing protection. Exposure included M4/M16 rifle fire, M249 SAW, M240B machine gun, grenades, and IED blasts.", 81 rationale: "Noise-induced hearing loss and tinnitus are among the most prevalent service-connected conditions in the VA system. The veteran's MOS as an 11B Infantryman involved sustained exposure to impulse noise from weapons fire and explosions at levels well above the 85 dB OSHA threshold for hearing damage. The current diagnosis of hearing loss and/or tinnitus is at least as likely as not the result of this service-related noise exposure." 82 }, { 83 condition: "Knee Osteoarthritis / Meniscus Tear", 84 inServiceEvent: "The veteran's service as an 11B Infantryman required prolonged marching, running in full combat load, kneeling, and operating in rough terrain. These activities placed repetitive stress on the knee joints over the course of the veteran's service.", 85 rationale: "Knee osteoarthritis and meniscal pathology are well-documented in military infantry personnel. The repetitive impact loading, kneeling, and load-bearing activities required of an 11B Infantryman are consistent with the biomechanical forces known to cause and accelerate knee joint degeneration. The veteran's current knee condition is at least as likely as not the result of these service-related physical demands." 86 }] 87 }, 88 { 89 code: "11C", 90 branch: "Army", 91 title: "Indirect Fire Infantryman (Mortarman)", 92 conditions: [{ 93 condition: "Hearing Loss / Tinnitus", 94 inServiceEvent: "The veteran served as an 11C Indirect Fire Infantryman (Mortarman) and was routinely exposed to mortar fire â 60mm, 81mm, and 120mm systems â which produce impulse noise levels of 180â190 dB at the firing position. This exposure occurred during training and combat operations.", 95 rationale: "Mortar fire produces some of the highest impulse noise levels of any military weapon system. The veteran's MOS as an 11C Mortarman involved sustained and repeated exposure to mortar blast at levels far exceeding the threshold for permanent hearing damage. The current diagnosis of hearing loss and/or tinnitus is at least as likely as not the direct result of this service-related noise exposure." 96 }, { 97 condition: "TBI / Traumatic Brain Injury", 98 inServiceEvent: "The veteran served as an 11C Mortarman and was repeatedly exposed to blast overpressure from mortar firing operations. Mortar blast overpressure at the firing position is a well-documented cause of subconcussive and concussive brain injury even in the absence of a discrete traumatic event.", 99 rationale: "Blast-related TBI from repeated subconcussive exposure is a recognized mechanism of injury in mortar crews. The veteran's MOS as an 11C Mortarman involved repeated exposure to mortar blast overpressure at the firing position. Current research documents cumulative neurological effects from repeated blast exposure even without a single identifiable concussive event. The veteran's current TBI diagnosis is at least as likely as not the result of this service-related blast exposure." 100 }] 101 }, 102 { 103 code: "12B", 104 branch: "Army", 105 title: "Combat Engineer", 106 conditions: [{ 107 condition: "TBI / Traumatic Brain Injury", 108 inServiceEvent: "The veteran served as a 12B Combat Engineer and was routinely exposed to blast overpressure from demolitions, breaching charges, and IED blasts. Combat engineers are among the most blast-exposed personnel in the Army.", 109 rationale: "Blast-related TBI is a defining occupational hazard for combat engineers. The veteran's MOS as a 12B Combat Engineer involved repeated exposure to demolition blast overpressure during training and combat operations. Current research documents cumulative neurological effects from repeated blast exposure. The veteran's current TBI diagnosis is at least as likely as not the result of this service-related blast exposure." 110 }, {
111 condition: "Respiratory Conditions", 112 inServiceEvent: "The veteran served as a 12B Combat Engineer and was exposed to demolition compounds, explosive residue, concrete dust, asbestos (in breaching operations involving older structures), and burn pit smoke during deployments.", 113 rationale: "Combat engineers are exposed to a range of respiratory hazards including demolition compound residue, concrete and silica dust from breaching operations, and burn pit smoke. The veteran's current respiratory condition is at least as likely as not the result of these service-related exposures." 114 }] 115 }, 116 { 117 code: "13B", 118 branch: "Army", 119 title: "Cannon Crewmember", 120 conditions: [{ 121 condition: "Hearing Loss / Tinnitus", 122 inServiceEvent: "The veteran served as a 13B Cannon Crewmember and was routinely exposed to artillery fire â M109 Paladin, M198, and M777 howitzers â which produce impulse noise levels of 180â190 dB at the firing position. This exposure occurred during training and combat operations throughout the veteran's service.", 123 rationale: "Artillery fire produces the highest impulse noise levels of any conventional military weapon system. The veteran's MOS as a 13B Cannon Crewmember involved sustained and repeated exposure to artillery blast at levels far exceeding the threshold for permanent hearing damage. The current diagnosis of hearing loss and/or tinnitus is at least as likely as not the direct result of this service-related noise exposure." 124 }, { 125 condition: "TBI / Traumatic Brain Injury", 126 inServiceEvent: "The veteran served as a 13B Cannon Crewmember and was repeatedly exposed to artillery blast overpressure at the firing position. Artillery blast overpressure is a well-documented cause of subconcussive and concussive brain injury in gun crews.", 127 rationale: "Blast-related TBI from repeated subconcussive exposure is a recognized mechanism of injury in artillery crews. The veteran's MOS as a 13B Cannon Crewmember involved repeated exposure to artillery blast overpressure. Current research documents cumulative neurological effects from repeated blast exposure even without a single identifiable concussive event. The veteran's current TBI diagnosis is at least as likely as not the result of this service-related blast exposure." 128 }] 129 }, 130 { 131 code: "68W", 132 branch: "Army", 133 title: "Combat Medic", 134 conditions: [{ 135 condition: "PTSD / Moral Injury", 136 inServiceEvent: "The veteran served as a 68W Combat Medic and was repeatedly exposed to traumatic events including mass casualty incidents, the deaths of patients under their care, and the psychological burden of providing medical care in combat environments. These events constitute qualifying stressors under 38 CFR § 3.304(f).", 137 rationale: "PTSD and moral injury are well-documented in combat medics at rates significantly higher than the general military population. The veteran's MOS as a 68W Combat Medic placed them in repeated contact with death, severe injury, and the psychological burden of medical decision-making under combat conditions. The veteran's current PTSD diagnosis is at least as likely as not the direct result of these service-related stressors." 138 }, { 139 condition: "Lumbar Disc Disease", 140 inServiceEvent: "The veteran served as a 68W Combat Medic and was required to carry a medical aid bag in addition to standard combat load, perform patient lifts and carries, and provide medical care in austere environments requiring awkward postures and heavy lifting.", 141 rationale: "Combat medics carry significantly heavier loads than standard infantry due to the addition of medical equipment. Patient lifts, carries, and the physical demands of providing care in combat environments place substantial compressive and shear forces on the lumbar spine. The veteran's current lumbar disc disease is at least as likely as not the result of these service-related physical demands." 142 }] 143 }, 144 { 145 code: "91B", 146 branch: "Army", 147 title: "Wheeled Vehicle Mechanic", 148 conditions: [{ 149 condition: "Lumbar Disc Disease", 150 inServiceEvent: "The veteran served as a 91B Wheeled Vehicle Mechanic and was required to perform maintenance on military vehicles in awkward postures, including working under vehicles, lifting heavy components, and sustained bending and twisting motions. These activities were a daily requirement of the MOS.", 151 rationale: "Lumbar disc disease is a well-documented occupational condition in vehicle mechanics. The veteran's MOS as a 91B Wheeled Vehicle Mechanic required sustained awkward postures, heavy component handling, and repetitive bending and twisting motions that place compressive and shear forces on the lumbar spine. The veteran's current lumbar disc disease is at least as likely as not the result of these service-related physical demands." 152 }, {
153 condition: "Respiratory Conditions", 154 inServiceEvent: "The veteran served as a 91B Wheeled Vehicle Mechanic and was routinely exposed to diesel exhaust, petroleum products, solvents (including trichloroethylene and MEK), and hydraulic fluids in maintenance bays and deployed environments.", 155 rationale: "Diesel exhaust is classified as a Group 1 carcinogen by the IARC. Trichloroethylene (TCE) is a known carcinogen associated with kidney cancer, non-Hodgkin lymphoma, and liver cancer. The veteran's MOS as a 91B Wheeled Vehicle Mechanic involved daily exposure to these substances in maintenance environments. The veteran's current respiratory condition is at least as likely as not the result of these service-related chemical exposures." 156 }] 157 }, 158 { 159 code: "15T", 160 branch: "Army", 161 title: "UH-60 Black Hawk Repairer", 162 conditions: [{ 163 condition: "Hearing Loss / Tinnitus", 164 inServiceEvent: "The veteran served as a 15T UH-60 Black Hawk Repairer and worked on flight lines where UH-60 turbine engines and rotor systems produce sustained noise levels of 100â115 dB. This exposure occurred during engine runs, maintenance operations, and flight line activities throughout the veteran's service.", 165 rationale: "Flight line noise from helicopter turbine engines and rotor systems is a well-documented cause of noise-induced hearing loss. The veteran's MOS as a 15T UH-60 Repairer involved sustained exposure to noise levels far exceeding the 85 dB OSHA threshold for hearing damage. The current diagnosis of hearing loss and/or tinnitus is at least as likely as not the direct result of this service-related noise exposure." 166 }, { 167 condition: "Respiratory Conditions / Occupational Asthma", 168 inServiceEvent: "The veteran served as a 15T UH-60 Black Hawk Repairer and was routinely exposed to JP-8 jet fuel vapor, Skydrol hydraulic fluid mist, and hexavalent chromium dust from chromate-primed airframe panels during drilling, sanding, and grinding operations.", 169 rationale: "JP-8 jet fuel contains benzene, a Group 1 carcinogen, and causes respiratory sensitization with chronic exposure. Skydrol hydraulic fluid is a severe respiratory irritant and known cause of occupational asthma. Hexavalent chromium from chromate primers is an IARC Group 1 lung carcinogen. The veteran's current respiratory condition is at least as likely as not the result of these service-related chemical exposures." 170 }, { 171 condition: "Lung Cancer", 172 inServiceEvent: "The veteran served as a 15T UH-60 Black Hawk Repairer and was routinely exposed to hexavalent chromium (Cr(VI)) from chromate-primed airframe panels during drilling, sanding, and grinding operations. This exposure occurred throughout the veteran's service.", 173 rationale: "Hexavalent chromium (Cr(VI)) is classified as an IARC Group 1 carcinogen with a well-established causal relationship to lung cancer. The veteran's MOS as a 15T UH-60 Repairer required regular work on chromate-primed airframe panels, releasing Cr(VI) dust during drilling, sanding, and grinding operations. The veteran's current lung cancer diagnosis is at least as likely as not the result of this service-related hexavalent chromium exposure." 174 }] 175 }, 176 { 177 code: "15U", 178 branch: "Army", 179 title: "CH-47 Chinook Repairer", 180 conditions: [{ 181 condition: "Hearing Loss / Tinnitus", 182 inServiceEvent: "The veteran served as a 15U CH-47 Chinook Repairer and worked on flight lines where the CH-47's tandem rotor system and twin T55 turbine engines produce sustained noise levels of 105â120 dB â among the highest of any Army helicopter platform. This exposure occurred during engine runs, maintenance operations, and flight line activities.", 183 rationale: "The CH-47 Chinook produces the highest noise levels of any Army helicopter due to its tandem rotor system and twin turbine engines. The veteran's MOS as a 15U CH-47 Repairer involved sustained exposure to noise levels far exceeding the 85 dB OSHA threshold for hearing damage. The current diagnosis of hearing loss and/or tinnitus is at least as likely as not the direct result of this service-related noise exposure." 184 }, {
185 condition: "Lumbar Disc Disease", 186 inServiceEvent: "The veteran served as a 15U CH-47 Chinook Repairer and was required to handle heavy CH-47 components including rotor blades, transmission modules, and engine assemblies that are significantly heavier than components on smaller helicopter platforms. This heavy component handling was a routine requirement of the MOS.", 187 rationale: "CH-47 Chinook components are among the heaviest in Army aviation maintenance. The veteran's MOS as a 15U CH-47 Repairer required handling heavy rotor, transmission, and engine components in awkward postures, placing substantial compressive and shear forces on the lumbar spine. The veteran's current lumbar disc disease is at least as likely as not the result of these service-related physical demands." 188 }] 189 }, 190 { 191 code: "15R", 192 branch: "Army", 193 title: "AH-64 Apache Repairer", 194 conditions: [{ 195 condition: "Respiratory Conditions", 196 inServiceEvent: 'The veteran served as a 15R AH-64 Apache Repairer and was routinely exposed to JP-8 jet fuel vapor, Skydrol hydraulic fluid, hexavalent chromium from chromate-primed airframe panels, and propellant residue from Hellfire missile motors and 2.75" rocket motors during maintenance operations.', 197 rationale: "Apache Repairers have a unique exposure profile combining standard aviation maintenance chemicals with weapons system propellant residue. JP-8 contains benzene (IARC Group 1 carcinogen). Skydrol causes occupational asthma. Hexavalent chromium from chromate primers is an IARC Group 1 lung carcinogen. Propellant residue from Hellfire and rocket motors contains PAHs and nitrosamines. The veteran's current respiratory condition is at least as likely as not the result of these service-related chemical exposures." 198 }] 199 }, 200 { 201 code: "15Y", 202 branch: "Army", 203 title: "AH-64D Armament/Electrical/Avionics Repairer", 204 conditions: [{ 205 condition: "Cancer (specify type)", 206 inServiceEvent: "The veteran served as a 15Y AH-64D Armament/Electrical/Avionics Repairer and was routinely exposed to the AN/APG-78 Longbow millimeter-wave fire control radar during maintenance operations, in addition to propellant residue from Hellfire missile motors, 30mm M230 chain gun ammunition, hexavalent chromium from chromate primers, and electronic cleaning solvents.", 207 rationale: "The veteran's MOS as a 15Y AH-64D Armament/Electrical/Avionics Repairer involved a unique combination of carcinogenic exposures including: (1) non-ionizing radiation from the AN/APG-78 Longbow millimeter-wave radar during close-proximity maintenance; (2) hexavalent chromium (IARC Group 1 carcinogen) from chromate-primed airframe panels; (3) propellant residue from Hellfire motors and 30mm ammunition containing PAHs, nitrosamines, and heavy metals; and (4) electronic cleaning solvents. The veteran's current cancer diagnosis is at least as likely as not the result of one or more of these service-related carcinogenic exposures." 208 }] 209 }, 210 { 211 code: "19D", 212 branch: "Army", 213 title: "Cavalry Scout", 214 conditions: [{ 215 condition: "PTSD", 216 inServiceEvent: "The veteran served as a 19D Cavalry Scout and was deployed in a reconnaissance and direct action role, with repeated exposure to combat operations, IED blasts, direct fire engagements, and the deaths of fellow service members.", 217 rationale: "PTSD is well-documented in cavalry scouts who serve in high-tempo combat reconnaissance roles. The veteran's MOS as a 19D Cavalry Scout placed them in repeated contact with life-threatening combat stressors. The veteran's current PTSD diagnosis is at least as likely as not the direct result of these service-related combat stressors." 218 }, { 219 condition: "Lumbar Disc Disease", 220 inServiceEvent: "The veteran served as a 19D Cavalry Scout and was required to operate in and dismount from armored vehicles, carry heavy combat loads, and perform reconnaissance operations in rough terrain. Vehicle operations in the M3 Bradley and M1114 HMMWV expose crewmen to significant whole-body vibration.", 221 rationale: "Whole-body vibration from armored vehicle operations is a well-documented cause of lumbar disc disease. ISO 2631 documents the spinal risk from sustained whole-body vibration. The veteran's MOS as a 19D Cavalry Scout involved sustained exposure to vehicle vibration and heavy load-bearing activities. The veteran's current lumbar disc disease is at least as likely as not the result of these service-related physical demands." 222 }] 223 }, 224 { 225 code: "19K", 226 branch: "Army",
227 title: "M1 Armor Crewman", 228 conditions: [{ 229 condition: "Hearing Loss / Tinnitus", 230 inServiceEvent: "The veteran served as a 19K M1 Armor Crewman and was routinely exposed to M1A1/M1A2 Abrams main gun fire, which produces impulse noise levels exceeding 185 dB at the crew position. This exposure occurred during gunnery training and combat operations.", 231 rationale: "The M1 Abrams main gun produces among the highest impulse noise levels of any military weapon system. The veteran's MOS as a 19K M1 Armor Crewman involved repeated exposure to main gun blast at levels far exceeding the threshold for permanent hearing damage. The current diagnosis of hearing loss and/or tinnitus is at least as likely as not the direct result of this service-related noise exposure." 232 }, { 233 condition: "Kidney Disease", 234 inServiceEvent: "The veteran served as a 19K M1 Armor Crewman and was exposed to depleted uranium (DU) dust from DU armor components and DU penetrator rounds used by the M1A1/M1A2 Abrams. DU exposure is particularly relevant for veterans who served in the Gulf War or who were present when DU rounds were fired or when DU-contaminated vehicles were handled.", 235 rationale: "Depleted uranium is a heavy metal with well-documented nephrotoxic (kidney-damaging) effects. Inhalation of DU dust from penetrator rounds and DU armor fragments causes uranium deposition in the kidneys. Gulf War veteran studies have documented elevated uranium levels and kidney abnormalities in tank crewmen with DU exposure. The veteran's current kidney disease is at least as likely as not the result of this service-related depleted uranium exposure." 236 }] 237 }, 238 { 239 code: "74D", 240 branch: "Army", 241 title: "CBRN Specialist", 242 conditions: [{ 243 condition: "Respiratory Conditions", 244 inServiceEvent: "The veteran served as a 74D CBRN Specialist and was routinely exposed to chemical agent simulants, decontamination chemicals, and in some cases actual chemical agents during training and operational missions. Gulf War veterans in this MOS may have been exposed to chemical agents during demolition of Iraqi munitions.", 245 rationale: "CBRN Specialists have unique chemical exposure profiles including chemical agent simulants, decontamination compounds, and potential exposure to actual chemical warfare agents. The veteran's current respiratory condition is at least as likely as not the result of these service-related chemical exposures." 246 }] 247 }, 248 { 249 code: "92F", 250 branch: "Army", 251 title: "Petroleum Supply Specialist", 252 conditions: [{ 253 condition: "Respiratory Conditions / Cancer", 254 inServiceEvent: "The veteran served as a 92F Petroleum Supply Specialist and was routinely exposed to JP-8 jet fuel, diesel fuel, aviation gasoline, and other petroleum products during fueling operations. This exposure included skin contact, inhalation of fuel vapors, and ingestion of fuel-contaminated water in some deployed environments.", 255 rationale: "JP-8 and other military fuels contain benzene, a Group 1 carcinogen, and other aromatic hydrocarbons. Chronic low-level benzene exposure is associated with leukemia, non-Hodgkin lymphoma, and other hematologic malignancies. The veteran's MOS as a 92F Petroleum Supply Specialist involved daily skin and respiratory exposure to fuel products containing benzene. The veteran's current condition is at least as likely as not the result of these service-related petroleum product exposures." 256 }] 257 }, 258 // ââ MARINES ââ 259 { 260 code: "0311", 261 branch: "Marines", 262 title: "Rifleman", 263 conditions: [{ 264 condition: "Lumbar Degenerative Disc Disease", 265 inServiceEvent: "The veteran served as a 0311 Rifleman and was required to carry combat loads in excess of 80â120 lbs on a daily basis, including body armor, weapons, ammunition, and mission-essential equipment. This sustained axial loading was a routine and unavoidable requirement of the MOS.", 266 rationale: "Lumbar degenerative disc disease is a well-documented sequela of repetitive axial loading in infantry personnel. The veteran's service as a 0311 Rifleman required carrying loads in excess of 80 lbs for extended periods, consistent with the biomechanical forces known to accelerate disc degeneration. The veteran's current lumbar disc disease is at least as likely as not the result of these service-related physical demands." 267 }, {
268 condition: "PTSD", 269 inServiceEvent: "The veteran served as a 0311 Rifleman in a direct combat role and was exposed to combat operations including direct fire engagements, IED blasts, and the deaths of fellow Marines. These events constitute qualifying stressors under 38 CFR § 3.304(f).", 270 rationale: "PTSD is a well-established psychiatric sequela of combat exposure. The veteran's service as a 0311 Rifleman placed them in direct combat environments with repeated exposure to life-threatening events, death, and injury. The veteran's current PTSD diagnosis is at least as likely as not the direct result of combat stressors experienced during military service." 271 }] 272 }, 273 { 274 code: "1316", 275 branch: "Marines", 276 title: "Metal Worker", 277 conditions: [{ 278 condition: "Lung Cancer", 279 inServiceEvent: "The veteran served as a 1316 Metal Worker and was routinely exposed to hexavalent chromium (Cr(VI)) from chromate primers and stainless steel welding, manganese from welding fumes, and silica dust from grinding and cutting operations. These exposures occurred throughout the veteran's service in maintenance bays and deployed environments.", 280 rationale: "Hexavalent chromium (Cr(VI)) is classified as an IARC Group 1 carcinogen with a well-established causal relationship to lung cancer. Manganese from welding fumes is associated with neurological conditions and respiratory disease. Silica dust is an IARC Group 1 carcinogen associated with lung cancer and silicosis. The veteran's MOS as a 1316 Metal Worker involved daily exposure to these carcinogens. The veteran's current lung cancer diagnosis is at least as likely as not the result of these service-related exposures." 281 }, { 282 condition: "Neurological Conditions (Manganism / Parkinson's-like)", 283 inServiceEvent: "The veteran served as a 1316 Metal Worker and was routinely exposed to manganese-containing welding fumes during welding operations on stainless steel and other manganese-containing alloys. This exposure occurred throughout the veteran's service.", 284 rationale: "Chronic manganese exposure from welding fumes is a well-documented cause of manganism â a neurological condition with symptoms resembling Parkinson's disease including tremor, rigidity, and cognitive changes. The veteran's MOS as a 1316 Metal Worker involved sustained exposure to manganese-containing welding fumes. The veteran's current neurological condition is at least as likely as not the result of this service-related manganese exposure." 285 }, { 286 condition: "Respiratory Conditions / Silicosis", 287 inServiceEvent: "The veteran served as a 1316 Metal Worker and was routinely exposed to silica dust from grinding, cutting, and abrasive blasting operations on metal components. This exposure occurred in maintenance bays and deployed environments throughout the veteran's service.", 288 rationale: "Silica dust is classified as an IARC Group 1 carcinogen and is the causative agent of silicosis â a progressive, fibrotic lung disease. The veteran's MOS as a 1316 Metal Worker involved regular exposure to respirable silica dust during grinding and cutting operations. The veteran's current respiratory condition is at least as likely as not the result of this service-related silica exposure." 289 }] 290 }, 291 { 292 code: "1341", 293 branch: "Marines", 294 title: "Engineer Equipment Mechanic", 295 conditions: [{ 296 condition: "Lumbar Disc Disease", 297 inServiceEvent: "The veteran served as a 1341 Engineer Equipment Mechanic and was required to perform maintenance on heavy engineer equipment in awkward postures, including working under vehicles, lifting heavy components, and sustained bending and twisting motions.", 298 rationale: "Lumbar disc disease is a well-documented occupational condition in heavy equipment mechanics. The veteran's MOS as a 1341 Engineer Equipment Mechanic required sustained awkward postures and heavy component handling that place compressive and shear forces on the lumbar spine. The veteran's current lumbar disc disease is at least as likely as not the result of these service-related physical demands." 299 }] 300 }, 301 { 302 code: "0811", 303 branch: "Marines", 304 title: "Field Artillery Cannoneer", 305 conditions: [{ 306 condition: "Hearing Loss / Tinnitus", 307 inServiceEvent: "The veteran served as a 0811 Field Artillery Cannoneer and was routinely exposed to artillery fire from M198 and M777 howitzers, which produce impulse noise levels of 180â190 dB at the firing position. This exposure occurred during training and combat operations.", 308 rationale: "Artillery fire produces the highest impulse noise levels of any conventional military weapon system. The veteran's MOS as a 0811 Field Artillery Cannoneer involved sustained and repeated exposure to artillery blast at levels far exceeding the threshold for permanent hearing damage. The current diagnosis of hearing loss and/or tinnitus is at least as likely as not the direct result of this service-related noise exposure." 309 }] 310 }, 311 { 312 code: "1812", 313 branch: "Marines", 314 title: "Tank Crewman (M1A1)", 315 conditions: [{ 316 condition: "Kidney Disease", 317 inServiceEvent: "The veteran served as a 1812 Tank Crewman and was exposed to depleted uranium (DU) dust from DU armor components and DU penetrator rounds used by the M1A1 Abrams. DU exposure is particularly relevant for veterans who served in the Gulf War or who were present when DU rounds were fired.", 318 rationale: "Depleted uranium is a heavy metal with well-documented nephrotoxic effects. Inhalation of DU dust from penetrator rounds and DU armor fragments causes uranium deposition in the kidneys. Gulf War veteran studies have documented elevated uranium levels and kidney abnormalities in tank crewmen with DU exposure. The veteran's current kidney disease is at least as likely as not the result of this service-related depleted uranium exposure." 319 }] 320 }, 321 // ââ NAVY ââ 322 { 323 code: "HT", 324 branch: "Navy", 325 title: "Hull Maintenance Technician", 326 conditions: [{ 327 condition: "Mesothelioma / Asbestos-Related Disease", 328 inServiceEvent: "The veteran served as a Navy HT (Hull Maintenance Technician) and was routinely exposed to asbestos-containing materials during ship maintenance, including pipe insulation, gaskets, packing material, and structural insulation. Asbestos exposure was a daily occupational hazard for HTs working in engine rooms, boiler rooms, and confined shipboard spaces.", 329 rationale: "Mesothelioma and asbestos-related lung disease are well-established sequelae of occupational asbestos exposure. The veteran's MOS as a Navy HT involved sustained exposure to asbestos-containing materials in confined shipboard spaces where asbestos fibers were routinely disturbed during maintenance operations. The veteran's current diagnosis is at least as likely as not the direct result of this service-related asbestos exposure." 330 }, {
331 condition: "Hearing Loss / Tinnitus", 332 inServiceEvent: "The veteran served as a Navy HT and was routinely exposed to high noise levels in engine rooms, boiler rooms, and during welding and grinding operations in confined shipboard spaces.", 333 rationale: "Shipboard noise in engine rooms and during metalworking operations is a well-documented cause of noise-induced hearing loss. The veteran's service as a Navy HT involved sustained exposure to noise levels exceeding the 85 dB OSHA threshold for hearing damage. The current diagnosis of hearing loss and/or tinnitus is at least as likely as not the direct result of this service-related noise exposure." 334 }] 335 }, 336 { 337 code: "HM", 338 branch: "Navy", 339 title: "Hospital Corpsman", 340 conditions: [{ 341 condition: "PTSD / Moral Injury", 342 inServiceEvent: "The veteran served as a Navy HM (Hospital Corpsman) and was repeatedly exposed to traumatic events including mass casualty incidents, the deaths of patients under their care, and the psychological burden of providing medical care in combat environments (if attached to Marine Corps units). These events constitute qualifying stressors under 38 CFR § 3.304(f).", 343 rationale: "PTSD and moral injury are well-documented in combat corpsmen at rates significantly higher than the general military population. The veteran's service as a Navy HM placed them in repeated contact with death, severe injury, and the psychological burden of medical decision-making under combat conditions. The veteran's current PTSD diagnosis is at least as likely as not the direct result of these service-related stressors." 344 }] 345 }, 346 { 347 code: "MM", 348 branch: "Navy", 349 title: "Machinist's Mate", 350 conditions: [{ 351 condition: "Mesothelioma / Asbestos-Related Disease", 352 inServiceEvent: "The veteran served as a Navy MM (Machinist's Mate) and was routinely exposed to asbestos-containing materials in engine rooms, boiler rooms, and machinery spaces. Asbestos insulation on pipes, boilers, and machinery was a standard feature of Navy vessels through the 1980s.", 353 rationale: "Mesothelioma and asbestos-related lung disease are well-established sequelae of occupational asbestos exposure. The veteran's service as a Navy MM involved sustained exposure to asbestos-containing materials in confined shipboard machinery spaces. The veteran's current diagnosis is at least as likely as not the direct result of this service-related asbestos exposure." 354 }] 355 }, 356 { 357 code: "AO", 358 branch: "Navy", 359 title: "Aviation Ordnanceman", 360 conditions: [{ 361 condition: "Cancer (PFAS-related)", 362 inServiceEvent: "The veteran served as a Navy AO (Aviation Ordnanceman) and was routinely exposed to AFFF (Aqueous Film-Forming Foam) containing PFAS compounds during flight deck fire drills, crash and salvage operations, and weapons handling operations. PFAS exposure is a qualifying exposure under the PACT Act.", 363 rationale: "PFAS compounds in AFFF are classified as probable or possible human carcinogens and are associated with bladder cancer, kidney cancer, testicular cancer, thyroid cancer, and other malignancies under the PACT Act. The veteran's service as a Navy AO involved direct contact with AFFF during flight deck operations. The veteran's current cancer diagnosis qualifies as a PACT Act presumptive condition based on this service-related PFAS exposure.", 364 presumptiveBasis: "The veteran served as a Navy AO (Aviation Ordnanceman) and was exposed to AFFF (Aqueous Film-Forming Foam) containing PFAS compounds during flight deck operations. Under the PACT Act (Public Law 117-168), PFAS-related cancers including bladder cancer, kidney cancer, testicular cancer, and thyroid cancer are presumptive conditions for veterans with qualifying AFFF exposure. The veteran's current diagnosis of [specify cancer] is a PACT Act presumptive condition based on this qualifying AFFF/PFAS exposure." 365 }] 366 }, 367 { 368 code: "AM", 369 branch: "Navy", 370 title: "Aviation Structural Mechanic", 371 conditions: [{ 372 condition: "Lung Cancer", 373 inServiceEvent: "The veteran served as a Navy AM (Aviation Structural Mechanic) and was routinely exposed to hexavalent chromium (Cr(VI)) from chromate primers during drilling, sanding, and grinding of aircraft structural panels. This exposure occurred throughout the veteran's service.", 374 rationale: "Hexavalent chromium (Cr(VI)) is classified as an IARC Group 1 carcinogen with a well-established causal relationship to lung cancer. The veteran's service as a Navy AM required regular work on chromate-primed aircraft structural panels, releasing Cr(VI) dust during drilling, sanding, and grinding operations. The veteran's current lung cancer diagnosis is at least as likely as not the result of this service-related hexavalent chromium exposure." 375 }] 376 }, 377 // ââ AIR FORCE ââ 378 { 379 code: "2A7X3", 380 branch: "Air Force", 381 title: "Aircraft Metals Technology", 382 conditions: [{ 383 condition: "Lung Cancer", 384 inServiceEvent: "The veteran served as a 2A7X3 Aircraft Metals Technology specialist and was routinely exposed to hexavalent chromium (Cr(VI)) from chromate primers, beryllium from aircraft structural components, and welding fumes during aircraft structural repair and fabrication operations.", 385 rationale: "Hexavalent chromium (Cr(VI)) is an IARC Group 1 lung carcinogen. Beryllium is an IARC Group 1 carcinogen associated with lung cancer and berylliosis. Welding fumes are classified as IARC Group 1 carcinogens. The veteran's MOS as a 2A7X3 Aircraft Metals Technology specialist involved daily exp
385osure to these carcinogens during aircraft structural repair. The veteran's current lung cancer diagnosis is at least as likely as not the result of these service-related exposures." 386 }] 387 }, 388 { 389 code: "2A3X3", 390 branch: "Air Force", 391 title: "Helicopter/Tiltrotor Maintenance", 392 conditions: [{ 393 condition: "Respiratory Conditions", 394 inServiceEvent: "The veteran served as a 2A3X3 Helicopter/Tiltrotor Maintenance specialist and was routinely exposed to JP-8 jet fuel vapor, Skydrol hydraulic fluid, and hexavalent chromium from chromate-primed airframe panels during maintenance operations.", 395 rationale: "JP-8 contains benzene (IARC Group 1 carcinogen). Skydrol causes occupational asthma and respiratory sensitization. Hexavalent chromium from chromate primers is an IARC Group 1 lung carcinogen. The veteran's current respiratory condition is at least as likely as not the result of these service-related chemical exposures." 396 }] 397 }, 398 // ââ COAST GUARD ââ 399 { 400 code: "MK", 401 branch: "Coast Guard", 402 title: "Machinery Technician", 403 conditions: [{ 404 condition: "Mesothelioma / Asbestos-Related Disease", 405 inServiceEvent: "The veteran served as a Coast Guard MK (Machinery Technician) and was routinely exposed to asbestos-containing materials in engine rooms and machinery spaces aboard Coast Guard vessels. Asbestos insulation on pipes, boilers, and machinery was a standard feature of older Coast Guard cutters.", 406 rationale: "Mesothelioma and asbestos-related lung disease are well-established sequelae of occupational asbestos exposure. The veteran's service as a Coast Guard MK involved sustained exposure to asbestos-containing materials in confined shipboard machinery spaces. The veteran's current diagnosis is at least as likely as not the direct result of this service-related asbestos exposure." 407 }] 408 }, 409 // ââ SPECIAL OPERATIONS ââ 410 { 411 code: "18B", 412 branch: "Army", 413 title: "Special Forces Weapons Sergeant", 414 conditions: [{ 415 condition: "PTSD", 416 inServiceEvent: "The veteran served as an 18B Special Forces Weapons Sergeant and was deployed on direct action and unconventional warfare missions with repeated exposure to combat operations, the deaths of fellow operators, and the psychological burden of high-stakes special operations.", 417 rationale: "PTSD is well-documented in Special Forces personnel at rates significantly higher than conventional military populations. The veteran's service as an 18B SF Weapons Sergeant involved repeated exposure to high-intensity combat stressors over multiple deployments. The veteran's current PTSD diagnosis is at least as likely as not the direct result of these service-related combat stressors." 418 }] 419 }, 420 { 421 code: "18D", 422 branch: "Army", 423 title: "Special Forces Medical Sergeant", 424 conditions: [{ 425 condition: "PTSD / Moral Injury", 426 inServiceEvent: "The veteran served as an 18D Special Forces Medical Sergeant and was repeatedly exposed to traumatic events including mass casualty incidents, the deaths of patients under their care in austere combat environments, and the psychological burden of providing medical care with limited resources under combat conditions.", 427 rationale: "PTSD and moral injury are well-documented in Special Forces medical personnel. The veteran's service as an 18D SF Medical Sergeant placed them in repeated contact with death, severe injury, and the psychological burden of medical decision-making under extreme combat conditions. The veteran's current PTSD diagnosis is at least as likely as not the direct result of these service-related stressors." 428 }] 429 } 430]; 431function findMosPrefill(code) { 432 const normalized = code.trim().toUpperCase(); 433 return MOS_PREFILL.find((m) => m.code.toUpperCase() === normalized); 434} 435function generateLetter(f) { 436 const today = f.signatureDate || (/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { 437 year: "numeric", 438 month: "long", 439 day: "numeric" 440 }); 441 const opinionPhrase = OPINION_PHRASES[f.opinionStrength]; 442 const connectionLabel = CONNECTION_LABELS[f.connectionType]; 443 const doctorBlock = [f.doctorName ? `${f.doctorName}${f.doctorCredentials ? `, ${f.doctorCredentials}` : ""}` : "[PHYSICIAN NAME, CREDENTIALS]", f.doctorSpecialty || "[SPECIALTY]", f.doctorClinic || "[CLINIC / PRACTICE NAME]", f.doctorAddress || "[ADDRESS]", f.doctorPhone ? `Phone: ${f.doctorPhone}` : "", f.doctorEmail ? `Email: ${f.doctorEmail}
443` : ""].filter(Boolean).join("\n"); 444 const veteranBlock = [`Veteran Name: ${f.veteranName || "[VETERAN FULL NAME]"}`, f.veteranDob ? `Date of Birth: ${f.veteranDob}` : "", f.veteranSsn ? `Last Four SSN: XXXX-XX-${f.veteranSsn}` : "", `Branch of Service: ${f.veteranBranch || "[BRANCH]"}`, f.veteranServiceStart || f.veteranServiceEnd ? `Dates of Service: ${f.veteranServiceStart || "[START]"} â ${f.veteranServiceEnd || "[END]"}` : ""].filter(Boolean).join("\n"); 445 let connectionSection = ""; 446 if (f.connectionType === "direct") { 447 connectionSection = ` 448III. BASIS FOR MEDICAL OPINION â DIRECT SERVICE CONNECTION 449 450I have reviewed the available records and clinical history of the veteran. Based on my review, it is my medical opinion that the veteran's current diagnosis of ${f.diagnosisName || "[DIAGNOSIS]"} is ${opinionPhrase} related to their military service. 451 452In-Service Event/Injury/Illness: 453${f.inServiceEvent || "[Describe the in-service event, injury, or illness that caused or contributed to the current condition.]"} 454${f.inServiceDate ? `Approximate Date: ${f.inServiceDate}` : ""} 455 456Evidence Supporting In-Service Occurrence: 457${f.inServiceEvidence || "[Describe the evidence supporting the in-service event â service treatment records, lay statements, buddy statements, MOS duties, etc.]"} 458 459Medical Rationale: 460${f.rationale || "[Explain the medical and scientific basis for the connection between the in-service event and the current diagnosis. Cite relevant medical literature, pathophysiology, or clinical guidelines as appropriate.]"} 461`.trim(); 462 } else if (f.connectionType === "aggravation") { 463 connectionSection = ` 464III. BASIS FOR MEDICAL OPINION â AGGRAVATION OF PRE-EXISTING CONDITION 465 466I have reviewed the available records and clinical history of the veteran. Based on my review, it is my medical opinion that the veteran's pre-existing condition of ${f.diagnosisName || "[DIAGNOSIS]"} was aggravated beyond its natural progression by military service. It is ${opinionPhrase} that military service permanently worsened this condition beyond its natural progression. 467 468Pre-Existing Condition: 469${f.diagnosisName || "[DIAGNOSIS]"} 470 471How Military Service Aggravated the Condition: 472${f.howAggravatedOrCaused || "[Describe how military service â specific duties, exposures, physical demands, or events â permanently worsened the pre-existing condition beyond its natural progression.]"} 473 474Medical Rationale: 475${f.rationale || "[Explain the medical and scientific basis for the aggravation. Address the natural history of the condition and how service-related factors accelerated or worsened it beyond what would have occurred without military service.]"} 476`.trim(); 477 } else if (f.connectionType === "secondary") { 478 connectionSection = ` 479III. BASIS FOR MEDICAL OPINION â SECONDARY SERVICE CONNECTION 480 481I have reviewed the available records and clinical history of the veteran. Based on my review, it is my medical opinion that the veteran's current diagnosis of ${f.diagnosisName || "[DIAGNOSIS]"} is ${opinionPhrase} proximately due to, or the result of, the veteran's service-connected condition of ${f.primaryCondition || "[PRIMARY SERVICE-CONNECTED CONDITION]"}. 482 483Primary Service-Connected Condition: 484${f.primaryCondition || "[Identify the already service-connected condition that caused or contributed to the secondary condition.]"} 485 486How the Primary Condition Caused or Contributed to the Secondary Condition: 487${f.howAggravatedOrCaused || "[Describe the medical mechanism by which the primary service-connected condition caused, contributed to, or aggravated the secondary condition.]"} 488 489Medical Rationale: 490${f.rationale || "[Explain the pathophysiological relationship between the primary and secondary conditions. Cite relevant medical literature or clinical guidelines as appropriate.]"} 491`.trim(); 492 } else { 493 connectionSection = ` 494III. BASIS FOR MEDICAL OPINION â PRESUMPTIVE SERVICE CONNECTION 495 496I have reviewed the available records and clinical history of the veteran. Based on my review, it is my medical opinion that the veteran's current diagnosis of ${f.diagnosisName || "[DIAGNOSIS]"} is ${opinionPhrase} related to their military service on a presumptive basis. 497 498Basis for Presumptive Connection: 499${f.presumptiveBasis || "[Identify the specific presumptive basis â e.g., Agent Orange exposure (38 CFR § 3.309(e)), Gulf War illness (38 CFR § 3.317), radiation exposure, burn pit/toxic exposure (PACT Act), POW status, etc.]"} 500 501Medical Rationale: 502${f.rationale || "[Confirm the diagnosis meets the criteria for the presumptive condition and explain any additional clinical findings supporting the connection.]"} 503`.trim(); 504 } 505 const recordsSection = f.recordsReviewed ? `Records and Materials Reviewed: 506${f.recordsReviewed}` : `Records and Materials Reviewed: 507[List all records reviewed â service treatment records, VA records, private medical records, imaging, lab results, etc.]`; 508 return `${doctorBlock} 509 510${today} 511 512Department of Veterans Affairs 513[Regional Office / Board of Veterans' Appeals]
514Re: Nexus Letter â ${connectionLabel} 515 516${veteranBlock} 517 518âââââââââââââââââââââââââââââââââââââââââââââ 519 520I. INTRODUCTION AND QUALIFICATIONS 521 522My name is ${f.doctorName || "[PHYSICIAN NAME]"}${f.doctorCredentials ? `, ${f.doctorCredentials}` : ""}. I am a licensed ${f.doctorSpecialty || "[SPECIALTY]"} practicing at ${f.doctorClinic || "[CLINIC]"}. I have been asked to provide a medical opinion regarding the service connection of the above-named veteran's disability claim. 523 524I have reviewed the veteran's medical history and relevant records as listed below. This letter constitutes my independent medical opinion based on that review. 525 526âââââââââââââââââââââââââââââââââââââââââââââ 527 528II. RECORDS REVIEWED 529 530${recordsSection} 531 532âââââââââââââââââââââââââââââââââââââââââââââ 533 534${connectionSection} 535 536âââââââââââââââââââââââââââââââââââââââââââââ 537 538IV. DIAGNOSIS 539 540Current Diagnosis: ${f.diagnosisName || "[DIAGNOSIS]"}${f.diagnosisIcd ? ` (ICD-10: ${f.diagnosisIcd})` : ""} 541 542This diagnosis is based on my clinical evaluation and review of the available medical records. The veteran meets the diagnostic criteria for this condition as established by current medical standards. 543 544âââââââââââââââââââââââââââââââââââââââââââââ 545 546V. CONCLUSION 547 548Based on my review of the available records, my clinical expertise, and the medical rationale set forth above, it is my professional medical opinion that the veteran's ${f.diagnosisName || "[DIAGNOSIS]"} is ${opinionPhrase} related to their military service${f.connectionType === "secondary" ? ` as a result of their service-connected ${f.primaryCondition || "[PRIMARY CONDITION]"}` : ""}. 549 550This opinion is provided to a reasonable degree of medical certainty and is based on a thorough review of the available evidence. 551 552âââââââââââââââââââââââââââââââââââââââââââââ 553 554Respectfully submitted, 555 556 557_________________________________ 558${f.doctorName || "[PHYSICIAN NAME]"}${f.doctorCredentials ? `, ${f.doctorCredentials}` : ""} 559${f.doctorSpecialty || "[SPECIALTY]"} 560${f.doctorClinic || "[CLINIC]"} 561${f.doctorPhone || "[PHONE]"} 562${f.doctorEmail || "[EMAIL]"} 563 564Date: ${today}`; 565} 566function Section({ 567 title, 568 children 569}) { 570 return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex flex-col gap-4", children: [ 571 /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-xs font-bold uppercase tracking-[0.2em] text-primary border-b border-border pb-2", children: title }), 572 children 573 ] }); 574} 575function Field({ 576 label, 577 hint, 578 children 579}) { 580 return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex flex-col gap-1.5", children: [ 581 /* @__PURE__ */ jsxRuntimeExports.jsx("label", { className: "text-sm font-semibold text-foreground", children: label }), 582 hint && /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-xs text-muted-foreground leading-relaxed", children: hint }), 583 children 584 ] }); 585} 586const inputCls = "w-full rounded-sm border border-border bg-secondary/30 px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground/50 focus:outline-none focus:border-primary/60 transition-colors duration-150"; 587const textareaCls = "w-full rounded-sm border border-border bg-secondary/30 px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground/50 focus:outline-none focus:border-primary/60 transition-colors duration-150 resize-y min-h-[90px]"; 588function NexusLetterPage() { 589 const [form, setForm] = reactExports.useState(EMPTY_FORM); 590 const [copied, setCopied] = reactExports.useState(false); 591 const [expandedFaq, setExpandedFaq] = reactExports.useState(null); 592 const [showPreview, setShowPreview] = reactExports.useState(false); 593 const previewRef = reactExports.useRef(null); 594 const [mosInput, setMosInput] = reactExports.useState(""); 595 const [mosResult, setMosResult] = reactExports.useState(null); 596 const [mosNotFound, setMosNotFound] = reactExports.useState(false); 597 const [mosPanelOpen, setMosPanelOpen] = reactExports.useState(true); 598 const [prefillApplied, setPrefillApplied] = reactExports.useState(false); 599 const handleMosLookup = () => { 600 const found = findMosPrefill(mosInput); 601 if (found) { 602 setMosResult(found); 603 setMosNotFound(false); 604 } else { 605 setMosResult(null); 606 setMosNotFound(true); 607 } 608 }; 609 const applyMosPrefill = (condition) => { 610 setForm((prev) => ({ 611 ...prev, 612 inServiceEvent: condition.inServiceEvent, 613 rationale: condition.rationale, 614 ...condition.presumptiveBasis ? { 615 presumptiveBasis: condition.presumptiveBasis 616 } : {} 617 })); 618 setPrefillApplied(true); 619 setMosPanelOpen(false); 620 setTimeout(() => { 621 var _a; 622 (_a = document.getElementById("claim-section")) == null ? void 0 : _a.scrollIntoView({ 623 behavior: "smooth", 624 block: "start" 625 }); 626 }, 200); 627 }; 628 const set = (field, value) => setForm((prev) => ({ 629 ...prev, 630 [field]: value 631 })); 632 const letter = generateLetter(form); 633 const handleCopy = async () => { 634 await navigator.clipboard.writeText(letter); 635 trackNexusLetterGenerated(); 636 setCopied(true); 637 setTimeout(() => setCopied(false), 2e3); 638 }; 639 const handleDownload = () => { 640 const blob = new Blob([letter], { 641 type: "text/plain" 642 }); 643 const url = URL.createObjectURL(blob); 644 const a = document.createElement("a"); 645 a.href = url; 646 a.download = `nexus-letter-${form.veteranName.replace(/\s+/g, "-").toLowerCase() || "draft"}.txt`; 647 a.click(); 648 URL.revokeObjectURL(url); 649 }; 650 const handleReset = () => { 651 if (window.confirm("Reset all fields? This cannot be undone.")) { 652 setForm(EMPTY_FORM); 653 setShowPreview(false); 654 } 655 }; 656 const requiredFields = ["doctorName", "doctorCredentials", "doctorSpecialty", "veteranName", "veteranBranch", "diagnosisName", "rationale"]; 657 const filledRequired = requiredFields.filter((f) => { 658 var _a; 659 return (_a = form[f]) == null ? void 0 : _a.toString().trim(); 660 }).length; 661 const completePct = Math.round(filledRequired / requiredFields.length * 100); 662 return /* @__PURE__ */ jsxRuntimeExports.jsx(MemberGate, { toolName: "Nexus Letter Builder", toolDescription: "Generate a professional nexus letter template linking your condition to military service â ready to bring to your doctor.", icon: /* @__PURE__ */ jsxRuntimeExports.jsx(FileText, { className: "h-8 w-8 text-primary" }), children: /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
663 /* @__PURE__ */ jsxRuntimeExports.jsxs(Helmet, { children: [ 664 /* @__PURE__ */ jsxRuntimeExports.jsx("title", { children: "Nexus Letter Builder â Free VA Service Connection Letter Template Generator" }), 665 /* @__PURE__ */ jsxRuntimeExports.jsx("meta", { name: "description", content: "Generate a nexus letter template for your VA disability claim in minutes. Covers direct service connection, secondary conditions, aggravation, and presumptive conditions. Bring it to your doctor â free for all veterans." }), 666 /* @__PURE__ */ jsxRuntimeExports.jsx("link", { rel: "canonical", href: "https://lcplunderground.vet/nexus-letter" }), 667 /* @__PURE__ */ jsxRuntimeExports.jsx("meta", { property: "og:type", content: "website" }), 668 /* @__PURE__ */ jsxRuntimeExports.jsx("meta", { property: "og:site_name", content: "LCplUnderground.Vet" }), 669 /* @__PURE__ */ jsxRuntimeExports.jsx("meta", { property: "og:url", content: "https://lcplunderground.vet/nexus-letter" }), 670 /* @__PURE__ */ jsxRuntimeExports.jsx("meta", { property: "og:title", content: "Nexus Letter Builder â Free VA Service Connection Letter Template Generator" }),
671 /* @__PURE__ */ jsxRuntimeExports.jsx("meta", { property: "og:description", content: "Generate a nexus letter template for your VA disability claim in minutes. Covers direct service connection, secondary conditions, aggravation, and presumptive conditions. Free for all veterans." }), 672 /* @__PURE__ */ jsxRuntimeExports.jsx("meta", { property: "og:image", content: "https://lcplunderground.vet/og-default.png" }), 673 /* @__PURE__ */ jsxRuntimeExports.jsx("meta", { name: "twitter:card", content: "summary_large_image" }), 674 /* @__PURE__ */ jsxRuntimeExports.jsx("meta", { name: "twitter:site", content: "@LCplUnderground" }), 675 /* @__PURE__ */ jsxRuntimeExports.jsx("meta", { name: "twitter:title", content: "Nexus Letter Builder â Free VA Service Connection Letter Template Generator" }), 676 /* @__PURE__ */ jsxRuntimeExports.jsx("meta", { name: "twitter:description", content: "Generate a nexus letter template for your VA disability claim in minutes. Covers direct service connection, secondary conditions, aggravation, and presumptive conditions. Free for all veterans." }),
677 /* @__PURE__ */ jsxRuntimeExports.jsx("meta", { name: "twitter:image", content: "https://lcplunderground.vet/og-default.png" }), 678 /* @__PURE__ */ jsxRuntimeExports.jsx("meta", { name: "keywords", content: "nexus letter, VA nexus letter template, service connection letter, VA disability nexus, medical nexus letter, direct service connection, secondary service connection, nexus letter example, how to get a nexus letter, nexus letter doctor" }), 679 /* @__PURE__ */ jsxRuntimeExports.jsx("script", { type: "application/ld+json", children: JSON.stringify({ 680 "@context": "https://schema.org", 681 "@type": "WebPage", 682 "@id": "https://lcplunderground.vet/nexus-letter#webpage", 683 "url": "https://lcplunderground.vet/nexus-letter", 684 "name": "Nexus Letter Builder â Free VA Service Connection Letter Template Generator", 685 "description": "Generate a nexus letter template for your VA disability claim in minutes. Covers direct service connection, secondary conditions, aggravation, and presumptive conditions.", 686 "isPartOf": { 687 "@id": "https://lcplunderground.vet/#website" 688 }, 689 "about": { 690 "@id": "https://lcplunderground.vet/#organization" 691 } 692 }) }) 693 ] }), 694 /* @__PURE__ */ jsxRuntimeExports.jsx(JsonLd, { data: [{ 695 "@context": "https://schema.org", 696 "@type": "WebApplication", 697 "name": "Nexus Letter Builder", 698 "url": "https://lcplunderground.vet/nexus-letter", 699 "description": "Generate a complete VA nexus letter template for direct, secondary, aggravation, or presumptive service connection. Free for all veterans.", 700 "applicationCategory": "UtilitiesApplication", 701 "operatingSystem": "Web", 702 "offers": { 703 "@type": "Offer", 704 "price": "0", 705 "priceCurrency": "USD" 706 }, 707 "provider": { 708 "@type": "Organization", 709 "name": "LCplUnderground.Vet", 710 "url": "https://lcplunderground.vet" 711 }, 712 "breadcrumb": { 713 "@type": "BreadcrumbList", 714 "itemListElement": [{ 715 "@type": "ListItem", 716 "position": 1, 717 "name": "Home", 718 "item": "https://lcplunderground.vet" 719 }, { 720 "@type": "ListItem", 721 "position": 2, 722 "name": "Nexus Letter Builder", 723 "item": "https://lcplunderground.vet/nexus-letter" 724 }] 725 } 726 }, { 727 "@context": "https://schema.org", 728 "@type": "FAQPage", 729 "mainEntity": [{ 730 "@type": "Question", 731 "name": "What is a nexus letter for a VA claim?", 732 "acceptedAnswer": { 733 "@type": "Answer", 734 "text": "A nexus letter is a medical opinion written by a licensed physician that links your current diagnosis to your military service. It is one of the three elements required for a successful VA disability claim: a current diagnosis, an in-service event, and a nexus (connection) between the two." 735 } 736 }, { 737 "@type": "Question", 738 "name": "What language should a nexus letter use?", 739 "acceptedAnswer": { 740 "@type": "Answer", 741 "text": "The VA requires the nexus opinion to meet the 'at least as likely as not' standard â meaning the physician believes there is at least a 50% probability the condition is related to service. Stronger language like 'more likely than not' or 'highly probable' can support a higher rating." 742 } 743 }, { 744 "@type": "Question", 745 "name": "Can I write my own nexus letter?", 746 "acceptedAnswer": { 747 "@type": "Answer", 748 "text": "No â a nexus letter must be written and signed by a licensed medical professional. You can use this builder to generate a template to bring to your doctor, who will review your records and sign it if they agree with the medical opinion." 749 } 750 }] 751 }, { 752 "@context": "https://schema.org", 753 "@type": "HowTo", 754 "name": "How to Get a Strong Nexus Letter for a VA Claim", 755 "description": "Step-by-step guide to obtaining a nexus letter that supports your VA disability service connection claim.", 756 "url": "https://lcplunderground.vet/nexus-letter", 757 "step": [{ 758 "@type": "HowToStep", 759 "position": 1, 760 "name": "Identify your connection type", 761 "text": "Determine whether your claim is direct service connection, secondary service connection, aggravation of a pre-existing condition, or presumptive service connection. Each requires different language in the nexus letter." 762 }, { 763 "@type": "HowToStep", 764 "position": 2, 765 "name": "Generate your nexus letter template", 766 "text": "Use the Nexus Letter Builder to fill in your doctor's information, veteran details, diagnosis, and the in-service event or condition that caused or aggravated your disability." 767 }, { 768 "@type": "HowToStep", 769 "position": 3, 770 "name": "Bring the template to your doctor",
771 "text": "Schedule an appointment with your treating physician or an independent medical examiner. Bring the template, your service treatment records, and any relevant medical records." 772 }, { 773 "@type": "HowToStep", 774 "position": 4, 775 "name": "Have your doctor review and sign", 776 "text": "Your doctor should review your records, confirm the medical opinion, modify the language as needed, and sign the letter on their official letterhead." 777 }, { 778 "@type": "HowToStep", 779 "position": 5, 780 "name": "Submit with your VA claim", 781 "text": "Include the signed nexus letter as evidence with your VA disability claim or appeal. Submit via VA.gov, your VSO, or mail to your regional VA office." 782 }] 783 }] }), 784 /* @__PURE__ */ jsxRuntimeExports.jsxs("section", { className: "relative overflow-hidden bg-background border-b border-border", children: [ 785 /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "absolute inset-0 bg-gradient-to-br from-primary/5 via-transparent to-transparent pointer-events-none" }),
786 /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "container mx-auto px-4 py-14 md:py-18", children: /* @__PURE__ */ jsxRuntimeExports.jsxs(motion.div, { initial: "hidden", animate: "visible", variants: stagger, className: "max-w-3xl", children: [ 787 /* @__PURE__ */ jsxRuntimeExports.jsx(motion.p, { variants: fadeUp, transition: { 788 duration: 0.25, 789 ease: "easeOut" 790 }, className: "text-xs font-bold uppercase tracking-[0.3em] text-primary mb-3", children: "LCplUnderground.Vet â Tools & Guides" }), 791 /* @__PURE__ */ jsxRuntimeExports.jsxs(motion.h1, { variants: fadeUp, transition: { 792 duration: 0.3, 793 ease: "easeOut" 794 }, className: "text-4xl md:text-5xl font-bold uppercase text-foreground leading-tight mb-4", style: { 795 fontFamily: "var(--font-heading)" 796 }, children: [ 797 "Nexus Letter", 798 /* @__PURE__ */ jsxRuntimeExports.jsx("br", {}), 799 /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-primary", children: "Builder" }) 800 ] }),
801 /* @__PURE__ */ jsxRuntimeExports.jsx(motion.p, { variants: fadeUp, transition: { 802 duration: 0.3, 803 delay: 0.05, 804 ease: "easeOut" 805 }, className: "text-base text-muted-foreground leading-relaxed max-w-2xl mb-6", children: `The nexus letter is the single document that can flip a denial into a win. The VA requires a doctor to say your condition is "at least as likely as not" connected to your service â that's 50/50, not certainty. Fill in the fields below to generate the exact legal language. Hand it to your doctor. Get it signed.` }), 806 /* @__PURE__ */ jsxRuntimeExports.jsx(motion.div, { variants: fadeUp, transition: { 807 duration: 0.25, 808 delay: 0.08, 809 ease: "easeOut" 810 }, className: "grid grid-cols-1 sm:grid-cols-3 gap-3 mb-6", children: [{ 811 icon: "âï¸", 812 title: '"At Least As Likely As Not"', 813 body: "50% probability. That's the entire standard under 38 CFR § 3.102. Your doctor does not need to be certain â they need to say it's as likely as not." 814 }, { 815 icon: "ð©º", 816 title: "Your Doctor Signs It", 817 body: "This tool generates the framework with the exact legal language. Your physician reviews, customizes, and signs. The VA must consider it." 818 }, { 819 icon: "ð", 820 title: "4 Connection Types", 821 body: "Direct, aggravation, secondary, and presumptive â each generates the correct language. Secondary conditions are the most overlooked money on the table." 822 }].map((card) => /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "rounded-sm border border-border bg-card px-4 py-4 flex flex-col gap-2", children: [
823 /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-xl", children: card.icon }), 824 /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-sm font-bold text-foreground", style: { 825 fontFamily: "var(--font-heading)" 826 }, children: card.title }), 827 /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-xs text-muted-foreground leading-relaxed", children: card.body }) 828 ] }, card.title)) }), 829 /* @__PURE__ */ jsxRuntimeExports.jsxs(motion.div, { variants: fadeUp, transition: { 830 duration: 0.25, 831 delay: 0.12, 832 ease: "easeOut" 833 }, className: "flex items-start gap-3 rounded-sm border border-primary/30 bg-primary/5 px-4 py-3 max-w-xl", children: [ 834 /* @__PURE__ */ jsxRuntimeExports.jsx(TriangleAlert, { className: "h-4 w-4 text-primary shrink-0 mt-0.5" }), 835 /* @__PURE__ */ jsxRuntimeExports.jsxs("p", { className: "text-xs text-muted-foreground leading-relaxed", children: [ 836 /* @__PURE__ */ jsxRuntimeExports.jsx("strong", { className: "text-foreground", children: "This generates a template â your doctor makes it official." }), 837 " The language is legally precise. Your physician reviews, customizes, and signs it. Do not submit unsigned. The VA is required to weigh a properly submitted nexus letter under 38 U.S.C. § 5103A â they cannot ignore it." 838 ] }) 839 ] }) 840 ] }) }) 841 ] }), 842 /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "border-b border-border bg-card", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "container mx-auto px-4 py-3 flex items-center justify-between gap-4 flex-wrap", children: [
843 /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-xs text-muted-foreground", children: "Know a veteran whose doctor doesn't know what a nexus letter is? Share this." }), 844 /* @__PURE__ */ jsxRuntimeExports.jsx(ShareBar, { url: "https://lcplunderground.vet/nexus-letter", title: "Nexus Letter Builder â Free VA Claim Template", description: "Generate a professionally structured nexus letter with exact VA legal language. Fill it in, give it to your doctor to sign, and submit." }) 845 ] }) }), 846 /* @__PURE__ */ jsxRuntimeExports.jsx("section", { className: "container mx-auto px-4 py-10", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "max-w-5xl mx-auto", children: [ 847 /* @__PURE__ */ jsxRuntimeExports.jsx(KnowYourRights, { rights: [{ 848 reg: "38 CFR § 3.102", 849 text: "Reasonable doubt resolved in your favor. 50/50 = you win.", 850 url: "https://www.ecfr.gov/current/title-38/chapter-I/part-3/subpart-A/section-3.102" 851 }, { 852 reg: "38 CFR § 3.303", 853 text: "Service connection can be established by any competent medical evidence â including a private nexus letter.", 854 url: "https://www.ecfr.gov/current/title-38/chapter-I/part-3/subpart-A/section-3.303" 855 }, { 856 reg: "38 U.S.C. § 5103A", 857 text: "The VA must assist you in obtaining evidence. They cannot simply ignore a submitted nexus letter.", 858 url: "https://uscode.house.gov/view.xhtml?req=granuleid:USC-prelim-title38-section5103A" 859 }, { 860 reg: "38 CFR § 3.310", 861 text: "Secondary service connection: if a service-connected condition causes or aggravates another condition, that second condition is also compensable.", 862 url: "https://www.ecfr.gov/current/title-38/chapter-I/part-3/subpart-A/section-3.310" 863 }], note: "Secondary conditions are the most overlooked money on the table. If your service-connected condition caused or worsened anything else â back pain causing depression, sleep apnea from PTSD, knee injury causing hip problems â file for all of it.", className: "mb-8" }),
864 /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "grid grid-cols-1 lg:grid-cols-[1fr_420px] gap-8 items-start", children: [ 865 /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex flex-col gap-8", children: [ 866 /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "rounded-sm border border-border bg-card px-5 py-4 flex flex-col gap-2", children: [ 867 /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center justify-between", children: [ 868 /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-xs font-bold text-foreground uppercase tracking-wide", children: "Letter Completeness" }), 869 /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "text-xs font-bold text-primary", children: [ 870 completePct, 871 "%" 872 ] }) 873 ] }), 874 /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "w-full h-1.5 bg-secondary rounded-full overflow-hidden", children: /* @__PURE__ */ jsxRuntimeExports.jsx(motion.div, { className: "h-full bg-primary rounded-full", initial: { 875 width: 0 876 }, animate: { 877 width: `${completePct}%` 878 }, transition: { 879 duration: 0.3, 880 ease: "easeOut" 881 } }) }),
882 /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-xs text-muted-foreground", children: "Fill in all fields for a complete letter. Required: doctor name, credentials, specialty, veteran name, branch, diagnosis, and medical rationale." }) 883 ] }), 884 /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "rounded-sm border border-border bg-card px-6 py-6 flex flex-col gap-5", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Section, { title: "Physician Information", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "grid grid-cols-1 sm:grid-cols-2 gap-4", children: [ 885 /* @__PURE__ */ jsxRuntimeExports.jsx(Field, { label: "Physician Full Name *", hint: "e.g., Dr. Jane Smith", children: /* @__PURE__ */ jsxRuntimeExports.jsx("input", { className: inputCls, value: form.doctorName, onChange: (e) => set("doctorName", e.target.value), placeholder: "Dr. Jane Smith" }) }), 886 /* @__PURE__ */ jsxRuntimeExports.jsx(Field, { label: "Credentials *", hint: "e.g., MD, DO, PhD, PA-C", children: /* @__PURE__ */ jsxRuntimeExports.jsx("input", { className: inputCls, value: form.doctorCredentials, onChange: (e) => set("doctorCredentials", e.target.value), placeholder: "MD" }) }),
887 /* @__PURE__ */ jsxRuntimeExports.jsx(Field, { label: "Specialty *", hint: "e.g., Orthopedic Surgery, Psychiatry, Internal Medicine", children: /* @__PURE__ */ jsxRuntimeExports.jsx("input", { className: inputCls, value: form.doctorSpecialty, onChange: (e) => set("doctorSpecialty", e.target.value), placeholder: "Orthopedic Surgery" }) }), 888 /* @__PURE__ */ jsxRuntimeExports.jsx(Field, { label: "Clinic / Practice Name", children: /* @__PURE__ */ jsxRuntimeExports.jsx("input", { className: inputCls, value: form.doctorClinic, onChange: (e) => set("doctorClinic", e.target.value), placeholder: "VA Medical Center / Private Practice" }) }), 889 /* @__PURE__ */ jsxRuntimeExports.jsx(Field, { label: "Address", children: /* @__PURE__ */ jsxRuntimeExports.jsx("input", { className: inputCls, value: form.doctorAddress, onChange: (e) => set("doctorAddress", e.target.value), placeholder: "123 Main St, City, State ZIP" }) }), 890 /* @__PURE__ */ jsxRuntimeExports.jsx(Field, { label: "Phone", children: /* @__PURE__ */ jsxRuntimeExports.jsx("input", { className: inputCls, value: form.doctorPhone, onChange: (e) => set("doctorPhone", e.target.value), placeholder: "(555) 555-5555" }) }),
891 /* @__PURE__ */ jsxRuntimeExports.jsx(Field, { label: "Email", hint: "Optional â for VA follow-up", children: /* @__PURE__ */ jsxRuntimeExports.jsx("input", { className: inputCls, value: form.doctorEmail, onChange: (e) => set("doctorEmail", e.target.value), placeholder: "[email protected]", type: "email" }) }) 892 ] }) }) }), 893 /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "rounded-sm border border-border bg-card px-6 py-6 flex flex-col gap-5", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Section, { title: "Veteran Information", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "grid grid-cols-1 sm:grid-cols-2 gap-4", children: [ 894 /* @__PURE__ */ jsxRuntimeExports.jsx(Field, { label: "Veteran Full Name *", children: /* @__PURE__ */ jsxRuntimeExports.jsx("input", { className: inputCls, value: form.veteranName, onChange: (e) => set("veteranName", e.target.value), placeholder: "John A. Smith" }) }), 895 /* @__PURE__ */ jsxRuntimeExports.jsx(Field, { label: "Date of Birth", children: /* @__PURE__ */ jsxRuntimeExports.jsx("input", { className: inputCls, value: form.veteranDob, onChange: (e) => set("veteranDob", e.target.value), placeholder: "MM/DD/YYYY" }) }),
896 /* @__PURE__ */ jsxRuntimeExports.jsx(Field, { label: "Last 4 of SSN", hint: "Only last 4 digits â for identification purposes", children: /* @__PURE__ */ jsxRuntimeExports.jsx("input", { className: inputCls, value: form.veteranSsn, onChange: (e) => set("veteranSsn", e.target.value.slice(0, 4)), placeholder: "1234", maxLength: 4 }) }), 897 /* @__PURE__ */ jsxRuntimeExports.jsx(Field, { label: "Branch of Service *", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("select", { className: inputCls, value: form.veteranBranch, onChange: (e) => set("veteranBranch", e.target.value), children: [ 898 /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: "", children: "Select branch..." }), 899 nexus_letter.BRANCHES.map((b) => /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: b, children: b }, b)) 900 ] }) }), 901 /* @__PURE__ */ jsxRuntimeExports.jsx(Field, { label: "Service Start Date", children: /* @__PURE__ */ jsxRuntimeExports.jsx("input", { className: inputCls, value: form.veteranServiceStart, onChange: (e) => set("veteranServiceStart", e.target.value), placeholder: "MM/YYYY" }) }),
902 /* @__PURE__ */ jsxRuntimeExports.jsx(Field, { label: "Service End Date", children: /* @__PURE__ */ jsxRuntimeExports.jsx("input", { className: inputCls, value: form.veteranServiceEnd, onChange: (e) => set("veteranServiceEnd", e.target.value), placeholder: "MM/YYYY" }) }) 903 ] }) }) }), 904 /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "rounded-sm border border-primary/40 bg-primary/5 px-6 py-5 flex flex-col gap-4", children: [ 905 /* @__PURE__ */ jsxRuntimeExports.jsxs("button", { type: "button", onClick: () => setMosPanelOpen((p) => !p), className: "flex items-center justify-between w-full text-left", children: [ 906 /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center gap-3", children: [ 907 /* @__PURE__ */ jsxRuntimeExports.jsx(Shield, { className: "h-4 w-4 text-primary shrink-0" }), 908 /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [ 909 /* @__PURE__ */ jsxRuntimeExports.jsxs("p", { className: "text-sm font-bold text-foreground", style: { 910 fontFamily: "var(--font-heading)" 911 }, children: [ 912 "MOS Intel Pre-Fill",
913 prefillApplied && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "ml-2 text-xs font-normal text-primary border border-primary/40 rounded-sm px-1.5 py-0.5", children: "Applied" }) 914 ] }), 915 /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-xs text-muted-foreground", children: "Enter your MOS code to auto-populate the in-service event and medical rationale fields with MOS-specific language" }) 916 ] }) 917 ] }), 918 mosPanelOpen ? /* @__PURE__ */ jsxRuntimeExports.jsx(ChevronUp, { className: "h-4 w-4 text-muted-foreground shrink-0" }) : /* @__PURE__ */ jsxRuntimeExports.jsx(ChevronDown, { className: "h-4 w-4 text-muted-foreground shrink-0" }) 919 ] }), 920 /* @__PURE__ */ jsxRuntimeExports.jsx(AnimatePresence, { children: mosPanelOpen && /* @__PURE__ */ jsxRuntimeExports.jsx(motion.div, { initial: { 921 opacity: 0, 922 height: 0 923 }, animate: { 924 opacity: 1, 925 height: "auto" 926 }, exit: { 927 opacity: 0, 928 height: 0 929 }, transition: { 930 duration: 0.2 931 }, className: "overflow-hidden", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex flex-col gap-4 pt-1", children: [
932 /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex gap-2", children: [ 933 /* @__PURE__ */ jsxRuntimeExports.jsx("input", { className: inputCls + " flex-1", value: mosInput, onChange: (e) => { 934 setMosInput(e.target.value.toUpperCase()); 935 setMosResult(null); 936 setMosNotFound(false); 937 }, onKeyDown: (e) => e.key === "Enter" && handleMosLookup(), placeholder: "e.g., 11B, 0311, 1316, HT, 2A7X3...", maxLength: 10 }), 938 /* @__PURE__ */ jsxRuntimeExports.jsx("button", { type: "button", onClick: handleMosLookup, className: "shrink-0 rounded-sm border border-primary/60 bg-primary text-primary-foreground px-4 py-2 text-sm font-semibold hover:bg-primary/90 transition-colors duration-150", children: "Look Up" }) 939 ] }), 940 mosNotFound && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-start gap-2 rounded-sm border border-border bg-secondary/30 px-4 py-3", children: [
941 /* @__PURE__ */ jsxRuntimeExports.jsx(Info, { className: "h-4 w-4 text-muted-foreground shrink-0 mt-0.5" }), 942 /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [ 943 /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-sm font-semibold text-foreground", children: "MOS not in pre-fill database" }), 944 /* @__PURE__ */ jsxRuntimeExports.jsxs("p", { className: "text-xs text-muted-foreground mt-0.5", children: [ 945 "Your MOS isn't in the pre-fill library yet â but you can still build a strong letter. Visit", 946 " ", 947 /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: "/mos-lookup", className: "text-primary underline underline-offset-2", children: "MOS Lookup" }), 948 " ", 949 "to research your specific exposures, then fill in the fields below manually. The MOS Lookup covers 100+ codes with full exposure profiles." 950 ] }) 951 ] }) 952 ] }), 953 mosResult && /* @__PURE__ */ jsxRuntimeExports.jsxs(motion.div, { initial: { 954 opacity: 0, 955 y: 6 956 }, animate: { 957 opacity: 1, 958 y: 0 959 }, transition: { 960 duration: 0.2 961 }, className: "flex flex-col gap-3", children: [
962 /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center gap-2 rounded-sm border border-primary/30 bg-primary/10 px-4 py-3", children: [ 963 /* @__PURE__ */ jsxRuntimeExports.jsx(CircleCheckBig, { className: "h-4 w-4 text-primary shrink-0" }), 964 /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [ 965 /* @__PURE__ */ jsxRuntimeExports.jsxs("p", { className: "text-sm font-bold text-foreground", children: [ 966 mosResult.code, 967 " â ", 968 mosResult.title 969 ] }), 970 /* @__PURE__ */ jsxRuntimeExports.jsxs("p", { className: "text-xs text-muted-foreground", children: [ 971 mosResult.branch, 972 " · ", 973 mosResult.conditions.length, 974 " condition", 975 mosResult.conditions.length !== 1 ? "s" : "", 976 " with pre-built nexus language" 977 ] }) 978 ] }) 979 ] }),
980 /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-xs font-semibold text-muted-foreground uppercase tracking-wide", children: "Select a condition to pre-fill the letter:" }), 981 /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex flex-col gap-2", children: mosResult.conditions.map((c, i) => /* @__PURE__ */ jsxRuntimeExports.jsxs("button", { type: "button", onClick: () => applyMosPrefill(c), className: "flex items-start gap-3 rounded-sm border border-border bg-card px-4 py-3 text-left hover:border-primary/50 hover:bg-primary/5 transition-colors duration-150 group", children: [ 982 /* @__PURE__ */ jsxRuntimeExports.jsx(ArrowRight, { className: "h-4 w-4 text-primary shrink-0 mt-0.5 group-hover:translate-x-0.5 transition-transform duration-150" }), 983 /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [ 984 /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-sm font-semibold text-foreground", children: c.condition }),
985 /* @__PURE__ */ jsxRuntimeExports.jsxs("p", { className: "text-xs text-muted-foreground mt-0.5 line-clamp-2", children: [ 986 c.inServiceEvent.slice(0, 120), 987 "â¦" 988 ] }), 989 c.presumptiveBasis && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "inline-block mt-1 text-xs border border-primary/40 text-primary rounded-sm px-1.5 py-0.5", children: "Includes presumptive language" }) 990 ] }) 991 ] }, i)) }), 992 /* @__PURE__ */ jsxRuntimeExports.jsxs("p", { className: "text-xs text-muted-foreground", children: [ 993 /* @__PURE__ */ jsxRuntimeExports.jsx("strong", { className: "text-foreground", children: "After applying:" }), 994 " review and customize the pre-filled text â your doctor will modify it based on your specific records and clinical findings." 995 ] }) 996 ] }), 997 /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-start gap-2 rounded-sm border border-border bg-secondary/20 px-3 py-2.5", children: [
998 /* @__PURE__ */ jsxRuntimeExports.jsx(Info, { className: "h-3.5 w-3.5 text-muted-foreground shrink-0 mt-0.5" }), 999 /* @__PURE__ */ jsxRuntimeExports.jsxs("p", { className: "text-xs text-muted-foreground leading-relaxed", children: [ 1000 "Pre-fill language is a starting framework â not a finished letter. Your physician must review, customize, and sign based on their clinical evaluation of your specific records. Full exposure profiles for all MOS codes: ", 1001 /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: "/mos-lookup", className: "text-primary underline underline-offset-2", children: "MOS Lookup Tool â" }) 1002 ] }) 1003 ] }) 1004 ] }) }, "mos-panel") }) 1005 ] }), 1006 /* @__PURE__ */ jsxRuntimeExports.jsx("div", { id: "claim-section", className: "rounded-sm border border-border bg-card px-6 py-6 flex flex-col gap-5", children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Section, { title: "Diagnosis & Connection Type", children: [
1007 /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "grid grid-cols-1 sm:grid-cols-2 gap-4", children: [ 1008 /* @__PURE__ */ jsxRuntimeExports.jsx(Field, { label: "Diagnosis / Condition Name *", hint: "The condition being claimed", children: /* @__PURE__ */ jsxRuntimeExports.jsx("input", { className: inputCls, value: form.diagnosisName, onChange: (e) => set("diagnosisName", e.target.value), placeholder: "e.g., Lumbar Degenerative Disc Disease" }) }), 1009 /* @__PURE__ */ jsxRuntimeExports.jsx(Field, { label: "ICD-10 Code", hint: "Optional but strengthens the letter", children: /* @__PURE__ */ jsxRuntimeExports.jsx("input", { className: inputCls, value: form.diagnosisIcd, onChange: (e) => set("diagnosisIcd", e.target.value), placeholder: "e.g., M51.16" }) }) 1010 ] }), 1011 /* @__PURE__ */ jsxRuntimeExports.jsx(Field, { label: "Type of Service Connection *", hint: "Select the legal theory that applies to this claim", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "grid grid-cols-1 sm:grid-cols-2 gap-2", children: Object.entries(CONNECTION_LABELS).map(([val, label]) => /* @__PURE__ */ jsxRuntimeExports.jsxs("button", { type: "button", onClick: () => set("connectionType", val), className: `flex flex-col items-start gap-1 rounded-sm border px-4 py-3 text-left transition-colors duration-150 ${form.connectionType === val ? "border-primary/60 bg-primary/10" : "border-border bg-secondary/20 hover:border-primary/30"}`, children: [
1012 /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: `text-sm font-semibold ${form.connectionType === val ? "text-foreground" : "text-muted-foreground"}`, children: label }), 1013 /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "text-xs text-muted-foreground", children: [ 1014 val === "direct" && "Condition caused by service", 1015 val === "aggravation" && "Pre-existing condition worsened by service", 1016 val === "secondary" && "Caused by a service-connected condition", 1017 val === "presumptive" && "Agent Orange, Gulf War, PACT Act, etc." 1018 ] }) 1019 ] }, val)) }) }), 1020 /* @__PURE__ */ jsxRuntimeExports.jsxs(AnimatePresence, { mode: "wait", children: [ 1021 form.connectionType === "direct" && /* @__PURE__ */ jsxRuntimeExports.jsxs(motion.div, { initial: { 1022 opacity: 0, 1023 y: 6 1024 }, animate: { 1025 opacity: 1, 1026 y: 0 1027 }, exit: { 1028 opacity: 0 1029 }, transition: { 1030 duration: 0.15 1031 }, className: "flex flex-col gap-4", children: [
1032 /* @__PURE__ */ jsxRuntimeExports.jsx(Field, { label: "In-Service Event / Injury / Illness", hint: "Describe what happened during service that caused this condition", children: /* @__PURE__ */ jsxRuntimeExports.jsx("textarea", { className: textareaCls, value: form.inServiceEvent, onChange: (e) => set("inServiceEvent", e.target.value), placeholder: "e.g., The veteran sustained a back injury while carrying heavy equipment during a deployment to Afghanistan in 2008..." }) }), 1033 /* @__PURE__ */ jsxRuntimeExports.jsx(Field, { label: "Approximate Date of In-Service Event", children: /* @__PURE__ */ jsxRuntimeExports.jsx("input", { className: inputCls, value: form.inServiceDate, onChange: (e) => set("inServiceDate", e.target.value), placeholder: "e.g., 2008, or MM/YYYY" }) }), 1034 /* @__PURE__ */ jsxRuntimeExports.jsx(Field, { label: "Evidence Supporting In-Service Occurrence", hint: "Service treatment records, lay statements, buddy statements, MOS duties, etc.", children: /* @__PURE__ */ jsxRuntimeExports.jsx("textarea", { className: textareaCls, value: form.inServiceEvidence, onChange: (e) => set("inServiceEvidence", e.target.value), placeholder: "e.g., Service treatment records from 2008 document a lumbar strain treated at the aid station. The veteran's MOS as an infantryman required carrying loads in excess of 80 lbs..." }) }) 1035 ] }, "direct"), 1036 form.connectionType === "aggravation" && /* @__PURE__ */ jsxRuntimeExports.jsx(motion.div, { initial: { 1037 opacity: 0, 1038 y: 6 1039 }, animate: { 1040 opacity: 1, 1041 y: 0 1042 }, exit: { 1043 opacity: 0 1044 }, transition: { 1045 duration: 0.15 1046 }, className: "flex flex-col gap-4", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Field, { label: "How Military Service Aggravated the Condition", hint: "Describe how service permanently worsened the pre-existing condition beyond its natural progression", children: /* @__PURE__ */ jsxRuntimeExports.jsx("textarea", { className: textareaCls, value: form.howAggravatedOrCaused, onChange: (e) => set("howAggravatedOrCaused", e.target.value), placeholder: "e.g., The veteran's pre-existing mild scoliosis was permanently aggravated by the physical demands of military service, including repeated heavy lifting, prolonged standing, and exposure to vehicle vibration during deployments..." }) }) }, "aggravation"), 1047 form.connectionType === "secondary" && /* @__PURE__ */ jsxRuntimeExports.jsxs(motion.div, { initial: { 1048 opacity: 0, 1049 y: 6 1050 }, animate: { 1051 opacity: 1, 1052 y: 0 1053 }, exit: { 1054 opacity: 0 1055 }, transition: { 1056 duration: 0.15 1057 }, className: "flex flex-col gap-4", children: [
1058 /* @__PURE__ */ jsxRuntimeExports.jsx(Field, { label: "Primary Service-Connected Condition", hint: "The already service-connected condition that caused this secondary condition", children: /* @__PURE__ */ jsxRuntimeExports.jsx("input", { className: inputCls, value: form.primaryCondition, onChange: (e) => set("primaryCondition", e.target.value), placeholder: "e.g., Service-connected right knee injury (rated 30%)" }) }), 1059 /* @__PURE__ */ jsxRuntimeExports.jsx(Field, { label: "How the Primary Condition Caused / Contributed to This Condition", hint: "Describe the medical mechanism", children: /* @__PURE__ */ jsxRuntimeExports.jsx("textarea", { className: textareaCls, value: form.howAggravatedOrCaused, onChange: (e) => set("howAggravatedOrCaused", e.target.value), placeholder: "e.g., The veteran's service-connected right knee injury has caused an altered gait pattern, resulting in compensatory overloading of the left hip and lumbar spine. This biomechanical alteration is a well-documented cause of secondary lumbar degenerative disc disease..." }) }) 1060 ] }, "secondary"), 1061 form.connectionType === "presumptive" && /* @__PURE__ */ jsxRuntimeExports.jsx(motion.div, { initial: { 1062 opacity: 0, 1063 y: 6 1064 }, animate: { 1065 opacity: 1, 1066 y: 0 1067 }, exit: { 1068 opacity: 0 1069 }, transition: { 1070 duration: 0.15 1071 }, className: "flex flex-col gap-4", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Field, { label: "Basis for Presumptive Connection", hint: "Identify the specific presumptive basis â Agent Orange, Gulf War, PACT Act, radiation, POW, etc.", children: /* @__PURE__ */ jsxRuntimeExports.jsx("textarea", { className: textareaCls, value: form.presumptiveBasis, onChange: (e) => set("presumptiveBasis", e.target.value), placeholder: "e.g., The veteran served in the Republic of Vietnam and was exposed to Agent Orange herbicides. Type II Diabetes Mellitus is a presumptive condition under 38 CFR § 3.309(e) for veterans with qualifying service in Vietnam..." }) }) }, "presumptive") 1072 ] }) 1073 ] }) }),
1074 /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "rounded-sm border border-border bg-card px-6 py-6 flex flex-col gap-5", children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Section, { title: "Medical Opinion", children: [ 1075 /* @__PURE__ */ jsxRuntimeExports.jsx(Field, { label: "Opinion Strength *", hint: "Select the level of certainty. 'At least as likely as not' is the minimum required â and sufficient.", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex flex-col gap-2", children: Object.entries(OPINION_PHRASES).map(([val, phrase]) => /* @__PURE__ */ jsxRuntimeExports.jsxs("button", { type: "button", onClick: () => set("opinionStrength", val), className: `flex items-start gap-3 rounded-sm border px-4 py-3 text-left transition-colors duration-150 ${form.opinionStrength === val ? "border-primary/60 bg-primary/10" : "border-border bg-secondary/20 hover:border-primary/30"}`, children: [ 1076 /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `w-4 h-4 rounded-full border-2 shrink-0 mt-0.5 flex items-center justify-center ${form.opinionStrength === val ? "border-primary" : "border-muted-foreground"}`, children: form.opinionStrength === val && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "w-2 h-2 rounded-full bg-primary" }) }),
1077 /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [ 1078 /* @__PURE__ */ jsxRuntimeExports.jsxs("p", { className: `text-sm font-semibold ${form.opinionStrength === val ? "text-foreground" : "text-muted-foreground"}`, children: [ 1079 '"', 1080 phrase, 1081 '"' 1082 ] }), 1083 val === "at_least_as_likely" && /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-xs text-muted-foreground mt-0.5", children: "Minimum required â sufficient for service connection" }), 1084 val === "more_likely" && /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-xs text-muted-foreground mt-0.5", children: "Stronger â use when evidence clearly supports connection" }), 1085 val === "highly_probable" && /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-xs text-muted-foreground mt-0.5", children: "Strongest â use when connection is well-documented" }) 1086 ] }) 1087 ] }, val)) }) }),
1088 /* @__PURE__ */ jsxRuntimeExports.jsx(Field, { label: "Medical Rationale *", hint: "This is the most important section. Explain the medical and scientific basis for the connection. Cite pathophysiology, medical literature, or clinical guidelines. Be specific.", children: /* @__PURE__ */ jsxRuntimeExports.jsx("textarea", { className: textareaCls, style: { 1089 minHeight: "140px" 1090 }, value: form.rationale, onChange: (e) => set("rationale", e.target.value), placeholder: "e.g., Lumbar degenerative disc disease is a well-documented sequela of repetitive axial loading and trauma to the spine. The veteran's service as an infantryman involved carrying loads in excess of 80 lbs for extended periods, which is consistent with the biomechanical forces known to accelerate disc degeneration. Multiple peer-reviewed studies have demonstrated a statistically significant association between military service in combat roles and early-onset lumbar disc disease (Smith et al., 2018; Jones et al., 2020)..." }) }),
1091 /* @__PURE__ */ jsxRuntimeExports.jsxs(Field, { label: "Records Reviewed", hint: "List all records you reviewed. Click to add common items.", children: [ 1092 /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex flex-wrap gap-2 mb-2", children: nexus_letter.COMMON_RECORDS.map((r) => /* @__PURE__ */ jsxRuntimeExports.jsxs("button", { type: "button", onClick: () => { 1093 const current = form.recordsReviewed; 1094 const lines = current ? current.split("\n").map((l) => l.trim()).filter(Boolean) : []; 1095 if (!lines.includes(`⢠${r}`)) { 1096 set("recordsReviewed", [...lines, `⢠${r}`].join("\n")); 1097 } 1098 }, className: "text-xs border border-border bg-secondary/30 text-muted-foreground rounded-sm px-2 py-1 hover:border-primary/40 hover:text-foreground transition-colors duration-150", children: [ 1099 "+ ", 1100 r 1101 ] }, r)) }), 1102 /* @__PURE__ */ jsxRuntimeExports.jsx("textarea", { className: textareaCls, value: form.recordsReviewed, onChange: (e) => set("recordsReviewed", e.target.value), placeholder: "⢠Service treatment records (STRs)\n⢠VA medical records\n⢠Private medical records" }) 1103 ] }),
1104 /* @__PURE__ */ jsxRuntimeExports.jsx(Field, { label: "Signature Date", children: /* @__PURE__ */ jsxRuntimeExports.jsx("input", { className: inputCls, value: form.signatureDate, onChange: (e) => set("signatureDate", e.target.value), placeholder: "e.g., May 2, 2026" }) }) 1105 ] }) }) 1106 ] }), 1107 /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex flex-col gap-4 lg:sticky lg:top-6", children: [ 1108 /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "rounded-sm border border-border bg-card px-5 py-5 flex flex-col gap-3", children: [ 1109 /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-xs font-bold uppercase tracking-wide text-foreground", children: "Generated Letter" }), 1110 /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex flex-col gap-2", children: [ 1111 /* @__PURE__ */ jsxRuntimeExports.jsxs("button", { onClick: () => setShowPreview((p) => !p), className: "flex items-center justify-center gap-2 w-full rounded-sm border border-primary bg-primary text-primary-foreground text-sm font-bold py-2.5 hover:bg-primary/90 transition-colors duration-150", children: [
1112 /* @__PURE__ */ jsxRuntimeExports.jsx(FileText, { className: "h-4 w-4" }), 1113 showPreview ? "Hide Preview" : "Preview Letter" 1114 ] }), 1115 /* @__PURE__ */ jsxRuntimeExports.jsxs("button", { onClick: handleCopy, className: "flex items-center justify-center gap-2 w-full rounded-sm border border-border bg-secondary/30 text-foreground text-sm font-semibold py-2.5 hover:border-primary/40 transition-colors duration-150", children: [ 1116 copied ? /* @__PURE__ */ jsxRuntimeExports.jsx(CircleCheckBig, { className: "h-4 w-4 text-green-500" }) : /* @__PURE__ */ jsxRuntimeExports.jsx(Copy, { className: "h-4 w-4" }), 1117 copied ? "Copied!" : "Copy to Clipboard" 1118 ] }), 1119 /* @__PURE__ */ jsxRuntimeExports.jsxs("button", { onClick: handleDownload, className: "flex items-center justify-center gap-2 w-full rounded-sm border border-border bg-secondary/30 text-foreground text-sm font-semibold py-2.5 hover:border-primary/40 transition-colors duration-150", children: [
1120 /* @__PURE__ */ jsxRuntimeExports.jsx(Download, { className: "h-4 w-4" }), 1121 "Download as .txt" 1122 ] }), 1123 /* @__PURE__ */ jsxRuntimeExports.jsxs("button", { onClick: handleReset, className: "flex items-center justify-center gap-2 w-full rounded-sm border border-border bg-transparent text-muted-foreground text-sm py-2 hover:text-primary hover:border-primary/30 transition-colors duration-150", children: [ 1124 /* @__PURE__ */ jsxRuntimeExports.jsx(RefreshCw, { className: "h-3.5 w-3.5" }), 1125 "Reset All Fields" 1126 ] }) 1127 ] }) 1128 ] }), 1129 /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "rounded-sm border border-border bg-card px-5 py-4 flex flex-col gap-2", children: [ 1130 /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-xs font-bold uppercase tracking-wide text-foreground mb-1", children: "Required Fields" }), 1131 requiredFields.map((f) => { 1132 var _a; 1133 const filled = ((_a = form[f]) == null ? void 0 : _a.toString().trim().length) > 0; 1134 const labels = { 1135 doctorName: "Physician name", 1136 doctorCredentials: "Credentials", 1137 doctorSpecialty: "Specialty", 1138 veteranName: "Veteran name", 1139 veteranBranch: "Branch of service", 1140 diagnosisName: "Diagnosis", 1141 rationale: "Medical rationale" 1142 }; 1143 return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center gap-2", children: [ 1144 filled ? /* @__PURE__ */ jsxRuntimeExports.jsx(CircleCheckBig, { className: "h-3.5 w-3.5 text-green-500 shrink-0" }) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "h-3.5 w-3.5 rounded-full border border-muted-foreground/40 shrink-0" }),
1145 /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: `text-xs ${filled ? "text-foreground" : "text-muted-foreground"}`, children: labels[f] }) 1146 ] }, f); 1147 }) 1148 ] }), 1149 /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "rounded-sm border border-border bg-card px-5 py-4 flex flex-col gap-2", children: [ 1150 /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center gap-2 mb-1", children: [ 1151 /* @__PURE__ */ jsxRuntimeExports.jsx(Info, { className: "h-4 w-4 text-primary" }), 1152 /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-xs font-bold uppercase tracking-wide text-foreground", children: "Tips" }) 1153 ] }), 1154 ["Give this draft to your doctor â they must review, customize, and sign it", "The medical rationale section is the most important part", "A specialist in the relevant field carries more weight than a GP", "Submit before your C&P exam if possible", "Keep a copy for your records"].map((tip, i) => /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-start gap-2", children: [
1155 /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-primary text-xs mt-0.5 shrink-0", children: "âº" }), 1156 /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-xs text-muted-foreground leading-relaxed", children: tip }) 1157 ] }, i)) 1158 ] }) 1159 ] }) 1160 ] }), 1161 /* @__PURE__ */ jsxRuntimeExports.jsx(AnimatePresence, { children: showPreview && /* @__PURE__ */ jsxRuntimeExports.jsxs(motion.div, { ref: previewRef, initial: { 1162 opacity: 0, 1163 y: 12 1164 }, animate: { 1165 opacity: 1, 1166 y: 0 1167 }, exit: { 1168 opacity: 0, 1169 y: -8 1170 }, transition: { 1171 duration: 0.2, 1172 ease: "easeOut" 1173 }, className: "mt-8 rounded-sm border border-primary/40 bg-card overflow-hidden", children: [ 1174 /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "px-6 py-4 border-b border-border flex items-center justify-between", children: [ 1175 /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center gap-2", children: [
1176 /* @__PURE__ */ jsxRuntimeExports.jsx(FileText, { className: "h-4 w-4 text-primary" }), 1177 /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-sm font-bold text-foreground uppercase", style: { 1178 fontFamily: "var(--font-heading)" 1179 }, children: "Letter Preview" }) 1180 ] }), 1181 /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex gap-2", children: [ 1182 /* @__PURE__ */ jsxRuntimeExports.jsxs("button", { onClick: handleCopy, className: "flex items-center gap-1.5 text-xs font-semibold text-primary border border-primary/40 bg-primary/10 rounded-sm px-3 py-1.5 hover:bg-primary/20 transition-colors duration-150", children: [ 1183 copied ? /* @__PURE__ */ jsxRuntimeExports.jsx(CircleCheckBig, { className: "h-3 w-3" }) : /* @__PURE__ */ jsxRuntimeExports.jsx(Copy, { className: "h-3 w-3" }), 1184 copied ? "Copied" : "Copy" 1185 ] }), 1186 /* @__PURE__ */ jsxRuntimeExports.jsxs("button", { onClick: handleDownload, className: "flex items-center gap-1.5 text-xs font-semibold text-muted-foreground border border-border rounded-sm px-3 py-1.5 hover:border-primary/40 hover:text-foreground transition-colors duration-150", children: [
1187 /* @__PURE__ */ jsxRuntimeExports.jsx(Download, { className: "h-3 w-3" }), 1188 "Download" 1189 ] }) 1190 ] }) 1191 ] }), 1192 /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "px-6 py-6 overflow-x-auto", children: /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: "text-xs text-muted-foreground leading-relaxed whitespace-pre-wrap font-mono", children: letter }) }) 1193 ] }) }), 1194 /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "mt-12 flex flex-col gap-3", children: [ 1195 /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center gap-3 mb-1", children: [ 1196 /* @__PURE__ */ jsxRuntimeExports.jsx(MessageSquare, { className: "h-5 w-5 text-primary" }), 1197 /* @__PURE__ */ jsxRuntimeExports.jsx("h2", { className: "text-xl font-bold uppercase text-foreground", style: { 1198 fontFamily: "var(--font-heading)" 1199 }, children: "Frequently Asked Questions" }) 1200 ] }), 1201 nexus_letter.faqs.map((faq, i) => { 1202 const isOpen = expandedFaq === i; 1203 return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "rounded-sm border border-border bg-card overflow-hidden", children: [
1204 /* @__PURE__ */ jsxRuntimeExports.jsxs("button", { onClick: () => setExpandedFaq(isOpen ? null : i), className: "w-full flex items-center justify-between px-5 py-4 text-left hover:bg-secondary/20 transition-colors duration-150", children: [ 1205 /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-sm font-semibold text-foreground pr-4", style: { 1206 whiteSpace: "pre-line" 1207 }, children: faq.q }), 1208 isOpen ? /* @__PURE__ */ jsxRuntimeExports.jsx(ChevronUp, { className: "h-4 w-4 text-primary shrink-0" }) : /* @__PURE__ */ jsxRuntimeExports.jsx(ChevronDown, { className: "h-4 w-4 text-muted-foreground shrink-0" }) 1209 ] }), 1210 /* @__PURE__ */ jsxRuntimeExports.jsx(AnimatePresence, { children: isOpen && /* @__PURE__ */ jsxRuntimeExports.jsx(motion.div, { initial: { 1211 height: 0, 1212 opacity: 0 1213 }, animate: { 1214 height: "auto", 1215 opacity: 1 1216 }, exit: { 1217 height: 0, 1218 opacity: 0 1219 }, transition: { 1220 duration: 0.18, 1221 ease: "easeOut" 1222 }, className: "overflow-hidden", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "border-t border-border px-5 py-4", children: /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-sm text-muted-foreground leading-relaxed", style: { 1223 whiteSpace: "pre-line" 1224 }, children: faq.a }) }) }) }) 1225 ] }, i); 1226 }) 1227 ] }),
1228 /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "mt-10 grid grid-cols-1 md:grid-cols-3 gap-5", children: [ 1229 /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "rounded-sm border border-border bg-card p-5 flex flex-col gap-3", children: [ 1230 /* @__PURE__ */ jsxRuntimeExports.jsx(Shield, { className: "h-5 w-5 text-primary" }), 1231 /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-sm font-bold text-foreground", style: { 1232 fontFamily: "var(--font-heading)" 1233 }, children: "C&P Exam Prep" }), 1234 /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-xs text-muted-foreground leading-relaxed", children: "Submit your nexus letter before your C&P exam. Know what to say and what to bring." }), 1235 /* @__PURE__ */ jsxRuntimeExports.jsxs(Link, { to: "/cp-exam", className: "flex items-center gap-1 text-xs font-semibold text-primary hover:underline", children: [ 1236 "Prep for Your Exam ", 1237 /* @__PURE__ */ jsxRuntimeExports.jsx(ArrowRight, { className: "h-3 w-3" }) 1238 ] }) 1239 ] }),
1240 /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "rounded-sm border border-border bg-card p-5 flex flex-col gap-3", children: [ 1241 /* @__PURE__ */ jsxRuntimeExports.jsx(Shield, { className: "h-5 w-5 text-primary" }), 1242 /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-sm font-bold text-foreground", style: { 1243 fontFamily: "var(--font-heading)" 1244 }, children: "VA Appeals Guide" }), 1245 /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-xs text-muted-foreground leading-relaxed", children: "Denied? A nexus letter submitted as new evidence in a Supplemental Claim is one of the most effective appeal strategies." }), 1246 /* @__PURE__ */ jsxRuntimeExports.jsxs(Link, { to: "/va-appeals", className: "flex items-center gap-1 text-xs font-semibold text-primary hover:underline", children: [ 1247 "View Appeals Guide ", 1248 /* @__PURE__ */ jsxRuntimeExports.jsx(ArrowRight, { className: "h-3 w-3" }) 1249 ] }) 1250 ] }),
1251 /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "rounded-sm border border-border bg-card p-5 flex flex-col gap-3", children: [ 1252 /* @__PURE__ */ jsxRuntimeExports.jsx(Shield, { className: "h-5 w-5 text-primary" }), 1253 /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-sm font-bold text-foreground", style: { 1254 fontFamily: "var(--font-heading)" 1255 }, children: "AI Benefits Search" }), 1256 /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-xs text-muted-foreground leading-relaxed", children: "Ask the AI about nexus letter requirements for your specific condition or service history." }), 1257 /* @__PURE__ */ jsxRuntimeExports.jsxs(Link, { to: "/benefits", className: "flex items-center gap-1 text-xs font-semibold text-primary hover:underline", children: [ 1258 "Ask the AI ", 1259 /* @__PURE__ */ jsxRuntimeExports.jsx(ArrowRight, { className: "h-3 w-3" }) 1260 ] }) 1261 ] }) 1262 ] }) 1263 ] }) }), 1264 /* @__PURE__ */ jsxRuntimeExports.jsx(GuideCommunityFooter, { categorySlug: "disability-claims-ratings", categoryLabel: "Disability Claims & Ratings" }) 1265 ] }) }); 1266} 1267export { 1268 NexusLetterPage as default 1269};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.