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

# Create Document

> Documentation for the Create Document action for Healthie

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

# Parameters

**Action** `Parameters`

**parameters**

**Patient ID** `string`

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

**Name** `string` *required*

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

**Content** `string`

`HI` `ID` `PII`
This field maps to the destination API `file_string` field.

**Content From File URL** `URL`

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

**Make Patient Accessible** `bool`

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

```json Result Object Example theme={null}
{
  "$result_object_key": {
    "id": "3265"
  }
}
```

```json Result Object Description theme={null}
{
  "$result_object_key": {
    "id": "ID of the document"
  }
}
```

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

**Document** `Fetch Action Response Object`

**fields**

**id** `string` *required*

ID of the document

```json CEL theme={null}
$result_object_key.id
```

```json Example theme={null}
"3265"
```


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