Last active
April 20, 2016 21:49
-
-
Save qmchenry/42a7a88b13d16480f42d62fd9a70b774 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
case .missedPillYesterday: // "You didn’t log yesterday’s pill! If you missed it, be sure to take both yesterday and today's pill." | |
return 92 * dayIsToday * isOnMethodPill * renewableNotEnteredToday * renewableNotEnteredYesterday * !isPillPlaceboYesterday * hasBeenOnMethodAtLeastOneDay | |
case .missedPillYesterdayProgestinOnly: // "Hey there, did you take yesterday's pill on time?" | |
return 93 * dayIsToday * isOnMethodProgestinPill * renewableNotEnteredToday * renewableNotEnteredYesterday * !isPillPlaceboYesterday * hasBeenOnMethodAtLeastOneDay |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment