Skip to content

Conversation

@Themitchell
Copy link
Contributor

@Themitchell Themitchell commented Jan 29, 2026

What is the change?

Add pages for normal amount smoked per

Why are we making this change?

In order to allow users to give details about their smoking history ready for calculating their risk of lung cancer

TODO:

  • We need to investigate how we change the wording depending on the frequency period they smoked for (ie per day / week / month)

Screenshots

Screenshot 2026-01-29 at 15 05 39

suffix=self._type_suffix(),
required=True,
error_messages={
"required": self._type_required_error_message()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At least 1 error here? (and test)

return self.instance.tobacco_smoking_history.human_type().lower()

def _type_label(self):
return f"Roughly how many {self.type_string()} do you smoke in a normal day?"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this have the answer from frequency rather than hard coded day?

@Themitchell Themitchell force-pushed the PPHA-534-normal-amount-smoked branch from 7f92e2c to 5a4c015 Compare February 4, 2026 16:28
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 4, 2026

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.

2 participants