Provider

public struct Provider : Codable

A structure containing information about a health-care provider

  • The national identifer for this Provider

    Declaration

    Swift

    public let providerNationalId: String
  • The full name of the Provider

    Declaration

    Swift

    public let name: String
  • The qualification of this Provider, ex: “MD”

    Declaration

    Swift

    public let credentials: String?
  • The minimum age a patient must be in order to visit this Provider.

    Declaration

    Swift

    public let minAge: Int?
  • The maximum age a patient must be in order to visit this Provider.

    Declaration

    Swift

    public let maxAge: Int?
  • A specific brand that the Provider is associated with

    Declaration

    Swift

    public let brand: String?
  • Whether or not a Provider is currentlyactive.

    Declaration

    Swift

    public let isActive: Bool?
  • A list of departments that a provider services in.

    Declaration

    Swift

    public let departments: [ProviderDepartment]
  • An array of ProviderVisitTypes that the provider supports

    Declaration

    Swift

    public let visitTypes: [ProviderVisitType]
  • Undocumented

    Declaration

    Swift

    public init(
        providerNationalId: String, 
        name: String, 
        credentials: String?, 
        minAge: Int?, 
        maxAge: Int?, 
        brand: String?, 
        isActive: Bool?, 
        departments: [ProviderDepartment], 
        visitTypes: [ProviderVisitType]
    )