Represents the preferences an account has for the services they receive. In
Home Health, this object represents the preferences that a patient has for the health
workers assigned to their visits. This object is available in API version 58.0 and
later.
Supported Calls
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
Fields
AccountId
- Type: Lookup
- Properties: Create, Filter, Group, Sort
- Description: The patient whose preference is being recorded.
- Relationship Name: Account
- Refers To: Account
LastReferencedDate
- Type: dateTime
- Properties: Filter, Nillable, Sort
- Description: The date and time when the record was last referenced.
LastViewedDate
- Type: dateTime
- Properties: Filter, Nillable, Sort
- Description: The date and time when the record was last viewed.
Name
- Type: string
- Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
- Description: The name of the record.
PreferenceId
- Type: Polymorphic lookup
- Properties: Create, Filter, Group, Sort, Update
- Description: The Preference that the patient has about their health worker. This preference may be a skill or trait, or a specific person that they want to avoid or be assigned to their visit.
- Relationship Name: Preference
-
Refers To:
- ServiceResource
- Skill
PreferenceOrder
- Type: int
- Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description: The order of the preference selected by the patient.
This field is available in API version 61.0 and later.
PreferenceType
- Type: picklist
- Properties: Create, Filter, Group, Restricted picklist, Sort, Update
- Description: Specifies the type of preferences that’s recorded.
-
Possible values:
- Skill
ServiceContextId
- Type: Lookup
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: References the work type that this preference is valid for. For instance, a patient may have a certain preference that only applies to physiotherapy and another preference that only applies to wound management.
- Relationship Name: ServiceContext
- Refers To: WorkType
UsageType
- Type: picklist
- Properties: Create, Filter, Group, Restricted picklist, Sort, Update
- Description: Specifies the feature that the created record is applicable for.
-
Possible values:
- HomeHealth—Home Health
Associated Objects
This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.
- AccountServicePreferenceChangeEvent (API version 60.0)
- Change events are available for the object.
- AccountServicePreferenceFeed
- Feed tracking is available for the object.
- AccountServicePreferenceHistory
- History is available for tracked fields of the object.