Speech and Language Therapy
First I’ll give you a quick overview of the Stroke Solutions site then I’ll describe the task.
Stroke Solutions has two types of user: Instructor and Patient.
Instructors and patients have to sign a contract before they can give/receive Physiotherapy. They also need to have admin user enable them in the dashboard then sign separate contracts before they can give telesession (teleconference) rehab.
Admin user can see them all on the strokesolutions.co.uk/users page and assign Instructors to Patients. Instructors then get a message telling them they’ve been assigned a patient and they can accept/decline.
Once an Instructor and Patient are assigned to eachother, the patient can purchase sessions via the /plans page. If they are enabled and have signed the contracts (contracts are signed via a docusign api…) then both face to face physiotherapy and telessions sessions are available for purchase.
Upon purchase, prices are calculated via the formula in the testing document. And using the stripe Connect API, the money is split between the Instructor and Stroke Solutions Admin. (how cool is that?!:)
There is then a scheduler that lets instructors timetable in sessions. This system sends auto-notifications via email and SMS to patients as well as keeping track of how many sessions are remaining. It then sends auto-warnings when people are running low on sessions.
That’s Stroke Solutions in a few paragraphs;-)
SLT Contracts: (Speech and Language therapy)
SLT is offered via video conferencing so essentially works the same as the existing telesessions.
The most important point to note for our upcoming task is that currently Instructors are assigned one to one with patients. So if there is a patient who does both face to face and telesessions – but with two separate instructors, then the patient has to have two Stroke Solutions User accounts. There are many cases of this right now…
Our task is to implement a toggle in the Stroke Solutions admin dashboard for Instructors. (See shot ‘A’ for location on /profile/username/?action=edit – just edit account on the /users page) which enables/disables ‘Telesessions is SLT’ for that Instructor.
Once this is enabled, the telesessions contract will be replaced with a (supplied) SLT contract. There will be one for instructors and one for patients just as there is for the existing telesessions.
The Instructor contact becomes available to sign when admin enables telesessions in their dashboard. The patient contract appears in the patient’s telesessions tab when they are accepted by an instructor who is enabled for telesessions. Both should be the SLT contract rather than the oroginal Telesessions contract if admin has toggled the SLT toggle for that instructor!
Instructors will EITHER offer physiotherapy via telessessions OR SLT. They’ll never need to be able to do both. Patients sadly will need to have one account for telesessions and one for SLT if they want both. Potentially in a few cases they’ll even need 3 accounts if they want 2 different instructors for face to face vs tele physiotherapy!
Additionally over the coming week I will look through the various email notifications for telesessions and see where we need to add additional placeholders so that ‘telesessions’ becomes ‘speech and language sessions’ – probably we need to add these to the plans page and scheduler page also. I’ll details this for you with screenshots/urls.
Given Tom’s been waiting for this for a couple of months now with no progress, we’ve chosen this route as a quick(ish) was of implementing. I also figured your learning curve would be steep enough as it is so hopefully this is a good way to start. In future I would like to break the one to one link between instructors and patients so that people can have one account with one face to face physio, one telesessions physio and one speech/language instrutor potentially. But that task is for another day.
There is a staging site for stroke solutions on the same hosting ‘dev.strokesolutions.co.uk’ (I’ll give you a dashboard login) I think Vlado/Ivan have been deploying directly from github using some connection in the dashboard. I will ask Ivan again to give you access to the stroke solutions git repo so you can work with some similar system.
So essentially at this point I owe you:
git repo access
changes to placeholders for email notifications etc to make telesessions suddenly look like SLT.
I realise a call may be helpful. Tom will pay both of us by the hour for this – he needs it done ‘quick and dirty’ (his words, not mine;). Actually probably the site is too complicated to do anything dirty but we can at least use the shortcut I’ve proposed of having separate users for patients to do SLT rather than having a one to many relationship between instructors and patients (for now…). That should speed things up to his satisfaction I hope.
Any questions, need a call etc then let me know. Also, Ivan is available for code questions if you believe it’ll speed you up at any point.