Skip to main content
POST
Create History

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
patient
integer<int64>
required

The id of the patient.

text
string
required

The value (or text) of the history.

type
enum<string>
required

The type of the history.

Available options:
Cognitive Status,
Consultation,
Diet,
Exercise,
Family,
Functional Status,
Habits,
Health Maintenance,
Immunization,
Legal,
Past,
Past Surgical,
Psychological,
Social
rank
integer

The rank (or sequence) of the history.

Required range: 0 <= x <= 65535

Response

201 - application/json
patient
integer<int64>
required

The id of the patient.

text
string
required

The value (or text) of the history.

type
enum<string>
required

The type of the history.

Available options:
Cognitive Status,
Consultation,
Diet,
Exercise,
Family,
Functional Status,
Habits,
Health Maintenance,
Immunization,
Legal,
Past,
Past Surgical,
Psychological,
Social
created_date
string<date-time> | null
read-only

The date the history was created.

deleted_date
string<date-time> | null
read-only

The date the history was deleted.

id
integer
read-only
rank
integer

The rank (or sequence) of the history.

Required range: 0 <= x <= 65535