ShareShortcuts

Record Vitals

cmoor
Fork “Record Vitals”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so cmoor gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
56K
Saved
1
Actions
37
Category
API
Version
1.0
Language
EN

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

Version History
1.0 Sep 3, 2020

First release

What it does

37 actions
  1. Choose from Menu
    Do you wan to record Blood sugar?
  2. Choose from Menu
    Yes
  3. Ask for Input
    What was you reading?
  4. Ask for Input
    Date?
  5. Format Date
  6. Log Health Sample
  7. Choose from Menu
    No
  8. Choose from Menu
    Record BP?
  9. Choose from Menu
    Yes
  10. Ask for Input
    Top number?
  11. Ask for Input
    Bottom number?
  12. Ask for Input
    Date?
  13. Format Date
  14. Log Health Sample
  15. Choose from Menu
    No
  16. Choose from Menu
    Did you do a breathing treatment?
  17. Choose from Menu
    Yes
  18. Ask for Input
    How many times today?
  19. Ask for Input
    Date?
  20. Format Date
  21. Log Health Sample
  22. Choose from Menu
    No
  23. Choose from Menu
    Record your O2?
  24. Choose from Menu
    Yes
  25. Ask for Input
    What %?
  26. Ask for Input
    Date?
  27. Format Date
  28. Log Health Sample
  29. Choose from Menu
    No
  30. Choose from Menu
    Record your temperature?
  31. Choose from Menu
    Yes
  32. Ask for Input
    Temperature?
  33. Ask for Input
    Date?
  34. Format Date
  35. Log Health Sample
  36. Choose from Menu
    No
  37. Stop This Shortcut

View as code
Beta

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

See All
Advertisement