Supported Calls
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
Additional Information for AllergyIntolerance in Other Objects
In addition to creating a record using these fields, you can add more details to your AllergyIntolerance record by creating records in certain other objects, and referencing your AllergyIntolerance record as the parent record. Here’s the list of objects you can relate to AllergyIntolerance in this way, the type of information they add, and the field they use to reference AllergyIntolerance.
| Object | Type of Information | Reference Field |
|---|---|---|
| PatientMedicalReaction | Specifies the information about the patient’s adverse reaction linked to the allergy or intolerance. | ParentId |
| Identifier | Associates an identifier value to the allergy intolerance. | ParentRecordId |
Fields
AssertionSourceId
- Type: Polymorphic reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Represents the person who asserted the information about the allergy or intolerance.
- Example: The patient or the provider who assessed the patient’s condition.
-
Referenced Objects:
- Account
- HealthcareProvider
Category
- Type: multipicklist
- Properties: Create, Filter, Nillable, Update
- Description: Specifies the categories the allergy or intolerance belongs to.
-
Possible values:
- Biologic
- Environment
- Food
- Medication
ClinicalEncounterId
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The encounter where the allergy or intolerance was asserted.
- Example: The encounter record for a patient’s ER visit after a bee sting.
CodeId
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The system-defined code that represents the allergy or intolerance.
LastOccurrenceDateTime
- Type: dateTime
- Properties: Create, Filter, Nillable, Sort, Update
- Description: The date of the last occurrence of the allergy or intolerance.
- Example: 1993-11-09T21:45:00.384Z
LastReferencedDate
- Type: dateTime
- Properties: Filter, Nillable, Sort
- Description: The last date that the record was referenced.
LastViewedDate
- Type: dateTime
- Properties: Filter, Nillable, Sort
- Description: The last date that the record was viewed.
Name
- Type: string
- Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
- Description: The system-generated name of the AllergyIntolerance record.
OnsetEndDateTime
- Type: dateTime
- Properties: Create, Filter, Nillable, Sort, Update
- Description: The end of the estimated onset period.
- Example: 1993-11-09T23:50:00.384Z
OnsetStartDateTime
- Type: dateTime
- Properties: Create, Filter, Nillable, Sort, Update
- Description: The onset date of the allergy intolerance or the estimated start date of the allergy intolerance's onset.
- Example: 1993-11-09T21:45:00.384Z
OwnerId
- Type: reference
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: The owner of the allergy intolerance record. Available in API version 56.0 and later. This is a polymorphic relationship field.
- Relationship Name: Owner
- Relationship Type: Lookup
-
Refers To:
- Group
- User
PatientId
- Type: Master-detail reference
- Properties: Create, Filter, Group, Sort
- Description: The patient who has the allergy or intolerance.
-
Referenced Objects:
- Account
RecordCreationDateTime
- Type: dateTime
- Properties: Create, Filter, Nillable, Sort, Update
- Description: The time the record for the allergy or intolerance was created.
RecordCreatorId
- Type: Polymorphic reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The person who created the record for the allergy or intolerance.
-
Referenced Objects:
- Account
- HealthcareProvider
Severity
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Specifies the severity of the allergy or intolerance.
-
Possible values:
- High
- Low
- Unable to assess
SourceSystem
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The source system from where the record was brought into Salesforce.
SourceSystemIdentifier
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The identifier of the record in its source system.
SourceSystemModified
- Type: dateTime
- Properties: Create, Filter, Nillable, Sort, Update
- Description: The date and time when the record was last modified in its source system.
Status
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Specifies the status of the allergy or intolerance.
-
Possible values:
- Active
- Inactive
- Resolved
Type
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Specifies whether the record is about an allergy or an intolerance.
-
Possible values:
- Allergy
- Intolerance
VerificationStatus
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Specifies whether the allergy or intolerance has been verified.
-
Possible values:
- Confirmed
- Entered in error
- Refuted
- Unconfirmed
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.
- AllergyIntoleranceChangeEvent (API version 58.0)
- Change events are available for the object.
- AllergyIntoleranceOwnerSharingRule (API version 56.0)
- Sharing rules are available for the object.
- AllergyIntoleranceShare (API version 56.0)
- Sharing is available for the object.