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

# Create History

`POST /api/2.0/histories/`

Returns a list of patient histories

## Request body

- PatientHistory
  - `created_date` string, date-time, nullable — The date the history was created.
  - `deleted_date` string, date-time, nullable — The date the history was deleted.
  - `id` integer
  - `patient` integer, required — The id of the patient.
  - `rank` integer — The rank (or sequence) of the history.
  - `text` string, required — The value (or text) of the history.
  - `type` 'Cognitive Status' | 'Consultation' | 'Diet' | 'Exercise' | 'Family' | 'Functional Status' | 'Habits' | 'Health Maintenance' | 'Immunization' | 'Legal' | 'Past' | 'Past Surgical' | 'Psychological' | 'Social', required

## Response `201`

- PatientHistory
  - `created_date` string, date-time, nullable — The date the history was created.
  - `deleted_date` string, date-time, nullable — The date the history was deleted.
  - `id` integer
  - `patient` integer, required — The id of the patient.
  - `rank` integer — The rank (or sequence) of the history.
  - `text` string, required — The value (or text) of the history.
  - `type` 'Cognitive Status' | 'Consultation' | 'Diet' | 'Exercise' | 'Family' | 'Functional Status' | 'Habits' | 'Health Maintenance' | 'Immunization' | 'Legal' | 'Past' | 'Past Surgical' | 'Psychological' | 'Social', required

---

[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)
