COMMENT
Created by Techy87
Version 4.3.9
Used to track medicine for my family.
TEXT
New:
Added Montelukast to Patrick meds
Added breathing treatment to Patrick's list
Added Benadryl and omeprazole
Other work replacement now messages Patrick for later addition

Text
COMMENT
Work in progress:
Working on fixing Other word replacement
TEXT
//Fixes
Changed Lily Amoxacillin to 9mL
broken links for new shortcuts app for iOS 13 (this version is not supported on iOS 12!!!

Text
TEXT
//Changes
Added "mg's" to display on Mint Caffeine

Text
SCRIPTING
Choose from Menu

Menu Result
SCRIPTING
Check Timers

Menu Result
SCRIPTING
Open
com.minimasoftware.TimerPlus
SCRIPTING
Wait to return
SCRIPTING
Choose from Menu

Menu Result
SCRIPTING
Continue?

Menu Result
SCRIPTING
Exit?

Menu Result
SCRIPTING
Exit shortcut with
Shortcut Input
SCRIPTING
End Menu

Menu Result
SCRIPTING
Skip Checking Timers

Menu Result
SCRIPTING
Activate Timers...?

Menu Result
SHORTCUTS
Run
TimerActivator
Input
Shortcut Input

Shortcut Result
SCRIPTING
Exit shortcut with
Shortcut Result
SCRIPTING
Settings

Menu Result
SCRIPTING
Choose from Menu

Menu Result
SCRIPTING
Share Updated Version

Menu Result
SHORTCUTS
Get my shortcuts

My Shortcuts
SCRIPTING
Choose from
My Shortcuts
Prompt
Select Meds Shortcut

Chosen Item
MESSAGES
Send "
Here is the updated version of Meds Tracker... Please use it...
" to
Recipients
SCRIPTING
Requests?

Menu Result
MESSAGES
Send "
Text
" to
Recipients
SCRIPTING
Check Version

Menu Result
SCRIPTING
Show alert
Informational Message
SCRIPTING
Download Timer+

Menu Result
URL
https://itunes.apple.com/us/app/timer/id391564049?mt=8

URL
SAFARI
Open
URL
SCRIPTING
Check For Updates

Menu Result
NOTIFICATIONS
Show notification
Input
Options Under Construction
URL
https://routinehub.co/shortcut/1624

URL
SAFARI
SCRIPTING
Back

Menu Result
SHORTCUTS
Run
Family Medication Tracker
Input
Shortcut Input

Shortcut Result
SCRIPTING
End Menu

Menu Result
SHORTCUTS
Run
Family Medication Tracker

Shortcut Result
SCRIPTING
Stop (exit)

Menu Result
SCRIPTING
Exit shortcut with
Shortcut Input
SCRIPTING
End Menu

Menu Result
LIST

List
SCRIPTING
Choose from
List
Prompt
Who's taking the Meds?

Chosen Item
VARIABLES
Set variable
Person
to
Selected Item
COMMENT
//people In the list
SCRIPTING
If
Person
is
Lily
LIST

List
VARIABLES
Set variable
Lily meds
to
List
COMMENT
//Lily's medication list
SCRIPTING
Otherwise
SCRIPTING
If
Person
is
Jodi
LIST

List
VARIABLES
Set variable
Jodi meds
to
List
COMMENT
//Jodi's medication list
SCRIPTING
Otherwise
SCRIPTING
If
Person
is
Patrick
LIST

List
VARIABLES
Set variable
Patrick meds
to
List
COMMENT
//Patrick's medication list
SCRIPTING
Otherwise
SHORTCUTS
Run
Take my meds
Input
Person

Shortcut Result
SCRIPTING
End If

If Result
SCRIPTING
End If

If Result
SCRIPTING
End If

If Result
SCRIPTING

Chosen Item
VARIABLES
Set variable
Meds
to
Selected Item
COMMENT
//allows selection of Meds to be added to SMS
SCRIPTING
If
Meds
contains
Current Temp
TEXT
Text
°

Text
DOCUMENTS
Get text from
Text

Text
SCRIPTING
Otherwise
SCRIPTING
End If

If Result
SCRIPTING
If
If Result
contains
Other
DOCUMENTS
Replace
Other
with
Text
in
If Result

Updated Text
DOCUMENTS
Get text from
Updated Text

Text
MESSAGES
Send "
Text
" to
Recipients
TEXT
Text

Text
SCRIPTING
Otherwise
SCRIPTING
End If

If Result
COMMENT
// Mint Caffeine = X mg = Health Data Input
SCRIPTING
If
If Result
is
Mint Caffeine
HEALTH
Find
All Health Samples
where
All the following are true [{'class': 'filter-property', 'value': 'Type'}, {'class': 'filter-operator', 'value': 'is'}, {'class': 'filter-benchmark', 'value': 'Caffeine'}] [{'class': 'filter-property', 'value': 'Start Date'}, {'class': 'filter-operator', 'value': 'is today'}]

Health Samples
HEALTH
Get
Value
from
Health Samples

Value
SCRIPTING
Show alert
Informational Message
SCRIPTING

Provided Input
URL
timerplus://app/quick-timers/new?hours=4&name=Caffeine

URL
SAFARI
Open
URL
URL
Get
Scheme
from
URL

Component of URL
SCRIPTING
Wait
1 second
SCRIPTING
Open
com.apple.shortcuts
SCRIPTING
Get the
Device Model

Device Name
SCRIPTING
If
Device Model
contains
iPad
NOTIFICATIONS
Show notification
Input
Options Under Construction
SCRIPTING
Otherwise
HEALTH
Log Health Sample
Options Under Construction

Health Sample
TEXT
Health Sample

Text
SCRIPTING
End If

If Result
SCRIPTING
Choose from Menu

Menu Result
SCRIPTING
text her

Menu Result