reasonml
play

REASONML DOUGLAS TEOH dteoh.com dteoh #3808 allm.net/en Medical - PowerPoint PPT Presentation

Saving lives with REASONML DOUGLAS TEOH dteoh.com dteoh #3808 allm.net/en Medical Device Recalls Software Issues (%) 30 22.5 15 7.5 0 2016 Q1 2016 Q3 2017 Q1 2017 Q3 2018 Q1 2018 Q3 Sourced from Stericycle Expert Solutions Recall


  1. Saving lives with REASONML DOUGLAS TEOH dteoh.com dteoh #3808 allm.net/en

  2. Medical Device Recalls Software Issues (%) 30 22.5 15 7.5 0 2016 Q1 2016 Q3 2017 Q1 2017 Q3 2018 Q1 2018 Q3 Sourced from Stericycle Expert Solutions Recall Index

  3. Therac-25

  4. Fast-ED Android + iOS app

  5. 🧡 Stroke • Ischemic and Hemorrhagic • No oxygen → brain cells die, loss of brain function

  6. Why an app? • One of the leading causes of death • Symptoms observable • Survival correlated with time to treatment

  7. Assessing a stroke?

  8. Fast-ED Android + iOS app

  9. JAVASCRIPT? IN MEDICAL APPS?

  10. APP STRUCTURE

  11. VARIANTS

  12. option(‘a)

  13. MODELLING API DATA

  14. FINDING DOMAIN ERRORS 🔏🐟

  15. Be careful when using option(‘a)

  16. DISAMBIGUATING COMMONLY USED 
 TYPES

  17. REVEALING SYSTEM ERRORS

  18. Belt’s Result.t(‘a, ‘error)

  19. Result.t(‘a, string)

  20. Result.t(‘a, ‘error)

  21. Railway Oriented Programming

  22. INTEROP

  23. Exchange JSON compatible structures

  24. Use Js.Json.t + Js.Json.classify

  25. JS objects • [@bs.deriving “abstract”] for inputs • bs-json library to output Js.Json.t

  26. TESTING with bs-jest

  27. 📧 PACKAGING with Parcel parceljs.org

  28. Saving lives with REASONML DOUGLAS TEOH dteoh.com dteoh #3808 allm.net/en

More recommend