1 / 14

The Computer Science of Entering Numbers: A Reader in Human-Computer Interaction with Dr. Paul Cairns

Explore the importance of number entry, regular expressions, and human-computer interaction in everyday situations. Learn about common errors, ISMP guidelines, and using regular expressions for better design. Discover how computer science can improve accuracy and safety in various devices. Join us at the CS Open Day with Dr. Paul Cairns to delve into this fascinating field.

talbot
Télécharger la présentation

The Computer Science of Entering Numbers: A Reader in Human-Computer Interaction with Dr. Paul Cairns

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Entering numbers: the computer science of the everyday Dr Paul Cairns Reader in Human-Computer Interaction CS Open Day, Paul Cairns

  2. Aims • Computer Science of Everyday Things • Number entry • Regular expressions • Human-computer interaction • A taste of things to come CS Open Day, Paul Cairns

  3. Number entry CS Open Day, Paul Cairns

  4. To err is human… • Very common device in NHS • Nurse entered 68 not 6.8 • Patient died next day • What actually happened? CS Open Day, Paul Cairns

  5. But it’s very rare, isn’t it? • People make mistakes • 10% of all admissions • 10% of those are potentially fatal • 40,000 per year in the US • Human error or poor design? CS Open Day, Paul Cairns

  6. Thinking about numbers • Think up 5 different numbers that plausibly you might enter into a syringe pump? • Concentrations • Volumes • Times • Rates • Explore the possibilities CS Open Day, Paul Cairns

  7. ISMP Guidelines • No trailing zeros (5 mg, never 5.0 mg) • Use leading zeros for doses less than one measurement unit (0.3 mg, never .3 mg) • Units • Font: 0•35 CS Open Day, Paul Cairns

  8. Regular expressions • Shorthand • Describe “strings” of characters • Three operations: • Sequence • Iteration, * • Optionality, | CS Open Day, Paul Cairns

  9. Examples • Let = “A”|… |“Z” • Num = “0”| … |“9” • LetLetNumNumLetLetLet • “Y” Num* CS Open Day, Paul Cairns

  10. Exercise • Can you come up with a regular expression for ISMP compatible numbers? CS Open Day, Paul Cairns

  11. RE and Syringe Pumps • Use RE to block invalid numbers • Exhaustive simulation of errors • Java, Mathematica • Halve the out-by-10 errors CS Open Day, Paul Cairns

  12. RE and Syringe Pumps • Use RE to block invalid numbers • Exhaustive simulation of errors • Java, Mathematica • Halve the out-by-10 errors • But we had to guess some bits CS Open Day, Paul Cairns

  13. Computer Science could help… • Device logs • Regular expressions • Simulations • Interface design CS Open Day, Paul Cairns

  14. Where to find out more • http://www.cs.swan.ac.uk/~csharold/ • Norman, Design of Everyday Things • Here CS Open Day, Paul Cairns

More Related