> ## 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.

# List Diagnoses

> Documentation for the List Diagnoses action for Intakeq

![images/intakeq.svg](https://mintcdn.com/morfhealth/EU2WCxuXGIUQcziR/images/intakeq.svg?fit=max\&auto=format\&n=EU2WCxuXGIUQcziR\&q=85\&s=191a6c088f13edff5cd7f23a84babb49)

# Parameters

**Action** `Parameters`

**parameters**

**Client ID** `int64`

`ID`
This field maps to the destination API `ClientId` field.

**Note ID** `string`

This field maps to the destination API `NoteId` field.

```json Result Object Example theme={null}
{
  "$result_object_key": [
    {
      "code": "F12.34",
      "date": "2024-03-04T14:00:00Z",
      "description": "Adjustment Disorder, With anxiety",
      "end_date": "2025-01-02T14:00:00Z",
      "note_id": "d020aecd-7005-4ef6-b467-9c715017ec17"
    }
  ]
}
```

```json Result Object Description theme={null}
{
  "$result_object_key": [
    {
      "code": "Code for the diagnosis",
      "date": "Date when the diagnosis was made",
      "description": "Description of the diagnosis",
      "end_date": "End date of the diagnosis, if applicable",
      "note_id": "ID of the note associated with this diagnosis"
    }
  ]
}
```

### Result Object Field Details

You can use the result of the action's data as inputs to downstream workflow actions.

Each fetch action requires an object name, which nests the action's result data inside the downstream data context in the workflow. See [Passing Data Between Actions](https://docs.morf.health/docs/knowledge_base/passing_data_between_actions.md) for how to set it and reference the result from downstream nodes.

Here we demonstrate how to refer to this data using the prefix `$result_object_key`.

**\[]Diagnosis** `Fetch Action Response Object`

**fields**

**code** `string` *required*

Code for the diagnosis

```json CEL theme={null}
$result_object_key[*].code
```

```json Example theme={null}
"F12.34"
```

**description** `string` *required*

Description of the diagnosis

```json CEL theme={null}
$result_object_key[*].description
```

```json Example theme={null}
"Adjustment Disorder, With anxiety"
```

**date** `timing.v1.Timestamp` *required*

Date when the diagnosis was made

```json CEL theme={null}
$result_object_key[*].date
```

```json Example theme={null}
"2024-03-04T14:00:00Z"
```

**end\_date** `timing.v1.Timestamp`

End date of the diagnosis, if applicable

```json CEL theme={null}
$result_object_key[*].end_date
```

```json Example theme={null}
"2025-01-02T14:00:00Z"
```

**note\_id** `string`

ID of the note associated with this diagnosis

```json CEL theme={null}
$result_object_key[*].note_id
```

```json Example theme={null}
"d020aecd-7005-4ef6-b467-9c715017ec17"
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.