Using Clojure to provide computerized psychotherapy · About me ‣ Psychologist and psychotherapy...
Transcript of Using Clojure to provide computerized psychotherapy · About me ‣ Psychologist and psychotherapy...
![Page 2: Using Clojure to provide computerized psychotherapy · About me ‣ Psychologist and psychotherapy researcher ‣ Since 2009 I have specialized in research on computerized psychotherapy](https://reader031.fdocuments.in/reader031/viewer/2022022604/5b5fb9997f8b9a164b8e822b/html5/thumbnails/2.jpg)
![Page 3: Using Clojure to provide computerized psychotherapy · About me ‣ Psychologist and psychotherapy researcher ‣ Since 2009 I have specialized in research on computerized psychotherapy](https://reader031.fdocuments.in/reader031/viewer/2022022604/5b5fb9997f8b9a164b8e822b/html5/thumbnails/3.jpg)
Brjánn Ljótsson Viktor Kaldo
![Page 4: Using Clojure to provide computerized psychotherapy · About me ‣ Psychologist and psychotherapy researcher ‣ Since 2009 I have specialized in research on computerized psychotherapy](https://reader031.fdocuments.in/reader031/viewer/2022022604/5b5fb9997f8b9a164b8e822b/html5/thumbnails/4.jpg)
About me‣ Psychologist and psychotherapy researcher
‣ Since 2009 I have specialized in research on computerized psychotherapy
‣ In 1999 I learned about Common Lisp
‣ In late 2014, I found Clojure
‣ Can Clojure be used for computerized psychotherapy?
![Page 5: Using Clojure to provide computerized psychotherapy · About me ‣ Psychologist and psychotherapy researcher ‣ Since 2009 I have specialized in research on computerized psychotherapy](https://reader031.fdocuments.in/reader031/viewer/2022022604/5b5fb9997f8b9a164b8e822b/html5/thumbnails/5.jpg)
Problems
![Page 6: Using Clojure to provide computerized psychotherapy · About me ‣ Psychologist and psychotherapy researcher ‣ Since 2009 I have specialized in research on computerized psychotherapy](https://reader031.fdocuments.in/reader031/viewer/2022022604/5b5fb9997f8b9a164b8e822b/html5/thumbnails/6.jpg)
The problem‣ Mental illness is a massive problem in the
world today
‣ For example in Sweden, we found that 17.2% of the population had clinical significant levels of depression or anxiety
‣ By the year 2020, it has been estimated that depression will be the second most important cause of disability worldwide
![Page 7: Using Clojure to provide computerized psychotherapy · About me ‣ Psychologist and psychotherapy researcher ‣ Since 2009 I have specialized in research on computerized psychotherapy](https://reader031.fdocuments.in/reader031/viewer/2022022604/5b5fb9997f8b9a164b8e822b/html5/thumbnails/7.jpg)
The Mental Health Problem
![Page 8: Using Clojure to provide computerized psychotherapy · About me ‣ Psychologist and psychotherapy researcher ‣ Since 2009 I have specialized in research on computerized psychotherapy](https://reader031.fdocuments.in/reader031/viewer/2022022604/5b5fb9997f8b9a164b8e822b/html5/thumbnails/8.jpg)
Some solutions
‣ Pharmacological treatments like antidepressants
‣ Psychological treatments like psychotherapy
‣ People prefer psychotherapy over medications
![Page 9: Using Clojure to provide computerized psychotherapy · About me ‣ Psychologist and psychotherapy researcher ‣ Since 2009 I have specialized in research on computerized psychotherapy](https://reader031.fdocuments.in/reader031/viewer/2022022604/5b5fb9997f8b9a164b8e822b/html5/thumbnails/9.jpg)
More problems
‣ Access to psychotherapy is severly limited
‣ We simply do not have enough psychologists and psychotherapists
![Page 10: Using Clojure to provide computerized psychotherapy · About me ‣ Psychologist and psychotherapy researcher ‣ Since 2009 I have specialized in research on computerized psychotherapy](https://reader031.fdocuments.in/reader031/viewer/2022022604/5b5fb9997f8b9a164b8e822b/html5/thumbnails/10.jpg)
The Psychotherapy Access Problem
![Page 11: Using Clojure to provide computerized psychotherapy · About me ‣ Psychologist and psychotherapy researcher ‣ Since 2009 I have specialized in research on computerized psychotherapy](https://reader031.fdocuments.in/reader031/viewer/2022022604/5b5fb9997f8b9a164b8e822b/html5/thumbnails/11.jpg)
Some potential solutions
‣ Use the Internet to provide psychotherapy
‣ Develop computerized psychotherapy
‣ One very promising approach is Internet-delivered psychotherapy in the form of guided self-help
![Page 12: Using Clojure to provide computerized psychotherapy · About me ‣ Psychologist and psychotherapy researcher ‣ Since 2009 I have specialized in research on computerized psychotherapy](https://reader031.fdocuments.in/reader031/viewer/2022022604/5b5fb9997f8b9a164b8e822b/html5/thumbnails/12.jpg)
Guided self-help
![Page 13: Using Clojure to provide computerized psychotherapy · About me ‣ Psychologist and psychotherapy researcher ‣ Since 2009 I have specialized in research on computerized psychotherapy](https://reader031.fdocuments.in/reader031/viewer/2022022604/5b5fb9997f8b9a164b8e822b/html5/thumbnails/13.jpg)
Treatment manuals‣ Psychotherapy can be
highly structured and well-specified
‣ Cognitive Behavior Therapy (CBT) is an example of such a therapy
‣ These specifications form a treatment manual
![Page 14: Using Clojure to provide computerized psychotherapy · About me ‣ Psychologist and psychotherapy researcher ‣ Since 2009 I have specialized in research on computerized psychotherapy](https://reader031.fdocuments.in/reader031/viewer/2022022604/5b5fb9997f8b9a164b8e822b/html5/thumbnails/14.jpg)
Manuals and self-help
‣ A manual can be translated to self-help
‣ Guided self-help is when you add for example 10 minutes of email contact with a therapist to a self-help treatment
![Page 15: Using Clojure to provide computerized psychotherapy · About me ‣ Psychologist and psychotherapy researcher ‣ Since 2009 I have specialized in research on computerized psychotherapy](https://reader031.fdocuments.in/reader031/viewer/2022022604/5b5fb9997f8b9a164b8e822b/html5/thumbnails/15.jpg)
ICBT‣ Internet-based Cognitive Behavior Therapy
‣ Most often in the form of guided self-help
‣ Well beyond 100 well-made studies that support the efficacy of ICBT
‣ Works equally well as face-to-face therapy for lots of clinical conditions
![Page 16: Using Clojure to provide computerized psychotherapy · About me ‣ Psychologist and psychotherapy researcher ‣ Since 2009 I have specialized in research on computerized psychotherapy](https://reader031.fdocuments.in/reader031/viewer/2022022604/5b5fb9997f8b9a164b8e822b/html5/thumbnails/16.jpg)
ICBT
‣ Eliminates some of the problems related to distance between patient and therapist
‣ Asynchronous psychotherapy fits many individuals better than synchronous
‣ Takes far less time
![Page 17: Using Clojure to provide computerized psychotherapy · About me ‣ Psychologist and psychotherapy researcher ‣ Since 2009 I have specialized in research on computerized psychotherapy](https://reader031.fdocuments.in/reader031/viewer/2022022604/5b5fb9997f8b9a164b8e822b/html5/thumbnails/17.jpg)
The Psychotherapy Access Problem
![Page 18: Using Clojure to provide computerized psychotherapy · About me ‣ Psychologist and psychotherapy researcher ‣ Since 2009 I have specialized in research on computerized psychotherapy](https://reader031.fdocuments.in/reader031/viewer/2022022604/5b5fb9997f8b9a164b8e822b/html5/thumbnails/18.jpg)
More problems
‣ ICBT works well but is very hard to access outside of research settings
‣ No solutions is based on modern web technologies
‣ No solutions exist that can scale
![Page 19: Using Clojure to provide computerized psychotherapy · About me ‣ Psychologist and psychotherapy researcher ‣ Since 2009 I have specialized in research on computerized psychotherapy](https://reader031.fdocuments.in/reader031/viewer/2022022604/5b5fb9997f8b9a164b8e822b/html5/thumbnails/19.jpg)
The ICBT Technology Problem
![Page 20: Using Clojure to provide computerized psychotherapy · About me ‣ Psychologist and psychotherapy researcher ‣ Since 2009 I have specialized in research on computerized psychotherapy](https://reader031.fdocuments.in/reader031/viewer/2022022604/5b5fb9997f8b9a164b8e822b/html5/thumbnails/20.jpg)
Problems
‣ The Mental Health Problem
‣ The Psychotherapy Access Problem
‣ The ICBT Technology Problem
![Page 21: Using Clojure to provide computerized psychotherapy · About me ‣ Psychologist and psychotherapy researcher ‣ Since 2009 I have specialized in research on computerized psychotherapy](https://reader031.fdocuments.in/reader031/viewer/2022022604/5b5fb9997f8b9a164b8e822b/html5/thumbnails/21.jpg)
Two potential solutions
![Page 22: Using Clojure to provide computerized psychotherapy · About me ‣ Psychologist and psychotherapy researcher ‣ Since 2009 I have specialized in research on computerized psychotherapy](https://reader031.fdocuments.in/reader031/viewer/2022022604/5b5fb9997f8b9a164b8e822b/html5/thumbnails/22.jpg)
I.
![Page 23: Using Clojure to provide computerized psychotherapy · About me ‣ Psychologist and psychotherapy researcher ‣ Since 2009 I have specialized in research on computerized psychotherapy](https://reader031.fdocuments.in/reader031/viewer/2022022604/5b5fb9997f8b9a164b8e822b/html5/thumbnails/23.jpg)
Platform 5
‣ To the ICBT Technology Problem:
‣ Use Clojure to write scalable web applications
‣ We have developed an application called ”Platform 5” to have a proof of concept of this
![Page 24: Using Clojure to provide computerized psychotherapy · About me ‣ Psychologist and psychotherapy researcher ‣ Since 2009 I have specialized in research on computerized psychotherapy](https://reader031.fdocuments.in/reader031/viewer/2022022604/5b5fb9997f8b9a164b8e822b/html5/thumbnails/24.jpg)
DEMO
![Page 25: Using Clojure to provide computerized psychotherapy · About me ‣ Psychologist and psychotherapy researcher ‣ Since 2009 I have specialized in research on computerized psychotherapy](https://reader031.fdocuments.in/reader031/viewer/2022022604/5b5fb9997f8b9a164b8e822b/html5/thumbnails/25.jpg)
Platform 5‣ Built using the excellent Luminus framework
‣ Server-side rendering using Selmer
‣ Buddy for auth, Bouncer for validation, HugSQL for connection to Postgres database
‣ Runs on Heroku
‣ HTML Template from Creative Tim
‣ We hope to release v1.0 before the end of the year
![Page 26: Using Clojure to provide computerized psychotherapy · About me ‣ Psychologist and psychotherapy researcher ‣ Since 2009 I have specialized in research on computerized psychotherapy](https://reader031.fdocuments.in/reader031/viewer/2022022604/5b5fb9997f8b9a164b8e822b/html5/thumbnails/26.jpg)
Future thoughts for v2.0‣ Clear separation of server and client architecture
‣ We have started building an ICBT API using compojure-api
‣ Clojurescript based clients planned for the browser and using re-natal (React Native)
‣ Maybe Sente-based websockets communication
![Page 27: Using Clojure to provide computerized psychotherapy · About me ‣ Psychologist and psychotherapy researcher ‣ Since 2009 I have specialized in research on computerized psychotherapy](https://reader031.fdocuments.in/reader031/viewer/2022022604/5b5fb9997f8b9a164b8e822b/html5/thumbnails/27.jpg)
The Psychotherapy Access Problem
![Page 28: Using Clojure to provide computerized psychotherapy · About me ‣ Psychologist and psychotherapy researcher ‣ Since 2009 I have specialized in research on computerized psychotherapy](https://reader031.fdocuments.in/reader031/viewer/2022022604/5b5fb9997f8b9a164b8e822b/html5/thumbnails/28.jpg)
Psychotherapy access
‣ What’s the upper limit of efficacy of ”non-guided” self-help, i.e. fully automatized systems?
‣ We will most likely still need people to treat people
‣ We are exploring other ideas on how to solve this problem
![Page 29: Using Clojure to provide computerized psychotherapy · About me ‣ Psychologist and psychotherapy researcher ‣ Since 2009 I have specialized in research on computerized psychotherapy](https://reader031.fdocuments.in/reader031/viewer/2022022604/5b5fb9997f8b9a164b8e822b/html5/thumbnails/29.jpg)
What if psychologists were full-stack developers?
![Page 30: Using Clojure to provide computerized psychotherapy · About me ‣ Psychologist and psychotherapy researcher ‣ Since 2009 I have specialized in research on computerized psychotherapy](https://reader031.fdocuments.in/reader031/viewer/2022022604/5b5fb9997f8b9a164b8e822b/html5/thumbnails/30.jpg)
Full-stack psychologists‣ My experiences is that Clojure can be taught as a
first language
‣ We have started teaching psychologists and other health professionals on how to use Clojure and how to build web applications
‣ I’m working on a text that can be used for non-programmers wanting to develop ICBT systems using Clojure
![Page 31: Using Clojure to provide computerized psychotherapy · About me ‣ Psychologist and psychotherapy researcher ‣ Since 2009 I have specialized in research on computerized psychotherapy](https://reader031.fdocuments.in/reader031/viewer/2022022604/5b5fb9997f8b9a164b8e822b/html5/thumbnails/31.jpg)
Summary‣ The Mental Health Problem is a massive problem
‣ Psychological treatment may solve part of the problem
‣ ICBT can help reduce the Psychotherapy Access Problem
‣ We may be able to use Clojure to solve parts of the ICBT Technology Problem
‣ The Psychotherapy Access Problem may be reduced by teaching health professionals to become full-stack developers
![Page 32: Using Clojure to provide computerized psychotherapy · About me ‣ Psychologist and psychotherapy researcher ‣ Since 2009 I have specialized in research on computerized psychotherapy](https://reader031.fdocuments.in/reader031/viewer/2022022604/5b5fb9997f8b9a164b8e822b/html5/thumbnails/32.jpg)
Thank you!