Record Covid/important values to Apple Health Body temperature Blood pressure Blood sugar Oxygen levels Nebulizer use
What's New
Version 1.0
First release
What it does
37 actions-
Choose from MenuDo you wan to record Blood sugar?
-
Choose from MenuYes
-
Ask for InputWhat was you reading?
-
Ask for InputDate?
-
Format Date
-
Log Health Sample
-
Choose from MenuNo
-
Choose from MenuRecord BP?
-
Choose from MenuYes
-
Ask for InputTop number?
-
Ask for InputBottom number?
-
Ask for InputDate?
-
Format Date
-
Log Health Sample
-
Choose from MenuNo
-
Choose from MenuDid you do a breathing treatment?
-
Choose from MenuYes
-
Ask for InputHow many times today?
-
Ask for InputDate?
-
Format Date
-
Log Health Sample
-
Choose from MenuNo
-
Choose from MenuRecord your O2?
-
Choose from MenuYes
-
Ask for InputWhat %?
-
Ask for InputDate?
-
Format Date
-
Log Health Sample
-
Choose from MenuNo
-
Choose from MenuRecord your temperature?
-
Choose from MenuYes
-
Ask for InputTemperature?
-
Ask for InputDate?
-
Format Date
-
Log Health Sample
-
Choose from MenuNo
-
Stop This Shortcut
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#include 'actions/calendar'
#define color darkgray
#define glyph eyedropper
menu "Do you wan to record Blood sugar?" {
item "Yes":
prompt("What was you reading?", "Number")
prompt("Date?", "Date")
formatDate(, "Medium")
rawAction("is.workflow.actions.health.quantity.log", {
"WFQuantitySampleAdditionalEnumeration": "Ask",
"WFQuantitySampleAdditionalQuantity": "",
"WFQuantitySampleDate": "{}",
"WFQuantitySampleQuantity": "",
"WFQuantitySampleType": "Blood Glucose"
})
item "No":
}
menu "Record BP?" {
item "Yes":
prompt("Top number?", "Number")
prompt("Bottom number?", "Number")
prompt("Date?", "Date")
formatDate()
rawAction("is.workflow.actions.health.quantity.log", {
"WFQuantitySampleAdditionalQuantity": "",
"WFQuantitySampleDate": "{}",
"WFQuantitySampleQuantity": "",
"WFQuantitySampleType": "Systolic Blood Pressure"
})
item "No":
}
menu "Did you do a breathing treatment?" {
item "Yes":
prompt("How many times today?", "Number")
prompt("Date?", "Date")
formatTimestamp(, "Medium", "Short")
rawAction("is.workflow.actions.health.quantity.log", {
"WFQuantitySampleAdditionalQuantity": "",
"WFQuantitySampleDate": "{}",
"WFQuantitySampleQuantity": "",
"WFQuantitySampleType": "Inhaler Usage"
})
item "No":
}
menu "Record your O2?" {
item "Yes":
prompt("What %?", "Number")
prompt("Date?", "Date")
formatTimestamp(, "Medium", "Short")
rawAction("is.workflow.actions.health.quantity.log", {
"WFQuantitySampleDate": "{}",
"WFQuantitySampleQuantity": "",
"WFQuantitySampleType": "Oxygen Saturation"
})
item "No":
}
menu "Record your temperature?" {
item "Yes":
prompt("Temperature?", "Number")
prompt("Date?", "Date")
formatTimestamp(, "Medium", "Short")
rawAction("is.workflow.actions.health.quantity.log", {
"WFQuantitySampleDate": "{}",
"WFQuantitySampleQuantity": "",
"WFQuantitySampleType": "Body Temperature"
})
item "No":
}
stop()
Open in Cherri Playground
Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.
Ratings & Reviews
Write a Review–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Advertisement
You Might Also Like
Advertisement