Skip to content

Instantly share code, notes, and snippets.

@dracos
Forked from richardjpope/free-prescriptions.feature
Last active August 29, 2015 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dracos/171109ff71e7756e3046 to your computer and use it in GitHub Desktop.
Save dracos/171109ff71e7756e3046 to your computer and use it in GitHub Desktop.
#http://www.nhs.uk/NHSEngland/Healthcosts/Pages/Prescriptioncosts.aspx
Given a user is dispensed a prescription
When their age is >= 60
Then the prescription cost should be 0
Given a user is dispensed a prescription
And their age is < 16
Then the prescription cost should be 0
Given a user is dispensed a prescription
When their age is >= 16 and <= 18 and they are in full-time education
Then the prescription cost should be 0
Given a user is dispensed a prescription
When they are pregnant
And have a valid MedEx certificate
Then the prescription cost should be 0
Given a user is dispensed a prescription
When they have had a baby in the past 12 months
And have a valid MedEx certificate
Then the prescription cost should be 0
Given a user is dispensed a prescription
When they have a specified medical condition
And they have a valid MedEx certificate
Then the prescription cost should be 0
Given a user is dispensed a prescription
When they have a continuing physical disability that prevents them from going out without help from another person
And they have a valid MedEx certificate
Then the prescription cost should be 0
Given a user is dispensed a prescription
When they have a War Pension exemption certificate
And the prescription is for their accepted disability
Then the prescription cost should be 0
Given a user is dispensed a prescription
When they are an inpatient
Then the prescription cost should be 0
Given a user is dispensed a prescription
When they or their partner have an NHS tax credit exemption certificate
Then the prescription cost should be 0
Given a user is dispensed a prescription
When they or their partner have a valid HC2 certificate
Then the prescription cost should be 0
Given a user is dispensed a prescription
When they or their partner receive the benefit "Income Support"
Then the prescription cost should be 0
Given a user is dispensed a prescription
When they or their partner receive the "Income-based Jobseeker’s Allowance" benefit
Then the prescription cost should be 0
Given a user is dispensed a prescription
When they or their partner receive the "Income-related Employment and Support Allowance" benefit
Then the prescription cost should be 0
Given a user is dispensed a prescription
When they or their partner receive the "Pension Credit Guarantee Credit" benefit
Then the prescription cost should be 0
Given a user is dispensed a prescription
When they or their partner receive the "Universal Credit" benefit
Then the prescription cost should be 0
Given a user is dispensed a prescription
When they live permanently in a care home
And hold savings, investments or property (not counting the place where they live) of £23,250 or less
And their income is <= their requirements, or greater by no more than half the current English prescription charge
Then the prescription cost should be 0
Given a user is dispensed a prescription
When they do not live permanently in a care home
And hold savings, investments or property (not counting the place where they live) of £16,000 or less
And their income is <= their requirements, or greater by no more than half the current English prescription charge
Then the prescription cost should be 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment