Gender

@frozen
public enum Gender : String, Equatable
extension Gender: Codable

A generic representation of a Gender

  • Undocumented

    Declaration

    Swift

    case male = "male"
  • Undocumented

    Declaration

    Swift

    case female = "female"
  • Used as an EPIC option in some EHR’s

    Declaration

    Swift

    case other = "other"
  • Used as an EPIC option in some EHR’s

    Declaration

    Swift

    case unknown = "unknown"
  • Value sent in network requests

    Declaration

    Swift

    var demographicStringValue: String { get }
  • Undocumented

    Declaration

    Swift

    static func fromDemographicsString(_ text: String?) -> Gender?
  • Declaration

    Swift

    public init(from decoder: Decoder) throws