Clinic

public struct Clinic : Equatable, Codable

A struct to represent a Clinic

  • The brand that the clinic belongs to

    Declaration

    Swift

    public let brandName: String
  • A name for the clinic

    Declaration

    Swift

    public let displayName: String
  • An Address object of the clinic

    Declaration

    Swift

    public let address: Address
  • The clinic phone number

    Declaration

    Swift

    public let phone: String
  • An image url that will return a jpg of the location

    Declaration

    Swift

    public let smallImageUrl: URL
  • longitude of the physical location of the clinic

    Declaration

    Swift

    public let longitude: Double
  • latitude of the physical location of the clinic

    Declaration

    Swift

    public let latitude: Double
  • The EHRSystemName of where the clinic belongs

    Declaration

    Swift

    public let ehrSystemName: String
  • The unique name for a clinic. Previously urlName

    Declaration

    Swift

    public let departmentName: String
  • Which timezone string the clinic is in.

    Declaration

    Swift

    public let timezone: String
  • The internal departmentId of the clinic

    Declaration

    Swift

    public let departmentId: String
  • What type of Clinic. eg. Retail, Virtual.

    Declaration

    Swift

    public let clinicType: String
  • Whether or not the clinic is Active.

    Declaration

    Swift

    public let isActive: Bool
  • The internal instance Id

    Declaration

    Swift

    public let instanceId: String
  • A list of visit types that are allowed on this clinic. This will need to be passed up when getTimeslots is called

    Declaration

    Swift

    public let allowedVisitTypes: [AllowedVisitType]
  • A list of days with times that the clinic is open

    Declaration

    Swift

    public let openDays: [OpenDay]
  • Undocumented

    Declaration

    Swift

    public init(
        brandName: String, 
        displayName: String, 
        address: Address, 
        phone: String, 
        smallImageUrl: URL, 
        longitude: Double, 
        latitude: Double, 
        ehrSystemName: String, 
        departmentName: String, 
        timezone: String, 
        departmentId: String, 
        clinicType: String, 
        isActive: Bool, 
        instanceId: String, 
        allowedVisitTypes: [AllowedVisitType], 
        openDays: [OpenDay]
    )