contactTracingEncounters.referenceId |
String |
The ID of an existing contact encounter record in the Salesforce
system. |
contactTracingEncounters.name |
String |
Required. The name for the encounter. |
contactTracingEncounters.estimatedParticipantCount |
Integer |
The estimated number of participants in the encounter. |
contactTracingEncounters.startDateTime |
DateTime |
Required. The start date and time of the encounter. Must be in
YYYY-MM-DDT HH:MM:SS format. For example, 2020-05-18T09:15:00. |
contactTracingEncounters.duration |
Integer |
Required. The duration of the encounter in minutes. |
contactTracingEncounters.description |
String |
The description for the encounter. |
contactTracingEncounters.participants |
List |
The list of participants for the contact encounter. Each element in
the list represents ContactEncounterParticipant. Valid values are:
Only one value is allowed.
|
contactTracingEncounters.participants.participantType |
String |
Required. The encounter participant type. Valid values are:
- Lead— A new lead is created with the specified participant
record type. If the record type does not exist in the org, an error
message is returned. If the record type is not provided n the
payload, the default record type (triage) is used.
- Employee— The system performs a lookup to the person
account and the record type is ignored. This lookup can be done in
the following ways:
- Using the referenceId
that corresponds to the Salesforce record ID.
- Using sourceSystemId. For
an employee, this ID is typically the employee ID or employee
number. If a match is found, the contact encounter participant
record is created with the contact field lookup pointing to the matched person
account. If a match is not found, this record is rejected and an
error message is provided in the response.
- Patient—The system performs a lookup to the person account
and the record type is ignored. This lookup can be done in the
following ways:
- Using the referenceId
that corresponds to the Salesforce record ID.
- Using sourceSystemId. For
a patient, this ID is the patient ID from an external source
system. If a match is found, the contact encounter participant
record is created with the contact_id lookup pointing to the matched person
account. If a match is not found, this record is rejected and an
error message is provided in the response.
Only one value is allowed.
|
contactTracingEncounters.participants.referenceId |
String |
The ID of an existing patient or employee record in the Salesforce
system. If a payload has both the referenceID and the sourceSystemID, the referenceID is used for the patient or the employee
lookup. |
contactTracingEncounters.participants.sourceSystemId |
String |
For a patient, the patient ID from an external source system at
participant level. For an employee, the employee number representing the
employee record in the Salesforce or the external system. If a payload
has both the referenceID and the
sourceSystemID, the referenceID is used for the patient or
employee lookup. |
contactTracingEncounters.participants.recordTypeName |
String |
The name for the record type. The value for this field must be
exactly the same as the label of the record type in the user interface.
This field is used only when contactTracingEncounters.participants.participantType
is set to lead. |
contactTracingEncounters.participants.startTime |
DateTime |
The time when the encounter started. |
contactTracingEncounters.participants.duration |
Integer |
Required. The duration of the encounter in minutes. |
contactTracingEncounters.participants.firstName |
String |
Required. The first name of the participant. This field is used
only when contactTracingEncounters.participants.participantType
is set to lead.If
participants.referenceId is
provided, this field is optional.
|
contactTracingEncounters.participants.lastName |
String |
Required. The last name of the encounter participant. This field is
used only when contactTracingEncounters.participants.participantType
is set to lead.If
participants.referenceId is
provided, this field is optional.
|
contactTracingEncounters.participants.age |
Integer |
The age of the encounter participant. |
contactTracingEncounters.participants.phoneNumber |
String |
The phone number of the encounter participant. This field is used
only when contactTracingEncounters.participants.participantType
is set to lead. |
contactTracingEncounters.participants.emailAddress |
String |
The email address of the encounter participant. This field is used
only when contactTracingEncounters.participants.participantType
is set to lead. |
contactTracingEncounters.participants.address |
String |
The address of the encounter participant. This field is used only
when contactTracingEncounters.participants.participantType
is set to lead. |
contactTracingEncounters.participants.address.city |
String |
The city of the encounter participant. This field is used only when
contactTracingEncounters.participants.participantType
is set to lead. |
contactTracingEncounters.participants.address.state |
String |
The state of the encounter participant. This field is used only
when contactTracingEncounters.participants.participantType
is set to lead. |
contactTracingEncounters.participants.address.country |
String |
The country of the encounter participant. This field is used only
when contactTracingEncounters.participants.participantType
is set to lead. |
contactTracingEncounters.participants.address.postalCode |
String |
The postal code of the encounter participant. This field is used
only when contactTracingEncounters.participants.participantType
is set to lead. |
contactTracingEncounters.participants.address.street |
String |
The street of the encounter participant. This field is used only
when contactTracingEncounters.participants.participantType
is set to lead. |
contactTracingEncounters.location |
Object (reference to location) |
Identifies the location of the encounter. |
contactTracingEncounters.location.name |
String |
Required. The name of the location where the encounter took place.
If the encounter location name already exists in the system, the
existing location record is used and the following location fields are ignored:
- contactTracingEncounters.location.description
- contactTracingEncounters.location.latitude
- contactTracingEncounters.location.longitude
- contactTracingEncounters.location.encounteraddress.city
- contactTracingEncounters.location.encounteraddress.state
- contactTracingEncounters.location.encounteraddress.country
- contactTracingEncounters.location.encounteraddress.postalCode
- contactTracingEncounters.location.encounteraddress.street
|
contactTracingEncounters.location.description |
String |
The description of the location where the encounter took
place. |
contactTracingEncounters.location.latitude |
String |
The latitude coordinate of the location where the encounter took
place. |
contactTracingEncounters.location.longitude |
String |
The longitude coordinate of the location where the encounter took
place. |
contactTracingEncounters.location.encounteraddress.city |
String |
The city where the encounter took place. |
contactTracingEncounters.location.encounteraddress.state |
String |
The state where the encounter took place. |
contactTracingEncounters.location.encounteraddress.country |
String |
The country where the encounter took place. |
contactTracingEncounters.location.encounteraddress.postalCode |
String |
The postal code of the location where the encounter took place.
|
contactTracingEncounters.location.encounteraddress.street |
String |
The street where the encounter took place. |