Parameters
Hide parameters
Hide parameters
ID
This field maps to the destination API patientId field.This field maps to the destination API
type field.Allowed Enumeration Values
Copy
Ask AI
HISTORY_TYPE_PAST
HISTORY_TYPE_FAMILY
HISTORY_TYPE_SOCIAL
HISTORY_TYPE_HABITS
HISTORY_TYPE_DIET
HISTORY_TYPE_EXERCISE
HISTORY_TYPE_IMMUNIZATION
HISTORY_TYPE_LEGAL
HISTORY_TYPE_CONSULTATION
HISTORY_TYPE_HEALTH_MAINTENANCE
HISTORY_TYPE_PAST_SURGICAL
HISTORY_TYPE_COGNITIVE_STATUS
HISTORY_TYPE_FUNCTIONAL_STATUS
HI
This field maps to the destination API text field.This field maps to the destination API
rank field.Copy
Ask AI
{
"$result_object_key": {
"created_at": "2024-01-15T10:30:00Z",
"deleted_date": "",
"history_type": "HISTORY_TYPE_PAST",
"id": "123456789",
"patient_id": "987654321",
"rank": 1,
"text": "Patient has a history of hypertension"
}
}
Copy
Ask AI
{
"$result_object_key": {
"created_at": "Timestamp when the history entry was created.",
"deleted_date": "Timestamp when the history entry was deleted, if applicable.",
"history_type": "Type of history entry.",
"id": "Unique identifier for the history entry.",
"patient_id": "ID of the patient this history belongs to.",
"rank": "Rank or order of the history entry.",
"text": "Content of the history entry. Must not be empty."
}
}
Result Object Field Details
You can use the result of the action’s data as inputs to downstream workflow actions. Each fetch action requires a result object key to be specified which will nest the action’s result data inside the downstream data context in the Workflow. Here we demonstrate how to refer to this data using the prefix$result_object_key.
Hide fields
Hide fields
Unique identifier for the history entry.
CEL
Copy
Ask AI
$result_object_key.id
Example
Copy
Ask AI
"123456789"
Type of history entry.
CEL
Copy
Ask AI
$result_object_key.history_type
Example
Copy
Ask AI
elation.v1.HistoryType.HISTORY_TYPE_PAST
elation.v1.HistoryType.HISTORY_TYPE_FAMILY
elation.v1.HistoryType.HISTORY_TYPE_SOCIAL
elation.v1.HistoryType.HISTORY_TYPE_HABITS
elation.v1.HistoryType.HISTORY_TYPE_DIET
elation.v1.HistoryType.HISTORY_TYPE_EXERCISE
elation.v1.HistoryType.HISTORY_TYPE_IMMUNIZATION
elation.v1.HistoryType.HISTORY_TYPE_LEGAL
elation.v1.HistoryType.HISTORY_TYPE_CONSULTATION
elation.v1.HistoryType.HISTORY_TYPE_HEALTH_MAINTENANCE
elation.v1.HistoryType.HISTORY_TYPE_PAST_SURGICAL
elation.v1.HistoryType.HISTORY_TYPE_COGNITIVE_STATUS
elation.v1.HistoryType.HISTORY_TYPE_FUNCTIONAL_STATUS
ID ID of the patient this history belongs to.CEL
Copy
Ask AI
$result_object_key.patient_id
Example
Copy
Ask AI
"987654321"
Content of the history entry. Must not be empty.
CEL
Copy
Ask AI
$result_object_key.text
Example
Copy
Ask AI
"Patient has a history of hypertension"
Rank or order of the history entry.
CEL
Copy
Ask AI
$result_object_key.rank
Example
Copy
Ask AI
1
Timestamp when the history entry was created.
CEL
Copy
Ask AI
$result_object_key.created_at
Example
Copy
Ask AI
"2024-01-15T10:30:00Z"
Timestamp when the history entry was deleted, if applicable.
CEL
Copy
Ask AI
$result_object_key.deleted_date
Example
Copy
Ask AI
""
