VisitTypeShortName

public struct VisitTypeShortName : RawRepresentable, Codable, Equatable

/// When new a VisitType is created, you can extend the VisitType struct to represent the new type.

extension VisitType {
   static let vaccinePfizerVisitType = VisitType(rawValue: "Vaccine-Pfizer")
}

This will allow you to create a new VisitType without having to have a new SDK version.

  • Declaration

    Swift

    public typealias RawValue = String
  • Declaration

    Swift

    public var rawValue: String
  • Visit Type of Illness shortName

    Declaration

    Swift

    public static let illness: VisitTypeShortName
  • Visit Type of Wellness shortName

    Declaration

    Swift

    public static let wellness: VisitTypeShortName
  • Visit Type of Virtual shortName

    Declaration

    Swift

    public static let virtual: VisitTypeShortName
  • Visit Type of FollowUp shortName

    Declaration

    Swift

    public static let followUp: VisitTypeShortName
  • Visit Type of NewPatient shortName

    Declaration

    Swift

    public static let newPatient: VisitTypeShortName
  • Visit Type of WellChild shortName

    Declaration

    Swift

    public static let wellChild: VisitTypeShortName
  • Visit Type of AdultPhysical shortName

    Declaration

    Swift

    public static let adultPhysical: VisitTypeShortName
  • Visit Type of ChildPhysical shortName

    Declaration

    Swift

    public static let childPhysical: VisitTypeShortName
  • Visit Type of NewSymptoms shortName

    Declaration

    Swift

    public static let newSymptoms: VisitTypeShortName
  • Declaration

    Swift

    public init(rawValue: `Self`.RawValue)