Provider

data class Provider(providerNationalId: String, name: String, credentials: String?, minAge: Int?, maxAge: Int?, brand: String?, isActive: Boolean?, departments: List<ProviderDepartment>, visitTypes: List<ProviderVisitType>) : Parcelable

Represents a health-care provider.

Constructors

Provider
Link copied to clipboard
fun Provider(providerNationalId: String, name: String, credentials: String? = null, minAge: Int? = null, maxAge: Int? = null, brand: String? = null, isActive: Boolean? = null, departments: List<ProviderDepartment> = listOf(), visitTypes: List<ProviderVisitType> = listOf())

Functions

describeContents
Link copied to clipboard
abstract fun describeContents(): Int
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

brand
Link copied to clipboard
val brand: String? = null
A specific brand that this Provider is associated with.
credentials
Link copied to clipboard
val credentials: String? = null
The qualification of this Provider, ex: "MD"
departments
Link copied to clipboard
val departments: List<ProviderDepartment>
A list of ProviderDepartment that this Provider services in.
isActive
Link copied to clipboard
val isActive: Boolean? = null
Whether or not this Provider is currently active.
maxAge
Link copied to clipboard
val maxAge: Int? = null
The maximum age a patient must be in order to visit this Provider.
minAge
Link copied to clipboard
val minAge: Int? = null
The minimum age a patient must be in order to visit this Provider.
name
Link copied to clipboard
val name: String
The full name of this Provider.
providerNationalId
Link copied to clipboard
val providerNationalId: String
The national identifier of this Provider.
visitTypes
Link copied to clipboard
val visitTypes: List<ProviderVisitType>
A list of ProviderVisitType that this Provider supports.