CONCORD, New Hampshire — House lawmakers are advancing a bill to legalize marijuana for medical use after tweaking the language, most notably to block out-of-state patients from purchasing the drug at the five dispensaries sanctioned in the bill.

A House committee voted 14-1 Thursday to recommend its passage.