Documentation for the Search Users action for Healthie
{
"$result_object_key": [
{
"appointments": [
{
"appointment_datetime": "2024-08-17T10:30:00-04:00",
"appointment_id": "604821",
"created_at": "2024-08-15T10:31:01-04:00",
"provider_id": "224404",
"provider_name": "Dr. John Doe",
"updated_at": "2024-08-15T10:31:01-04:00"
}
],
"date_of_birth": "1950-08-04",
"email_address": "john.doe@example.com",
"first_name": "John",
"id": "131391",
"last_name": "Doe",
"record_identifier": "8e11f3ba-3167-4f47-a549-f43dc19df353"
}
]
}
{
"$result_object_key": [
{
"appointments": {
"appointment_datetime": "Date and time of the Appointment",
"appointment_id": "ID for the Appointment",
"created_at": "Time the appointment was created",
"provider_id": "ID of the Provider on the Appointment",
"provider_name": "Name of the Provider on the Appointment",
"updated_at": "Time the appointment was last updated"
},
"date_of_birth": "Date of birth of the User",
"email_address": "Email address of the User",
"first_name": "First name of the User",
"id": "ID for the User",
"last_name": "Last name of the User",
"record_identifier": "Record identifier for the User (external unique patient ID reference)"
}
]
}
{
"$result_object_key": [
{
"appointments": [
{
"appointment_datetime": "2024-08-17T10:30:00-04:00",
"appointment_id": "604821",
"created_at": "2024-08-15T10:31:01-04:00",
"provider_id": "224404",
"provider_name": "Dr. John Doe",
"updated_at": "2024-08-15T10:31:01-04:00"
}
],
"date_of_birth": "1950-08-04",
"email_address": "john.doe@example.com",
"first_name": "John",
"id": "131391",
"last_name": "Doe",
"record_identifier": "8e11f3ba-3167-4f47-a549-f43dc19df353"
}
]
}
{
"$result_object_key": [
{
"appointments": {
"appointment_datetime": "Date and time of the Appointment",
"appointment_id": "ID for the Appointment",
"created_at": "Time the appointment was created",
"provider_id": "ID of the Provider on the Appointment",
"provider_name": "Name of the Provider on the Appointment",
"updated_at": "Time the appointment was last updated"
},
"date_of_birth": "Date of birth of the User",
"email_address": "Email address of the User",
"first_name": "First name of the User",
"id": "ID for the User",
"last_name": "Last name of the User",
"record_identifier": "Record identifier for the User (external unique patient ID reference)"
}
]
}
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
ID
ID for the User
$result_object_key[*].id
"131391"
PII
First name of the User
$result_object_key[*].first_name
"John"
PII
Last name of the User
$result_object_key[*].last_name
"Doe"
PII
Email address of the User
$result_object_key[*].email_address
"john.doe@example.com"
ID
Record identifier for the User (external unique patient ID reference)
$result_object_key[*].record_identifier
"8e11f3ba-3167-4f47-a549-f43dc19df353"
PII
Date of birth of the User
$result_object_key[*].date_of_birth
"1950-08-04"
List of appointments for the User
$result_object_key[*].appointments
[
{
"appointment_datetime": "2024-08-17T10:30:00-04:00",
"appointment_id": "604821",
"created_at": "2024-08-15T10:31:01-04:00",
"provider_id": "224404",
"provider_name": "Dr. John Doe",
"updated_at": "2024-08-15T10:31:01-04:00"
}
]
Mapped array of: ID for the Appointment
$result_object_key[*].appointments.map(x, x.appointment_id)
[
"604821"
]
Mapped array of: Date and time of the Appointment
$result_object_key[*].appointments.map(x, x.appointment_datetime)
[
"2024-08-17T10:30:00-04:00"
]
Mapped array of: ID of the Provider on the Appointment
$result_object_key[*].appointments.map(x, x.provider_id)
[
"224404"
]
Mapped array of: Name of the Provider on the Appointment
$result_object_key[*].appointments.map(x, x.provider_name)
[
"Dr. John Doe"
]
Mapped array of: Time the appointment was created
$result_object_key[*].appointments.map(x, x.created_at)
[
"2024-08-15T10:31:01-04:00"
]
Mapped array of: Time the appointment was last updated
$result_object_key[*].appointments.map(x, x.updated_at)
[
"2024-08-15T10:31:01-04:00"
]
{
"$result_object_key": [
{
"appointments": [
{
"appointment_datetime": "2024-08-17T10:30:00-04:00",
"appointment_id": "604821",
"created_at": "2024-08-15T10:31:01-04:00",
"provider_id": "224404",
"provider_name": "Dr. John Doe",
"updated_at": "2024-08-15T10:31:01-04:00"
}
],
"date_of_birth": "1950-08-04",
"email_address": "john.doe@example.com",
"first_name": "John",
"id": "131391",
"last_name": "Doe",
"record_identifier": "8e11f3ba-3167-4f47-a549-f43dc19df353"
}
]
}
{
"$result_object_key": [
{
"appointments": {
"appointment_datetime": "Date and time of the Appointment",
"appointment_id": "ID for the Appointment",
"created_at": "Time the appointment was created",
"provider_id": "ID of the Provider on the Appointment",
"provider_name": "Name of the Provider on the Appointment",
"updated_at": "Time the appointment was last updated"
},
"date_of_birth": "Date of birth of the User",
"email_address": "Email address of the User",
"first_name": "First name of the User",
"id": "ID for the User",
"last_name": "Last name of the User",
"record_identifier": "Record identifier for the User (external unique patient ID reference)"
}
]
}
Documentation for the Search Users action for Healthie
{
"$result_object_key": [
{
"appointments": [
{
"appointment_datetime": "2024-08-17T10:30:00-04:00",
"appointment_id": "604821",
"created_at": "2024-08-15T10:31:01-04:00",
"provider_id": "224404",
"provider_name": "Dr. John Doe",
"updated_at": "2024-08-15T10:31:01-04:00"
}
],
"date_of_birth": "1950-08-04",
"email_address": "john.doe@example.com",
"first_name": "John",
"id": "131391",
"last_name": "Doe",
"record_identifier": "8e11f3ba-3167-4f47-a549-f43dc19df353"
}
]
}
{
"$result_object_key": [
{
"appointments": {
"appointment_datetime": "Date and time of the Appointment",
"appointment_id": "ID for the Appointment",
"created_at": "Time the appointment was created",
"provider_id": "ID of the Provider on the Appointment",
"provider_name": "Name of the Provider on the Appointment",
"updated_at": "Time the appointment was last updated"
},
"date_of_birth": "Date of birth of the User",
"email_address": "Email address of the User",
"first_name": "First name of the User",
"id": "ID for the User",
"last_name": "Last name of the User",
"record_identifier": "Record identifier for the User (external unique patient ID reference)"
}
]
}
{
"$result_object_key": [
{
"appointments": [
{
"appointment_datetime": "2024-08-17T10:30:00-04:00",
"appointment_id": "604821",
"created_at": "2024-08-15T10:31:01-04:00",
"provider_id": "224404",
"provider_name": "Dr. John Doe",
"updated_at": "2024-08-15T10:31:01-04:00"
}
],
"date_of_birth": "1950-08-04",
"email_address": "john.doe@example.com",
"first_name": "John",
"id": "131391",
"last_name": "Doe",
"record_identifier": "8e11f3ba-3167-4f47-a549-f43dc19df353"
}
]
}
{
"$result_object_key": [
{
"appointments": {
"appointment_datetime": "Date and time of the Appointment",
"appointment_id": "ID for the Appointment",
"created_at": "Time the appointment was created",
"provider_id": "ID of the Provider on the Appointment",
"provider_name": "Name of the Provider on the Appointment",
"updated_at": "Time the appointment was last updated"
},
"date_of_birth": "Date of birth of the User",
"email_address": "Email address of the User",
"first_name": "First name of the User",
"id": "ID for the User",
"last_name": "Last name of the User",
"record_identifier": "Record identifier for the User (external unique patient ID reference)"
}
]
}
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
ID
ID for the User
$result_object_key[*].id
"131391"
PII
First name of the User
$result_object_key[*].first_name
"John"
PII
Last name of the User
$result_object_key[*].last_name
"Doe"
PII
Email address of the User
$result_object_key[*].email_address
"john.doe@example.com"
ID
Record identifier for the User (external unique patient ID reference)
$result_object_key[*].record_identifier
"8e11f3ba-3167-4f47-a549-f43dc19df353"
PII
Date of birth of the User
$result_object_key[*].date_of_birth
"1950-08-04"
List of appointments for the User
$result_object_key[*].appointments
[
{
"appointment_datetime": "2024-08-17T10:30:00-04:00",
"appointment_id": "604821",
"created_at": "2024-08-15T10:31:01-04:00",
"provider_id": "224404",
"provider_name": "Dr. John Doe",
"updated_at": "2024-08-15T10:31:01-04:00"
}
]
Mapped array of: ID for the Appointment
$result_object_key[*].appointments.map(x, x.appointment_id)
[
"604821"
]
Mapped array of: Date and time of the Appointment
$result_object_key[*].appointments.map(x, x.appointment_datetime)
[
"2024-08-17T10:30:00-04:00"
]
Mapped array of: ID of the Provider on the Appointment
$result_object_key[*].appointments.map(x, x.provider_id)
[
"224404"
]
Mapped array of: Name of the Provider on the Appointment
$result_object_key[*].appointments.map(x, x.provider_name)
[
"Dr. John Doe"
]
Mapped array of: Time the appointment was created
$result_object_key[*].appointments.map(x, x.created_at)
[
"2024-08-15T10:31:01-04:00"
]
Mapped array of: Time the appointment was last updated
$result_object_key[*].appointments.map(x, x.updated_at)
[
"2024-08-15T10:31:01-04:00"
]
{
"$result_object_key": [
{
"appointments": [
{
"appointment_datetime": "2024-08-17T10:30:00-04:00",
"appointment_id": "604821",
"created_at": "2024-08-15T10:31:01-04:00",
"provider_id": "224404",
"provider_name": "Dr. John Doe",
"updated_at": "2024-08-15T10:31:01-04:00"
}
],
"date_of_birth": "1950-08-04",
"email_address": "john.doe@example.com",
"first_name": "John",
"id": "131391",
"last_name": "Doe",
"record_identifier": "8e11f3ba-3167-4f47-a549-f43dc19df353"
}
]
}
{
"$result_object_key": [
{
"appointments": {
"appointment_datetime": "Date and time of the Appointment",
"appointment_id": "ID for the Appointment",
"created_at": "Time the appointment was created",
"provider_id": "ID of the Provider on the Appointment",
"provider_name": "Name of the Provider on the Appointment",
"updated_at": "Time the appointment was last updated"
},
"date_of_birth": "Date of birth of the User",
"email_address": "Email address of the User",
"first_name": "First name of the User",
"id": "ID for the User",
"last_name": "Last name of the User",
"record_identifier": "Record identifier for the User (external unique patient ID reference)"
}
]
}