Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save petermolnar-dev/a8436647852f0100529e7d6d04035e59 to your computer and use it in GitHub Desktop.
Save petermolnar-dev/a8436647852f0100529e7d6d04035e59 to your computer and use it in GitHub Desktop.
PMOSystolic Ranges with Static enum values
enum SystolicRanges {
// In the Health App the range is set up between 40 and 300
static let baseRange = 40...119
static let normalRange = 120...129
static let highNormalRange = 130...139
static let mildHypertensionRange = 140...159
static let moderateHypertensionRange = 160...179
static let severeHyperTensionRange = 180...300
case outOfRange
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment