ProviderAvailabilityRequest

data class ProviderAvailabilityRequest(visitTypeNames: List<String>?, departmentIds: List<String>?, latitude: Double?, longitude: Double?, postalCode: String?, radius: Int?, startDate: LocalDate?, endDate: LocalDate?, specialty: String?, gender: Gender?, ehrInstances: List<String>?, clinicType: List<String>?, sortBy: ProviderAvailabilitySort?, searchContext: String?) : Parcelable

Parameters

visitTypeNames
  • Health system defined visit type name filter.

departmentIds
  • Department identifier filter.DepartmentID's or Lat/Lng or Zip are required

latitude
  • Latitude of target visit location

longitude
  • Longitude of target visit location

postalCode
  • postal code of the target visit location. Either use postal code or longitude/latitude for location based searching not both.

radius
  • Radius around target visit location in miles. Minimum is 1, Maximum is 100

startDate
  • Start date of slots with yyyy-MM-dd format, default set to today if not present.

endDate
  • End date of slots with yyyy-MM-dd format, end days will be certain days after start date if not present.

specialty
  • Provider specialty filter

gender
  • Provider gender filter

ehrInstances
  • EHR Instance Identifiers filter

clinicType
  • ClinicType filter

sortBy

Constructors

ProviderAvailabilityRequest
Link copied to clipboard
fun ProviderAvailabilityRequest(visitTypeNames: List<String>?, departmentIds: List<String>?, latitude: Double?, longitude: Double?, postalCode: String?, radius: Int?, startDate: LocalDate?, endDate: LocalDate?, specialty: String?, gender: Gender?, ehrInstances: List<String>?, clinicType: List<String>?, sortBy: ProviderAvailabilitySort?, searchContext: String?)
  • Health system defined visit type name filter.

Functions

describeContents
Link copied to clipboard
abstract fun describeContents(): Int
validate
Link copied to clipboard
fun validate(isSlotValidation: Boolean): MissingInformationError?
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

clinicType
Link copied to clipboard
val clinicType: List<String>?
  • ClinicType filter

departmentIds
Link copied to clipboard
val departmentIds: List<String>?
  • Department identifier filter.DepartmentID's or Lat/Lng or Zip are required

ehrInstances
Link copied to clipboard
val ehrInstances: List<String>?
  • EHR Instance Identifiers filter

endDate
Link copied to clipboard
val endDate: LocalDate?
  • End date of slots with yyyy-MM-dd format, end days will be certain days after start date if not present.

gender
Link copied to clipboard
val gender: Gender?
  • Provider gender filter

latitude
Link copied to clipboard
val latitude: Double?
  • Latitude of target visit location

longitude
Link copied to clipboard
val longitude: Double?
  • Longitude of target visit location

postalCode
Link copied to clipboard
val postalCode: String?
  • postal code of the target visit location. Either use postal code or longitude/latitude for location based searching not both.

radius
Link copied to clipboard
val radius: Int?
  • Radius around target visit location in miles. Minimum is 1, Maximum is 100

searchContext
Link copied to clipboard
val searchContext: String?
sortBy
Link copied to clipboard
val sortBy: ProviderAvailabilitySort?
specialty
Link copied to clipboard
val specialty: String?
  • Provider specialty filter

startDate
Link copied to clipboard
val startDate: LocalDate?
  • Start date of slots with yyyy-MM-dd format, default set to today if not present.

visitTypeNames
Link copied to clipboard
val visitTypeNames: List<String>?
  • Health system defined visit type name filter.