---
title: "Create Family History"
method: POST
path: "/api/2.0/family_histories/"
tags: ["Family Histories"]
---

# Create Family History

`POST /api/2.0/family_histories/`

You have to specify either `text` or a valid `icd9_code` or a `snomed_code`. If you send `text` along with any of the two codes, the request will be rejected.

## Request body

- PatientFamilyHistory
  - `created_date` string, date-time, nullable — The date the family history was created.
  - `deleted_date` string, date-time, nullable — The date the family history was deleted.
  - `icd9_code` string, nullable — The icd9 code of the family history.
  - `id` integer
  - `patient` integer, required — The id of the patient.
  - `rank` integer
  - `relationship` 'Aunt' | 'Brother' | 'Daughter' | 'Father' | 'Grandfather' | 'Grandmother' | 'Mother' | 'Other' | 'Sister' | 'Son' | 'Uncle', required
  - `snomed_code` string, nullable — The SNOMED code for the family history.
  - `text` string — The value (or text) of the family history.

## Response `201`

- PatientFamilyHistory
  - `created_date` string, date-time, nullable — The date the family history was created.
  - `deleted_date` string, date-time, nullable — The date the family history was deleted.
  - `icd9_code` string, nullable — The icd9 code of the family history.
  - `id` integer
  - `patient` integer, required — The id of the patient.
  - `rank` integer
  - `relationship` 'Aunt' | 'Brother' | 'Daughter' | 'Father' | 'Grandfather' | 'Grandmother' | 'Mother' | 'Other' | 'Sister' | 'Son' | 'Uncle', required
  - `snomed_code` string, nullable — The SNOMED code for the family history.
  - `text` string — The value (or text) of the family history.

---

[API](https://skmtc.net/elationhealth/apis/api-authentication.md) · [All operations](https://skmtc.net/elationhealth/apis/api-authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elationhealth/api-authentication/revisions/c060f89d4de7/schema)
