{
  "id": "pharmacy",
  "title": "At the pharmacy",
  "group": "daily",
  "partner": {
    "name": "Ravi",
    "role": "pharmacist"
  },
  "topic": [
    "pharmacy",
    "pharmacist",
    "chemist",
    "medicine*",
    "tablet*",
    "pill*",
    "painkiller*",
    "cough*",
    "cold",
    "flu",
    "headache",
    "fever",
    "temperature",
    "throat",
    "sore",
    "symptom*",
    "side effect*",
    "allerg*",
    "prescription",
    "doctor",
    "syrup",
    "lozenge*",
    "rest",
    "ill",
    "sick"
  ],
  "levels": {
    "A2": {
      "goal": "Ask for something for a headache or a cold, and how often to take it.",
      "phrases": [
        {
          "text": "Have you got something for a…?",
          "re": "\\bsomething for\\b"
        },
        {
          "text": "It's for my son.",
          "re": "\\bit'?s for\\b|\\bit is for\\b"
        },
        {
          "text": "How often should I take them?",
          "re": "\\bhow often\\b"
        },
        {
          "text": "With food?",
          "re": "\\bwith food\\b"
        },
        {
          "text": "No, that's all, thanks.",
          "re": "\\bthat'?s (all|it)\\b"
        }
      ],
      "words": [
        {
          "w": "a painkiller",
          "m": "a tablet that stops pain"
        },
        {
          "w": "twice a day",
          "m": "two times every day"
        },
        {
          "w": "with food",
          "m": "when you eat, not on an empty stomach"
        }
      ],
      "steps": [
        {
          "id": "need",
          "task": "Ask for something for a headache",
          "say": "Hello! How can I help you?",
          "hint": "Do you need something for a cold, or a headache?",
          "model": "Have you got something for a headache?",
          "options": [
            {
              "id": "need",
              "any": [
                "headache",
                "head",
                "cold",
                "flu",
                "cough*",
                "throat",
                "fever",
                "temperature",
                "pain*",
                "ache*",
                "hurt*",
                "painkiller*",
                "medicine*",
                "tablet*",
                "something for",
                "nose",
                "sneez*",
                "stomach",
                "toothache"
              ],
              "reply": "@sure"
            }
          ],
          "tests": {
            "on": [
              "have you got something for a headache",
              "I have a cold",
              "my throat hurts",
              "I need medicine for a cough"
            ],
            "partly": [
              "hello",
              "yes please"
            ],
            "off": [
              "where is the train station"
            ]
          }
        },
        {
          "id": "who",
          "task": "Say who it is for",
          "say": "Is it for you, or for a child?",
          "hint": "Is the medicine for you, or for a child?",
          "model": "It's for me.",
          "options": [
            {
              "id": "adult",
              "any": [
                "for me",
                "myself",
                "it's me",
                "just me",
                "adult",
                "husband",
                "wife",
                "mother",
                "mum",
                "dad",
                "father",
                "friend",
                "partner",
                "brother",
                "sister"
              ],
              "reply": "@okay"
            },
            {
              "id": "child",
              "any": [
                "child",
                "children",
                "kid*",
                "son",
                "daughter",
                "baby",
                "boy",
                "girl",
                "little one"
              ],
              "reply": "Then here's the one for children."
            }
          ],
          "tests": {
            "on": [
              "it's for me => adult",
              "for my son => child",
              "for my daughter she is six => child",
              "me and my wife => adult"
            ],
            "partly": [
              "a headache"
            ],
            "off": [
              "I like football very much"
            ]
          }
        },
        {
          "id": "often",
          "task": "Ask how often to take it",
          "say": "These are good. Any questions?",
          "hint": "You can ask how often to take them.",
          "model": "How often should I take them?",
          "ahead": false,
          "options": [
            {
              "id": "often",
              "any": [
                "how often",
                "how many",
                "when",
                "times a day",
                "every day",
                "how long",
                "with food",
                "before",
                "after",
                "take them",
                "take it",
                "take these"
              ],
              "reply": "Twice a day, with food."
            }
          ],
          "tests": {
            "on": [
              "how often should I take them",
              "how many times a day",
              "do I take them with food"
            ],
            "partly": [
              "thank you",
              "okay"
            ],
            "off": [
              "I like playing tennis on Sundays"
            ]
          },
          "partly": [
            "thank*",
            "okay",
            "good",
            "great",
            "no questions"
          ]
        },
        {
          "id": "else",
          "task": "Say if you need anything else",
          "say": "That's six pounds. Anything else?",
          "hint": "Do you need anything more, or is that all?",
          "model": "No, that's all, thanks.",
          "ahead": false,
          "options": [
            {
              "id": "none",
              "any": [
                "no",
                "nothing",
                "that's all",
                "that's it",
                "i'm fine",
                "no thanks"
              ],
              "reply": "@okay"
            },
            {
              "id": "more",
              "any": [
                "tissues",
                "lozenge*",
                "syrup",
                "vitamin*",
                "plaster*",
                "water",
                "sun cream",
                "toothpaste",
                "yes",
                "also"
              ],
              "reply": "@sure"
            }
          ],
          "tests": {
            "on": [
              "no that's all thanks => none",
              "some tissues please => more",
              "nothing else => none"
            ],
            "partly": [
              "how often should I take them"
            ],
            "off": [
              "I am going to the beach"
            ]
          }
        }
      ],
      "close": "Rest well, and see a doctor if it gets worse.",
      "watch": [
        {
          "re": "\\bdrink (the |this |these |a |my )?(medicine|tablets?|pills?|antibiotics)\\b",
          "better": "take $1$2",
          "note": "We “take” medicine and tablets.",
          "tests": {
            "yes": [
              "how often do I drink the tablets",
              "I drink medicine"
            ],
            "no": [
              "how often do I take the tablets",
              "drink a lot of water"
            ]
          }
        },
        {
          "re": "\\bhow many times (?:in|for|on) a day\\b",
          "better": "how many times a day",
          "note": "No “in”: twice a day, three times a day.",
          "tests": {
            "yes": [
              "how many times in a day"
            ],
            "no": [
              "how many times a day"
            ]
          }
        },
        {
          "re": "\\bi have (?:a )?(head|stomach|tooth|ear) pain\\b",
          "better": "I have a $1ache",
          "note": "We usually say “a headache”, “a stomachache”.",
          "tests": {
            "yes": [
              "I have head pain"
            ],
            "no": [
              "I have a headache",
              "I have back pain"
            ]
          }
        }
      ]
    },
    "B1": {
      "goal": "Describe your symptoms, mention other medicine and ask about side effects.",
      "phrases": [
        {
          "text": "I've had a sore throat since…",
          "re": "\\b(i've|i have) had\\b"
        },
        {
          "text": "I'm taking… at the moment.",
          "re": "\\b(i'm|i am) taking\\b"
        },
        {
          "text": "I'm allergic to…",
          "re": "\\ballergic to\\b"
        },
        {
          "text": "Are there any side effects?",
          "re": "\\bside effects?\\b"
        },
        {
          "text": "Will it make me sleepy?",
          "re": "\\bmake me (sleepy|tired|drowsy)\\b"
        }
      ],
      "words": [
        {
          "w": "symptoms",
          "m": "the signs that you are ill, like a cough"
        },
        {
          "w": "side effects",
          "m": "other things a medicine can do to you"
        },
        {
          "w": "drowsy",
          "m": "sleepy, a bit slow"
        }
      ],
      "steps": [
        {
          "id": "symptoms",
          "task": "Describe your symptoms",
          "say": "Hi there. What seems to be the problem?",
          "hint": "A sore throat? A cough? A temperature?",
          "model": "I've had a sore throat and a bad cough since Monday.",
          "options": [
            {
              "id": "cough",
              "any": [
                "cough*",
                "throat",
                "nose",
                "sneez*",
                "cold",
                "chest",
                "voice",
                "swallow*"
              ],
              "reply": "A cough syrup should help."
            },
            {
              "id": "flu",
              "any": [
                "temperature",
                "fever",
                "flu",
                "hot",
                "shiver*",
                "ache*",
                "aching",
                "headache",
                "tired",
                "dizzy"
              ],
              "reply": "Then rest and painkillers."
            }
          ],
          "tests": {
            "on": [
              "I've had a sore throat and a bad cough since Monday => cough",
              "I have a temperature and everything aches => flu",
              "my nose is running and I keep sneezing => cough",
              "I think I have flu => flu"
            ],
            "partly": [
              "hello",
              "I need some medicine"
            ],
            "off": [
              "I'm going to Rome next week"
            ]
          }
        },
        {
          "id": "other",
          "task": "Mention other medicine or allergies",
          "say": "Are you taking any other medicine?",
          "hint": "Any daily tablets, or allergies?",
          "model": "Yes, I'm taking tablets for my blood pressure.",
          "ahead": false,
          "options": [
            {
              "id": "yes",
              "any": [
                "taking",
                "take",
                "tablets",
                "pills",
                "blood pressure",
                "inhaler",
                "allergic",
                "allergy",
                "allergies",
                "vitamin*",
                "antibiotic*",
                "the pill",
                "insulin",
                "asthma",
                "every day",
                "penicillin"
              ],
              "reply": "Thanks. This one's fine with that."
            },
            {
              "id": "no",
              "any": [
                "no",
                "nothing",
                "none",
                "not taking",
                "nothing else",
                "take nothing",
                "don't take"
              ],
              "reply": "@good"
            }
          ],
          "tests": {
            "on": [
              "yes I'm taking tablets for my blood pressure => yes",
              "I'm allergic to penicillin => yes",
              "no nothing => no",
              "I'm not taking anything => no"
            ],
            "partly": [
              "my throat is sore"
            ],
            "off": [
              "I like going to the cinema"
            ]
          }
        },
        {
          "id": "effects",
          "task": "Ask about side effects",
          "say": "Here you are. Take it twice a day, with food.",
          "hint": "Any questions? Maybe about side effects?",
          "model": "Are there any side effects?",
          "ahead": false,
          "options": [
            {
              "id": "effects",
              "any": [
                "side effect*",
                "sleepy",
                "drowsy",
                "tired",
                "drive",
                "driving",
                "alcohol",
                "safe",
                "stomach",
                "make me feel"
              ],
              "reply": "It can make you sleepy, so take care driving."
            }
          ],
          "tests": {
            "on": [
              "are there any side effects",
              "will it make me sleepy",
              "can I drive after I take it"
            ],
            "partly": [
              "okay thanks",
              "my throat is sore"
            ],
            "off": [
              "my sister lives in Berlin"
            ]
          },
          "partly": [
            "thank*",
            "okay",
            "got it",
            "clear",
            "no questions"
          ]
        },
        {
          "id": "extra",
          "task": "Say yes or no to lozenges",
          "say": "Would you like throat lozenges too?",
          "hint": "Lozenges for your throat, yes or no?",
          "model": "Yes, why not. That sounds good.",
          "ahead": false,
          "options": [
            {
              "id": "yes",
              "any": [
                "yes",
                "please",
                "sure",
                "okay",
                "why not",
                "good idea",
                "sounds good",
                "i'll take",
                "lozenge*"
              ],
              "none": [
                "no thanks",
                "don't need",
                "rather not"
              ],
              "reply": "Here you go. That's nine pounds."
            },
            {
              "id": "no",
              "any": [
                "no",
                "no thanks",
                "don't need",
                "rather not",
                "just the",
                "i'm fine"
              ],
              "reply": "@no-problem"
            }
          ],
          "tests": {
            "on": [
              "yes why not that sounds good => yes",
              "no thanks just the syrup => no",
              "I don't need them => no"
            ],
            "partly": [
              "are there side effects"
            ],
            "off": [
              "I work in a bank"
            ]
          }
        }
      ],
      "close": "Get some rest. See a doctor if it gets worse.",
      "watch": [
        {
          "re": "\\b(i'm|i am|i was) using (?:a |some |the )?(medicine|tablets|pills|antibiotics)\\b",
          "better": "$1 taking $2",
          "note": "For medicine, use “take”: I’m taking antibiotics.",
          "tests": {
            "yes": [
              "I'm using antibiotics",
              "I am using some tablets"
            ],
            "no": [
              "I'm taking antibiotics",
              "I'm using an inhaler"
            ]
          }
        },
        {
          "re": "\\bside affects?\\b",
          "better": "side effects",
          "note": "The noun is “effect”: side effects.",
          "tests": {
            "yes": [
              "are there any side affects"
            ],
            "no": [
              "are there any side effects"
            ]
          }
        },
        {
          "re": "\\bi have (?:a )?(?:high )?(fire|heat)\\b",
          "better": "I have a temperature",
          "note": "For a fever, say “I have a temperature”.",
          "tests": {
            "yes": [
              "I have fire",
              "I have a high heat"
            ],
            "no": [
              "I have a temperature"
            ]
          }
        }
      ]
    },
    "B2": {
      "goal": "Deal with a prescription you can't get today and ask for a stronger painkiller.",
      "phrases": [
        {
          "text": "I'm here to pick up a prescription.",
          "re": "\\bpick (up|it up)\\b"
        },
        {
          "text": "Is there anywhere else that might have it?",
          "re": "\\banywhere else\\b"
        },
        {
          "text": "Is there a generic version?",
          "re": "\\bgeneric\\b"
        },
        {
          "text": "Do you have anything stronger?",
          "re": "\\bstronger\\b"
        },
        {
          "text": "What would you suggest in the meantime?",
          "re": "\\bin the meantime\\b"
        }
      ],
      "words": [
        {
          "w": "out of stock",
          "m": "the shop has none at the moment"
        },
        {
          "w": "a generic version",
          "m": "the same medicine without the brand name, often cheaper"
        },
        {
          "w": "over the counter",
          "m": "you can buy it without a prescription"
        }
      ],
      "steps": [
        {
          "id": "collect",
          "task": "Say you have a prescription",
          "say": "Hi, what can I do for you?",
          "hint": "Are you picking up a prescription?",
          "model": "I'm here to pick up a prescription from my doctor.",
          "options": [
            {
              "id": "collect",
              "any": [
                "prescription",
                "pick up",
                "picking up",
                "collect*",
                "doctor",
                "gp",
                "prescribed"
              ],
              "reply": "@thanks"
            }
          ],
          "tests": {
            "on": [
              "I'm here to pick up a prescription from my doctor",
              "my doctor sent a prescription",
              "I'm collecting some tablets for my mum"
            ],
            "partly": [
              "hello how are you"
            ],
            "off": [
              "what time does the film start"
            ]
          }
        },
        {
          "id": "stock",
          "task": "Ask for another option",
          "say": "I'm afraid it's out of stock until Thursday.",
          "hint": "What would you like to do, then?",
          "model": "Is there anywhere else nearby that might have it?",
          "ahead": false,
          "options": [
            {
              "id": "elsewhere",
              "any": [
                "anywhere else",
                "somewhere else",
                "another pharmacy",
                "other pharmacy",
                "another chemist",
                "other branch",
                "nearby",
                "call*",
                "ring"
              ],
              "reply": "King Street might have it. I'll call them."
            },
            {
              "id": "generic",
              "any": [
                "generic",
                "alternative",
                "instead",
                "similar",
                "another brand",
                "different brand",
                "something else",
                "equivalent",
                "substitute"
              ],
              "reply": "There's a generic one. Same medicine."
            },
            {
              "id": "wait",
              "any": [
                "thursday",
                "wait",
                "come back",
                "order it",
                "reserve",
                "keep it",
                "put it aside"
              ],
              "reply": "Fine, I'll keep one for you."
            }
          ],
          "tests": {
            "on": [
              "is there anywhere else nearby that might have it => elsewhere",
              "is there a generic version => generic",
              "I can wait until Thursday => wait",
              "could you call another pharmacy => elsewhere"
            ],
            "partly": [
              "oh no"
            ],
            "off": [
              "my cat sleeps all day"
            ]
          },
          "partly": [
            "oh no",
            "really",
            "shame",
            "problem",
            "today"
          ]
        },
        {
          "id": "stronger",
          "task": "Ask for a stronger painkiller",
          "say": "Is there anything else I can help with?",
          "hint": "Something for pain, maybe?",
          "model": "Do you have anything stronger for back pain?",
          "ahead": false,
          "options": [
            {
              "id": "stronger",
              "any": [
                "stronger",
                "strong",
                "painkiller*",
                "pain",
                "back",
                "migraine*",
                "headache*",
                "ache*",
                "something for",
                "hurt*"
              ],
              "reply": "@i-see"
            }
          ],
          "tests": {
            "on": [
              "do you have anything stronger for back pain",
              "my back really hurts",
              "I need something for migraines"
            ],
            "partly": [
              "thanks",
              "the prescription"
            ],
            "off": [
              "I'm thinking of buying a car"
            ]
          },
          "partly": [
            "thank*",
            "no",
            "nothing",
            "that's all"
          ]
        },
        {
          "id": "meantime",
          "task": "Ask what to do in the meantime",
          "say": "Anything stronger needs a prescription, I'm afraid.",
          "hint": "See a doctor, or ask what to try for now.",
          "model": "I see. What would you suggest in the meantime?",
          "ahead": false,
          "options": [
            {
              "id": "suggest",
              "any": [
                "suggest*",
                "recommend*",
                "meantime",
                "for now",
                "until then",
                "milder",
                "alternative",
                "instead",
                "what can i",
                "what else",
                "what should i"
              ],
              "reply": "Try a heat patch, and rest your back."
            },
            {
              "id": "doctor",
              "any": [
                "doctor",
                "gp",
                "appointment",
                "clinic",
                "book",
                "see someone"
              ],
              "reply": "Good idea. Tell them how long it's lasted."
            }
          ],
          "tests": {
            "on": [
              "I see what would you suggest in the meantime => suggest",
              "I'll book an appointment with my doctor then => doctor",
              "what can I take for now => suggest"
            ],
            "partly": [
              "my back hurts"
            ],
            "off": [
              "I'm going skiing in January"
            ]
          },
          "partly": [
            "i see",
            "okay",
            "understand",
            "fair enough",
            "shame",
            "oh"
          ]
        }
      ],
      "close": "Take care, and see a doctor if it gets worse.",
      "watch": [
        {
          "re": "\\b(a|the|my) recipe\\b",
          "better": "$1 prescription",
          "note": "A doctor’s note for medicine is a “prescription”.",
          "tests": {
            "yes": [
              "I have a recipe from my doctor"
            ],
            "no": [
              "I have a prescription from my doctor"
            ]
          }
        },
        {
          "re": "\\bmore strong(?:er)?\\b",
          "better": "stronger",
          "note": "“Strong” is short, so it takes -er: stronger.",
          "tests": {
            "yes": [
              "something more strong",
              "a more stronger one"
            ],
            "no": [
              "something stronger"
            ]
          }
        },
        {
          "re": "\\balternative (of|for) (it|this|that|them)\\b",
          "better": "alternative to $2",
          "note": "We say “an alternative to” something.",
          "tests": {
            "yes": [
              "is there an alternative of it"
            ],
            "no": [
              "is there an alternative to it"
            ]
          }
        }
      ]
    }
  }
}
