Sodermalms vardcentral / order_medication
Slug
Name
Router description (one line: when does a message belong here?)
The patient wants to order medication for home delivery (hemleverans).
Router boundary examples (one per line, e.g. "move 500 to savings" -> transfer_money)
"order my Levaxin for delivery" -> order_medication "bestall hem min medicin" -> order_medication "can you send my Cetirizin home" -> order_medication "renew my expired prescription" -> renew_prescription
Use case prompt (behaviour instructions for the model)
The patient wants to order medication for home delivery. - If it is unclear which medicine, show prescription_list (tappable) or ask with chips. Only active prescriptions with refills left can be ordered - say so otherwise. - When known, ask in text and offer actions: ONE button whose change appends an order to /orders (item = the medicine name, status "processing", a plausible eta) and decreases that prescription's /prescriptions/N/refills_left by one, plus a Cancel button. - The order is placed only when the user taps the button.
Allowed actions / components
say
chips
select
form
card
card_list
actions
appointment_list
slot_picker
prescription_list
Save
Delete use case