Documentation Index
Fetch the complete documentation index at: https://docs.morf.health/docs/llms.txt
Use this file to discover all available pages before exploring further.
Parameters
Hide parameters
Hide parameters
ID
This field maps to the destination API note_id field.{
"$result_object_key": {
"appointment_id": "54683513554",
"client_email": "john.doe@example.com",
"client_id": 12345,
"client_name": "John Doe",
"id": "note123",
"last_modified_at": "2023-01-15T14:30:00Z",
"note_name": "Initial Assessment",
"practitioner_email": "doctor@example.com",
"practitioner_id": "pract456",
"practitioner_name": "Dr. Jane Smith",
"questions": [
{
"answer": "Back pain",
"attachments": [
{
"content_type": "application/pdf",
"file_name": "medical_report.pdf",
"id": "12342",
"url": "https://example.com/attachment.pdf"
}
],
"client_profile_field_id": "primary_concern",
"column_names": [
"Symptom",
"Severity"
],
"id": "12342",
"office_note": "Patient reported severe pain",
"office_use": false,
"question_type": "text",
"rows": [
{
"answers": [
"Back pain",
"Severe"
],
"text": "Back pain"
}
],
"text": "What is your primary concern?"
}
],
"status": "locked or unlocked",
"timestamp": "2023-01-15T14:30:00Z"
}
}
{
"$result_object_key": {
"appointment_id": "Identifier of the associated appointment",
"client_email": "Email address of the client",
"client_id": "Unique identifier for the client",
"client_name": "Name of the client",
"id": "Unique identifier for the note",
"last_modified_at": "Timestamp when the note was last modified",
"note_name": "Name of the note",
"practitioner_email": "Email of the practitioner",
"practitioner_id": "Unique identifier for the practitioner",
"practitioner_name": "Name of the practitioner",
"questions": {
"answer": "Answer to the question",
"attachments": {
"content_type": "Content type of the attachment",
"file_name": "Name of the attached file",
"id": "Unique identifier for the attachment",
"url": "URL of the attachment"
},
"client_profile_field_id": "ID of the client profile field this question maps to",
"column_names": "Column names for table/grid questions",
"id": "Unique identifier for the question",
"office_note": "Office note for the question",
"office_use": "Whether the question is for office use only",
"question_type": "Type of the question",
"rows": {
"answers": "Answers for each column in the row",
"text": "Text for the row"
},
"text": "Text of the question"
},
"status": "Status of the note",
"timestamp": "Timestamp when the note was created (called `Date` in the IntakeQ API)"
}
}
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 note
CEL
$result_object_key.id
Example
"note123"
Name of the client
CEL
$result_object_key.client_name
Example
"John Doe"
Email address of the client
CEL
$result_object_key.client_email
Example
"john.doe@example.com"
Unique identifier for the client
CEL
$result_object_key.client_id
Example
12345
Status of the note
CEL
$result_object_key.status
Example
"locked or unlocked"
Timestamp when the note was created (called
Date in the IntakeQ API)CEL
$result_object_key.timestamp
Example
"2023-01-15T14:30:00Z"
Name of the note
CEL
$result_object_key.note_name
Example
"Initial Assessment"
Email of the practitioner
CEL
$result_object_key.practitioner_email
Example
"doctor@example.com"
Name of the practitioner
CEL
$result_object_key.practitioner_name
Example
"Dr. Jane Smith"
Unique identifier for the practitioner
CEL
$result_object_key.practitioner_id
Example
"pract456"
Questions included in the note
CEL
$result_object_key.questions
Example
[
{
"answer": "Back pain",
"attachments": [
{
"content_type": "application/pdf",
"file_name": "medical_report.pdf",
"id": "12342",
"url": "https://example.com/attachment.pdf"
}
],
"client_profile_field_id": "primary_concern",
"column_names": [
"Symptom",
"Severity"
],
"id": "12342",
"office_note": "Patient reported severe pain",
"office_use": false,
"question_type": "text",
"rows": [
{
"answers": [
"Back pain",
"Severe"
],
"text": "Back pain"
}
],
"text": "What is your primary concern?"
}
]
Mapped array of: Unique identifier for the question
CEL
$result_object_key.questions.map(x, x.id)
Example
[
"12342"
]
Mapped array of: Text of the question
CEL
$result_object_key.questions.map(x, x.text)
Example
[
"What is your primary concern?"
]
HI Mapped array of: Answer to the questionCEL
$result_object_key.questions.map(x, x.answer)
Example
[
"Back pain"
]
Mapped array of: Type of the question
CEL
$result_object_key.questions.map(x, x.question_type)
Example
[
"text"
]
HI Mapped array of: Rows for table/grid questionsCEL
$result_object_key.questions.map(x, x.rows)
Example
[
[
{
"answers": [
"Back pain",
"Severe"
],
"text": "Back pain"
}
]
]
Mapped array of: Column names for table/grid questions
CEL
$result_object_key.questions.map(x, x.column_names)
Example
[
[
"Symptom",
"Severity"
]
]
Mapped array of: Whether the question is for office use only
CEL
$result_object_key.questions.map(x, x.office_use)
Example
[
false
]
Mapped array of: Office note for the question
CEL
$result_object_key.questions.map(x, x.office_note)
Example
[
"Patient reported severe pain"
]
Mapped array of: ID of the client profile field this question maps to
CEL
$result_object_key.questions.map(x, x.client_profile_field_id)
Example
[
"primary_concern"
]
HI Mapped array of: Attachments associated with the questionCEL
$result_object_key.questions.map(x, x.attachments)
Example
[
[
{
"content_type": "application/pdf",
"file_name": "medical_report.pdf",
"id": "12342",
"url": "https://example.com/attachment.pdf"
}
]
]
Identifier of the associated appointment
CEL
$result_object_key.appointment_id
Example
"54683513554"
Timestamp when the note was last modified
CEL
$result_object_key.last_modified_at
Example
"2023-01-15T14:30:00Z"
