# Fagerström Test for Nicotine Dependence

My first attempt at a snippet for use in my clinical work:

### Fagerstrom Test

1. How soon after you wake up do you smoke your first cigarette? {formmenu: default=Within 5 minutes; 6-30 minutes; 31-60 minutes; After 60 minutes; name=q1}
2. Do you find it difficult to refrain from smoking in places where it is forbidden (e.g., in church, at the library, in the cinema)? {formmenu: No; default=Yes; name=q2}
3. Which cigarette would you hate most to give up? {formmenu: default=The first one in the morning; Any other; name=q3}
4. How many cigarettes per day do you smoke? {formmenu: default=10 or fewer; 11-20; 21-30; 31 or more; name=q4}
5. Do you smoke more frequently during the first hours after waking up than during the rest of the day? {formmenu: No; default=Yes; name=q5}
6. Do you smoke when you are so ill that you are in bed most of the day? {formmenu: No; default=Yes; name=q6}

Total score = {=score}

{if: score<1}Scores of 0 indicate no nicotine dependence{elseif: score<3}Scores of 1-2 indicate low levels of nicotine dependence.{elseif: score<5}Scores from 3-4 suggest low to moderate levels of nicotine dependence.{elseif: score<8}Scores from 5-7 indicate moderate to high levels of nicotine dependence.{elseif: score<11}Scores from 8-10 indicate high levels of nicotine dependence.{endif}

{answerlist=[q1, q2, q3, q4, q5, q6]}
{low3=count(filter(answerlist, x ->x="The first one in the morning"))*1}
{high1=count(filter(answerlist, x -> x="After 60 minutes"))*3}