> ## 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 Family History

> Documentation for the Create Family History 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**

**Healthie Snomed Terms** `[]string` *required*

`HI`
This field maps to the destination API `concept_id` field.

**Relationships** `[]string` *required*

`HI`
This field maps to the destination API `relationships` field.

**Patient ID** `string`

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

```json Result Object Example theme={null}
{
  "$result_object_key": [
    {
      "id": "4894",
      "is_duplicate": false,
      "relationships": "Mother",
      "snomed_term": {
        "concept_id": "12345",
        "term": "Diabetes"
      }
    }
  ]
}
```

```json Result Object Description theme={null}
{
  "$result_object_key": [
    {
      "id": "The unique identifier of the family history condition",
      "is_duplicate": "Is the condition a duplicate",
      "relationships": "Enum field for family relationships",
      "snomed_term": {
        "concept_id": "ID for snomed term",
        "term": "Snomed term name"
      }
    }
  ]
}
```

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

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

**fields**

**id** `string` *required*

The unique identifier of the family history condition

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

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

**relationships** `[]string` *required*

Enum field for family relationships

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

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

**snomed\_term** `object`

Snomed term associated with the condition

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

```json Example theme={null}
{
"concept_id": "12345",
"term": "Diabetes"
}
```

**snomed\_term.concept\_id** `string`

ID for snomed term

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

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

**snomed\_term.term** `string`

Snomed term name

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

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

**is\_duplicate** `bool` *required*

Is the condition a duplicate

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

```json Example theme={null}
false
```


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