{
  "$result_object_key":  {
    "id":  "57211",
    "metadata":  {
      "priority":  "High",
      "referral_department":  "Cardiology"
    },
    "patient_id":  "67890",
    "referral_reason":  "Follow-up care",
    "referring_physician_id":  "12345"
  }
}
{
  "$result_object_key":  {
    "id":  "The unique identifier of the referral",
    "metadata":  "Metadata",
    "patient_id":  "ID of the referred patient",
    "referral_reason":  "The reason the client was referred to the physician",
    "referring_physician_id":  "ID of the referring physician"
  }
}

Parameters

Action
Parameters
Metadata
Map<string,dynamic (any)>
required

ID PII This field maps to the destination API metadata field.

Referral Reason
string

HI This field maps to the destination API referral_reason field.

Referring Physician ID
string
required

ID This field maps to the destination API referring_physician_id field.

Patient ID
string

ID This field maps to the destination API user_id field.

{
  "$result_object_key":  {
    "id":  "57211",
    "metadata":  {
      "priority":  "High",
      "referral_department":  "Cardiology"
    },
    "patient_id":  "67890",
    "referral_reason":  "Follow-up care",
    "referring_physician_id":  "12345"
  }
}
{
  "$result_object_key":  {
    "id":  "The unique identifier of the referral",
    "metadata":  "Metadata",
    "patient_id":  "ID of the referred patient",
    "referral_reason":  "The reason the client was referred to the physician",
    "referring_physician_id":  "ID of the referring physician"
  }
}

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.

Referral
Fetch Action Response Object
id
string
required

The unique identifier of the referral

CEL
$result_object_key.id
Example
"57211"
metadata
object

Metadata

CEL
$result_object_key.metadata
Example
{
"priority":  "High",
"referral_department":  "Cardiology"
}
referral_reason
string

The reason the client was referred to the physician

CEL
$result_object_key.referral_reason
Example
"Follow-up care"
referring_physician_id
string

ID of the referring physician

CEL
$result_object_key.referring_physician_id
Example
"12345"
patient_id
string
required

ID of the referred patient

CEL
$result_object_key.patient_id
Example
"67890"