Medical automation with Javascript and Siri Shortcuts in iOS

Recently, I discovered the incredible power of Siri Shortcuts in iOS. If you are unfamiliar with Siri Shortcuts, they allow you to automate daily tasks on your phone, and are typically used to interact with existing apps. However, did you know that Siri can be programmed to interpret Javascript using the Safari web browser on your phone? (Huge thanks to the following tutorial for clearly outlining how to set up this functionality.