Skip to content

Add page flow for the identify as a smoker journey#79

Open
simonwhatley wants to merge 6 commits into
mainfrom
919-identify-as-a-smoker
Open

Add page flow for the identify as a smoker journey#79
simonwhatley wants to merge 6 commits into
mainfrom
919-identify-as-a-smoker

Conversation

@simonwhatley
Copy link
Copy Markdown
Collaborator

@simonwhatley simonwhatley commented May 22, 2026

Updates the prototype_v4_3 smoking flow so tobacco type selection happens immediately after the phone questionnaire, with current-smoking status handled before demographic questions.

View prototype: https://lung-health-check-pr-79.herokuapp.com/prototype_v4_3/start-page

Changes include:

  • Routes phone-questionnaire users to smoking-type.
  • Updates smoking-type question label.
  • Adds new smoking-status-current page for users who select multiple tobacco types.
  • Keeps smoking-status for users who select one tobacco type.
  • Moves smoking-duration into the per-tobacco loop after height and weight.
  • Stores smoking duration answers per tobacco type.
  • Uses present or past tense based on:
    • single type: smoking-status
    • multiple types: smoking-status-current
  • Skips smoking-change and tobacco-smoking-change for shisha.
  • Updates check-your-answers to show per-type duration answers and multi-type current-smoking status.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant